Authored by 郝肖肖

潮流优选固定底部去除

@@ -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-->
@@ -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
@@ -312,12 +314,6 @@ $(function() { @@ -312,12 +314,6 @@ $(function() {
312 $('.tab-nav').css({ 314 $('.tab-nav').css({
313 position: 'relative' 315 position: 'relative'
314 }); 316 });
315 -  
316 - $footer.css({  
317 - 'max-width': '650px'  
318 - }).before(  
319 - '<div style="height: ' + parseInt($footer.css('height'), 0) + 'px"></div>'  
320 - );  
321 } 317 }
322 318
323 plusstar.init(); 319 plusstar.init();
@@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
23 display: block; 23 display: block;
24 float: left; 24 float: left;
25 height: 100%; 25 height: 100%;
26 - width: 33.33%; 26 + width: 50%;
27 line-height: 60px; 27 line-height: 60px;
28 color: #999; 28 color: #999;
29 white-space: nowrap; 29 white-space: nowrap;