Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
study
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Damon
study
Commits
8fae4045
Commit
8fae4045
authored
Aug 20, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: 考试倒计时+合格分数调整
parent
2f353bf6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
answer.vue
src/pages/learn/answer.vue
+3
-4
score.vue
src/pages/learn/score.vue
+1
-1
No files found.
src/pages/learn/answer.vue
View file @
8fae4045
...
...
@@ -28,7 +28,6 @@
>
倒计时:
<u-count-down
:timestamp=
"timestamp"
bg-color=
""
:show-hours=
"false"
@
end=
"timeEnd"
@
change=
"timeChange"
></u-count-down
...
...
@@ -167,7 +166,7 @@ export default {
visible
:
false
,
timeout
:
false
,
},
timestamp
:
60
*
6
0
,
timestamp
:
60
*
12
0
,
currentTime
:
null
,
list
:
[],
// key为currentPage,value为此页list数据
...
...
@@ -186,7 +185,7 @@ export default {
source
:
5
,
recordId
:
0
,
// 合格分数
passPoint
:
6
0
,
passPoint
:
8
0
,
// 考试题数
totalPoint
:
100
,
// 已做题数
...
...
@@ -826,7 +825,7 @@ export default {
color
:
#5a6073
;
font-size
:
32rpx
;
margin
:
10rpx
auto
;
width
:
2
3
0rpx
;
width
:
2
9
0rpx
;
}
}
.swiper
{
...
...
src/pages/learn/score.vue
View file @
8fae4045
...
...
@@ -135,7 +135,7 @@ export default {
return
this
.
info
.
score
>=
this
.
info
.
pageTotalPoint
},
isPass
()
{
return
this
.
info
.
score
>=
this
.
info
.
pageTotalPoint
*
0.6
return
this
.
info
.
score
>=
this
.
info
?.
echoMap
?.
paperId
?.
passPoint
||
80
},
resultText
()
{
return
this
.
isPass
?
'合格'
:
'不合格'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment