Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
7514cb56
Commit
7514cb56
authored
May 08, 2021
by
林文清
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:在线学习
parent
c8d016a0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
learn.vue
src/pages/index/learn.vue
+1
-1
answer.vue
src/pages/learn/answer.vue
+3
-2
result.vue
src/pages/learn/result.vue
+2
-1
No files found.
src/pages/index/learn.vue
View file @
7514cb56
...
...
@@ -700,7 +700,7 @@
});
}
else
{
wx
.
navigateTo
({
url
:
"/pages/learn/result?userExamId="
+
examInfo
.
examId
,
url
:
"/pages/learn/result?userExamId="
+
examInfo
.
examId
+
"&examId="
+
examInfo
.
id
,
});
}
}
else
if
(
examInfo
.
examStatus
==
2
)
{
...
...
src/pages/learn/answer.vue
View file @
7514cb56
...
...
@@ -129,14 +129,15 @@
toSubmit
()
{
//判断是否通过,通过去成功页,失败去失败页
let
examInfo
=
this
.
examInfo
;
let
examId
=
this
.
examId
;
let
status
=
examInfo
.
examLevelResult
==
'通过'
;
if
(
status
){
wx
.
navigateTo
({
url
:
"/pages/learn/exam-pass?userExamId="
+
this
.
userExamId
,
url
:
"/pages/learn/exam-pass?userExamId="
+
this
.
userExamId
+
"&examId="
+
examId
,
});
}
else
{
wx
.
navigateTo
({
url
:
"/pages/learn/result?userExamId="
+
this
.
userExamId
,
url
:
"/pages/learn/result?userExamId="
+
this
.
userExamId
+
"&examId="
+
examId
,
});
}
},
...
...
src/pages/learn/result.vue
View file @
7514cb56
...
...
@@ -36,7 +36,7 @@ export default {
data
()
{
return
{
text
:
""
,
examId
:
2
,
examId
:
null
,
result
:
null
,
score
:
0
,
userExamId
:
null
,
...
...
@@ -44,6 +44,7 @@ export default {
},
onLoad
(
a
)
{
this
.
userExamId
=
a
.
userExamId
;
this
.
examId
=
a
.
examId
;
console
.
log
(
"userExamId是"
,
this
.
userExamId
);
this
.
nextClick
();
},
...
...
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