diff --git a/src/pages/merchant/coupon-list.vue b/src/pages/merchant/coupon-list.vue index 817b38b..0d9cf90 100644 --- a/src/pages/merchant/coupon-list.vue +++ b/src/pages/merchant/coupon-list.vue @@ -32,12 +32,18 @@ ID {{ item.id }} 限时领取 - 2025-09-21~2025-12-20 + 2025-09-21~2025-12-20 - 店内核销将会自动扣费1元并领取价值89元的速干T恤1件 + 店内核销将会自动扣费1元并领取价值89元的速干T恤1件 限量领取 先领先得 - 领取时间 {{ item.receiverTime }} - 核销时间 {{ item.cancelTime }} + + 领取人 {{ item.receiverUsername }} + 领取时间 {{ item.receiverTime }} + + + 核销人 {{ item.cancelUsername }} + 核销时间 {{ item.cancelTime }} + diff --git a/src/pages/merchant/merchant-activity.vue b/src/pages/merchant/merchant-activity.vue index d8a8854..c42af94 100644 --- a/src/pages/merchant/merchant-activity.vue +++ b/src/pages/merchant/merchant-activity.vue @@ -7,11 +7,14 @@ 限时领取 2025-09-21~2025-12-20 - 店内核销将会自动扣费1元并领取价值89元的速干T恤1件 + 店内核销将会自动扣费1元并领取价值89元的速干T恤1件 限量领取 先领先得 - 已 领 取 - 立 即 领 取 + 已 核 销 + 我的核销码 @@ -34,7 +37,7 @@ import uqrcode from "@@/utils/uqrcode" import * as CryptoJS from "crypto-js" const isGet = ref(false) // 是否已领取 -const couponInfo = ref(null) +const couponInfo = ref({}) const showQrCodeDialog = ref(false) onLoad(() => { @@ -64,7 +67,7 @@ const doGetCoupon = async () => { try { uni.showLoading({ title: "正在领取..." }) const { code, msg }: any = await actCancel.appGet({}) - if (code != 0) return uni.showToast({ title: msg || "领取失败", icon: "none" }) + if (code != 0) return uni.showToast({ title: msg || "领取失败", icon: "none", mask: true }) uni.showToast({ title: "领取成功", icon: "success" }) await getCouponInfo() } catch (error: any) {