Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
575e4c94
Commit
575e4c94
authored
Jun 11, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-zyw' into 'dev'
Feature zyw See merge request
!23
parents
c0310f0b
03ecab06
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
picNav.js
src/component/picNav/picNav.js
+10
-7
No files found.
src/component/picNav/picNav.js
View file @
575e4c94
...
@@ -41,13 +41,22 @@ Component({
...
@@ -41,13 +41,22 @@ Component({
// 获取当前帐号信息
// 获取当前帐号信息
const
accountInfo
=
utils
.
getAccountInfo
()
const
accountInfo
=
utils
.
getAccountInfo
()
const
userInfo
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
const
userInfo
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
if
(
userInfo
){
if
(
accountInfo
.
miniProgram
.
appId
==
appid
){
if
(
accountInfo
.
miniProgram
.
appId
==
appid
){
if
(
userInfo
){
if
(
!
memberActivateStatus
){
if
(
!
memberActivateStatus
){
wxService
.
openCard
()
wxService
.
openCard
()
}
else
{
}
else
{
wxService
.
router
(
`
${
path
}
`
)
wxService
.
router
(
`
${
path
}
`
)
}
}
}
else
{
if
(
path
==
'/pages/deliveryService/deliveryService'
)
{
wxService
.
router
(
`
${
path
}
`
)
return
}
this
.
setData
({
isAuthorization
:
true
})
}
}
else
{
}
else
{
// 跳转其他小程序
// 跳转其他小程序
wx
.
navigateToMiniProgram
({
wx
.
navigateToMiniProgram
({
...
@@ -65,12 +74,6 @@ Component({
...
@@ -65,12 +74,6 @@ Component({
})
})
}
}
// 是当前小程序 直接跳转
}
else
{
this
.
setData
({
isAuthorization
:
true
})
}
}
}
}
}
})
})
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