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
32f278e3
Commit
32f278e3
authored
Jul 22, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improvement: 考试时间到的弹窗
parent
e5712c6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
index.vue
src/components/answer-complete-pop/index.vue
+12
-13
No files found.
src/components/answer-complete-pop/index.vue
View file @
32f278e3
...
...
@@ -28,8 +28,9 @@
<view
class=
"label-view"
>
{{
info
.
labels
[
index
]
}}
</view>
</view>
</view>
<view
class=
"pop-btn-view
"
>
<view
:class=
"['pop-btn-view',
{ timeout: timeout }]
">
<u-button
v-if=
"!timeout"
:custom-style=
"customStyleCancel"
hover-class=
"none"
shape=
"circle"
...
...
@@ -64,11 +65,15 @@ export default {
type
:
Boolean
,
default
:
false
,
},
// pass:合格;fail:不合格;
daily:每日一练
// pass:合格;fail:不合格;
type
:
{
type
:
String
,
default
:
''
,
},
timeout
:
{
type
:
Boolean
,
default
:
false
,
},
numberList
:
{
type
:
Array
,
default
:
[],
...
...
@@ -83,7 +88,7 @@ export default {
case
'pass'
:
return
{
image
:
'chegnjihege-f.png'
,
title
:
'成绩已合格'
,
title
:
this
.
timeout
?
'考试时间到'
:
'成绩已合格'
,
message
:
''
,
buttonTextCancel
:
'继续答题'
,
buttonTextSure
:
'现在交卷'
,
...
...
@@ -92,21 +97,12 @@ export default {
case
'fail'
:
return
{
image
:
'chengjibuhege-f.png'
,
title
:
'成绩不合格'
,
title
:
this
.
timeout
?
'考试时间到'
:
'成绩不合格'
,
message
:
''
,
buttonTextCancel
:
'继续答题'
,
buttonTextSure
:
'现在交卷'
,
labels
:
[
'做错题'
,
'未做题'
,
'分数'
],
}
case
'daily'
:
return
{
image
:
'lianxiwancheng-f.png'
,
title
:
'每日一练已完成'
,
message
:
'您每日一练已累计打卡'
,
buttonTextCancel
:
'查看记录'
,
buttonTextSure
:
'继续练习'
,
labels
:
[
'分'
],
}
}
},
isDaily
()
{
...
...
@@ -233,6 +229,9 @@ export default {
bottom
:
48rpx
;
left
:
40rpx
;
right
:
40rpx
;
&
.timeout
{
justify-content
:
center
;
}
}
}
</
style
>
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