Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
tjty-app
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
王永飞
tjty-app
Commits
ca0bc6fe
Commit
ca0bc6fe
authored
Nov 24, 2022
by
王永阿飞
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
ssh://gitlab.91isoft.com:10022/wyf/tjty-app
parents
07f63643
d2cfc276
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
tjty_dailyAnswer.vue
.../pages_daily_answer/tjty_dailyAnswer/tjty_dailyAnswer.vue
+6
-3
No files found.
tjty-app/pages_daily_answer/tjty_dailyAnswer/tjty_dailyAnswer.vue
View file @
ca0bc6fe
...
...
@@ -147,7 +147,8 @@
timer
:
null
,
hour
:
0
,
minutes
:
0
,
seconds
:
0
seconds
:
0
,
questionScore
:
''
};
},
methods
:
{
...
...
@@ -214,9 +215,9 @@
this
.
selectItem
=
item
.
substr
(
0
,
1
)
if
(
this
.
question
[
this
.
questionNumber
].
answer
===
this
.
selectItem
)
{
this
.
selectColor
=
'color: #36b25b;'
this
.
score
+=
10
this
.
score
+=
this
.
questionScore
this
.
rightNumber
++
this
.
cumulativeScore
+=
10
this
.
cumulativeScore
+=
this
.
questionScore
}
else
{
this
.
selectColor
=
'color: #e02424;'
}
...
...
@@ -332,6 +333,7 @@
}
})
this
.
total
=
res
.
data
[
0
].
questionsNum
this
.
questionScore
=
res
.
data
[
0
].
score
/
res
.
data
[
0
].
questionsNum
//将取到的题目id集合反转
questionId
=
questionId
.
reverse
()
for
(
let
i
=
0
;
i
<
res
.
data
.
length
/
4
;
i
++
)
{
...
...
@@ -414,6 +416,7 @@
this
.
flagTime
=
res
.
data
[
0
].
examTime
// this.flagTime = formatDate(res.data[0].examTime, 'yyyy-MM-dd')
this
.
examTime
=
res
.
data
[
0
].
examTime
//今天的日期
this
.
questionScore
=
res
.
data
[
0
].
score
/
res
.
data
[
0
].
questionsNum
// this.examTime = formatDate(res.data[0].examTime, 'yyyy-MM-dd') //今天的日期
// this.day = this.getDaysBetween(res.data[0].activityStart, res.data[0]
// .examTime) //今天是答题活动的第几天
...
...
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