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
9e364f8a
Commit
9e364f8a
authored
May 14, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/lijundan/self-support
parents
65fe72d4
be541385
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
learn.vue
src/pages/index/learn.vue
+1
-1
exam-pass.vue
src/pages/learn/exam-pass.vue
+6
-4
result.vue
src/pages/learn/result.vue
+5
-3
No files found.
src/pages/index/learn.vue
View file @
9e364f8a
...
...
@@ -680,7 +680,7 @@ export default {
});
}
else
if
(
examInfo
.
examStatus
==
1
)
{
// examInfo.status = '通过';
if
(
examInfo
.
status
==
"通过"
)
{
if
(
examInfo
.
status
==
"
已
通过"
)
{
wx
.
navigateTo
({
url
:
"/pages/learn/exam-pass?userExamId="
+
...
...
src/pages/learn/exam-pass.vue
View file @
9e364f8a
...
...
@@ -77,15 +77,17 @@ export default {
//再次考试
getAgain
:
function
()
{
wx
.
navigateTo
({
url
:
"
.
/assessment"
,
url
:
"
/pages/learn
/assessment"
,
});
},
//下次再考跳转到学习主界面页面
toIndex
:
function
()
{
wx
.
reLaunch
({
url
:
"/pages/index/learn?tabs=3"
,
let
routes
=
getCurrentPages
();
// 获取当前打开过的页面路由数组
let
length
=
routes
.
length
uni
.
navigateBack
({
delta
:
length
-
1
});
// wx.navigateBack({ delta: 1 })//返回上一级页面
},
},
};
...
...
src/pages/learn/result.vue
View file @
9e364f8a
...
...
@@ -87,10 +87,12 @@ export default {
},
//下次再考跳转到学习主界面页面
toIndex
:
function
()
{
wx
.
reLaunch
({
url
:
"/pages/index/learn?tabs=3"
,
let
routes
=
getCurrentPages
();
// 获取当前打开过的页面路由数组
let
length
=
routes
.
length
uni
.
navigateBack
({
delta
:
length
-
1
});
// wx.navigateBack({ delta: 1 })//返回上一级页面
},
},
};
...
...
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