From 1f725caee4ee655345a28a7396c08e33ee403a8e Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Fri, 12 Dec 2025 14:49:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85=E5=9F=BA?= =?UTF-8?q?=E7=A1=80=E6=95=B0=E6=8D=AE=E5=92=8C=E5=8F=82=E6=95=B0=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/css/page.css | 4 +-- pages/goods-detail/goods-detail.css | 12 ++------ pages/goods-detail/goods-detail.vue | 48 ++++++++++++++--------------- 3 files changed, 28 insertions(+), 36 deletions(-) diff --git a/common/css/page.css b/common/css/page.css index ad5c3ccb..33e49034 100644 --- a/common/css/page.css +++ b/common/css/page.css @@ -598,6 +598,7 @@ button:before { .bg-grey-e { background-color: #eeeeee !important; } +.bg-base, .bg-grey-f5 { background-color: #f5f5f5 !important; } @@ -610,9 +611,6 @@ button:before { .bg-grey-f9 { background-color: #f9f9f9 !important; } -.bg-base { - background-color: #f5f5f5 !important; -} .bg-blue { background-color: #2196F3 !important; } diff --git a/pages/goods-detail/goods-detail.css b/pages/goods-detail/goods-detail.css index 8e644969..f0a6f031 100644 --- a/pages/goods-detail/goods-detail.css +++ b/pages/goods-detail/goods-detail.css @@ -286,20 +286,14 @@ /* * 商品参数 */ -.parameters-base .content-item .item { - color: #666; -} -.goods-parameters .content-item .item { +.goods-parameters .item { padding: 8rpx 10rpx; width: calc(50% - 20rpx); } -.goods-parameters .content-item .item .name { - margin-right: 10rpx; -} -.goods-parameters .content-item .item:nth-child(2n-1) { +.goods-parameters .item:nth-child(2n-1) { float: left; } -.goods-parameters .content-item .item:nth-child(2n) { +.goods-parameters .item:nth-child(2n) { float: right; } diff --git a/pages/goods-detail/goods-detail.vue b/pages/goods-detail/goods-detail.vue index 2ff25b2f..92fcb4de 100644 --- a/pages/goods-detail/goods-detail.vue +++ b/pages/goods-detail/goods-detail.vue @@ -262,7 +262,7 @@ - {{ item.value }} + {{ item.name }}:{{ item.value }} @@ -354,35 +354,35 @@ - - - - - {{$t('goods-detail.goods-detail.l7dzv2')}} - - - - - - - {{ item.name }}: - {{ item.value }} - - - - - 查看全部参数 >> - - - - - {{$t('goods-detail.goods-detail.2j44o2')}} + + + + + {{ item.name }}: + {{ item.value }} + + + + + + + + + {{ item.name }}: + {{ item.value }} + + + + + 查看全部参数 >> + +