Commit 0e340f9b authored by youjie's avatar youjie

优化

parent 7aa095a7
...@@ -436,12 +436,14 @@ ...@@ -436,12 +436,14 @@
}, },
// 位置排序 // 位置排序
sureRegion() { sureRegion() {
this.optionsTitle[1] = this.parameters.CityName_CN
this.$forceUpdate();
this.closeDropdown(); this.closeDropdown();
this.city = this.parameters.CityName if(this.parameters.CityName_CN){
this.parameters.CityCode = this.parameters.regionCode ? this.parameters.regionCode : this.parameters this.optionsTitle[1] = this.parameters.CityName_CN
.CityCode2 this.$forceUpdate();
this.city = this.parameters.CityName
this.parameters.CityCode = this.parameters.regionCode ? this.parameters.regionCode : this.parameters
.CityCode2
}
this.research(6); this.research(6);
}, },
resetRegion() { resetRegion() {
...@@ -454,9 +456,9 @@ ...@@ -454,9 +456,9 @@
if (this.parameters.CityCode != this.parameters.CityCode2||this.parameters.hotelId) { if (this.parameters.CityCode != this.parameters.CityCode2||this.parameters.hotelId) {
this.parameters.hotelId = '' this.parameters.hotelId = ''
if(this.parameters.CityCode != this.parameters.CityCode2) this.parameters.CityCode = this.parameters.CityCode2 if(this.parameters.CityCode != this.parameters.CityCode2) this.parameters.CityCode = this.parameters.CityCode2
this.research(7);
} }
}, this.research(7);
},
showCity() { showCity() {
this.showCityList = true; this.showCityList = true;
}, },
...@@ -486,13 +488,14 @@ ...@@ -486,13 +488,14 @@
this.tempRateAndPrice.priceId = 0 this.tempRateAndPrice.priceId = 0
this.tempRateAndPrice = { this.tempRateAndPrice = {
price: { price: {
minValue: 0, minValue: 100,//0
maxValue: this.MaximumDatas.maxPrice, maxValue: this.MaximumDatas.maxPrice,
}, },
priceText: `¥${this.PriceRange[0].minPrice}~${this.MaximumDatas.maxPrice}`, // priceText: `¥${this.PriceRange[0].minPrice}~${this.MaximumDatas.maxPrice}`,
priceText: `¥${100}~${this.MaximumDatas.maxPrice}`,
rate: [], rate: [],
}; };
this.parameters.StartPrice = this.PriceRange[0].minPrice; this.parameters.StartPrice = 100//this.PriceRange[0].minPrice;
this.parameters.EndPrice = this.MaximumDatas.maxPrice; this.parameters.EndPrice = this.MaximumDatas.maxPrice;
this.parameters.QStarRating = [] this.parameters.QStarRating = []
this.closeDropdown(); this.closeDropdown();
......
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