|
@@ -19,7 +19,12 @@
|
|
<block>
|
|
<block>
|
|
<view>
|
|
<view>
|
|
<view class="cu-list menu-avatar ">
|
|
<view class="cu-list menu-avatar ">
|
|
- <view class="cu-item" v-for="(item,index) in getDataList" :key="index">
|
|
|
|
|
|
+
|
|
|
|
+ <view class=" site-item text-center margin-top"
|
|
|
|
+ v-if="!this.getDataList.length&&this.Res==1">暂无数据...</view>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <view v-else class="cu-item" v-for="(item,index) in getDataList" :key="index">
|
|
<view class="cu-avatar " v-if="item.cl_type==1">
|
|
<view class="cu-avatar " v-if="item.cl_type==1">
|
|
<image class="image-bg" src="/static/repair1.png"/>
|
|
<image class="image-bg" src="/static/repair1.png"/>
|
|
</view>
|
|
</view>
|
|
@@ -76,6 +81,7 @@
|
|
listTouchStart: 0,
|
|
listTouchStart: 0,
|
|
listTouchDirection: null,
|
|
listTouchDirection: null,
|
|
CustomBar: this.CustomBar,
|
|
CustomBar: this.CustomBar,
|
|
|
|
+ Res:0,
|
|
|
|
|
|
getData:{},
|
|
getData:{},
|
|
getDataList:{}
|
|
getDataList:{}
|
|
@@ -95,6 +101,7 @@
|
|
data:params,
|
|
data:params,
|
|
showLoading: true
|
|
showLoading: true
|
|
})
|
|
})
|
|
|
|
+ this.Res = 1;
|
|
this.getData=res.data;
|
|
this.getData=res.data;
|
|
this.getDataList=res.data.data;
|
|
this.getDataList=res.data.data;
|
|
this.repairSquare[0].num=res.data.repair_count;
|
|
this.repairSquare[0].num=res.data.repair_count;
|