更新 infoPage.vue

This commit is contained in:
Jursin 2024-12-01 23:07:54 +08:00 committed by GitHub
parent e7e7f137e3
commit ee230d52ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,11 +1,11 @@
<template> <template>
<v-container class="main-area"> <v-container class="main-area">
<v-row> <v-row>
<v-col cols="12" class="d-flex justify-space-between align-center mb-4"> <v-col cols="12" class="d-flex justify-space-between align-center">
<h1 class="large-title">{{ globalStore.examName }}</h1> <h1 class="large-title">{{ globalStore.examName }}</h1>
<h2 class="room">{{ globalStore.room }}</h2> <h2 class="room">{{ globalStore.room }}</h2>
</v-col> </v-col>
<v-col cols="12"> <v-col cols="12" v-if="globalStore.message">
<h3 class="medium-title text-left">{{ globalStore.message }}</h3> <h3 class="medium-title text-left">{{ globalStore.message }}</h3>
</v-col> </v-col>
</v-row> </v-row>
@ -69,8 +69,8 @@ onUnmounted(() => {
<style scoped> <style scoped>
.main-area { .main-area {
padding-left: 10px; padding-left: 20px;
padding-right: 10px; padding-right: 20px;
} }
.large-title { .large-title {
@ -88,7 +88,4 @@ onUnmounted(() => {
text-align: right; text-align: right;
} }
.mb-4 {
margin-bottom: 20px;
}
</style> </style>