From f8f4c3cfc4b43410c2f2ed9c5b9ce32ba647d63f Mon Sep 17 00:00:00 2001 From: lukaijie Date: Thu, 30 Oct 2025 18:24:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(custom):=20=E4=BF=AE=E5=A4=8Dbbc=E5=94=AE?= =?UTF-8?q?=E5=90=8E=E5=88=97=E8=A1=A8=E7=82=B9=E5=87=BB=E5=BA=97=E9=93=BA?= =?UTF-8?q?icon=E8=B7=B3=E8=BD=AC=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trade/comps/comp-aftertrade-item.js | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/src/subpages/trade/comps/comp-aftertrade-item.js b/src/subpages/trade/comps/comp-aftertrade-item.js index 045ba3f22..cfc4b3320 100644 --- a/src/subpages/trade/comps/comp-aftertrade-item.js +++ b/src/subpages/trade/comps/comp-aftertrade-item.js @@ -38,9 +38,15 @@ function CompTradeItem(props) { const onViewStorePage = (e) => { if (!VERSION_STANDARD) { e.stopPropagation() - Taro.navigateTo({ - url: `/subpages/store/index?id=${distributorId}` - }) + if (distributorId == 0) { + Taro.redirectTo({ + url: '/pages/index' + }) + } else { + Taro.navigateTo({ + url: `/subpages/store/index?id=${distributorId}` + }) + } } } @@ -52,7 +58,7 @@ function CompTradeItem(props) { - + {distributorInfo?.name} @@ -75,13 +81,15 @@ function CompTradeItem(props) { - { - orderClass == 'pointsmall' && + {orderClass == 'pointsmall' && ( + {`共${totalNum}件`} {pointName} - {point} + + {point} + - } + )} {orderClass == 'normal' && ( {`共${totalNum}件`}