From 9f1c50b7a49508f1fd0114e9616f2af55c04cbfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Sat, 27 Jun 2026 00:44:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(SkuSelector):=20=E4=BF=AE=E6=AD=A3=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E4=BB=B7=E6=A0=BC=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整fakeSku中price字段优先使用product.price,确保价格正确显示 - 修改currentPrice计算顺序,使price优先于salePrice,符合实际售价需求 - 统一价格逻辑,避免SKU弹窗和商品详情页价格不一致问题 - 添加注释说明ShopGoods和ShopGoodsSku中price与salePrice的区别及优先级规则 --- src/pages/shop/checkout.tsx | 42 ++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/pages/shop/checkout.tsx b/src/pages/shop/checkout.tsx index 68afffc..f287cef 100644 --- a/src/pages/shop/checkout.tsx +++ b/src/pages/shop/checkout.tsx @@ -518,27 +518,27 @@ const CheckoutPage: React.FC = () => { 支付方式 {/* 微信支付 */} - setPayType(1)} - > - - - - - 微信支付 - 推荐使用 - - - {payType === 1 && ( - - )} - - + {/* setPayType(1)}*/} + {/*>*/} + {/* */} + {/* */} + {/* */} + {/* */} + {/* 微信支付*/} + {/* 推荐使用*/} + {/* */} + {/* */} + {/* {payType === 1 && (*/} + {/* */} + {/* )}*/} + {/* */} + {/**/} {/* 余额支付 */}