mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-14 17:41:45 +08:00
feat: 更新订单显示
This commit is contained in:
@@ -137,7 +137,7 @@ function SpGoodsCell(props) {
|
||||
</View>
|
||||
<View className='item-ft'>
|
||||
<View className='price-gp'>
|
||||
{isPoint && <SpPoint value={point} />}
|
||||
{isPoint && <Text><SpPoint value={point} />{_price ? `+¥${Number(_price).toFixed(2)}` : ''}</Text>}
|
||||
{!isPoint && (
|
||||
<>
|
||||
{isPurchase && renderPurchasePrice()}
|
||||
|
||||
@@ -692,7 +692,7 @@ function TradeDetail(props) {
|
||||
title='总价'
|
||||
value={(() => {
|
||||
if (info?.orderClass === 'pointsmall') {
|
||||
return `${pointName} ${info?.itemPoint}`
|
||||
return `${pointName} ${info?.itemPoint}${info?.itemFee ? `+¥${Number(info?.itemFee).toFixed(2)}` : ''}`
|
||||
} else {
|
||||
return <SpPrice value={info?.itemFee} size={28} />
|
||||
}
|
||||
@@ -730,7 +730,7 @@ function TradeDetail(props) {
|
||||
title='实付'
|
||||
value={(() => {
|
||||
if (info?.orderClass === 'pointsmall') {
|
||||
return `${pointName} ${info?.point}`
|
||||
return `${pointName} ${info?.point}${info?.itemFee ? `+¥${Number(info?.itemFee).toFixed(2)}` : ''}`
|
||||
} else {
|
||||
return <SpPrice value={info?.totalFee} size={28} />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user