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}件`}