diff --git a/public/static/ueditorPlus/plugins/gapfilling/gapfilling.js b/public/static/ueditorPlus/plugins/gapfilling/gapfilling.js index 091984d..2fecd92 100644 --- a/public/static/ueditorPlus/plugins/gapfilling/gapfilling.js +++ b/public/static/ueditorPlus/plugins/gapfilling/gapfilling.js @@ -2,7 +2,7 @@ UE.registerUI('gapfilling', function (editor, uiName) { editor.registerCommand(uiName, { execCommand: function (cmdName, value) { - editor.execCommand('insertHtml', `______`) + editor.execCommand('insertHtml', `______`) } }) diff --git a/src/const/ques.js b/src/const/ques.js index ba8d6e5..3814d19 100644 --- a/src/const/ques.js +++ b/src/const/ques.js @@ -3,22 +3,26 @@ export default { { id: 'basic', name: '基础', - coefficient: 0.2 // 难度系数,试卷里计算试卷难度专用 + coefficient: 0.2, // 难度系数,试卷里计算试卷难度专用 + theme: 'success', }, { id: 'easy', name: '普通', - coefficient: 0.4 + coefficient: 0.4, + theme: '', }, { id: 'medium', name: '较难', - coefficient: 0.6 + coefficient: 0.6, + theme: 'warning', }, { id: 'hard', name: '难', - coefficient: 0.8 + coefficient: 0.8, + theme: 'danger', }, ], questionTypes: [ diff --git a/src/pages/ques/detail/index.vue b/src/pages/ques/detail/index.vue index 06493ae..740c6ec 100644 --- a/src/pages/ques/detail/index.vue +++ b/src/pages/ques/detail/index.vue @@ -2,184 +2,188 @@

试题

- -
- - -
-
- - - - - - - - -
-
- - - - - - - - + + + + + +
+ + + {{ item.name }} + -
- - - {{ item.name }} - - - - - - -
- 上传题干文件 -
- -
-
- - - -
-
- 选项{{ numToLetter(i) }} - 选项{{ - numToLetter(i) - }} -
-
-

请输入

+ + + + +
+ 上传题干文件
- -