update
This commit is contained in:
@@ -153,6 +153,7 @@ var year = date.getFullYear()+'年';
|
||||
var month = date.getMonth()+1+'月';
|
||||
var city = "普洱"
|
||||
var cityInfoVue;
|
||||
|
||||
|
||||
document.addEventListener('plusready', onPlusReady, false);
|
||||
function onPlusReady() {
|
||||
|
||||
@@ -1397,7 +1397,6 @@ $.config = {router: false}
|
||||
|
||||
//加载首页全国数据
|
||||
function loadAllCityData(){
|
||||
alert("全国");
|
||||
var date=new Date;
|
||||
var year=date.getFullYear();
|
||||
var month=date.getMonth()+1;
|
||||
@@ -1416,7 +1415,6 @@ function loadAllCityData(){
|
||||
allCityVue.avgUownRate = response.data.data.avgUownRate;
|
||||
})
|
||||
.catch(function (error) {
|
||||
alert("error:"+error)
|
||||
console.log(error);
|
||||
});
|
||||
|
||||
@@ -1609,10 +1607,6 @@ function hotCity(city){
|
||||
});
|
||||
}
|
||||
|
||||
function IsInArray(arr, val){
|
||||
var testStr=','+arr.join(",")+",";
|
||||
return testStr.indexOf(","+val+",")!=-1;
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user