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
c43599c0
Commit
c43599c0
authored
Sep 29, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的
parent
f8364a45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
extendProduct.js
src/pages/extendProduct/extendProduct.js
+8
-4
No files found.
src/pages/extendProduct/extendProduct.js
View file @
c43599c0
...
...
@@ -64,7 +64,10 @@ 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
();
...
...
@@ -328,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
;
},
...
...
@@ -370,8 +376,6 @@ wxService.page({
})
}
}
else
{
console
.
log
(
'11111111111'
,
this
.
data
.
pageNum
)
console
.
log
(
'22222222222'
,
this
.
data
.
myTotalPages
)
if
(
this
.
data
.
pageNum
<
this
.
data
.
myTotalPages
)
{
this
.
setData
({
pageNum
:
this
.
data
.
pageNum
+
1
,
...
...
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