Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
eae7fb97
Commit
eae7fb97
authored
Jan 10, 2023
by
kyle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
底部菜单栏切换
parent
93961b73
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
App.vue
+1
-1
components/login/login.vue
+2
-2
components/search/search.vue
+1
-1
pages/index/index.vue
+1
-1
pages/orderStatus/orderStatus.vue
+2
-2
No files found.
App.vue
View file @
eae7fb97
...
...
@@ -77,7 +77,7 @@
var
id
=
arr
[
1
];
if
(
arr
[
0
]
==
'goods'
)
{
//跳转到商品详情页,注意pages前面的"/"不要忘记,否则会造成无法跳转。使用navigateTo跳转到页面会有返回按钮,点击返回到首页
uni
.
navigateTo
({
uni
.
switchTab
({
url
:
'pages/index/index'
});
}
...
...
components/login/login.vue
View file @
eae7fb97
...
...
@@ -162,7 +162,7 @@
// uni.navigateTo({
// url:'/pages/index/index'
// })
uni
.
reLaunch
({
uni
.
switchTab
({
url
:
'/pages/index/index'
})
}
else
{
...
...
@@ -186,7 +186,7 @@
this
.
userId
=
String
(
res
[
'data'
][
'userId'
]);
uni
.
setStorageSync
(
'isLogin'
,
'1'
)
uni
.
setStorageSync
(
'cffp_userId'
,
this
.
userId
);
uni
.
navigateTo
({
uni
.
switchTab
({
url
:
'/pages/index/index'
})
}
else
{
...
...
components/search/search.vue
View file @
eae7fb97
...
...
@@ -53,7 +53,7 @@
url
:
`/pages/courselist/courselist?queryName=
${
this
.
queryName
}
`
})
}
else
{
uni
.
navigateTo
({
uni
.
switchTab
({
url
:
'/pages/courselist/courselist'
})
}
...
...
pages/index/index.vue
View file @
eae7fb97
...
...
@@ -299,7 +299,7 @@
})
},
goToCourselist
()
{
uni
.
navigateTo
({
uni
.
switchTab
({
url
:
'../../pages/courselist/courselist'
})
},
...
...
pages/orderStatus/orderStatus.vue
View file @
eae7fb97
...
...
@@ -49,7 +49,7 @@
})
},
goToCourselist
(){
uni
.
navigateTo
({
uni
.
switchTab
({
url
:
'../../pages/courselist/courselist'
})
},
...
...
@@ -61,7 +61,7 @@
})
},
cancelOrder
(){
uni
.
navigateTo
({
uni
.
switchTab
({
url
:
'/pages/index/index'
})
}
...
...
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