From 7ba0d7a30cea6051d0009606dfc76aa6ae8b475e Mon Sep 17 00:00:00 2001 From: gaojuan Date: Thu, 19 Apr 2018 20:52:14 +0800 Subject: [PATCH] update --- fangija-zsyf/views/house/houseDetail.html | 2 +- fangija-zsyf/yfindex.html | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/fangija-zsyf/views/house/houseDetail.html b/fangija-zsyf/views/house/houseDetail.html index 376aac9..ab55c78 100644 --- a/fangija-zsyf/views/house/houseDetail.html +++ b/fangija-zsyf/views/house/houseDetail.html @@ -101,7 +101,7 @@ 潜力指数
- {{Math.abs(item.oneMonthUpDownRange*100)}}% + {{Math.abs(item.oneMonthUpDownRange*100).toFixed(2)}}% diff --git a/fangija-zsyf/yfindex.html b/fangija-zsyf/yfindex.html index 796b7b5..15a5a0c 100644 --- a/fangija-zsyf/yfindex.html +++ b/fangija-zsyf/yfindex.html @@ -1266,10 +1266,13 @@ function getPosition(){ initBaseInfo(city,region,address,lat,lng); if(city!="上海"){ + //$(".content").removeClass("pull-to-refresh-content"); + $.destroyPullToRefresh(".content") initRegionSelect(city); $("#ShangHaiDiv").hide(); $("#otherCityDiv").show(); }else{ + $.initPullToRefresh(".content") $("#ShangHaiDiv").show(); $("#otherCityDiv").hide(); } @@ -2243,10 +2246,13 @@ function changeCity(cityStr){ lat = 0; lng = 0; if(cityStr=="上海"){ + $.initPullToRefresh(".content") $("#ShangHaiDiv").show(); $("#otherCityDiv").hide(); //initNews() }else{ + //$(".content").removeClass("pull-to-refresh-content"); + $.destroyPullToRefresh(".content") $("#select_order").find("div").removeClass("active"); $("#select_order").find("i").removeClass("icon-check"); $(".order a").text("按潜力指数");