增加城市限制提示
This commit is contained in:
@@ -1729,6 +1729,18 @@
|
|||||||
"doc/key.html",
|
"doc/key.html",
|
||||||
"doc/splashscreen.html",
|
"doc/splashscreen.html",
|
||||||
"doc/statistic.html",
|
"doc/statistic.html",
|
||||||
|
"plus/accelerometer_shake.html",
|
||||||
|
"plus/accelerometer.html",
|
||||||
|
"plus/audio.html",
|
||||||
|
"plus/barcode_scan.html",
|
||||||
|
"plus/barcode_scan2.html",
|
||||||
|
"plus/barcode.html",
|
||||||
|
"plus/camera_image.html",
|
||||||
|
"plus/camera_video.html",
|
||||||
|
"plus/camera.html",
|
||||||
|
"plus/device.html",
|
||||||
|
"plus/doc.html",
|
||||||
|
"plus/downloader.html",
|
||||||
"plus/webview_pullhead.html",
|
"plus/webview_pullhead.html",
|
||||||
"plus/webview_pullrefresh.html"
|
"plus/webview_pullrefresh.html"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
<div id="myFocusFirstPage">
|
<div id="myFocusFirstPage">
|
||||||
<my_focus></my_focus>
|
<my_focus></my_focus>
|
||||||
</div>
|
</div>
|
||||||
<div class="cardNearbyBox cardNearbyBox01 cardRankingBox cardRankingBox01" id="countryRank">
|
<div class="cardNearbyBox cardNearbyBox01 cardRankingBox cardRankingBox01" id="countryRank" v-cloak>
|
||||||
<div class="cardNearbyWin">
|
<div class="cardNearbyWin">
|
||||||
<div class="card cardNearby cardRanking" v-for="item in datas">
|
<div class="card cardNearby cardRanking" v-for="item in datas">
|
||||||
<div class="card-header" v-if="item.type==0">
|
<div class="card-header" v-if="item.type==0">
|
||||||
@@ -168,7 +168,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="cityInfo" class="dn">
|
<div id="cityInfo" class="dn" v-cloak>
|
||||||
<div class="card cardPrice cardPrice01 cardCity01" v-bind:hrefid="myCityMap.hrefId">
|
<div class="card cardPrice cardPrice01 cardCity01" v-bind:hrefid="myCityMap.hrefId">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<label>{{myCityMap.city}}</label>
|
<label>{{myCityMap.city}}</label>
|
||||||
@@ -1511,11 +1511,15 @@ function addFocus(city){
|
|||||||
|
|
||||||
}else{
|
}else{
|
||||||
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
|
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
|
||||||
reloadMyFocus()
|
if(response.data.status){
|
||||||
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
reloadMyFocus()
|
||||||
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||||
createData(city, myDatasVue.$data.cityDatas.length);
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
|
createData(city, myDatasVue.$data.cityDatas.length);
|
||||||
|
} else {
|
||||||
|
$.toast(response.data.message);
|
||||||
|
}
|
||||||
}).catch(function(error){
|
}).catch(function(error){
|
||||||
console.log(error)
|
console.log(error)
|
||||||
})
|
})
|
||||||
@@ -1523,8 +1527,13 @@ function addFocus(city){
|
|||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
|
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
|
||||||
reloadMyFocus()
|
if(response.data.status){
|
||||||
cityDetaiVue.$data.citys.push(city);
|
reloadMyFocus()
|
||||||
|
cityDetaiVue.$data.citys.push(city);
|
||||||
|
} else {
|
||||||
|
$.toast(response.data.message);
|
||||||
|
}
|
||||||
|
|
||||||
}).catch(function(error){
|
}).catch(function(error){
|
||||||
console.log(error)
|
console.log(error)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user