Commit 60568931 authored by Damon's avatar Damon

Merge branch 'dev-v1.1.0' into test

parents 835b7b8d 22c05cde
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
>倒计时:<u-count-down >倒计时:<u-count-down
:timestamp="timestamp" :timestamp="timestamp"
bg-color="" bg-color=""
:show-hours="false"
@end="timeEnd" @end="timeEnd"
@change="timeChange" @change="timeChange"
></u-count-down ></u-count-down
...@@ -167,7 +166,7 @@ export default { ...@@ -167,7 +166,7 @@ export default {
visible: false, visible: false,
timeout: false, timeout: false,
}, },
timestamp: 60 * 60, timestamp: 60 * 120,
currentTime: null, currentTime: null,
list: [], list: [],
// key为currentPage,value为此页list数据 // key为currentPage,value为此页list数据
...@@ -186,7 +185,7 @@ export default { ...@@ -186,7 +185,7 @@ export default {
source: 5, source: 5,
recordId: 0, recordId: 0,
// 合格分数 // 合格分数
passPoint: 60, passPoint: 80,
// 考试题数 // 考试题数
totalPoint: 100, totalPoint: 100,
// 已做题数 // 已做题数
...@@ -826,7 +825,7 @@ export default { ...@@ -826,7 +825,7 @@ export default {
color: #5a6073; color: #5a6073;
font-size: 32rpx; font-size: 32rpx;
margin: 10rpx auto; margin: 10rpx auto;
width: 230rpx; width: 290rpx;
} }
} }
.swiper { .swiper {
......
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
return this.info.score >= this.info.pageTotalPoint return this.info.score >= this.info.pageTotalPoint
}, },
isPass() { isPass() {
return this.info.score >= this.info.pageTotalPoint * 0.6 return this.info.score >= this.info.passPoint
}, },
resultText() { resultText() {
return this.isPass ? '合格' : '不合格' return this.isPass ? '合格' : '不合格'
...@@ -234,6 +234,7 @@ export default { ...@@ -234,6 +234,7 @@ export default {
pageTotalPoint: Number(res.pageTotalPoint) || 0, pageTotalPoint: Number(res.pageTotalPoint) || 0,
category: echoMap.questionWarehouseId.title, category: echoMap.questionWarehouseId.title,
type: '模拟考试', type: '模拟考试',
passPoint: echoMap?.paperId?.passPoint || 80
} }
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment