diff --git a/v1_5_0_C/myCoupon.html b/v1_5_0_C/myCoupon.html index 2247b76..a5da660 100644 --- a/v1_5_0_C/myCoupon.html +++ b/v1_5_0_C/myCoupon.html @@ -30,14 +30,14 @@
¥ {{item.reduce}}
满{{item.full}}元可用
@@ -76,11 +76,11 @@ data () { return { tabList: [ - { id: 0, text: "待使用" }, - { id: 1, text: "已使用" }, - { id: 2, text: "已失效" } + { id: 1, text: "待使用" }, + { id: 2, text: "已使用" }, + { id: 3, text: "已失效" } ], - tabActive: 0, /* tab 选中下标 */ + tabActive: 1, /* tab 选中下标 */ more: false, /* 是否展示更多 状态 */ couponList: [] } @@ -111,8 +111,9 @@ /* 去使用 */ goUse (item) { - if (item.status) return; - window.location.replace('./couponCollection.html'); + if (item.status === 1) { + window.location.replace('./couponCollection.html'); + }; }, /* tab点击 */