diff --git a/fangija-zsyf/css/main.css b/fangija-zsyf/css/main.css index 9544449..edadc73 100644 --- a/fangija-zsyf/css/main.css +++ b/fangija-zsyf/css/main.css @@ -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;} diff --git a/fangija-zsyf/yfindex.html b/fangija-zsyf/yfindex.html index b4f5f3f..529aba8 100644 --- a/fangija-zsyf/yfindex.html +++ b/fangija-zsyf/yfindex.html @@ -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")