From 7eb7312ab047dd3a6e53c6954043b3cada31d2bf Mon Sep 17 00:00:00 2001 From: linxi Date: Fri, 8 Aug 2025 10:18:12 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A4134=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E5=BE=85=E5=8F=91=E8=B4=A7?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8F=91=E8=B4=A7=E6=97=B6=E6=95=88=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=AE=B5=E6=98=BE=E7=A4=BA=E8=B0=83=E6=95=B4=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/MyOrder/index.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pages/order/MyOrder/index.vue b/pages/order/MyOrder/index.vue index f1353ad..734f568 100644 --- a/pages/order/MyOrder/index.vue +++ b/pages/order/MyOrder/index.vue @@ -194,7 +194,7 @@ - 商家已接收您的订单,支付成功后预计{{ order.isFastPost === 1 ? 48 : 72 }}小时内发货 + 商家已接收您的订单,支付成功后预计{{ getTime(order.isFastPost) }}发货 @@ -352,6 +352,16 @@ export default { } }, methods: { + getTime(type) { + const timeMap = { + 1:"48小时内", + 2:"72小时内", + 3:"24小时内", + 4: "7天内", + 5: "15天内" + } + return timeMap[type] + }, shareGift(item) { console.log(item);