Authored by 杨延青

Merge branch 'hotfix/couponHeader' into 'release/6.8.4'

fix coupon style when change status



See merge request !1646
... ... @@ -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');
... ...
... ... @@ -10,14 +10,22 @@ body {
.coupon-new-page {
padding-top: 194px;
&.no-exchange {
padding-top: 104px;
}
&.cpage-padding284 {
padding-top: 284px;
&.no-exchange {
padding-top: 194px;
}
.filter-box {
top: 106px;
}
.filter-item {
top: 192px;
}
... ...