Authored by 王水玲

星潮bug 修改

@@ -13,7 +13,6 @@ var $ = require('yoho-jquery'), @@ -13,7 +13,6 @@ var $ = require('yoho-jquery'),
13 PullRefresh = require('../plugin/pull-refresh'); 13 PullRefresh = require('../plugin/pull-refresh');
14 14
15 var $window = $(window), 15 var $window = $(window),
16 - $starArticle = $('.star-article'),  
17 stopLoading = false; 16 stopLoading = false;
18 17
19 /* 18 /*
@@ -27,7 +26,7 @@ var $window = $(window), @@ -27,7 +26,7 @@ var $window = $(window),
27 var mySwiper; 26 var mySwiper;
28 */ 27 */
29 28
30 -var avatarKey, bannerLen, res, avatarSwiper, avatarSwiperClone, getIndexHtml, $avatarClone, $avatar; 29 +var avatarKey, bannerLen, res, avatarSwiper, avatarSwiperClone, getIndexHtml, $avatarClone, $avatar, $starArticle;
31 30
32 require('../common'); 31 require('../common');
33 32
@@ -247,6 +246,7 @@ getIndexHtml = function() { @@ -247,6 +246,7 @@ getIndexHtml = function() {
247 246
248 $starMain.html(data); 247 $starMain.html(data);
249 $avatar = $('.avatar'); 248 $avatar = $('.avatar');
  249 + $starArticle = $('.star-article');
250 bannerLen = $avatar.find('.swiper-slide').length; 250 bannerLen = $avatar.find('.swiper-slide').length;
251 251
252 if ($avatarClone) { 252 if ($avatarClone) {
@@ -35,6 +35,7 @@ function PullRefresh(seclector, options) { @@ -35,6 +35,7 @@ function PullRefresh(seclector, options) {
35 35
36 this.iScroll = new IScroll($em.get(0), { 36 this.iScroll = new IScroll($em.get(0), {
37 click: true, 37 click: true,
  38 + bounce: false,
38 probeType: 3 39 probeType: 3
39 }); 40 });
40 41
@@ -378,7 +378,7 @@ @@ -378,7 +378,7 @@
378 display: none; 378 display: none;
379 text-align: center; 379 text-align: center;
380 color: #ccc; 380 color: #ccc;
381 - font-size: 12px; 381 + font-size: 18px;
382 margin: 30px 0; 382 margin: 30px 0;
383 } 383 }
384 384