添加了划线价

This commit is contained in:
2020-08-17 18:09:19 +08:00
parent d0d034cd7f
commit 35838e3a9e
4 changed files with 13 additions and 4 deletions

View File

@@ -17,7 +17,9 @@
<view class="right">
<view class="name u-line-1">{{ goods.goods_name }}</view>
<view class="briefing u-line-1">{{ goods.goods_advword }}</view>
<view class="price">{{ goods.goods_price }}</view>
<view class="price">{{ goods.goods_price }}
<text style="font-size:22rpx;color:#999;text-decoration:line-through;display: inline-block;margin-left:20rpx"> {{goods.goods_marketprice}}</text>
</view>
</view>
</view>
<u-loadmore :status="loadStatus" bgColor="#FFFFFF" margin-top="20" margin-bottom="20" v-if="goodsList.length >= pageSize"></u-loadmore>
@@ -122,6 +124,7 @@ export default {
if(load == 'reload') this.goodsList = res.data.data;
else if(load == 'loadmore') this.goodsList.push(...res.data.data);
}
console.log(res)
return res.data.data.length;
},
loadMore() {
@@ -164,6 +167,7 @@ export default {
};
</script>
<style lang="scss" scoped>
.classify-goods {
.tab-container {
box-sizing: border-box;