set coupon page header height in wechat
Showing
1 changed file
with
4 additions
and
0 deletions
@@ -24,6 +24,10 @@ class ConponController extends Page { | @@ -24,6 +24,10 @@ class ConponController extends Page { | ||
24 | exchangeBox: $('.exchange-box') | 24 | exchangeBox: $('.exchange-box') |
25 | }; | 25 | }; |
26 | 26 | ||
27 | + if ($('#yoho-header').hasClass('hide')) { | ||
28 | + this.view.page.removeClass('cpage-padding284'); | ||
29 | + } | ||
30 | + | ||
27 | this.view.filterBtn.on('click', this.tabChange.bind(this)); | 31 | this.view.filterBtn.on('click', this.tabChange.bind(this)); |
28 | this.view.showFilterBtn.on('click', this.showFilter.bind(this)); | 32 | this.view.showFilterBtn.on('click', this.showFilter.bind(this)); |
29 | this.view.filterItem.on('click', 'button', this.filterCoupons.bind(this)); | 33 | this.view.filterItem.on('click', 'button', this.filterCoupons.bind(this)); |
-
mentioned in commit b4edfaeb
-
Please register or login to post a comment