Authored by 杨延青

set coupon page header height in wechat

@@ -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));