Commit 0e340f9b authored by youjie's avatar youjie

优化

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