From 213f4b840859fea5d86878215267a8a1dc3f0742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Wed, 1 Jun 2022 10:58:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=89=B9=E5=8F=91=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=B1=95=E7=A4=BA=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/m-buy/goods.vue | 5 ++++- pages/product/goods.vue | 11 ++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/components/m-buy/goods.vue b/components/m-buy/goods.vue index 075b1da..60724a3 100644 --- a/components/m-buy/goods.vue +++ b/components/m-buy/goods.vue @@ -473,6 +473,8 @@ color: #999 !important; font-size: 24rpx; margin:0 20rpx; + display: flex; + justify-content: center; } .goods-header { @@ -492,7 +494,8 @@ .goods-price { color: $price-color; - line-height: 80rpx; + line-height: 80rpx; + margin-right: 20rpx; >* { color: $price-color; line-height: 80rpx; diff --git a/pages/product/goods.vue b/pages/product/goods.vue index 0f24955..f6178d7 100644 --- a/pages/product/goods.vue +++ b/pages/product/goods.vue @@ -150,9 +150,14 @@ - ¥{{ formatPrice(goodsDetail.price)[0] }}.{{ formatPrice(goodsDetail.price)[1] }} +