Commit 8643eb74 by 赵雅纹

Merge branch 'fixbug-ZYW' into 'dev_7.1.0'

Fixbug zyw

See merge request !164
parents 6cb510cc 9224a170
...@@ -64,12 +64,18 @@ wxService.page({ ...@@ -64,12 +64,18 @@ wxService.page({
// 可使用 // 可使用
if (current == 0) { if (current == 0) {
wx.showShareMenu() wx.showShareMenu()
this.getExtendProList(1,10) this.setData({
pageNo: 1
})
this.getExtendProList(this.data.pageNo,10)
} else if (current == 1) { } else if (current == 1) {
// 我的推广 // 我的推广
wx.hideShareMenu(); wx.hideShareMenu();
this.getMyShareCount() this.getMyShareCount()
this.getMyExtendOrderList(1,10) this.setData({
pageNum: 1
})
this.getMyExtendOrderList(this.data.pageNum,10)
} }
}, },
...@@ -325,7 +331,10 @@ wxService.page({ ...@@ -325,7 +331,10 @@ wxService.page({
onShow: function () { onShow: function () {
const { memberId, member } = wx.getStorageSync('_baseUserInfo') const { memberId, member } = wx.getStorageSync('_baseUserInfo')
this.getExtendProBanner() this.getExtendProBanner()
this.getExtendProList(1,10) this.setData({
pageNo: 1
})
this.getExtendProList(this.data.pageNo,10)
this.data.currentShareContent = null; this.data.currentShareContent = null;
}, },
...@@ -367,7 +376,6 @@ wxService.page({ ...@@ -367,7 +376,6 @@ wxService.page({
}) })
} }
}else{ }else{
console.log('11111111111', this.data.pageNum)
if (this.data.pageNum < this.data.myTotalPages) { if (this.data.pageNum < this.data.myTotalPages) {
this.setData({ this.setData({
pageNum: this.data.pageNum + 1, pageNum: this.data.pageNum + 1,
......
...@@ -37,11 +37,10 @@ wxService.page({ ...@@ -37,11 +37,10 @@ wxService.page({
fromZc: options.fromZc == 1 fromZc: options.fromZc == 1
}); });
//不是从种草过来的, 需要清除本地临时的触点信息 //不是从种草过来的, 需要清除本地临时的触点信息
// if (!options.fromZc) { // if (!options.fromZc && !options.t) {
// wx.removeStorageSync('TEMP_TENTACLE_INFO'); // wx.removeStorageSync('TEMP_TENTACLE_INFO');
// wx.removeStorageSync('TIME_EXPIRATION'); // wx.removeStorageSync('TIME_EXPIRATION');
// } // }
} }
let memberId = options.memberId; let memberId = options.memberId;
if (memberId) { if (memberId) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment