价格icon优化

master
gongfuxiang 2024-03-22 11:27:59 +08:00
parent 7091858832
commit 0064e5282b
2 changed files with 16 additions and 9 deletions

View File

@ -245,9 +245,6 @@
color: #FF5722;
border: 1px solid #FF5722;
background: transparent;
position: absolute;
right: 20rpx;
bottom: 20rpx;
font-size: 24rpx;
}
.price-content .sales-price {
@ -269,6 +266,13 @@
/**
*
*/
.countdown-content {
width: 38%;
}
.countdown-content .time-title {
font-size: 38rpx;
margin-bottom: 10rpx;
}
.goods-base-price-countdown {
background: #e84742 !important;
}
@ -277,7 +281,7 @@
background-repeat: no-repeat;
background-size: 100% 100%;
width: 60%;
min-height: 158rpx;
min-height: 164rpx;
}
.goods-base-price-countdown .price-icon {
border-color: #fff;
@ -290,9 +294,11 @@
.goods-base-price-countdown .unit{
color: #ffcece !important;
}
.countdown-content .time-title {
font-size: 38rpx;
margin-bottom: 10rpx;
.price-content .price-icon.seckill {
position: absolute;
right: 20rpx;
bottom: 20rpx;
margin-right: 0;
}
/*

View File

@ -82,10 +82,11 @@
<view class="goods-base-price bg-white oh spacing-mb" :class="(plugins_seckill_data || null) != null && plugins_seckill_data.time.status == 1 ? 'goods-base-price-countdown' : ''">
<!-- 价格 -->
<view class="price-content padding-main bs-bb fl" :style="(plugins_seckill_data || null) != null && plugins_seckill_data.time.status == 1 ? 'background-image: url(' + plugins_seckill_data.goods_detail_header + ')' : ''">
<!-- 图标 -->
<text v-if="(show_field_price_text || null) != null" class="price-icon round va-m">{{ show_field_price_text }}</text>
<!-- 售价 -->
<view v-if="(goods.show_field_price_status || 0) == 1" class="item single-text">
<!-- 图标 -->
<text v-if="(show_field_price_text || null) != null" :class="'price-icon round va-m margin-right-xs '+(((plugins_seckill_data || null) != null && plugins_seckill_data.time.status == 1) ? 'seckill' : '')">{{ show_field_price_text }}</text>
<!-- 售价 -->
<text class="sales-price va-m">{{ goods.show_price_symbol }}{{ goods_spec_base_price }}</text>
<text class="text-size-xs cr-grey va-m">{{ goods.show_price_unit }}</text>
</view>