diff --git a/app/screens/previewOrder/perviewOrder.tsx b/app/screens/previewOrder/perviewOrder.tsx index cbfe613..c43aecb 100644 --- a/app/screens/previewOrder/perviewOrder.tsx +++ b/app/screens/previewOrder/perviewOrder.tsx @@ -9,6 +9,9 @@ const AddressIcon = ({ size, color }) => 💰; // 示例图标 const ShippingIcon = ({ size, color }) => 🚚; // 示例图标 const WhatsAppIcon = ({ size, color }) => 💬; // 示例图标 +const UserIcon = ({ size, color }) => 👤; // 示例图标 - 姓名 +const PhoneIcon = ({ size, color }) => 📞; // 示例图标 - 手机 +const GlobeIcon = ({ size, color }) => 🌍; // 示例图标 - 国家 export const PreviewOrder = () => { const {orderData, setOrderData} = useCreateOrderStore(); @@ -70,6 +73,28 @@ export const PreviewOrder = () => { {/* Order Details Card */} 支付信息 + + + 姓名: + {orderData?.receiver_name || "N/A"} + + + + 手机号: + {orderData?.receiver_phone || "N/A"} + + {orderData?.whatsapp_phone && ( + + + WhatsApp: + {orderData.whatsapp_phone} + + )} + + + 国家: + {orderData?.country || "N/A"} + 收货地址: @@ -85,13 +110,6 @@ export const PreviewOrder = () => { 运费: {orderData?.shipping_fee ? `${orderData.currency || ''} ${orderData.shipping_fee}` : "N/A"} - {orderData?.whatsapp_phone && ( - - - WhatsApp: - {orderData.whatsapp_phone} - - )}