searchRoom.wxml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <view>
  2. <view class="storeContent">
  3. <view class="storeSearch">
  4. <image src="../../static/images/icon/search@2x.png"></image>
  5. <input focus="true" bindconfirm="search" bindinput="inputChange" value="{{fetcherData.name}}" type="text" placeholder="请输入场景名称"
  6. placeholder-class="placeholderStyle" />
  7. </view>
  8. <view class="searchBtn" bindtap="search">搜索</view>
  9. </view>
  10. <view style="height: 74rpx;"></view>
  11. <view class="resulst">
  12. <view wx:if="{{fetcherData.type=='21'}}" class="storeList">
  13. <view wx:for="{{storeList}}">
  14. <storeItem store="{{item}}" bindgotoWV="gotoWV"></storeItem>
  15. </view>
  16. </view>
  17. <view wx:else>
  18. <view wx:for="{{roomList}}" wx:key class="house-list">
  19. <roomItem room="{{item}}" bindgotoWV="gotoWV"></roomItem>
  20. </view>
  21. </view>
  22. </view>
  23. <view class="unbrand"
  24. wx:if="{{fetcherData.type=='21' && isSearch&& storeList.length==0 || fetcherData.type!='21' && isSearch&& roomList.length==0 }}">
  25. <image src="/static/images/img_nodata@2x.png"></image>
  26. <view class="text">暂无相关数据</view>
  27. </view>
  28. </view>