mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamShowboard-Legacy.git
synced 2025-04-29 07:56:33 +00:00
feat: 显示信息
This commit is contained in:
parent
03bdef62bd
commit
61e21bc2ad
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user