xbx #160

Merged
theluyuan merged 3 commits from xbx into master 2020-08-12 11:33:45 +08:00
4 changed files with 9 additions and 3 deletions

View File

@ -205,6 +205,7 @@ export default {
}, },
switchCurrent(current) { switchCurrent(current) {
// if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc; // if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc;
this.page = 1;
this.current = current; this.current = current;
this.goodsList = [] this.goodsList = []
this.ShopSearch() this.ShopSearch()

View File

@ -129,8 +129,9 @@ export default {
}) })
}, },
switchCurrent(current) { switchCurrent(current) {
this.ShopSearch() this.page = 1
if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc; if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc;
this.ShopSearch()
this.current = current; this.current = current;
}, },
setViewHeight() { setViewHeight() {

View File

@ -10,7 +10,7 @@
<view class="cur_two" @click="tapClick(index)">已关注</view> <view class="cur_two" @click="tapClick(index)">已关注</view>
<!-- <view class="cur" @click="tapClick(index)" v-else = "item.about == 2">未关注</view> --> <!-- <view class="cur" @click="tapClick(index)" v-else = "item.about == 2">未关注</view> -->
</view> </view>
<u-loadmore :status="status" icon-type="iconType" :load-text="loadText" /> <u-loadmore :status="status" icon-type="iconType"/>
</view> </view>
</template> </template>
@ -39,6 +39,10 @@
onLoad(){ onLoad(){
this.snsfriendList() this.snsfriendList()
}, },
onShow(){
this.page = 1;
this.snsfriendList();
},
methods: { methods: {
// //
tapClick(index) { tapClick(index) {

View File

@ -391,7 +391,7 @@ export default {
that.$forceUpdate(); that.$forceUpdate();
console.log(that.room) console.log(that.room)
},60 * 1000) },10 * 1000)
uni.request({ uni.request({
url:"https://dmmall.sdbairui.com/api/Specialci/livingUserInfo", url:"https://dmmall.sdbairui.com/api/Specialci/livingUserInfo",
data:{ data:{