Authored by ccbikai(👎🏻🍜)

Merge branch 'hotfix/plusstarFooter'

@@ -12,10 +12,6 @@ @@ -12,10 +12,6 @@
12 {{/if}} 12 {{/if}}
13 <!--/tab-nav--> 13 <!--/tab-nav-->
14 14
15 - {{#if isApp}}  
16 - <div class='empty-height'></div>  
17 - {{/if}}  
18 -  
19 <div class="plusstar-resources"> 15 <div class="plusstar-resources">
20 <!--资源位数据模板--> 16 <!--资源位数据模板-->
21 </div><!--/plusstar-resources--> 17 </div><!--/plusstar-resources-->
1 { 1 {
2 "name": "m-yohobuy-node", 2 "name": "m-yohobuy-node",
3 - "version": "5.1.9", 3 + "version": "5.1.10",
4 "private": true, 4 "private": true,
5 "description": "A New Yohobuy Project With Express", 5 "description": "A New Yohobuy Project With Express",
6 "repository": { 6 "repository": {
@@ -4,8 +4,7 @@ var $ = require('yoho-jquery'), @@ -4,8 +4,7 @@ var $ = require('yoho-jquery'),
4 loading = require('../plugin/loading'), 4 loading = require('../plugin/loading'),
5 debounce = require('lodash/debounce'); 5 debounce = require('lodash/debounce');
6 6
7 -var plusstar = {},  
8 - $footer = $('#yoho-footer'); 7 +var plusstar = {};
9 8
10 var windowHeight = $(window).height(); 9 var windowHeight = $(window).height();
11 var scrollFn, 10 var scrollFn,
@@ -186,6 +185,9 @@ plusstar = { @@ -186,6 +185,9 @@ plusstar = {
186 return true; 185 return true;
187 } 186 }
188 187
  188 + // 固定底部去除
  189 + window.rePosFooter();
  190 +
189 // 记录切换tab位置 191 // 记录切换tab位置
190 $(document).scrollTop(window.cookie(code) || 0); 192 $(document).scrollTop(window.cookie(code) || 0);
191 193
@@ -303,23 +305,17 @@ $(function() { @@ -303,23 +305,17 @@ $(function() {
303 apt: window.queryString.client_type || '', 305 apt: window.queryString.client_type || '',
304 sid: window.queryString.session_id || '', 306 sid: window.queryString.session_id || '',
305 }; 307 };
306 - }  
307 -  
308 - // 男:1,女:2,潮童:3,创意生活:4  
309 - speckParamApp.CID = window.queryString.yh_channel || window._ChannelVary[window.cookie('_Channel')] || 1;  
310 308
311 - if (!isApp) { 309 + $('.plusstar-resources').css({'margin-top': $('.tab-nav').height()});
  310 + } else {
312 $('.tab-nav').css({ 311 $('.tab-nav').css({
313 position: 'relative' 312 position: 'relative'
314 }); 313 });
315 -  
316 - $footer.css({  
317 - 'max-width': '650px'  
318 - }).before(  
319 - '<div style="height: ' + parseInt($footer.css('height'), 0) + 'px"></div>'  
320 - );  
321 } 314 }
322 315
  316 + // 男:1,女:2,潮童:3,创意生活:4
  317 + speckParamApp.CID = window.queryString.yh_channel || window._ChannelVary[window.cookie('_Channel')] || 1;
  318 +
323 plusstar.init(); 319 plusstar.init();
324 320
325 // 滚动翻页 321 // 滚动翻页
@@ -18,12 +18,13 @@ @@ -18,12 +18,13 @@
18 position: fixed; 18 position: fixed;
19 z-index: 10; 19 z-index: 10;
20 background-color: #fff; 20 background-color: #fff;
  21 + top: 0;
21 22
22 li { 23 li {
23 display: block; 24 display: block;
24 float: left; 25 float: left;
25 height: 100%; 26 height: 100%;
26 - width: 33.33%; 27 + width: 50%;
27 line-height: 60px; 28 line-height: 60px;
28 color: #999; 29 color: #999;
29 white-space: nowrap; 30 white-space: nowrap;