From 6ec744de1334da3c47059f34c020d5bfa32574f7 Mon Sep 17 00:00:00 2001 From: weiwei Date: Sat, 20 Sep 2025 20:19:52 +0800 Subject: [PATCH] =?UTF-8?q?chore:=E4=BC=98=E6=83=A0=E5=88=B8=E9=A2=86?= =?UTF-8?q?=E5=8F=96loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/merchant/merchant-activity.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/merchant/merchant-activity.vue b/src/pages/merchant/merchant-activity.vue index 79fd197..38d1963 100644 --- a/src/pages/merchant/merchant-activity.vue +++ b/src/pages/merchant/merchant-activity.vue @@ -12,7 +12,7 @@ 已 核 销 @@ -68,7 +68,8 @@ const getCouponInfo = async () => { // 领取兑换券 const doGetCoupon = async () => { try { - uni.showLoading({ title: "正在领取..." }) + uni.showLoading({ title: "正在领取...", mask: true }) + await new Promise((resolve) => setTimeout(resolve, 2_000)) const { code, msg }: any = await actCancel.appGet({ receiverUserId: uni.getStorageSync("user_info")?.sysUser?.userId }) if (code != 0) return uni.showToast({ title: msg || "领取失败", icon: "none", mask: true }) uni.showToast({ title: "领取成功", icon: "success" })