This commit is contained in:
xuhe@fangjia.com
2018-05-30 11:33:11 +08:00
parent b465d67f59
commit 48c2fb6d31
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -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;}
+2 -1
View File
@@ -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")