<view class="search-w" >

    <view class="search-w-left">
        <text class="cuIcon-search"></text>
        <input class="search-input" type="text" bindinput="searchHouse"   placeholder="请输入房源信息" bindconfirm="bindconfirm"
               confirm-type="search" />
    </view>
    <view class="action" bindtap="CitySelect">
        <image class="location-icon" src="/image/4Dage/location-icon.png"></image>
        <view>{{ fetcherData.city }}</view>
    </view>
</view>

<view class="icon-list {{ isFixedTop ? 'fixed' : ''}}">
    <view wx:for="{{icon_list}}" class="icon-item {{ fetcherData.saleType === item.type ? 'is-active' : ''}}"  wx:key bindtap="changeListType" data-type="{{item.type}}">
        <text class="text-center {{ houseType === item.type ? 'text-cyan' : 'text-black'}} margin-top-xs  text-bold">{{item.name}}</text>
        <view class="line bg-cyan"></view>
    </view>
</view>

<!--首页筛选器-->
<view style="padding-bottom: {{isIphoneX ? '150rpx' : '100rpx'}}; padding-top: {{ isFixedTop ? '86rpx' : '0px'}}" >
    <view wx:for="{{houses}}"  wx:key class="house-list">
        <house-item house="{{item}}"></house-item>
    </view>
    
    <view class="empty hashouse-empty" wx:if="{{houses.length !== 0 && !has_next}}">
        <text class=" text-grey">没有更多的房源了</text>
    </view>
    <view class="empty" wx:if="{{houses.length === 0}}">
        <image style="width: 150rpx;height: 150rpx"></image>
        <text class="margin-top text-grey">没有更多的房源了</text>
    </view>
</view>
<tab-bar />