index.wxml 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <view class="{{ type_acive ? 'is-active' : '' }}">
  2. <view class="search-w">
  3. <view class="search-w-left">
  4. <input class="search-input" type="text" data-key="seachKey" bindinput="bindInput" placeholder="请输入房源信息" bindconfirm="tapSearch" confirm-type="search" />
  5. </view>
  6. <view class="action" bindtap="tapSearch">
  7. <text class="iconfont iconhome_search"></text>
  8. <text>搜索</text>
  9. </view>
  10. </view>
  11. <view class="icon-list {{ isFixedTop ? 'fixed' : ''}}">
  12. <view wx:for="{{icon_list}}" class="icon-item" wx:key bindtap="changeListType" data-type="{{item.type}}">
  13. <text class="text-center">{{item.name}}</text>
  14. <text class="iconfont {{(type_acive === item.type ? 'iconhose_arrow_active':'iconhose_arrow_normal')}}"></text>
  15. </view>
  16. <drop-down bind:comfirmhandle="comfirmhandle" bind:selecthandle="selecthandle" bindtap="closeTypeActive" class="dp-con {{type_acive?'dp-active':''}}" arr="{{tab_panel}}" active="{{type_acive}}" city="{{currentCity}}"></drop-down>
  17. </view>
  18. <!--首页筛选器-->
  19. <view style="padding-bottom: {{isIphoneX ? '150rpx' : '100rpx'}}">
  20. <view wx:for="{{houses}}" wx:key class="house-list">
  21. <house-item house="{{item}}"></house-item>
  22. </view>
  23. <view class="empty hashouse-empty" wx:if="{{houses.length !== 0}}">
  24. <text class=" text-grey">没有更多的房源了</text>
  25. </view>
  26. <view class="empty" wx:if="{{houses.length === 0}}">
  27. <image style="width: 150rpx;height: 150rpx"></image>
  28. <text class="margin-top text-grey">没有更多的房源了</text>
  29. </view>
  30. </view>
  31. </view>
  32. <tab-bar />