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
d509e51d
Commit
d509e51d
authored
Jun 20, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify: 老会员弹框
parent
ceeac3ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
23 deletions
+13
-23
picNav.js
src/component/picNav/picNav.js
+13
-23
No files found.
src/component/picNav/picNav.js
View file @
d509e51d
...
...
@@ -64,16 +64,6 @@ Component({
})
return
false
}
// else if(userInfo && userInfo.member && userInfo.member.mobile && !userInfo.memberActivateStatus) {
// // userInfo 存在 手机号存在 未激活 跳转激活领卡页面
// this.setData({
// isAuthorizationActiveText:'新激活领卡',
// isAuthorization: true
// },()=> {
// wxService.openCard()
// return false
// })
// }
if
(
link
.
type
==
2
)
{
// 触发父组件更新页面
...
...
@@ -89,26 +79,26 @@ Component({
}
else
if
(
link
.
type
==
4
)
{
wxService
.
router
(
`
${
currentClickType
}
`
)
}
else
if
(
link
.
type
==
5
)
{
// if(userInfo && userInfo.member && userInfo.member.mobile && !userInfo.memberActivateStatus) {
// this.setData({
// isAuthorizationActiveText:'新激活领卡',
// isAuthorizationType: 3,
// isAuthorization: true
// })
// } else {
// wxService.openCard()
// }
console
.
log
(
'currentClickType'
,
currentClickType
)
if
(
currentClickType
==
1
)
{
// wxService.openCardList()
wxService
.
openCard
()
}
else
if
(
currentClickType
==
2
)
{
wxService
.
openCard
()
if
(
userInfo
&&
userInfo
.
member
&&
userInfo
.
member
.
mobile
&&
!
userInfo
.
memberActivateStatus
)
{
// 手机号存在 但未激活 跳转激活领卡页面 老用户
this
.
setData
({
isAuthorizationActiveText
:
'新激活领卡'
,
isAuthorization
:
true
,
isAuthorizationType
:
3
},
()
=>
{
return
false
})
}
}
}
},
activeTocard
(
e
){
if
(
e
.
detail
)
{
activeTocard
(
e
)
{
if
(
e
.
detail
)
{
wxService
.
openCard
()
}
}
...
...
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