<!--packageC/hotel/HotelChooseRoom/HotelChooseRoom.wxml-->
<view class="choose_room">
	<view class="synopsis">
		<view class="h3">{{ PageNameList.hotel_intro }}</view>
		<view class="syn_bgcolor">
			<view class="p introduceH {{showTotal ? 'total-introduce' : 'detailed-introduce'}}" style="-webkit-box-orient: vertical;">
				{{ hotel_introduce }}
			</view>
			<view class="h2" catchtap="showTotalIntro" wx:if="{{showExchangeButton}}">{{exchangeButton ? '∨' : '∧'}}</view>
			<view style="text-align:center;" wx:if="{{!hotel_introduce}}">暂无简介</view>
		</view>
	</view>
	<view class="info_a">
		<view class="h3 occupancy">
			<view class="left">
				入住信息
			</view>
			<view class="right">
				<van-icon name="arrow-down" color="#c9c9c9" size="48rpx" wx:if="{{show1}}" catchtap="toggleShow1" />
				<van-icon name="arrow-up" color="#c9c9c9" size="48rpx" wx:if="{{!show1}}" catchtap="toggleShow1" />
			</view>
		</view>
		<view wx:if="{{show1}}">
			<view class="ul time">
				<view class="li time_a">
					<icon class="iconfont icon-service_j"></icon>
					<view class="span">入离时间</view>
				</view>
				<view class="li time_b">
					入住时间：{{ data_info.entrance_time }}以后 离开时间：{{
              data_info.departure_time
            }}以前
				</view>
			</view>
			<view class="ul notice">
				<view class="li notice_a">
					<icon class="iconfont icon-service_k"></icon>
					<view class="span">入住须知</view>
				</view>
				<view class="li notice_b">{{ data_info.instructions }}</view>
			</view>
		</view>
	</view>
	<view class="service_info" wx:if="{{data_info.has_one_facilities}}">
		<view class="h3 occupancy">
			<view class="left">
				设备服务
			</view>
			<view class="right">
				<van-icon name="arrow-down" color="#c9c9c9" size="48rpx" wx:if="{{show2}}" catchtap="toggleShow2" />
				<van-icon name="arrow-up" color="#c9c9c9" size="48rpx" wx:if="{{!show2}}" catchtap="toggleShow2" />
			</view>
		</view>
		<view class="box" wx:if="{{show2}}">
			<view class="ul service_a" wx:if="{{(data_info.has_one_facilities.is_network == 1? true: false) &&data_info.has_one_facilities.network}}">
				<view class="li item">
					<icon class="iconfont icon-service_a"></icon>
					<view class="span">网络</view>
				</view>
				<view class="li item_info">
					<view class="span" wx:key="{{index}}" wx:for="{{data_info.has_one_facilities.network}}">{{
              item
            }}</view>
				</view>
			</view>
			<view class="ul service_a" wx:if="{{(data_info.has_one_facilities.is_parking == 1? true: false )&&data_info.has_one_facilities.parking}}">
				<view class="li item">
					<icon class="iconfont icon-service_b"></icon>
					<view class="span">停车场</view>
				</view>
				<view class="li item_info">
					<view class="span" wx:key="{{index}}" wx:for="{{data_info.has_one_facilities.parking}}">{{
              item
            }}</view>
				</view>
			</view>
			<view class="ul service_a" wx:if="{{(data_info.has_one_facilities.is_traffic == 1? true : false )&& data_info.has_one_facilities.traffic}}">
				<view class="li item">
					<icon class="iconfont icon-service_c"></icon>
					<view class="span">交通服务</view>
				</view>
				<view class="li item_info">
					<view wx:key="{{index}}" wx:for="{{data_info.has_one_facilities.traffic}}">{{
              item
            }}</view>
				</view>
			</view>
			<view class="ul service_a" wx:if="{{(data_info.has_one_facilities.is_recreation == 1? true: false )&& data_info.has_one_facilities.recreation}}">
				<view class="li item">
					<icon class="iconfont icon-service_d"></icon>
					<view class="span">休闲娱乐</view>
				</view>
				<view class="li item_info">
					<view class="span" wx:key="{{index}}" wx:for="{{data_info.has_one_facilities.recreation}}">{{
              item
            }}</view>
				</view>
			</view>
			<view class="ul service_a" wx:if="{{(data_info.has_one_facilities.is_reception == 1? true: false )&&data_info.has_one_facilities.reception}}">
				<view class="li item">
					<icon class="iconfont icon-service_e"></icon>
					<view class="span">前台服务</view>
				</view>
				<view class="li item_info">
					<view class="span" wx:key="{{index}}" wx:for="{{data_info.has_one_facilities.reception}}">{{
              item
            }}</view>
				</view>
			</view>
			<view class="ul service_a" wx:if="{{(data_info.has_one_facilities.is_restaurant == 1? true : false )&& data_info.has_one_facilities.restaurant}}">
				<view class="li item">
					<icon class="iconfont icon-service_f"></icon>
					<view class="span">餐饮服务</view>
				</view>
				<view class="li item_info">
					<view class="span" wx:key="{{index}}" wx:for="{{data_info.has_one_facilities.restaurant}}">{{
              item
            }}</view>
				</view>
			</view>
			<view class="ul service_a" wx:if="{{(data_info.has_one_facilities.is_business == 1? true: false )&&data_info.has_one_facilities.business}}">
				<view class="li item">
					<icon class="iconfont icon-service_g"></icon>
					<view class="span">商务服务</view>
				</view>
				<view class="li item_info">
					<view class="span" wx:key="{{index}}" wx:for="{{data_info.has_one_facilities.business}}">{{
              item
            }}</view>
				</view>
			</view>
			<view class="ul service_a" wx:if="{{(data_info.has_one_facilities.is_currency == 1? true: false )&&	data_info.has_one_facilities.currency}}">
				<view class="li item">
					<icon class="iconfont icon-service_h"></icon>
					<view class="span">通用设备</view>
				</view>
				<view class="li item_info">
					<view class="span" wx:key="{{index}}" wx:for="{{data_info.has_one_facilities.currency}}">{{
              item
            }}</view>
				</view>
			</view>
			<view class="ul service_a" wx:if="{{(data_info.has_one_facilities.is_other == 1? true: false) && data_info.has_one_facilities.other }}">
				<view class="li item">
					<icon class="iconfont icon-service_i"></icon>
					<view class="span">其他服务</view>
				</view>
				<view class="li item_info">
					<view class="span" wx:key="{{index}}" wx:for="{{data_info.has_one_facilities.other}}">{{
              item
            }}</view>
				</view>
			</view>
		</view>
	</view>
	<view class="synopsis" wx:if="{{data_info.information}}">
		<view class="h3">酒店详情</view>
		<view class="syn_bgcolor">
			<rich-text nodes="{{data_info.information}}" bindtap="tap"></rich-text>
		</view>
	</view>
</view>
