From 8612cffa90d740f7d3d36400e43aaf877cf54926 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Sat, 13 Apr 2024 01:36:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E5=8F=91=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods-detail/goods-detail.css | 28 +++++++++++++++++-------- pages/goods-detail/goods-detail.vue | 32 ++++++++++++++--------------- 2 files changed, 36 insertions(+), 24 deletions(-) diff --git a/pages/goods-detail/goods-detail.css b/pages/goods-detail/goods-detail.css index 0d1c4fbd..6271f147 100644 --- a/pages/goods-detail/goods-detail.css +++ b/pages/goods-detail/goods-detail.css @@ -525,17 +525,29 @@ /** * 批发 - 插件 */ -.plugins-wholesale-container-view .item-title { - min-width: 70rpx; +.plugins-wholesale-container-view { + display: flex; + justify-content: space-around; } .plugins-wholesale-container-view .item { - padding: 5rpx 15rpx; - color: #ff6633; - border: 1px dashed #ff9e7e; - display: inline-table; + margin-bottom: 0 !important; } -.plugins-wholesale-container-view .item:not(:last-child) { - margin-right: 24rpx; +.plugins-wholesale-container-view .item .price > .unit { + border: 0.05rem solid #cdcdcd; + color: #969696; + border-radius: 50%; + padding: 1rpx 6rpx; + vertical-align: top; + margin-left: 5rpx; +} +.plugins-wholesale-container-view .spec-tips { + color: #ffefc0; + border: 1rpx solid #ff9800; + background: #FF9800; + padding: 0 16rpx; + position: absolute; + top: 0; + right: 0; } .plugins-wholesale-container { max-height: 50vh; diff --git a/pages/goods-detail/goods-detail.vue b/pages/goods-detail/goods-detail.vue index 48a155a4..d67ead81 100644 --- a/pages/goods-detail/goods-detail.vue +++ b/pages/goods-detail/goods-detail.vue @@ -81,7 +81,20 @@ - + + + + + + + {{currency_symbol}} + {{item.range_val}} + {{item.arr.unit}} + + {{item.range_msg}} + + + @@ -207,19 +220,6 @@ - - - {{ plugins_wholesale_data.title }} - - - - {{ item.msg }} - - - - - - {{$t('goods-detail.goods-detail.w3jma9')}} @@ -514,8 +514,8 @@ - {{ item.arr.msg }} - {{ item.arr.val }} + {{ item.range_msg }} + {{ item.range_val }} {{ item.arr.unit }}