...
|
...
|
@@ -11,6 +11,7 @@ class ConponController extends Page { |
|
|
this.page = 1;
|
|
|
|
|
|
this.view = {
|
|
|
page: $('.coupon-new-page'),
|
|
|
filterBtn: $('.filter-btn'),
|
|
|
filterItem: $('.filter-item'),
|
|
|
showFilterBtn: $('.show-filter-btn'),
|
...
|
...
|
@@ -204,9 +205,11 @@ class ConponController extends Page { |
|
|
|
|
|
// 筛选框控制按钮状态、优惠券码兑换输入框状态管理
|
|
|
if (itemClicked.hasClass('no-used')) {
|
|
|
this.view.page.addClass('cpage-padding284').removeClass('cpage-padding194');
|
|
|
this.view.showFilterBtn.addClass('active');
|
|
|
this.view.exchangeBox.removeClass('hide');
|
|
|
} else {
|
|
|
this.view.page.addClass('cpage-padding194').removeClass('cpage-padding284');
|
|
|
this.view.showFilterBtn.removeClass('icon-up').addClass('icon-down');
|
|
|
this.view.showFilterBtn.removeClass('active');
|
|
|
this.view.exchangeBox.addClass('hide');
|
...
|
...
|
|