From d91d240374b5832dd21c369543b5c0797204cb74 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Mon, 26 Sep 2022 09:45:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v1_5_0_C/index.html | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/v1_5_0_C/index.html b/v1_5_0_C/index.html index 8c01966..524bdd3 100644 --- a/v1_5_0_C/index.html +++ b/v1_5_0_C/index.html @@ -67,9 +67,10 @@ - - + +
@@ -102,12 +103,12 @@ plan_id: '', maskshow: false, disabledBtn: false, - typeList:{//1 白名单 3 兑换码 4优惠券 8 优惠券白名单 - '1':'access_conf', - '3':'exchange', - '4':'coupon', - '8':'coupon', - } + typeList: {//1 白名单 3 兑换码 4优惠券 8 优惠券白名单 + '1': 'access_conf', + '3': 'exchange', + '4': 'coupon', + '8': 'coupon', + } } }, created () { @@ -164,7 +165,7 @@ } }).catch(err => { }); } else { - let keyName=this.typeList[this.pageType]; + let keyName = this.typeList[this.pageType]; self.bgcolor = res.data[keyName].land.bg_color; self.ftcolor = res.data[keyName].land.font_color; self.topImg = res.data[keyName].land.top_image; @@ -303,8 +304,8 @@ self.openErrorDialog(res.data.message); } }).catch(err => { }); - }else {//优惠券 - window.location.href='./couponCollection.html' + } else {//优惠券 + window.location.href = './couponCollection.html' } }, getQueryString (name) {