File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 102102 </div >
103103
104104 <!-- Quick Tools Section -->
105- <div class =" quick-tools ml-4" style =" min-width : 180px ;" >
105+ <div class =" quick-tools ml-4" style =" min-width : 180px ;" v-if = " showQuickTools " >
106106 <!-- Numeric Keypad -->
107107 <div class =" numeric-keypad mb-4" >
108108 <div class =" keypad-row" >
201201 </div >
202202 </div >
203203 </v-card-text >
204+
205+ <div class =" text-center text-body-2 text-disabled mb-5" >
206+ 点击空白处完成编辑
207+ </div >
208+
204209 </v-card >
205210 </v-dialog >
206211</template >
207212
208213<script >
209214import dataProvider from " @/utils/dataProvider" ;
215+ import { getSetting } from " @/utils/settings" ;
210216
211217export default {
212218 name: " HomeworkEditDialog" ,
@@ -270,6 +276,9 @@ export default {
270276 return null ;
271277 }
272278 return this .templateData .commonSubject .books ;
279+ },
280+ showQuickTools () {
281+ return getSetting (" display.showQuickTools" );
273282 }
274283 },
275284 watch: {
Original file line number Diff line number Diff line change 1919 <v-divider class =" my-2" />
2020 <setting-item :setting-key =" 'display.enhancedTouchMode'" />
2121
22+ <v-divider class =" my-2" />
23+ <setting-item :setting-key =" 'display.showQuickTools'" />
24+
2225 <v-divider class =" my-2" />
2326 <setting-item :setting-key =" 'display.showAntiScreenBurnCard'" />
2427
Original file line number Diff line number Diff line change @@ -177,6 +177,12 @@ const settingsDefinitions = {
177177 icon : "mdi-calendar-check" ,
178178 // 控制是否在主页显示考试看板按钮,指向考试安排页面
179179 } ,
180+ "display.showQuickTools" : {
181+ type : "boolean" ,
182+ default : true ,
183+ description : "是否显示快捷键盘" ,
184+ icon : "mdi-dialpad" ,
185+ } ,
180186 // 服务器设置(合并了数据提供者设置)
181187 "server.domain" : {
182188 type : "string" ,
You can’t perform that action at this time.
0 commit comments