<view class="home_page">
	<view class="content">
		<view class="scroll_banner">
			<image src="{{data_info.banner_thumb}}" mode='widthFix' />
			<view class="evaluate">
				<view class="h2">4.8</view>
				<view class="span">好评</view>
			</view>
		</view>
		<view class="position">
			<view class="name">
				<view class="h1" style="-webkit-box-orient: vertical;">
					{{ data_info.hotel_name }}<text class="span">{{ star_num }}</text>
				</view>
				<view class="button pay_btn" catchtap="gotoCashier" wx:if="{{is_cashier}}">
					优惠买单
				</view>
			</view>
			<view class="ul content_a">
				<view class="li distance" catchtap="goToAdress">
					<icon class="iconfont icon-service_n"></icon>
					<view class="p">
						{{ data_info.address}}<text class="span">距离我{{ data_info.distance }}{{ data_info.unit }}</text>
					</view>
					<view class="right" catchtap="goToAdress">
						<view class="span">地图</view>
						<van-icon name="arrow" color="#60a9f3" size="32rpx" />
					</view>
				</view>
				<view class="li phone">
					<icon class="iconfont icon-service_m"></icon>
					<view class="a" catchtap="gophone">{{ data_info.mobile }}</view>
				</view>
				<view class="li hotel_detail">
					<view class="span">{{PageNameList.hotels}}详情</view>
					<view class="right" catchtap="gotoCheckRoom">
						<view class="span">详情/设施</view>
						<van-icon name="arrow" color="#60a9f3" size="32rpx" />
					</view>
				</view>
			</view>
			<view class="content_b">
				<view class="ul time">
					<view class="li time_a" catchtap="show2btn">
						{{start?start:"请选择入住日期"}}<text class="span">入住</text>
					</view>
					<view class="li time_b" wx:if="{{end}}">
						<text class="span">{{ night_day }}晚</text>
					</view>
					<view class="time_c li" catchtap="show3btn">
						{{end?end:"请选择离店日期"}}<text class="span">离开</text>
					</view>
				</view>
				<view class="type_box">
					<view class="room_box" wx:key="{{index}}" wx:for="{{room_arr}}">
						<view class="img">
							<image src="{{item.thumb}}" mode='aspectFill' />
						</view>
						<view class="ul info_box">
							<view class="li info_a">{{ item.title }}</view>
							<view class="li info_b">
								<view class="price">
									<text class="span">{{language['money']}}</text>
									<text class="font">{{ item.price }}</text>起
								</view>
								<view class="bottom">
									<view class="button" data-id="{{item.id}}" catchtap="gotoGoods">预定</view>
								</view>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</view>
<van-popup bind:click-overlay="show2closebtn" show="{{show2}}" position="bottom" custom-style="width:100%;height: 80%;"
 overlay="{{true}}">
	<datePicker type="入住" bindtimeChange="acceptTime" top="{{false}}" bindclose="close"></datePicker>
</van-popup>
<van-popup bind:click-overlay="show3closebtn" show="{{show3}}" position="bottom" custom-style="width:100%;height: 80%;"
 overlay="{{true}}">
	<datePicker type="离店" bindtimeChange="acceptTime" top="{{false}}" bindclose="close"></datePicker>
</van-popup>
