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
de739b4a
Commit
de739b4a
authored
Sep 11, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品详情页
parent
105ad21a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
productDetail.js
src/pages/productDetail/productDetail.js
+4
-3
No files found.
src/pages/productDetail/productDetail.js
View file @
de739b4a
...
@@ -23,7 +23,7 @@ wxService.page({
...
@@ -23,7 +23,7 @@ wxService.page({
memberLevel
:
false
,
memberLevel
:
false
,
showCardModal
:
false
,
showCardModal
:
false
,
currentShareContent
:
null
,
currentShareContent
:
null
,
fromZc
:
false
,
fromZc
:
false
,
},
},
/**
/**
...
@@ -37,7 +37,7 @@ wxService.page({
...
@@ -37,7 +37,7 @@ wxService.page({
fromZc
:
options
.
fromZc
==
1
fromZc
:
options
.
fromZc
==
1
});
});
//不是从种草过来的, 需要清除本地临时的触点信息
//不是从种草过来的, 需要清除本地临时的触点信息
if
(
!
options
.
fromZc
){
if
(
!
options
.
fromZc
)
{
wx
.
removeStorageSync
(
'TEMP_TENTACLE_INFO'
);
wx
.
removeStorageSync
(
'TEMP_TENTACLE_INFO'
);
wx
.
removeStorageSync
(
'TIME_EXPIRATION'
);
wx
.
removeStorageSync
(
'TIME_EXPIRATION'
);
}
}
...
@@ -238,8 +238,9 @@ wxService.page({
...
@@ -238,8 +238,9 @@ wxService.page({
let
parmas
=
{
let
parmas
=
{
trolleySku2Buy
:
JSON
.
stringify
(
trolleySku2Buy
)
trolleySku2Buy
:
JSON
.
stringify
(
trolleySku2Buy
)
}
}
const
{
fromZc
}
=
this
.
data
//判断是否从种草商品过来购买
//判断是否从种草商品过来购买
if
(
fromZc
){
if
(
fromZc
)
{
wxService
.
updateLocalTentacleInfo
();
wxService
.
updateLocalTentacleInfo
();
}
}
wxService
wxService
...
...
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