|
@@ -20,7 +20,8 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="list_2">
|
|
|
- <image class="image" :src="item.url&&item.url.length>0?item.url[0].url:''" mode="">
|
|
|
+ <image class="image" :src="item.url&&item.url.length>0?item.url[0].url:''"
|
|
|
+ mode="">
|
|
|
</image>
|
|
|
<view class="other">
|
|
|
<view class="name">
|
|
@@ -44,8 +45,10 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="btn">
|
|
|
- <button v-if="item.status=='0'||item.status=='1'" type="default" size="mini" @tap.stop="toCancel(item)">取消售后</button>
|
|
|
- <button v-if="item.type!='0'" type="default" size="mini" @tap.stop="toRevise(item)">维护信息</button>
|
|
|
+ <button v-if="item.status=='0'||item.status=='1'" type="default" size="mini"
|
|
|
+ @tap.stop="toCancel(item)">取消售后</button>
|
|
|
+ <button v-if="item.type!='0'" type="default" size="mini"
|
|
|
+ @tap.stop="toRevise(item)">维护信息</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="is_bottom" v-if="is_bottom">
|
|
@@ -118,6 +121,7 @@
|
|
|
await that.searchOther();
|
|
|
// 监听用户登录
|
|
|
await that.watchLogin();
|
|
|
+ uni.startPullDownRefresh();
|
|
|
},
|
|
|
methods: {
|
|
|
// 查询基本设置
|
|
@@ -263,6 +267,15 @@
|
|
|
that.$set(that, `skip`, 0)
|
|
|
that.$set(that, `limit`, 5)
|
|
|
that.$set(that, `page`, 0)
|
|
|
+ },
|
|
|
+ onPullDownRefresh: async function() {
|
|
|
+ const that = this;
|
|
|
+ that.$set(that, `list`, [])
|
|
|
+ that.$set(that, `skip`, 0)
|
|
|
+ that.$set(that, `limit`, 6)
|
|
|
+ that.$set(that, `page`, 0)
|
|
|
+ await that.search();
|
|
|
+ uni.stopPullDownRefresh();
|
|
|
}
|
|
|
}
|
|
|
}
|