diff --git a/pages/goods-detail/goods-detail.css b/pages/goods-detail/goods-detail.css index f324f6e6..6dfd6943 100644 --- a/pages/goods-detail/goods-detail.css +++ b/pages/goods-detail/goods-detail.css @@ -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; } /* diff --git a/pages/goods-detail/goods-detail.vue b/pages/goods-detail/goods-detail.vue index 3dc3b855..08f208f5 100644 --- a/pages/goods-detail/goods-detail.vue +++ b/pages/goods-detail/goods-detail.vue @@ -82,10 +82,11 @@ - - {{ show_field_price_text }} + + {{ show_field_price_text }} + {{ goods.show_price_symbol }}{{ goods_spec_base_price }} {{ goods.show_price_unit }}