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
8643eb74
Commit
8643eb74
authored
Oct 09, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug-ZYW' into 'dev_7.1.0'
Fixbug zyw See merge request
!164
parents
6cb510cc
9224a170
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
extendProduct.js
src/pages/extendProduct/extendProduct.js
+12
-4
productDetail.js
src/pages/productDetail/productDetail.js
+1
-2
No files found.
src/pages/extendProduct/extendProduct.js
View file @
8643eb74
...
...
@@ -64,12 +64,18 @@ wxService.page({
// 可使用
if
(
current
==
0
)
{
wx
.
showShareMenu
()
this
.
getExtendProList
(
1
,
10
)
this
.
setData
({
pageNo
:
1
})
this
.
getExtendProList
(
this
.
data
.
pageNo
,
10
)
}
else
if
(
current
==
1
)
{
// 我的推广
wx
.
hideShareMenu
();
this
.
getMyShareCount
()
this
.
getMyExtendOrderList
(
1
,
10
)
this
.
setData
({
pageNum
:
1
})
this
.
getMyExtendOrderList
(
this
.
data
.
pageNum
,
10
)
}
},
...
...
@@ -325,7 +331,10 @@ wxService.page({
onShow
:
function
()
{
const
{
memberId
,
member
}
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
this
.
getExtendProBanner
()
this
.
getExtendProList
(
1
,
10
)
this
.
setData
({
pageNo
:
1
})
this
.
getExtendProList
(
this
.
data
.
pageNo
,
10
)
this
.
data
.
currentShareContent
=
null
;
},
...
...
@@ -367,7 +376,6 @@ wxService.page({
})
}
}
else
{
console
.
log
(
'11111111111'
,
this
.
data
.
pageNum
)
if
(
this
.
data
.
pageNum
<
this
.
data
.
myTotalPages
)
{
this
.
setData
({
pageNum
:
this
.
data
.
pageNum
+
1
,
...
...
src/pages/productDetail/productDetail.js
View file @
8643eb74
...
...
@@ -37,11 +37,10 @@ wxService.page({
fromZc
:
options
.
fromZc
==
1
});
//不是从种草过来的, 需要清除本地临时的触点信息
// if (!options.fromZc) {
// if (!options.fromZc
&& !options.t
) {
// wx.removeStorageSync('TEMP_TENTACLE_INFO');
// wx.removeStorageSync('TIME_EXPIRATION');
// }
}
let
memberId
=
options
.
memberId
;
if
(
memberId
)
{
...
...
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