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) {