|
|
@@ -36,6 +36,7 @@ Page({ |
|
|
|
display: 'none', |
|
|
|
display1:'none', |
|
|
|
optionsData:null, |
|
|
|
score: '0', |
|
|
|
page: 1 // 刷新进入页面时已经加载了第一页数据,onReachBottom时 page++,从第2页开始加载 |
|
|
|
}, |
|
|
|
close:function(){ |
|
|
@@ -104,8 +105,8 @@ Page({ |
|
|
|
}, |
|
|
|
//跳往个人中心 |
|
|
|
gotouser:function(){ |
|
|
|
wx.navigateTo({ |
|
|
|
url: '/pages/user/czdetail', |
|
|
|
wx.switchTab({ |
|
|
|
url: '/pages/user/index', |
|
|
|
}) |
|
|
|
}, |
|
|
|
//搜索门店 |
|
|
@@ -272,7 +273,8 @@ Page({ |
|
|
|
}).then(res => { |
|
|
|
console.log(res) |
|
|
|
that.setData({ |
|
|
|
levelName: res.data.levelName |
|
|
|
levelName: res.data.levelName, |
|
|
|
score: res.data.score |
|
|
|
}) |
|
|
|
if (res.data.nickName) { |
|
|
|
that.setData({ |
|
|
|