main
fanfan 8 months ago
parent edd752e499
commit 00c384398e
  1. 10
      pages/news/user/vip.vue
  2. 2
      pages/user/index.vue

@ -80,12 +80,12 @@
//
this.list = []
this.page = 1;
app.getList(app.user_type)
app.getList()
},
searchhandle() {
this.list = []
this.page = 1;
this.getList(this.user_type)
this.getList()
},
async getList() {
@ -143,18 +143,18 @@
}
},
onLoad(option) {
this.title = option.title
this.title = option.type==1?'会员管理':'分销管理'
this.type = option.type
uni.setNavigationBarTitle({
title: this.title
});
this.list = []
this.getList(this.user_type)
this.getList()
},
onReachBottom() {
if (this.list.length < this.total) {
this.page++;
this.getList(this.user_type)
this.getList()
}
},
}

@ -118,7 +118,7 @@
</view>
</view>
</view>
<view class="userSell" v-if="userInfo.user_type== 40">
<view class="userSell" v-if="userInfo.user_type!== 40">
<view class="sell">
会员分销
</view>

Loading…
Cancel
Save