<cu-custom bgColor="bg-gradual-blue"  
 isBack="true"> 
  <block bindtap="back" slot="backText" >返回</block> 
  <view slot="content">{{Hotelinfo.HotelName}}({{Hotelinfo.Code}})</view> 
</cu-custom> 

<view class=" solids bg-white" style="height:70px ;width: 100%;font-weight: bold; ">
<view class="flex text-xl " style=" height:45% ;width: 100%;">  
<view class="flex solids "  wx:if="{{RoomIndex>=0}}"  style="height:100% ;width: 60%;">
<view class="text-black ">房间号:{{}}</view> 
</view>
<view class="solids "  wx:if="{{RoomIndex>=0}}"  style="height:100% ;width: 40%;">
  <text class="text-black">异常记录：</text>
  <!-- <text class="text-blue">{{onlineNumber}}/</text> -->
  <text class="text-black">{{HostsDataFilters.length}} </text>

</view>
</view>

<view class="cu-bar1 bg-white " style="height:50% ;width: 100%;" >
  <view class="solids"  style="width: 60%;">
    <input  class="solids cu-btn1" focus="true" bindinput="inputSearchForHotels"	confirm-type="search" style="width: 100%;" value="{{RoomNumber}}"/>
  </view>

 <view class="flex"style="width: 40%;">
   <button class="cu-btn1  line-green margin-left " style="width: 100%;	margin:5rpx;" bindtap="inputSearchForHotels">搜索</button> 
   <button class="cu-btn1  line-green margin-left " style="width: 100%;	margin:5rpx;" bindtap="RefreshTheRoom">维修记录</button> 
 </view>
</view>
</view>
<scroll-view scroll-y scroll-into-view="{{toView}}" >
      <view class="cu-list menu  margin-top-xs margin-bottom-sm shadow-lg"  >   
				<view class="cu-itemz " wx:for="{{20}}" wx:key="index">
        <view class="flex"  style="width: 80%">
        <view class="flex text-black"style="width: 50%">		
          <view>房号：</view>			
          <view class="nav-name">{{"床卫生间传"}}</view>
        
					</view>
          <view class=" nav-name  " style="width: 50%;left: 30rpx;">					
					<view >床卫生间传感器测试</view>	
					</view>
  
        </view>
        <view class="flex"style="width: 18%;">   
                 <button class="cu-btn1  line-green margin-left " style="width: 100%;	margin:5rpx;white-space: pre-line;" bindtap="RefreshTheRoom">确认维\n修完成</button> 
        </view>
				</view>
       

			</view>
</scroll-view>
            