@zykjcommon/questions 0.0.24 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/zykjcommon-questions.common.js +35 -24
- package/dist/zykjcommon-questions.umd.js +35 -24
- package/dist/zykjcommon-questions.umd.min.js +1 -1
- package/package.json +2 -2
- package/src/assets/js/rem.js +3 -1
- package/src/assets/scss/questions/zykjcommon-questions.scss +60 -60
- package/src/assets/scss/questions/zykjcommon-questions2.scss +600 -0
- package/src/components/questions/Question_Classify.vue +12 -5
- package/src/main.ts +1 -0
- package/src/views/exam/FullScreen.vue +16 -4
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
:bus="eventBus"
|
|
7
7
|
:questionInfo="responsiveObj.curQuestionInfo"
|
|
8
8
|
:screenRepairH="140"
|
|
9
|
+
@getIsAnswered="getIsAnswered"
|
|
9
10
|
:screenScale="1.08"
|
|
10
11
|
:ref="'question'"/>
|
|
11
12
|
</div>
|
|
12
|
-
<div class="footer" @click="submit"
|
|
13
|
+
<div class="footer" @click="submit">{{isAnswered}}</div>
|
|
13
14
|
</div>
|
|
14
15
|
</template>
|
|
15
16
|
|
|
@@ -38,7 +39,8 @@ interface dataInterface{
|
|
|
38
39
|
loading:boolean,
|
|
39
40
|
warnText:string,
|
|
40
41
|
eventBus:any,
|
|
41
|
-
token:string
|
|
42
|
+
token:string,
|
|
43
|
+
isAnswered:boolean
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
interface responsiveData{
|
|
@@ -76,7 +78,8 @@ export default defineComponent({
|
|
|
76
78
|
routeName:route.name as string,
|
|
77
79
|
loading:false,
|
|
78
80
|
warnText:'',
|
|
79
|
-
token
|
|
81
|
+
token,
|
|
82
|
+
isAnswered:false
|
|
80
83
|
})
|
|
81
84
|
|
|
82
85
|
//需要响应式放里面
|
|
@@ -99,6 +102,10 @@ export default defineComponent({
|
|
|
99
102
|
})
|
|
100
103
|
|
|
101
104
|
|
|
105
|
+
function getIsAnswered(nv:boolean){
|
|
106
|
+
data.isAnswered = nv
|
|
107
|
+
}
|
|
108
|
+
|
|
102
109
|
function quitQuestion(){
|
|
103
110
|
fun.postMessageByType('close')
|
|
104
111
|
}
|
|
@@ -395,7 +402,8 @@ export default defineComponent({
|
|
|
395
402
|
...toRefs(data),
|
|
396
403
|
responsiveObj,
|
|
397
404
|
quitQuestion,
|
|
398
|
-
submit
|
|
405
|
+
submit,
|
|
406
|
+
getIsAnswered
|
|
399
407
|
}
|
|
400
408
|
}
|
|
401
409
|
})
|
|
@@ -415,6 +423,10 @@ export default defineComponent({
|
|
|
415
423
|
.footer{
|
|
416
424
|
width: 100%;
|
|
417
425
|
height: 60px;
|
|
426
|
+
line-height: 60px;
|
|
418
427
|
background: rgb(252, 120, 38);
|
|
428
|
+
font-size: 20px;
|
|
429
|
+
text-align: center;
|
|
430
|
+
color:#fff;
|
|
419
431
|
}
|
|
420
432
|
</style>
|