mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-11 03:46:47 +08:00
Merge branch 'master' of codeup.aliyun.com:6265f483e4166464dc2f9c14/boeu/mobile
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
<view class="info-row" v-if="curItem.type !== 3 && showAnswer">
|
<view class="info-row" v-if="curItem.type !== 3 && showAnswer">
|
||||||
正确答案:<text v-for="(item,a) in curItem.optionList" :key="a">{{item.isAnswer?toLetter(a+1):''}}</text>
|
正确答案:<text v-for="(item,a) in curItem.optionList" :key="a">{{item.isAnswer?toLetter(a+1):''}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="info-row" v-if="curItem.analysis">
|
<view class="info-row" v-if="showAnalysis && curItem.analysis">
|
||||||
解析:{{curItem.analysis}}
|
解析:{{curItem.analysis}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
//console.log(options, 'options')
|
console.log(options, 'options')
|
||||||
this.answerId = options.id;
|
this.answerId = options.id;
|
||||||
if(options.showAnswer){
|
if(options.showAnswer){
|
||||||
this.showAnswer=options.showAnswer=='true'? true:false;
|
this.showAnswer=options.showAnswer=='true'? true:false;
|
||||||
|
|||||||
@@ -299,9 +299,9 @@
|
|||||||
this.testStatus = 2;
|
this.testStatus = 2;
|
||||||
this.startReckon();
|
this.startReckon();
|
||||||
//60秒后执行保存处理,这里和pc端不一致,不做延迟,直接保存考试信息
|
//60秒后执行保存处理,这里和pc端不一致,不做延迟,直接保存考试信息
|
||||||
//window.setTimeout(function() {
|
// window.setTimeout(function() {
|
||||||
//$this.saveUserTest();
|
$this.saveUserTest();
|
||||||
//}, 10000);
|
// }, 10000);
|
||||||
} else {
|
} else {
|
||||||
this.startButton = false;
|
this.startButton = false;
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
|
|||||||
Reference in New Issue
Block a user