From ac15c2c5150eed72495e0feafc3d320d91fa2bd8 Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Tue, 12 Mar 2024 17:47:34 +0800 Subject: [PATCH] =?UTF-8?q?Feat(=E5=A4=A9=E5=A4=A9=E7=A7=92=E6=9D=80):?= =?UTF-8?q?=E6=8C=89=E7=85=A7=E6=9C=80=E6=96=B0=E8=AE=BE=E8=AE=A1=E5=9B=BE?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_product/views/seckill.vue | 85 +++++++++++++++++++++++++++++------ 1 file changed, 71 insertions(+), 14 deletions(-) diff --git a/pkg_product/views/seckill.vue b/pkg_product/views/seckill.vue index 377ff29..b80672b 100644 --- a/pkg_product/views/seckill.vue +++ b/pkg_product/views/seckill.vue @@ -40,7 +40,6 @@ - 倒计时: {{ item.title }} - {{ item.unitName }} - - + + + + + 已抢{{ item.sales }} + + + + + + 秒杀价¥ + {{ item.price }} + + + + @@ -381,24 +397,21 @@ export default { /deep/ .time { display: flex; align-items: center; + padding: 4rpx 10rpx 4rpx 15rpx; + border-radius: 4rpx; font-size: 26rpx; + background-color: #E02619; + color: #fff; + box-shadow: 1px 1px 1px rgba(0,0,0,0.16); - .timeTxt { - color: #E62113; + .styleAll { + margin: 0 12rpx; } .unit { display: inline-flex; justify-content: center; align-items: center; - width: 26rpx; - height: 32rpx; - margin: 0 2rpx; - background: #E02619; - color: #fff; - box-shadow: 2rpx 2rpx 2rpx rgba(0, 0, 0, 0.16); - border-radius: 4rpx; - font-weight: bold; } } } @@ -598,4 +611,48 @@ export default { } } } +.line-price { + .number { + width: 82px; + height: 24px; + border-radius: 12px; + line-height: 24px; + color: #fff; + font-size: 12px; + font-weight: bold; + background: rgba(250,181,176,0.39); + box-shadow: 1px 1px 1px rgba(0,0,0,0.16); + .bg { + z-index: 1; + height: 100%; + padding: 0 4px 0 12px; + margin: 0 2px 0 0; + border-radius: 12px; + background-color: #E92727; + } + } + .price-wrap { + align-items: flex-end; + .price-txt { + flex: 1; + height: 24px; + padding: 4px 8px; + color: #fff; + font-size: 12px; + background: linear-gradient(270deg, #FFFFFE 0%, #EB5015 100%); + border-radius: 4px; + .txt { + font-size: 18px; + font-weight: bold; + } + } + .btn { + margin: 0 0 0 -16px; + .btn-img { + width: 42px; + height: 43px; + } + } + } +}