Browse Source

no message

feature/feature-compatible
赖家华 7 years ago
parent
commit
ba8877c453
1 changed files with 7 additions and 6 deletions
  1. 13
      src/view/month-card.vue

13
src/view/month-card.vue

@ -50,7 +50,10 @@
</div>
</div>
<div class="f-mt10 f-text-center" v-show="getData.couponStatus > 0">
<button style="background-color:#F45252" v-on:click="handleUseCoupon" class="btn-md bg-gray s-white f-font-18">立即使用</button>
<button style="background-color:#F45252" v-show="getData.couponStatus != 30" v-on:click="handleUseCoupon" class="btn-md bg-gray s-white f-font-18">立即使用</button>
<button v-show="getData.couponStatus == 30" v-on:click="handleUseCoupon" class="btn-md bg-gray s-white f-font-18">已使用</button>
</div>
<div style="padding: 0 10px 20px;">
<p class="s-gray-1 f-font-11 f-mt20" style="line-height: 18px;">使用范围{{getData.authAreaStr}}</p>
@ -135,9 +138,7 @@
this.loading = true;
let params = {
batchNo: that.batchNo
// batchNo: 'CB180620024554871101'
// encodeToken: arr
batchNo: that.batchNo
};
//
@ -158,7 +159,7 @@
alert("领取成功!");
setTimeout(function () {
window.location.href = locationUrl + '/mall/web/vgoods/detail/' + that.getData.goodsNo;
}, 2000);
}, 1000);
// window.history.go(0);
// hide_layer(1);
} else if (result.code === 666) {
@ -166,7 +167,7 @@
setTimeout(function () {
window.location.href = locationUrl + '/mall/web/user/login?callback=' + encodeURIComponent(window.location.href);
}, 5000);
}, 1000);
} else {
if (result.msg === '' || result.msg === undefined || result.msg == null) {
result.msg = '操作失败,请刷新重试';

Loading…
Cancel
Save