diff --git a/fangija-zsyf/js/district/districtDetail.js b/fangija-zsyf/js/district/districtDetail.js index 1835556..a7b7b3d 100644 --- a/fangija-zsyf/js/district/districtDetail.js +++ b/fangija-zsyf/js/district/districtDetail.js @@ -33,7 +33,8 @@ function addCollect(){ $(".collection02").show(); $.toast("随时掌握小区动态"); } - plus.webview.getWebviewById('/views/user/userInfo.html').reload(); + alert(12) + plus.webview.getWebviewById('views/user/userInfo.html').reload(); }) .catch(function (error) { console.log(error); @@ -65,7 +66,7 @@ function removeCollect(){ $(".collection01").show(); $.toast("取消关注"); } - plus.webview.getWebviewById('/views/user/userInfo.html').reload(); + plus.webview.getWebviewById('views/user/userInfo.html').reload(); }) .catch(function (error) { console.log(error); diff --git a/fangija-zsyf/views/component/cityIncreaseRankingComponent.js b/fangija-zsyf/views/component/cityIncreaseRankingComponent.js index be7f94d..d054444 100644 --- a/fangija-zsyf/views/component/cityIncreaseRankingComponent.js +++ b/fangija-zsyf/views/component/cityIncreaseRankingComponent.js @@ -27,8 +27,8 @@ Vue.component('city_increase_ranking',{ '{{!ci.oneMonthUpDownRange||ci.oneMonthUpDownRange==""?"暂无":Math.abs(100*ci.oneMonthUpDownRange).toFixed(2)+"%"}}'+ ''+ '
'+ - '关注'+ - '取消'+ + '关注'+ + '取消'+ '
'+ ''+ ''+ diff --git a/fangija-zsyf/views/component/cityPotentialRankingComponent.js b/fangija-zsyf/views/component/cityPotentialRankingComponent.js index 0ffe245..8624624 100644 --- a/fangija-zsyf/views/component/cityPotentialRankingComponent.js +++ b/fangija-zsyf/views/component/cityPotentialRankingComponent.js @@ -33,8 +33,8 @@ Vue.component('city_potential_ranking',{ ''+ ''+ '
'+ - '关注'+ - '取消'+ + '关注'+ + '取消'+ '
'+ ''+ ''+ diff --git a/fangija-zsyf/views/component/mapComponent.js b/fangija-zsyf/views/component/mapComponent.js index b9064f9..c668508 100644 --- a/fangija-zsyf/views/component/mapComponent.js +++ b/fangija-zsyf/views/component/mapComponent.js @@ -8,7 +8,6 @@ Vue.component('map-component', { }, methods: { loadMap:function(){ - alert("map:"+lat+"address:"+address); baseInfo.address = address; if(lat && lng && address){ @@ -37,7 +36,6 @@ Vue.component('map-component', { } }, mounted:function(){ - alert("map start.....") this.loadMap(); } }) \ No newline at end of file diff --git a/fangija-zsyf/views/component/nearDist.js b/fangija-zsyf/views/component/nearDist.js index 9a860e4..aa13d18 100644 --- a/fangija-zsyf/views/component/nearDist.js +++ b/fangija-zsyf/views/component/nearDist.js @@ -40,6 +40,13 @@ Vue.component('near-dist-component', { if(o.city == city && o.district == region && o.name == name){ continue; }else{ + var textName = o.name; + var length = textName.length; + var textStr = textName; + if(length > 5){ + textStr = textName.substr(0,5)+ "..."; + } + o.name=textStr; if(ret.length <= 5){ ret.push(o); } diff --git a/fangija-zsyf/views/house/detail.html b/fangija-zsyf/views/house/detail.html index f49b153..2486e59 100644 --- a/fangija-zsyf/views/house/detail.html +++ b/fangija-zsyf/views/house/detail.html @@ -33,6 +33,8 @@ .tabChart2{z-index:-1;} .mark-icon-box .mark-icon {width: 20px;height: 30px;display: block;cursor: pointer;font-size: 14px; color: #fff;font-weight: bold;text-align: center;line-height: 24px;background: url(../../images/dw.png) no-repeat;} .mark-icon-box {width:24px;height:30px;position:absolute;z-index:98;} + .loadingBg{width:100%;height:100%;background:#fff;overflow:hidden;position:absolute;top:11px;left:0;z-index:100;} + .loadingBg .infinite-scroll-preloader{margin-top:30%;} @@ -41,6 +43,11 @@
+
+
+
+
+
--> -
+
我要贷款
@@ -344,6 +351,7 @@ function init(){ }) .then(function (response) { if(response.data.data){ + $(".loadingBg").hide(); var houseInfo = response.data.data.houseInfo; lat = houseInfo.lat; lng = houseInfo.lng; @@ -388,9 +396,7 @@ function init(){ baseInfo.minSellPrice=houseInfo.minSellPrice; baseInfo.maxSellPrice=houseInfo.maxSellPrice; baseInfo.rentRooms=response.data.data.rentRooms; - } - }) .catch(function (error) { console.log(error); @@ -498,9 +504,11 @@ $("#tabRentDiv").on("click", function () { $("#tabChart1").css("z-index","-1"); }); function openNewView(viewHtml) { - alert(viewHtml) clicked(viewHtml,true,false,{},{city:oriCity,region:oriRegion,name:oriName}) } +function gotoLoanApply(){ + clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: oriCity, mobile: ""},function(){}) +} diff --git a/fangija-zsyf/views/house/houseList.html b/fangija-zsyf/views/house/houseList.html index 9c7ab5c..3a89eeb 100644 --- a/fangija-zsyf/views/house/houseList.html +++ b/fangija-zsyf/views/house/houseList.html @@ -56,7 +56,7 @@

我的房产

-
+
房产总值 @@ -93,29 +93,7 @@
- - + - diff --git a/fangija-zsyf/views/news/newsDetail.html b/fangija-zsyf/views/news/newsDetail.html index 23a01f2..9e4d085 100644 --- a/fangija-zsyf/views/news/newsDetail.html +++ b/fangija-zsyf/views/news/newsDetail.html @@ -525,7 +525,7 @@ function collect(){ $(".collection").removeClass("collection02") $(".collection i").removeClass("icon-collection02") } - plus.webview.getWebviewById('/views/user/userInfo.html').reload() + plus.webview.getWebviewById('views/user/userInfo.html').reload() } $.toast(msg); diff --git a/fangija-zsyf/views/user/userInfo.html b/fangija-zsyf/views/user/userInfo.html index b3d8722..4ef7b99 100644 --- a/fangija-zsyf/views/user/userInfo.html +++ b/fangija-zsyf/views/user/userInfo.html @@ -307,9 +307,6 @@ function gotoLoanApply(houseId, city){ } //跳转到小区详情 function gotoDistrictDetail(city,region,name){ - alert(city) - alert(region) - alert(name) clicked('/views/district/detail.html',true,false,{},{city:city,region:region,name:name},function(){}) } //跳转房产详情