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
b16296df
Commit
b16296df
authored
Jun 15, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify: 手机号码
parent
7008ed97
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
bottom.js
src/component/bottom/bottom.js
+6
-0
imageSwiper.js
src/component/imageSwiper/imageSwiper.js
+3
-0
picNav.js
src/component/picNav/picNav.js
+3
-0
No files found.
src/component/bottom/bottom.js
View file @
b16296df
...
@@ -47,6 +47,8 @@ Component({
...
@@ -47,6 +47,8 @@ Component({
// navigateToMiniProgram:fail can only be invoked by user TAP gesture.
// navigateToMiniProgram:fail can only be invoked by user TAP gesture.
// 更改数据问题
// 更改数据问题
let
currentClickType
=
app
.
globalData
.
commonFunc
.
getLink
(
item
.
link
.
type
,
item
)
let
currentClickType
=
app
.
globalData
.
commonFunc
.
getLink
(
item
.
link
.
type
,
item
)
const
userInfo
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
console
.
log
(
'userInfo.member.mobile'
,
userInfo
.
member
.
mobile
)
// type==1 外部 不用弹 没有登录弹
// type==1 外部 不用弹 没有登录弹
if
(
link
.
type
==
1
)
{
if
(
link
.
type
==
1
)
{
// 触发父组件更新页面 外部小程序
// 触发父组件更新页面 外部小程序
...
@@ -59,8 +61,12 @@ Component({
...
@@ -59,8 +61,12 @@ Component({
isAuthorization
:
true
isAuthorization
:
true
})
})
return
false
return
false
}
else
if
(
userInfo
&&
userInfo
.
member
&&
!
userInfo
.
member
.
mobile
)
{
wxService
.
openCard
()
return
false
}
}
// wxService.openCard()
if
(
link
.
type
==
2
)
{
if
(
link
.
type
==
2
)
{
// 触发父组件更新页面
// 触发父组件更新页面
wxService
.
nextTick
(()
=>
{
wxService
.
nextTick
(()
=>
{
...
...
src/component/imageSwiper/imageSwiper.js
View file @
b16296df
...
@@ -48,6 +48,9 @@ Component({
...
@@ -48,6 +48,9 @@ Component({
isAuthorization
:
true
isAuthorization
:
true
})
})
return
false
return
false
}
else
if
(
userInfo
&&
userInfo
.
member
&&
!
userInfo
.
member
.
mobile
)
{
wxService
.
openCard
()
return
false
}
}
if
(
link
.
type
==
2
)
{
if
(
link
.
type
==
2
)
{
...
...
src/component/picNav/picNav.js
View file @
b16296df
...
@@ -55,6 +55,9 @@ Component({
...
@@ -55,6 +55,9 @@ Component({
isAuthorization
:
true
isAuthorization
:
true
})
})
return
false
return
false
}
else
if
(
userInfo
&&
userInfo
.
member
&&
!
userInfo
.
member
.
mobile
)
{
wxService
.
openCard
()
return
false
}
}
if
(
link
.
type
==
2
)
{
if
(
link
.
type
==
2
)
{
...
...
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