|
...
|
...
|
@@ -57,7 +57,7 @@ Page({ |
|
|
|
},
|
|
|
|
// 提交订单
|
|
|
|
submitOrder: util.throttle(function () {
|
|
|
|
if (this.data.dataStr > (this.data.detail.etime * 1)) {
|
|
|
|
if (this.data.detail.aexpiration && this.data.detail.aexpiration.valid_forever != '1' && (this.data.dataStr > (this.data.detail.etime * 1))) {
|
|
|
|
return wx.showToast({
|
|
|
|
title: '优惠券已过期,不可购买!',
|
|
|
|
duration: 2000,
|
...
|
...
|
|