|
@@ -2,7 +2,7 @@
|
|
|
<view class="container">
|
|
|
<!-- 供销社列表 -->
|
|
|
<view class="rnwdList" v-for="(item, index) in list" :key="index">
|
|
|
- <view @tap="goDetails(item.id)" class="cooperativeImgBox">
|
|
|
+ <view @tap="goDetails(item.id)" class="cooperativeImgBox" style="width: 30%;">
|
|
|
<!--<image :src="loadImgSrc('/snbj.png')" class="cooperativeImg"></image>-->
|
|
|
<image :src="loadImgSrcLocalhost(item.imgUrl)" class="cooperativeImg"></image>
|
|
|
</view>
|
|
@@ -53,6 +53,7 @@ export default {
|
|
|
imgUrl:"-"
|
|
|
}
|
|
|
],
|
|
|
+ total:0
|
|
|
};
|
|
|
},
|
|
|
onPullDownRefresh() {
|
|
@@ -92,6 +93,7 @@ export default {
|
|
|
getList(type) {
|
|
|
this.loading = true;
|
|
|
getList().then(response => {
|
|
|
+ this.total = response.total
|
|
|
if (this.queryParams.pageNum === 1) {
|
|
|
this.list = response.rows;
|
|
|
} else {
|