YOUFANG app 1.0.3
This commit is contained in:
@@ -14,6 +14,14 @@ axios.interceptors.request.use(function (config) {
|
||||
axios.interceptors.response.use(function (response) {
|
||||
return response;
|
||||
}, function (error) {
|
||||
clicked('error.html',true,false,{},{},function(){})
|
||||
if(error=="Error: Network Error"){
|
||||
if(plus.webview.getWebviewById('error.html')==null){
|
||||
clicked('error.html',true,false,{},{},function(){
|
||||
window.location.reload();
|
||||
})
|
||||
}else{
|
||||
plus.webview.getWebviewById("error.html").show();
|
||||
}
|
||||
}
|
||||
return Promise.reject(error);
|
||||
});
|
||||
@@ -208,7 +208,6 @@ function loadDistrictInfo(){
|
||||
}
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
@@ -242,7 +241,6 @@ function loadDistrictInfo(){
|
||||
}
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}*/
|
||||
@@ -291,7 +289,6 @@ function loadKLineData(city, region, name){
|
||||
|
||||
}
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
@@ -573,7 +570,6 @@ function loadRentTrends(city, region, name, type){
|
||||
$("#tabRentDiv").addClass("dn")
|
||||
}
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -12,7 +12,6 @@ function loadCurCity(city){
|
||||
}
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
@@ -39,7 +38,6 @@ function loadCityPriceInfo(city){
|
||||
cityInfoVue.$data.myCityMap = cityObj;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
|
||||
@@ -56,7 +54,6 @@ function loadUpOrDown(city){
|
||||
loadUpOrDownChart(data2.downRate, data2.upRate);
|
||||
}
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
@@ -73,7 +70,6 @@ function loadCityPricesAndCounts(city){
|
||||
loadTrends(data3.times, data3.cityPriceMap , data3.countMap);
|
||||
}
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
@@ -102,7 +98,6 @@ function loadHotDistrict(city){
|
||||
cityInfoVue.$data.nears = nears;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
@@ -163,7 +158,6 @@ function startingLoadCharts(city, type){
|
||||
showChart("price_chart", times, prices, counts)
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -157,7 +157,6 @@ function loadMyCollectCity(){
|
||||
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
@@ -307,7 +306,6 @@ function startingLoadCharts(city, type, num){
|
||||
showChart(num+"_price_chart", times, prices, counts)
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -56,7 +56,6 @@ $("#districtName").bind("input propertychange keyup" , function () {
|
||||
$('.searchList').show();
|
||||
}
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
|
||||
@@ -144,7 +143,6 @@ function addHotDistricts(cityParam){
|
||||
}
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -65,7 +65,6 @@ $("#districtName").bind("input propertychange keyup" , function () {
|
||||
$('.searchList').show();
|
||||
}
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
|
||||
@@ -150,7 +149,6 @@ function addHotDistricts(cityParam){
|
||||
}
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -53,7 +53,6 @@ $("#districtName").bind("input propertychange keyup" , function () {
|
||||
$('.searchList').show();
|
||||
}
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
|
||||
@@ -134,7 +133,6 @@ function addHotDistricts(cityParam){
|
||||
}
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -215,7 +215,6 @@ Vue.component('base-info-component', {
|
||||
}
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@ Vue.component('map-component', {
|
||||
loadMapPoi();
|
||||
}
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -60,7 +60,6 @@ Vue.component('near-dist-component', {
|
||||
}
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
},
|
||||
|
||||
@@ -36,7 +36,6 @@ Vue.component('room-rent-component', {
|
||||
}
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -171,7 +171,6 @@ function loadRentTrends(city, region, name){
|
||||
$("#tabRentDiv").addClass("dn");
|
||||
}
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1557,7 +1557,6 @@ function loadMyCollectCity(){
|
||||
}
|
||||
|
||||
}).catch(function (error) {
|
||||
alert(error)
|
||||
console.log(error);
|
||||
});
|
||||
|
||||
|
||||
@@ -214,7 +214,7 @@ function constructHtmlContent(results, xqOneMonthUpDownRangeMap, cityAvgPriceMap
|
||||
htmlContent = htmlContent +"<div class='item-inner'><div class='item-title-row'>";
|
||||
htmlContent = htmlContent +"<div class='item-title'><label>"+result.name+"</label><span class='span01'>"+result.city+"-"+result.region+"</span></div>";
|
||||
htmlContent = htmlContent +"</div><div class='item-title-row'>";
|
||||
htmlContent = htmlContent +"<div class='item-title'><small>"+result.roomCount+"室"+result.hallCount+"厅 "+result.area+"m "+result.floor+"/"+result.height+"层</small></div>";
|
||||
htmlContent = htmlContent +"<div class='item-title'><small>"+result.roomCount+"室"+result.hallCount+"厅 "+result.area+"㎡ "+result.floor+"/"+result.height+"层</small></div>";
|
||||
htmlContent = htmlContent +"</div><div class='item-subtitle'>";
|
||||
//对应城市地区小区30天涨跌幅
|
||||
//动态构建key
|
||||
|
||||
Reference in New Issue
Block a user