重新打包

This commit is contained in:
zhangsir
2024-05-09 19:09:56 +08:00
parent 2302071ff2
commit 90ba6172c6
5 changed files with 7 additions and 4 deletions

View File

@@ -110,7 +110,7 @@
</view> </view>
<view style="height: 150px;"></view> <view style="height: 150px;"></view>
<view class="bottom-btns"> <view class="bottom-btns">
<u-button class="next" v-if="curIndex==(total-1)" type="success" text="提交" @click="manualSubmit"></u-button> <u-button class="next" v-if="curIndex==(total-1)" type="success" text="提交" :disabled="!thisTrue" @click="manualSubmit"></u-button>
<u-button type="primary" text="下一题" @click="nextSub" class="next" v-if="curIndex<(total-1)"></u-button> <u-button type="primary" text="下一题" @click="nextSub" class="next" v-if="curIndex<(total-1)"></u-button>
<u-button type="info" text="上一题" @click="prevSub" class="next" v-if="curIndex>0"></u-button> <u-button type="info" text="上一题" @click="prevSub" class="next" v-if="curIndex>0"></u-button>
</view> </view>
@@ -145,6 +145,7 @@
export default { export default {
data() { data() {
return { return {
thisTrue: true,
toScoreTow, toScoreTow,
startButton: false, startButton: false,
imageBaseUrl:config.fileUrl, imageBaseUrl:config.fileUrl,
@@ -520,7 +521,9 @@
data.useSecond=this.testPaper.testDuration*60-this.remainingTime; data.useSecond=this.testPaper.testDuration*60-this.remainingTime;
//计算百分制显示 //计算百分制显示
data.score=data.realScore*100/data.totalScore; data.score=data.realScore*100/data.totalScore;
this.thisTrue = false
apiTestPaper.submit(data).then((res) => { apiTestPaper.submit(data).then((res) => {
this.thisTrue = true
if (res.status == 200) { if (res.status == 200) {
that.testStatus = 3; that.testStatus = 3;
this.score = data.score; this.score = data.score;

View File

@@ -19,4 +19,4 @@
hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a"; hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a";
var s = document.getElementsByTagName("script")[0]; var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s); s.parentNode.insertBefore(hm, s);
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.7c4a142a.js></script><script src=/mobile/static/js/index.acad79a0.js></script></body></html> })();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.7c4a142a.js></script><script src=/mobile/static/js/index.a56f5f19.js></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long