From 66d6081a182706d69cd3a9e85a210423e57a5cc8 Mon Sep 17 00:00:00 2001 From: lf <1534621107@qq.com> Date: Tue, 9 Jul 2024 18:13:29 +0800 Subject: [PATCH] =?UTF-8?q?bug=20=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/tt-activity/index.vue | 2 ++ src/pages/tt-coupon/redeem.vue | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pages/tt-activity/index.vue b/src/pages/tt-activity/index.vue index 9ad1d9b..2257b77 100644 --- a/src/pages/tt-activity/index.vue +++ b/src/pages/tt-activity/index.vue @@ -244,6 +244,8 @@ export default { if (res.code === 200) { // eslint-disable-next-line camelcase const { activity_info, status, lottery_code, lottery_count, use_lottery_count } = res.data + // eslint-disable-next-line camelcase + this.freeNum = lottery_count - use_lottery_count this.freeNum = this.freeNum > 0 ? this.freeNum : 0 // eslint-disable-next-line camelcase this.status = activity_info?.status || 0 diff --git a/src/pages/tt-coupon/redeem.vue b/src/pages/tt-coupon/redeem.vue index bce1a40..aa17234 100644 --- a/src/pages/tt-coupon/redeem.vue +++ b/src/pages/tt-coupon/redeem.vue @@ -87,9 +87,11 @@ class="mt30" fontSize="14" :placeholder=" - info.account_type === 1 || info.account_type === 2 - ? '请输入充值手机号' - : '请输入手机/QQ' + info.account_type === 1 + ? '请输入手机号' + : info.account_type === 2 + ? '请输入QQ' + : '请输入充值手机号' " v-model="info.mobile" >