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