feat: 更新订单显示

This commit is contained in:
qugao
2025-08-05 17:56:55 +08:00
parent a1f2857983
commit fc6a61e2f7
2 changed files with 3 additions and 3 deletions

View File

@@ -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()}

View File

@@ -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} />
}