Commit 343808589005ab74bd2dc029e7a789e20aad7d4e

Authored by zhiyangdu
1 parent 93bc80b9

注释下拉刷新

src/pages/myGiftBox/myGiftBox.vue
@@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@
28 </van-tabs> 28 </van-tabs>
29 </div> 29 </div>
30 <!--下拉刷新--> 30 <!--下拉刷新-->
31 - <van-pull-refresh v-model="isLoading" @refresh="onRefresh"> 31 + <!-- <van-pull-refresh v-model="isLoading" @refresh="onRefresh"> -->
32 <!--内容--> 32 <!--内容-->
33 <div class="item_box"> 33 <div class="item_box">
34 <div 34 <div
@@ -66,7 +66,7 @@ @@ -66,7 +66,7 @@
66 </div> 66 </div>
67 </div> 67 </div>
68 </div> 68 </div>
69 - </van-pull-refresh> 69 + <!-- </van-pull-refresh> -->
70 <!-- 弹出框 --> 70 <!-- 弹出框 -->
71 <van-popup position="bottom" v-model="actionSheetShow"> 71 <van-popup position="bottom" v-model="actionSheetShow">
72 <van-picker 72 <van-picker
@@ -170,26 +170,26 @@ export default { @@ -170,26 +170,26 @@ export default {
170 }, 170 },
171 methods: { 171 methods: {
172 //下拉刷新时会触发 refresh 事件 172 //下拉刷新时会触发 refresh 事件
173 - onRefresh() {  
174 - setTimeout(() => {  
175 - Toast("刷新成功");  
176 - this.isLoading = false;  
177 - // 初始化页脚  
178 - this.receivingGifts.pages = 1;  
179 - this.giftGiving.pages = 1  
180 - if (this.active == 0) {  
181 - // 收礼订单列表  
182 - this.getorderGiftList();  
183 - // 调用im是否显示隐藏1显示im聊天弹窗0不显示  
184 - this.setGiftBottomVisibleBySwitchTab(0);  
185 - } else {  
186 - // 调用im是否显示隐藏1显示im聊天弹窗0不显示  
187 - this.setGiftBottomVisibleBySwitchTab(1);  
188 - // 送礼订单列表  
189 - this.getorderGiveGiftList();  
190 - }  
191 - }, 1000);  
192 - }, 173 + // onRefresh() {
  174 + // setTimeout(() => {
  175 + // // Toast("刷新成功");
  176 + // this.isLoading = false;
  177 + // // 初始化页脚
  178 + // this.receivingGifts.pages = 1;
  179 + // this.giftGiving.pages = 1
  180 + // if (this.active == 0) {
  181 + // // 收礼订单列表
  182 + // this.getorderGiftList();
  183 + // // 调用im是否显示隐藏1显示im聊天弹窗0不显示
  184 + // this.setGiftBottomVisibleBySwitchTab(0);
  185 + // } else {
  186 + // // 调用im是否显示隐藏1显示im聊天弹窗0不显示
  187 + // this.setGiftBottomVisibleBySwitchTab(1);
  188 + // // 送礼订单列表
  189 + // this.getorderGiveGiftList();
  190 + // }
  191 + // }, 1000);
  192 + // },
193 /** 193 /**
194 * tab切换 194 * tab切换
195 */ 195 */