Browse Source

数据店铺列表优化

master
wanghongjun 2 years ago
parent
commit
50d2e30f70
  1. 10
      pages/goods/list.vue

10
pages/goods/list.vue

@ -29,6 +29,9 @@
<view class="goods-auth-type">
<text class="twoline-hide">{{ userList.authType }}</text>
</view>
<view class="goods-auth-num">
<text class="twoline-hide">标的数量{{ total }}</text>
</view>
</view>
</view>
<!-- 店铺信息 -->
@ -128,6 +131,7 @@
},
],
targetTab: 1,
total: 0,
}
},
@ -211,6 +215,7 @@
.then(result => {
//
const newList = app.initList(result.data)
app.total = result.data.total
app.list.data = getMoreListData(newList, app.list, pageNo)
app.userList = newList.data[0].user
app.userList.stateStr = this.getUserStateStr(app.userList.state)
@ -356,6 +361,11 @@
color: #fbb154;
font-weight: bold;
}
.goods-auth-num {
margin-top: 40rpx;
font-size: 24rpx;
color: #d7d7d7;
}
}
}

Loading…
Cancel
Save