...
|
...
|
@@ -23,7 +23,7 @@ class ConponController extends Page { |
|
|
usedTip: $('.used-tip'),
|
|
|
exchangeBox: $('.exchange-box')
|
|
|
};
|
|
|
|
|
|
|
|
|
if ($('#yoho-header').hasClass('hide')) {
|
|
|
this.view.page.removeClass('cpage-padding284');
|
|
|
}
|
...
|
...
|
@@ -213,11 +213,11 @@ class ConponController extends Page { |
|
|
|
|
|
// 筛选框控制按钮状态、优惠券码兑换输入框状态管理
|
|
|
if (itemClicked.hasClass('no-used')) {
|
|
|
this.view.page.addClass('cpage-padding284').removeClass('cpage-padding194');
|
|
|
this.view.page.removeClass('no-exchange');
|
|
|
this.view.showFilterBtn.addClass('active');
|
|
|
this.view.exchangeBox.removeClass('hide');
|
|
|
} else {
|
|
|
this.view.page.addClass('cpage-padding194').removeClass('cpage-padding284');
|
|
|
this.view.page.addClass('no-exchange');
|
|
|
this.view.showFilterBtn.removeClass('icon-up').addClass('icon-down');
|
|
|
this.view.showFilterBtn.removeClass('active');
|
|
|
this.view.exchangeBox.addClass('hide');
|
...
|
...
|
|