@ -85,14 +85,17 @@
},
onReachBottom() { //上拉触底函数
if (!this.isLoadMore) { //此处判断,上锁,防止重复请求
this.isLoadMore = true
// this.isLoadMore = true
this.pageNum += 1
this.serviceList = [];
// this.serviceList = [];
this.getOrderList();
}
onShow() {
this.goodtyid = 2;
this.pageNum = 1;
this.isLoadMore = false;
methods: {
@ -101,6 +104,7 @@
this.goodtyid = item.id;
@ -39,6 +39,11 @@
this.getAccessToken();//获取openID
} else {
uni.setStorageSync("accountId","");
uni.setStorageSync("urlKey","");
uni.setStorageSync("urlCode","");
if(locationPathArr[1]){
let accountId = locationPathArr[1].split("&")[0];
app.globalData.accountId=accountId;