...
|
...
|
@@ -5,9 +5,20 @@ |
|
|
*/
|
|
|
const $couponCodeInput = $('input[name=couponCode]');
|
|
|
const $submit = $('.submit');
|
|
|
const $useCouponBtnGroup = $('.use-coupon-btn-group');
|
|
|
|
|
|
let Tab = require('plugin/tab');
|
|
|
|
|
|
Tab.prototype.couponavailable = () => {
|
|
|
$useCouponBtnGroup.removeClass('disable');
|
|
|
};
|
|
|
|
|
|
Tab.prototype.couponunavailable = () => {
|
|
|
$useCouponBtnGroup.addClass('disable');
|
|
|
};
|
|
|
|
|
|
$('.select-coupon-page').css('min-height', function() {
|
|
|
return $(window).height() - $('#yoho-header').height();
|
|
|
return $(window).height() - $('#yoho-header').height() + 20;
|
|
|
});
|
|
|
|
|
|
/**
|
...
|
...
|
|