...
|
...
|
@@ -72,11 +72,11 @@ function setIndexAction() { |
|
|
$loadingTip = $('.loading-tip'),
|
|
|
$avatarWrap = $('.avatar-wrap'),
|
|
|
avatarHeight = $('.avatar').height(),
|
|
|
infoTop = parseInt($('.star-info').css('margin-top'));
|
|
|
infoTop = $('.star-info').css('margin-top');
|
|
|
|
|
|
// 下拉刷新,上拉加载
|
|
|
starIScroll = new PullRefresh('.star-wrap', {
|
|
|
height: $(window).height() - commonHeaderTop - avatarHeight - infoTop * 2,
|
|
|
height: $(window).height() - commonHeaderTop - avatarHeight - parseInt(infoTop) * 2,
|
|
|
pullDown: function() {
|
|
|
if (!stopLoading) {
|
|
|
stopLoading = true;
|
...
|
...
|
|