Commit 738b7c2d authored by youjie's avatar youjie

修复bug

parent 6b2c6efa
......@@ -149,7 +149,7 @@
<u-dropdown ref="uDropdown" @open="open" @close="close" active-color="#B99846"
inactive-color="#080A09" title-size="28">
<u-dropdown-item :title="optionsTitle[0]" :options="options1">
<scroll-view :scroll-y="true" class="hotelScroll" style="height: 200px;">
<scroll-view :scroll-y="true" class="hotelScroll" style="height: 400rpx;">
<view class="slot-content hotelComprehensiveBox column"
style="background-color: #FCFCFC">
<view class="hotelComprehensiv row items-center"
......@@ -166,7 +166,7 @@
</scroll-view>
</u-dropdown-item>
<u-dropdown-item :title="optionsTitle[2]" :options="options1">
<scroll-view :scroll-y="true" class="hotelScroll" style="height: 200px;">
<scroll-view :scroll-y="true" class="hotelScroll" style="height: 400rpx;">
<view class="slot-content hotelComprehensiveBox column"
style="background-color: #FCFCFC">
<view class="hotelComprehensiv row items-center"
......@@ -183,7 +183,7 @@
</scroll-view>
</u-dropdown-item>
<u-dropdown-item :title="optionsTitle[1]" :options="options1">
<scroll-view :scroll-y="true" class="hotelScroll" style="height: 200px;">
<scroll-view :scroll-y="true" class="hotelScroll" style="height: 400rpx;">
<view class="slot-content hotelComprehensiveBox column"
style="background-color: #FCFCFC">
<view class="hotelComprehensiv row items-center"
......@@ -422,7 +422,6 @@
}
arrList(_this.DidaHotelRoomDetails.HotelList)
tempData = JSON.parse(JSON.stringify(_this.DidaHotelRoomDetails.HotelList));
console.log(_this.qMsg.RoomTypeName,'-------',_this.qMsg.BedType,'--',_this.qMsg.MTypeName)
if (_this.qMsg.RoomTypeName && _this.qMsg.RoomTypeName != '') {
tempData = tempData.filter(qitem => qitem.RoomName_CN == _this.qMsg.RoomTypeName);
}
......@@ -654,7 +653,6 @@
}, res => {
if (res.resultCode == 1) {
var tempData = res.data;
console.log("dmc_post_GetDiDaPriceSearchList", tempData);
this.DidaHotelRoomDetails = tempData;
this.qRoomTypeList = tempData.qRoomTypeList;
if (this.qRoomTypeList && this.qRoomTypeList.length > 0) {
......@@ -664,7 +662,6 @@
})
}
this.qBedTypeList = tempData.qBedTypeList;
console.log(this.qRoomTypeList,'-----')
if (this.qBedTypeList && this.qBedTypeList.length > 0) {
this.qBedTypeList.unshift({
BedType: 0,
......@@ -680,6 +677,14 @@
})
}
uni.hideLoading()
setTimeout(() => {
this.hotelFacilities.forEach((x) => {
const query = uni.createSelectorQuery().select(`#${x.val}`);
query.boundingClientRect((rect) => {
x.top = rect.top;
}).exec();
})
}, 1000);
}
},err=> {
this.loading = false
......@@ -783,6 +788,10 @@
startTime: `${obj.year}-${obj.startDay}`,
endTime: `${obj.year}-${obj.endDay}`
}
uni.setStorage({
key: "Time",
data: JSON.stringify(this.dayObj),
});
this.showTimePopup = false;
this.getHotelPrices()
},
......@@ -943,14 +952,6 @@
}
this.hotelData.hotelid = this.dataList.hotelid;
this.hotelData.name = this.dataList.name;
setTimeout(() => {
this.hotelFacilities.forEach((x) => {
const query = uni.createSelectorQuery().select(`#${x.val}`);
query.boundingClientRect((rect) => {
x.top = rect.top;
}).exec();
})
}, 1000);
}
})
},
......
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