Commit 58ba913a authored by youjie's avatar youjie

no message

parent ab8380bf
...@@ -359,16 +359,16 @@ ...@@ -359,16 +359,16 @@
searchClose() { searchClose() {
this.showSearchCity = false this.showSearchCity = false
this.showCityList = false this.showCityList = false
if(this.parameters.hotelId||(this.parameters.CityCode!=this.PopularCities[0].CityList[0].CityCode)){ // if(this.parameters.hotelId||(this.parameters.CityCode!=this.PopularCities[0].CityList[0].CityCode)){
if(this.parameters.hotelId){ // if(this.parameters.hotelId){
this.parameters.hotelId = '' // this.parameters.hotelId = ''
}else { // }else {
this.city = this.parameters.CityName = this.PopularCities[0].CityList[0].CityName // this.city = this.parameters.CityName = this.PopularCities[0].CityList[0].CityName
this.parameters.CityCode2 = this.PopularCities[0].CityList[0].CityCode // this.parameters.CityCode2 = this.PopularCities[0].CityList[0].CityCode
this.parameters.CityCode = this.PopularCities[0].CityList[0].CityCode // this.parameters.CityCode = this.PopularCities[0].CityList[0].CityCode
} // }
this.research(12) // this.research(12)
} // }
}, },
searchKey(type, key, City) { searchKey(type, key, City) {
if (type == 1) { if (type == 1) {
...@@ -456,6 +456,7 @@ ...@@ -456,6 +456,7 @@
this.closeDropdown() this.closeDropdown()
this.parameters.regionCode = '' this.parameters.regionCode = ''
this.regionKeyWords = '' this.regionKeyWords = ''
this.parameters.hotelId = ''
if (this.parameters.CityCode != this.parameters.CityCode2) { if (this.parameters.CityCode != this.parameters.CityCode2) {
this.parameters.CityCode = this.parameters.CityCode2 this.parameters.CityCode = this.parameters.CityCode2
this.research(7); this.research(7);
...@@ -479,6 +480,7 @@ ...@@ -479,6 +480,7 @@
this.research(8); this.research(8);
}, },
resetPrice() { resetPrice() {
this.parameters.hotelId = ''
this.optionsTitle[2] = "价格/星级"; this.optionsTitle[2] = "价格/星级";
var obj = this.$refs.rangeslider; var obj = this.$refs.rangeslider;
obj.progressBarLeft = 0; obj.progressBarLeft = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment