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