pages/home/components/home-top-flow.vue
@@ -30,7 +30,7 @@ </view> <view class="other-info flex"> <view class="m-r-15"> 已售:{{ item.sales || 0 }} 已售:{{ ((item.sales||0) +(item.realSales||0)) || 0 }} </view> <view class="m-r-15"> 剩余:{{ item.stock || 0 }} @@ -125,15 +125,15 @@ display: flex; .tag { min-width: 60rpx; // min-width: 60rpx; padding-left: 10rpx; padding-right: 10rpx; line-height: 30rpx; background: #FEE6E6; border-radius: 10rpx; font-size: 22rpx; font-size: 18rpx; color: #CD1212; margin-right: 12rpx; margin-right: 6rpx; text-align: center; }