|
|
@@ -94,9 +94,9 @@
|
|
|
</view>
|
|
|
<!-- <view class="before-price"><strike>¥{{item.price}}</strike></view> -->
|
|
|
<view class="room-price">¥{{ item.price }}</view>
|
|
|
- <view class="room-button" :class="{'room-button2': item.number == 0}">
|
|
|
- <text v-if="item.number == 0">已满</text>
|
|
|
- <text v-else @click="navigateToOrderRoom(item.number, item.id, item.h_type, item.price)">订</text>
|
|
|
+ <view class="room-button" :class="{'room-button2': item.s_yum == 0}">
|
|
|
+ <text v-if="item.s_yum == 0">已满</text>
|
|
|
+ <text v-else @click="navigateToOrderRoom(item.s_yum, item.id, item.h_type, item.price)">订</text>
|
|
|
</view>
|
|
|
<view class="room-line" v-if="index < (roomType.length - 1)"></view>
|
|
|
</view>
|
|
|
@@ -366,8 +366,9 @@
|
|
|
let that = this
|
|
|
that.roomType = []
|
|
|
// ?startDate=" + that.startDate.substring(0, 10) + "&endDate=" + that.endDate.substring(0, 10)
|
|
|
+ var arrDate = this.$utils.getDateComponents(new Date(), 'date');
|
|
|
that.$myRequest({
|
|
|
- url: '/hotelReservation/zhotel/apphouse_list.action',
|
|
|
+ url: '/hotelReservation/zhotel/appday_list.action?date=' + arrDate.date,
|
|
|
}).then(res => {
|
|
|
// console.log(res.data);
|
|
|
if (res.data.code === 200) {
|