|
@@ -14,7 +14,7 @@
|
|
|
</swiper-item>
|
|
|
|
|
|
</swiper>
|
|
|
- <image v-else class="swiper" src="../../static/img/barner_noimg.png" mode=""></image>
|
|
|
+ <image v-if="loading" class="swiper" src="../../static/img/barner_noimg.png" mode=""></image>
|
|
|
</view>
|
|
|
<view style="height: 20rpx;background: #F4F5F7;"></view>
|
|
|
<view class="mainBox">
|
|
@@ -25,7 +25,7 @@
|
|
|
<view class="wei">位置{{item.refernum}}</view>
|
|
|
<view class="yong">用量{{item.qty}}</view>
|
|
|
</view>
|
|
|
- <view class="name">{{item.description}}</view>
|
|
|
+ <view class="name" v-html="item.description"></view>
|
|
|
<view class="comment">{{item.remark}}</view>
|
|
|
<view class="forLine">
|
|
|
<view @click="goOemDetail(item)" class="code">{{item.extened.join()}}</view>
|
|
@@ -59,7 +59,8 @@
|
|
|
son_param: '',
|
|
|
son_access_time: '',
|
|
|
page: 1,
|
|
|
- total_page: 1
|
|
|
+ total_page: 1,
|
|
|
+ loading:false,
|
|
|
}
|
|
|
},
|
|
|
onLoad(opt) {
|
|
@@ -107,7 +108,11 @@
|
|
|
if (list.length != 0) {
|
|
|
this.itemList = this.itemList.concat(list)
|
|
|
}
|
|
|
- console.log('itemList++', this.itemList);
|
|
|
+ console.log('itemList++', this.itemList);
|
|
|
+
|
|
|
+ if (this.bannerArr.length == 0) {
|
|
|
+ this.loading = true;
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
goOemDetail(item) {
|