xbx #160
@ -205,6 +205,7 @@ export default {
 | 
			
		||||
		},
 | 
			
		||||
		switchCurrent(current) {
 | 
			
		||||
			// if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc;
 | 
			
		||||
			this.page = 1;
 | 
			
		||||
			this.current = current;
 | 
			
		||||
			this.goodsList = []
 | 
			
		||||
			this.ShopSearch()
 | 
			
		||||
 | 
			
		||||
@ -129,8 +129,9 @@ export default {
 | 
			
		||||
			})
 | 
			
		||||
		},
 | 
			
		||||
		switchCurrent(current) {
 | 
			
		||||
			this.ShopSearch()
 | 
			
		||||
			this.page = 1
 | 
			
		||||
			if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc;
 | 
			
		||||
			this.ShopSearch()
 | 
			
		||||
			this.current = current;
 | 
			
		||||
		},
 | 
			
		||||
		setViewHeight() {
 | 
			
		||||
 | 
			
		||||
@ -10,7 +10,7 @@
 | 
			
		||||
			<view  class="cur_two"  @click="tapClick(index)">已关注</view>
 | 
			
		||||
			<!-- <view class="cur"   @click="tapClick(index)" v-else = "item.about == 2">未关注</view> -->
 | 
			
		||||
		</view>
 | 
			
		||||
		<u-loadmore :status="status" icon-type="iconType" :load-text="loadText" />
 | 
			
		||||
		<u-loadmore :status="status" icon-type="iconType"/>
 | 
			
		||||
	</view>
 | 
			
		||||
	
 | 
			
		||||
</template>
 | 
			
		||||
@ -39,6 +39,10 @@
 | 
			
		||||
		onLoad(){
 | 
			
		||||
			this.snsfriendList()
 | 
			
		||||
		},
 | 
			
		||||
		onShow(){
 | 
			
		||||
			this.page = 1;
 | 
			
		||||
			this.snsfriendList();
 | 
			
		||||
		},
 | 
			
		||||
		methods: {
 | 
			
		||||
			// 点击切换颜色
 | 
			
		||||
			tapClick(index) {
 | 
			
		||||
 | 
			
		||||
@ -391,7 +391,7 @@ export default {
 | 
			
		||||
          that.$forceUpdate();
 | 
			
		||||
          console.log(that.room)
 | 
			
		||||
 | 
			
		||||
    },60 * 1000)
 | 
			
		||||
    },10 * 1000)
 | 
			
		||||
    uni.request({
 | 
			
		||||
      url:"https://dmmall.sdbairui.com/api/Specialci/livingUserInfo",
 | 
			
		||||
      data:{
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user