update
This commit is contained in:
@@ -5,6 +5,7 @@ var dates;
|
||||
var data;
|
||||
var volumes;
|
||||
var curOption;
|
||||
var mapLoadCount = 0;
|
||||
|
||||
|
||||
/* 关注&已关注切换 */
|
||||
@@ -89,11 +90,20 @@ $("#tabRentDiv").on("click", function () {
|
||||
$("#tabChart1").css("z-index","-1");
|
||||
});
|
||||
|
||||
var t1 = window.setTimeout(loadMap,1000);
|
||||
var t1 = window.setInterval(loadMap,1000);
|
||||
function loadMap(){
|
||||
mapLoadCount++;
|
||||
if(lng && lat){
|
||||
loadMapPoi();
|
||||
window.clearTimeout(t1);
|
||||
$("#mapDiv").show();
|
||||
window.clearInterval(t1);
|
||||
}else{
|
||||
if(mapLoadCount == 10){
|
||||
$("#mapDiv").hide();
|
||||
window.clearInterval(t1);
|
||||
}else{
|
||||
$("#mapDiv").hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -530,7 +530,11 @@ function showRegionInfo(city){
|
||||
function collectCity(city, index){
|
||||
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
||||
clicked('../user/codeSms.html',true,false,{},{},function(){
|
||||
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||
collectCity(city)
|
||||
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||
|
||||
})
|
||||
return;
|
||||
} else {
|
||||
@@ -571,12 +575,20 @@ function docollectCity(city){
|
||||
}
|
||||
}
|
||||
if(isLast){
|
||||
window.location.reload();
|
||||
//window.location.reload();
|
||||
$("a[href='#tabQuotation0']").click();
|
||||
}
|
||||
myDatasVue.$data.cityDatas = newRet1;
|
||||
citysVue.$data.citys = newRet2
|
||||
}else{
|
||||
alert(msg);
|
||||
var datas = myDatasVue.$data.cityDatas
|
||||
for(var i in datas){
|
||||
var obj = datas[i]
|
||||
if(obj.city == city){
|
||||
obj.colled = true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user