YOUFANG app 1.0.3

This commit is contained in:
zongzhimin
2018-04-14 15:41:26 +08:00
parent dd07caa411
commit 02ed5fad64
14 changed files with 10 additions and 26 deletions
+9 -1
View File
@@ -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);
});
}
-6
View File
@@ -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);
});
}
-2
View File
@@ -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);
});
}
-2
View File
@@ -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);
});
}