feat: 显示信息

This commit is contained in:
MKStoler 2024-09-26 06:42:42 +08:00
parent 03bdef62bd
commit 61e21bc2ad

View File

@ -2,7 +2,8 @@
<v-container class="main-area">
<v-row>
<v-col cols="12">
<h1>{{ globalStore.examName }}</h1>
<h1 class="large-title">{{ globalStore.examName }}</h1>
<h2 class="medium-title">{{ globalStore.message }}</h2>
</v-col>
</v-row>
@ -35,8 +36,6 @@ const currentExam = computed(() => {
return current;
}
});
//
</script>
<style scoped>
@ -44,4 +43,12 @@ const currentExam = computed(() => {
padding-left: 20px;
padding-right: 20px;
}
.large-title {
font-size: 4em; /* 放大h1文字 */
}
.medium-title {
font-size: 2em; /* 略小一点的h2文字 */
}
</style>