mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2025-10-22 10:23:09 +00:00
commit
3a9781c1ad
@ -102,7 +102,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Quick Tools Section -->
|
||||
<div class="quick-tools ml-4" style="min-width: 180px;">
|
||||
<div class="quick-tools ml-4" style="min-width: 180px;" v-if="showQuickTools">
|
||||
<!-- Numeric Keypad -->
|
||||
<div class="numeric-keypad mb-4">
|
||||
<div class="keypad-row">
|
||||
@ -201,12 +201,18 @@
|
||||
</div>
|
||||
</div>
|
||||
</v-card-text>
|
||||
|
||||
<div class="text-center text-body-2 text-disabled mb-5">
|
||||
点击空白处完成编辑
|
||||
</div>
|
||||
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import dataProvider from "@/utils/dataProvider";
|
||||
import { getSetting } from "@/utils/settings";
|
||||
|
||||
export default {
|
||||
name: "HomeworkEditDialog",
|
||||
@ -270,6 +276,9 @@ export default {
|
||||
return null;
|
||||
}
|
||||
return this.templateData.commonSubject.books;
|
||||
},
|
||||
showQuickTools() {
|
||||
return getSetting("display.showQuickTools");
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
@ -19,6 +19,9 @@
|
||||
<v-divider class="my-2" />
|
||||
<setting-item :setting-key="'display.enhancedTouchMode'" />
|
||||
|
||||
<v-divider class="my-2" />
|
||||
<setting-item :setting-key="'display.showQuickTools'" />
|
||||
|
||||
<v-divider class="my-2" />
|
||||
<setting-item :setting-key="'display.showAntiScreenBurnCard'" />
|
||||
|
||||
|
@ -177,6 +177,12 @@ const settingsDefinitions = {
|
||||
icon: "mdi-calendar-check",
|
||||
// 控制是否在主页显示考试看板按钮,指向考试安排页面
|
||||
},
|
||||
"display.showQuickTools": {
|
||||
type: "boolean",
|
||||
default: true,
|
||||
description: "是否显示快捷键盘",
|
||||
icon: "mdi-dialpad",
|
||||
},
|
||||
// 服务器设置(合并了数据提供者设置)
|
||||
"server.domain": {
|
||||
type: "string",
|
||||
|
Loading…
x
Reference in New Issue
Block a user