bug
This commit is contained in:
@@ -552,6 +552,8 @@ input::-webkit-input-placeholder{
|
||||
.content-padded p span{margin-left:1rem;}
|
||||
.content-padded p small{font-size:0.65rem;color:#999;line-height:0.9rem;letter-spacing:0.07rem;float:left;}
|
||||
.content-padded img{width:100%;}
|
||||
.content-padded img.icon{width:auto;}
|
||||
.content-padded ol{padding-left:0.75rem;}
|
||||
|
||||
.adBoxApp{width:80%;margin:0 auto;margin-top:1rem;margin-bottom:1.5rem;overflow:hidden;}
|
||||
.adBoxApp img{float:left;width:5.6rem;height:4.7rem;margin-right:1rem;}
|
||||
|
||||
@@ -2149,6 +2149,7 @@ $(document).on('refresh', '.pull-to-refresh-content',function(e) {
|
||||
$.attachInfiniteScroll($('.infinite-scroll'));
|
||||
initNews(page);
|
||||
}
|
||||
$.destroyPullToRefresh('.pull-to-refresh-content')
|
||||
// 加载完毕需要重置
|
||||
$.pullToRefreshDone('.pull-to-refresh-content');
|
||||
});
|
||||
@@ -2310,10 +2311,10 @@ function changeCity(cityStr){
|
||||
}
|
||||
|
||||
if(isHaveNews){
|
||||
$.initPullToRefresh(".content")
|
||||
$("#ShangHaiDiv").show();
|
||||
$("#otherCityDiv").hide();
|
||||
}else{
|
||||
alert("2")
|
||||
$("#ShangHaiDiv").hide();
|
||||
$("#otherCityDiv").show();
|
||||
$.destroyPullToRefresh(".content")
|
||||
|
||||
Reference in New Issue
Block a user