index.wxml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  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. <input class="search-input" type="text" bindinput="bindInputValue" placeholder="请输入房源信息" bindconfirm="tapSearch" confirm-type="search" />
  6. </view>
  7. <view class="action" bindtap="tapSearch">
  8. <text class="iconfont iconhome_search"></text>
  9. <text>搜索</text>
  10. </view>
  11. </view>
  12. <view class="icon-list {{ isFixedTop ? 'fixed' : ''}}">
  13. <view wx:for="{{icon_list}}" class="icon-item" wx:key bindtap="changeListType" data-type="{{item.type}}">
  14. <text class="text-center">{{item.name}}</text>
  15. <text class="iconfont {{(type_acive === item.type ? 'iconhose_arrow_active':'iconhose_arrow_normal')}}"></text>
  16. </view>
  17. <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>
  18. </view>
  19. <!--首页筛选器-->
  20. <view style="padding-bottom: {{isIphoneX ? '150rpx' : '100rpx'}}">
  21. <view wx:for="{{houses}}" wx:key class="house-list">
  22. <house-item house="{{item}}"></house-item>
  23. </view>
  24. <view class="empty hashouse-empty" wx:if="{{houses.length !== 0}}">
  25. <text class=" text-grey">没有更多的房源了</text>
  26. </view>
  27. <view class="empty" wx:if="{{houses.length === 0}}">
  28. <image style="width: 150rpx;height: 150rpx"></image>
  29. <text class="margin-top text-grey">没有更多的房源了</text>
  30. </view>
  31. </view>
  32. </view>
  33. <tab-bar />