From 784ac2ff9b0f9212fdf141a3d278f78d5b074040 Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Thu, 9 Feb 2023 10:11:20 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=B8=8A=E7=BA=BF2.0=20=E6=89=AB=E7=A0=81?= =?UTF-8?q?=E9=A2=86=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/externalCoupon/externalCoupon.vue | 60 ++++++++----------- 1 file changed, 25 insertions(+), 35 deletions(-) diff --git a/pages/goods/externalCoupon/externalCoupon.vue b/pages/goods/externalCoupon/externalCoupon.vue index 58c0678..545efda 100644 --- a/pages/goods/externalCoupon/externalCoupon.vue +++ b/pages/goods/externalCoupon/externalCoupon.vue @@ -16,27 +16,38 @@ - - - 去使用 - + + + + 立即使用 + + + + 立即查看 + + + + 去使用 + - + @tap="toGoods(product.highCoupon.id)"> {{ product.highCoupon.couponName }} @@ -60,10 +71,6 @@ - - 温馨提示 请在有效期30天内使用。过期作废! @@ -357,29 +364,11 @@ }); }, //商品跳转 - toGoods(e, item) { + toGoods(e) { if (app.globalData.userInfo) { - if (app.globalData.openId) { - if (item != 2) { - uni.showToast({ - icon: 'none', - title: '系统维护中,暂时无法购买', - duration: 2000 - }) - } else { - uni.navigateTo({ - url: '../../order/confirmation?id=' + e+'&postPayType=2,' - }) - } - - } else { - uni.showToast({ - icon: 'none', - title: '网络异常,请稍后重试', - duration: 2000 - }) - } - + uni.navigateTo({ + url: '../../order/confirmation?id=' + e + }) } else { uni.showToast({ icon: 'none', @@ -498,6 +487,7 @@ } .coupne-btn { + background-color: red; color: #FFFFFF; }