From 7b45f7ec2b4446f95e242183bba87703dfa8ef62 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Fri, 28 Oct 2022 11:28:04 +0800 Subject: [PATCH] =?UTF-8?q?style:=E8=B0=83=E6=95=B4=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=88=97=E8=A1=A8banner=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- coupon/couponCollection.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/coupon/couponCollection.html b/coupon/couponCollection.html index b0006ab..23ac218 100644 --- a/coupon/couponCollection.html +++ b/coupon/couponCollection.html @@ -55,6 +55,7 @@ :placeholder="viewConfig.search.placeholder"> +
@@ -408,7 +409,7 @@ localStorage.setItem('goodsCollection', JSON.stringify(goodsArr)); self.goodsShow = goodsArr.length > 1; localStorage.setItem('goodsCount', goodsArr.length); - if (goodsArr && goodsArr.length == 1 && (goodsArr[0].available == 1||goodsArr[0].available == 22)) { + if (goodsArr && goodsArr.length == 1 && (goodsArr[0].available == 1 || goodsArr[0].available == 22)) { localStorage.setItem('goodsInfo', JSON.stringify(goodsArr[0])); localStorage.setItem('key', goodsArr[0].key); localStorage.setItem('token', goodsArr[0].token); @@ -508,14 +509,14 @@ }, /* 动态置灰 */ dynamicAsh (item) { - return (item.stock && (item.stock < 0 || item.available != 1) && item.available != 2&& item.available != 22) ? 'changegray' : '' + return (item.stock && (item.stock < 0 || item.available != 1) && item.available != 2 && item.available != 22) ? 'changegray' : '' }, //选择商品点击兑换 exchangeBtn (row = this.exchangeCommity) { let gstatus = row.available; this.gstatus = gstatus; - if (gstatus == 1||gstatus == 22) { + if (gstatus == 1 || gstatus == 22) { // 跳转商品详情页面 if (this.showType == 1) { //白名单 localStorage.setItem('token', row.token);