<cu-custom bgColor="bg-gradual-blue" id="Headcustom"  > 
  <block bindtap="" slot="backText" >返回</block> 
  <view slot="content">{{selectGroupIndex==-1? "BLV":autho[selectGroupIndex].Hotels[hotelIndex].HotelName}}</view> 
</cu-custom> 
<!-- <view class="padding-sm bg-white radius shadow shadow-lg"> 
  <view id="groups"> 
<view class="text-xl" wx:if="{{hotelIndex>=0}}">  

<text class="text-green">{{autho[selectGroupIndex].Hotels[hotelIndex].Code}}:{{autho[selectGroupIndex].Hotels[hotelIndex].HotelName}}</text> 
<button wx:if="{{hotelIndex>=0}}" data-id="-1" class="cu-btn  line-green margin-left" bindtap="ShowSelHotel">确定</button> 
<button wx:if="{{issel != false}}" data-id="{{issel}}"  class="cu-btn  line-green margin-left" bindtap="ShowSelHotel">返回</button> 
</view>  
<view wx:if="{{hotelIndex<0}}" > 
  <button   class="cu-btn bg-green margin-xs">请选择酒店</button> 
</view> 
  <view class="text-black text-lg margin-left-xs" wx:if="{{autho.length>0}}"> 
  酒店组信息 
  </view> 
<view class="grid col-3" wx:if="{{autho.length>0}}"> 
    <view class="padding-xs" bindtap="bindgroup"  data-index="{{idx}}" wx:for="{{autho}}" wx:for-index="idx" wx:for-item="item" > 
    <button style="width:100%;" class="cu-btn bg-{{selectGroupIndex==idx?'green':'grey'}}">{{item.HotelGroupsName}}({{item.Hotels.length}})</button> 
    </view> 
</view> 

<view wx:if="{{autho.length==0}}" class="text-red margin-left-xs" > 
暂无相关酒店信息 
</view> 
</view> 

<view id="hotels" wx:if="{{selectGroupIndex>-1}}" class="margin-top"> 
  <view class="text-black text-xl"> 

<view   class="grid col-4 text-center "> 
    <view  bindtap="SelHotel"  data-index="{{idx}}" wx:for="{{autho[selectGroupIndex].Hotels}}" wx:for-index="idx" wx:for-item="item" > 
    <view  style="font:bold;white-space: nowrap;overflow: hidden;" class="{{hotelIndex == idx?'text-green':''}} text-df bg-gray padding-xs margin-xs" >{{item.HotelName}}</view> 
    </view> 
</view> 
        </view> 
</view> 
</view> -->

<view style="height:{{top_height==0?'600rpx':top_height+'px'}} "  	>


<view class=" solids bg-white" style="height:13% ;width: 100%;">
<view class="text-xl" wx:if="{{hotelIndex>=0}}"  style="height:100% ;width: 100%;">  
<view class="solids" style="height:50% ;width: 100%;">
<text class="text-green">{{autho[selectGroupIndex].Hotels[hotelIndex].Code}}:{{autho[selectGroupIndex].Hotels[hotelIndex].HotelName}}</text> 
</view>
<view class="cu-bar1 bg-white " style="height:50% ;width: 100%;" >
  <view class="solids flex-6 "  style="width: 100%;">
    <input  class="solids cu-btn1" focus="true" bindinput="inputSearchForHotels"	confirm-type="search" style="width: 100%;"/>
  </view>

 <view class="flex-xis  flex   justify-end">
   <button wx:if="{{hotelIndex>=0}}" data-id="-1" class="cu-btn1  line-green margin-left " style="width: 150rpx;	margin:5rpx;" bindtap="SearchForHotels">搜索</button> 
<button wx:if="{{hotelIndex>=0}}" data-id="-1" class="cu-btn1  line-green margin-left" style="width: 150rpx;margin:5rpx" bindtap="ShowSelHotel">确定</button> 
 </view>



</view>
</view>  


</view>



<view class="cu-bar bg-white" style="height:85% ;width: 100%;"> 
  <view  style="height:100%;width: 40%;"> 
    <scroll-view class="bg-white " 	scroll-into-view="{{'group'+selectGroupIndex}}" scroll-y style="height:100%;width: 100%;" scroll-with-animation	scroll-top >
      <view  bindtap="bindgroup" data-index="{{idx}}" id="{{'group'+idx}}"  wx:for="{{autho}}" wx:for-index="idx" wx:for-item="item">
        <button class="text-sm cu1-btn  lg {{idx==selectGroupIndex? 'text-green ':'text-black'}}" style="width:100%;" >{{item.HotelGroupsName}}({{item.Hotels.length}})</button> 
  </view>
    </scroll-view>
  </view>
  <view  style="height:100%;width: 60%;"> 
    <scroll-view class="bg-white " scroll-y 	scroll-into-view="{{'Hotel'+hotelIndex}}"  style="height:100%;width: 100%;" scroll-with-animation	scroll-top >
      <view class=" {{index==TabCurnode?'text-green ':'text-black'}}" id="{{'Hotel'+idx}}" bindtap="SelHotel"  data-index="{{idx}}" wx:for="{{autho[selectGroupIndex].Hotels}}" wx:for-index="idx" wx:for-item="item">
        <view  style="font:bold;white-space: nowrap;overflow: hidden;" class="{{hotelIndex == idx?'text-green':''}} text-df bg-gray padding-xs margin-xs" >{{item.HotelName}}</view> 
      </view>    

    </scroll-view>
   </view>
</view>
</view>


