@@ -13,6 +13,7 @@ import { fetchUserProfile } from '../../lib/pay-wechat';
|
||||
import { request, toast } from '../../lib/api';
|
||||
import { canCrossCity, isCrossCityAddress } from '../../lib/product-fulfillment';
|
||||
import { getProductMainImage } from '../../lib/product-images';
|
||||
import BenefitFigure from '../../components/BenefitFigure';
|
||||
|
||||
type Address = {
|
||||
id: string;
|
||||
@@ -384,7 +385,11 @@ export default function OrderConfirmPage() {
|
||||
</View>
|
||||
<View className="order-row">
|
||||
<Text className="order-row-label">好客权益</Text>
|
||||
<Text className="order-row-value--price">¥{preview.benefitAmount.toFixed(2)}</Text>
|
||||
<BenefitFigure
|
||||
value={preview.benefitAmount.toFixed(2)}
|
||||
size="sm"
|
||||
className="order-row-value--price"
|
||||
/>
|
||||
</View>
|
||||
<View className="order-row">
|
||||
<Text className="order-row-label">运费</Text>
|
||||
|
||||
Reference in New Issue
Block a user