From 88a0153f904f8395e1c7d45c95bbbd5601365c8c Mon Sep 17 00:00:00 2001 From: jing <1683105490@qq.com> Date: Mon, 7 Sep 2026 10:24:40 +0800 Subject: [PATCH] =?UTF-8?q?chore=EF=BC=9A=E5=95=86=E5=93=81=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E7=9A=84=E5=88=92=E7=BA=BF=E4=BB=B7=E5=9C=A8=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E4=B8=8B=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components-diy/diy-category-item.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/components-diy/diy-category-item.vue b/components-diy/diy-category-item.vue index 5421fee..e379dc9 100644 --- a/components-diy/diy-category-item.vue +++ b/components-diy/diy-category-item.vue @@ -1990,13 +1990,13 @@ export default { margin-top: 12rpx; } - // 价格区域: 包含当前价格 + 删除线价格(同行) + // 价格区域: 现价在上, 划线价在下方 .price-wrap { display: flex; - align-items: baseline; + flex-direction: column; + align-items: flex-start; flex: 1; min-width: 0; - flex-wrap: wrap; .discount-price { display: inline-flex; @@ -2018,9 +2018,10 @@ export default { } } - // 删除线价格: 在当前价格右边 + // 删除线价格: 在现价下方 .delete-price { - margin-left: 16rpx; + margin-left: 0; + margin-top: 6rpx; display: inline-flex; align-items: baseline; text-decoration: line-through;