优化批发商品展示样式
parent
3c9f0d3c5c
commit
b8fe2aacf1
|
@ -473,6 +473,8 @@
|
||||||
color: #999 !important;
|
color: #999 !important;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
margin:0 20rpx;
|
margin:0 20rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.goods-header {
|
.goods-header {
|
||||||
|
@ -492,7 +494,8 @@
|
||||||
|
|
||||||
.goods-price {
|
.goods-price {
|
||||||
color: $price-color;
|
color: $price-color;
|
||||||
line-height: 80rpx;
|
line-height: 80rpx;
|
||||||
|
margin-right: 20rpx;
|
||||||
>* {
|
>* {
|
||||||
color: $price-color;
|
color: $price-color;
|
||||||
line-height: 80rpx;
|
line-height: 80rpx;
|
||||||
|
|
|
@ -150,9 +150,14 @@
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span v-else>
|
<span v-else>
|
||||||
<span>¥</span
|
<!-- <span v-if="wholesaleList.length">
|
||||||
><span class="price">{{ formatPrice(goodsDetail.price)[0] }}</span
|
<span>¥</span><span class="price">{{ formatPrice(wholesaleList[wholesaleList.length-1].price)[0] }}</span>.{{ formatPrice(wholesaleList[wholesaleList.length-1].price)[1] }}
|
||||||
>.{{ formatPrice(goodsDetail.price)[1] }}
|
~
|
||||||
|
<span>¥</span><span class="price">{{ formatPrice(wholesaleList[0].price)[0] }}</span>.{{ formatPrice(wholesaleList[0].price)[1] }}
|
||||||
|
</span>
|
||||||
|
<span v-else>
|
||||||
|
<span>¥</span><span class="price">{{ formatPrice(goodsDetail.price)[0] }}</span>.{{ formatPrice(goodsDetail.price)[1] }}
|
||||||
|
</span> -->
|
||||||
</span>
|
</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="-goods-price" v-else>
|
<view class="-goods-price" v-else>
|
||||||
|
|
Loading…
Reference in New Issue