Authored by 杨延青

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

Hotfix/coupon header



See merge request !1645
... ... @@ -23,6 +23,10 @@ class ConponController extends Page {
usedTip: $('.used-tip'),
exchangeBox: $('.exchange-box')
};
if ($('#yoho-header').hasClass('hide')) {
this.view.page.removeClass('cpage-padding284');
}
this.view.filterBtn.on('click', this.tabChange.bind(this));
this.view.showFilterBtn.on('click', this.showFilter.bind(this));
... ...
... ... @@ -8,15 +8,25 @@ body {
left: 0;
}
.cpage-padding284 {
padding-top: 284px;
}
.cpage-padding194 {
.coupon-new-page {
padding-top: 194px;
}
&.cpage-padding284 {
padding-top: 284px;
.filter-box {
top: 106px;
}
.filter-item {
top: 192px;
}
.exchange-box {
top: 194px;
}
}
.coupon-new-page {
.filter-box {
width: 100%;
height: 88px;
... ... @@ -25,7 +35,7 @@ body {
box-shadow: 0 0 16px 0 #eee;
background-color: #fff;
position: fixed;
top: 106px;
top: 0;
left: 0;
z-index: 3;
... ... @@ -58,7 +68,7 @@ body {
align-items: center;
background-color: #fff;
position: fixed;
top: 192px;
top: 86px;
left: 0;
z-index: 3;
... ... @@ -84,7 +94,7 @@ body {
padding: 16px 20px;
background-color: #fff;
position: fixed;
top: 194px;
top: 88px;
left: 0;
z-index: 2;
... ...