From a89f357e6378187ba1ecb8b2efa05d89ccf45e90 Mon Sep 17 00:00:00 2001 From: czm <2192718639@qq.com> Date: Thu, 12 Jan 2023 14:33:26 +0800 Subject: [PATCH] =?UTF-8?q?ID1001088=E8=B4=AD=E7=89=A9=E8=BD=A6=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E6=A0=B7=E5=BC=8F=E5=8F=96=E5=80=BC=E5=8F=8D=E8=BF=87?= =?UTF-8?q?=E6=9D=A5=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/shopCar/components/main/index.module.scss | 1 + src/pages/shopCar/components/productItem/index.tsx | 4 ++-- src/pages/shopCar/components/recommendProductItem/index.tsx | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pages/shopCar/components/main/index.module.scss b/src/pages/shopCar/components/main/index.module.scss index 9c22ea5..9c555c8 100644 --- a/src/pages/shopCar/components/main/index.module.scss +++ b/src/pages/shopCar/components/main/index.module.scss @@ -14,6 +14,7 @@ box-sizing: border-box; height: 100%; } + .shop_header { background-color: #fff; position: relative; diff --git a/src/pages/shopCar/components/productItem/index.tsx b/src/pages/shopCar/components/productItem/index.tsx index e0f0fc3..e0b7d45 100644 --- a/src/pages/shopCar/components/productItem/index.tsx +++ b/src/pages/shopCar/components/productItem/index.tsx @@ -85,8 +85,8 @@ const Index = memo((props: IndexItemType) => { {colorItem.product_color_code + colorItem.product_color_name} - {colorItem.standard_price > colorItem.sale_price && `¥${formatPriceDiv(colorItem.sale_price)}`} - ¥{formatPriceDiv(colorItem.standard_price)}/kg + {colorItem.standard_price > colorItem.sale_price && `¥${formatPriceDiv(colorItem.standard_price)}`} + ¥{formatPriceDiv(colorItem.sale_price)}/kg diff --git a/src/pages/shopCar/components/recommendProductItem/index.tsx b/src/pages/shopCar/components/recommendProductItem/index.tsx index fb42df1..aaa0cf7 100644 --- a/src/pages/shopCar/components/recommendProductItem/index.tsx +++ b/src/pages/shopCar/components/recommendProductItem/index.tsx @@ -82,8 +82,8 @@ const Index = memo((props: ProductType) => { {colorItem?.screw_color_code + colorItem?.screw_color_name} - {(colorItem?.standard_price > colorItem?.sale_price) && `¥${formatPriceDiv(colorItem?.sale_price)}`} - ¥{formatPriceDiv(colorItem?.standard_price)}/kg + {(colorItem?.standard_price > colorItem?.sale_price) && `¥${formatPriceDiv(colorItem?.standard_price)}`} + ¥{formatPriceDiv(colorItem?.sale_price)}/kg