bug
This commit is contained in:
@@ -552,6 +552,8 @@ input::-webkit-input-placeholder{
|
|||||||
.content-padded p span{margin-left:1rem;}
|
.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 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{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{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;}
|
.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'));
|
$.attachInfiniteScroll($('.infinite-scroll'));
|
||||||
initNews(page);
|
initNews(page);
|
||||||
}
|
}
|
||||||
|
$.destroyPullToRefresh('.pull-to-refresh-content')
|
||||||
// 加载完毕需要重置
|
// 加载完毕需要重置
|
||||||
$.pullToRefreshDone('.pull-to-refresh-content');
|
$.pullToRefreshDone('.pull-to-refresh-content');
|
||||||
});
|
});
|
||||||
@@ -2310,10 +2311,10 @@ function changeCity(cityStr){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(isHaveNews){
|
if(isHaveNews){
|
||||||
$.initPullToRefresh(".content")
|
|
||||||
$("#ShangHaiDiv").show();
|
$("#ShangHaiDiv").show();
|
||||||
$("#otherCityDiv").hide();
|
$("#otherCityDiv").hide();
|
||||||
}else{
|
}else{
|
||||||
|
alert("2")
|
||||||
$("#ShangHaiDiv").hide();
|
$("#ShangHaiDiv").hide();
|
||||||
$("#otherCityDiv").show();
|
$("#otherCityDiv").show();
|
||||||
$.destroyPullToRefresh(".content")
|
$.destroyPullToRefresh(".content")
|
||||||
|
|||||||
Reference in New Issue
Block a user