123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <wxs src="/utils/util.wxs" module="tools"></wxs>
- <view class="containt">
- <!-- 头部图片开始 -->
- <view>
- <image class="header_pic" mode="scaleToFill" src="http://ro7r875ut.hn-bkt.clouddn.com/zfbj.png" />
- </view>
- <!-- 头部图片结束 -->
- <!-- 导航栏位置开始 -->
- <view class="comm-list grid col-4 no-border comm-list-menu1" style="margin-top:{{-360+customBar}}rpx;">
- <view class="item">
- <view class="item-circle">
- <image src="http://ro7r875ut.hn-bkt.clouddn.com/oldhouse.png"></image>
- </view>
- <text>二手房</text>
- </view>
- <view class="item" bindtap="goRent_house">
- <view class="item-circle">
- <image src="http://ro7r875ut.hn-bkt.clouddn.com/renthouse.png"></image>
- </view>
- <text>租房</text>
- </view>
- <view class="item" bindtap="goFindGarden">
- <view class="item-circle">
- <image src="http://ro7r875ut.hn-bkt.clouddn.com/zhaoxiaoqu.png"></image>
- </view>
- <text>找小区</text>
- </view>
- <view class="item">
- <view class="item-circle">
- <image src="http://ro7r875ut.hn-bkt.clouddn.com/findhouse.png"></image>
- </view>
- <text>地图找房</text>
- </view>
- <view class="item" bindtap="goRelease">
- <view class="item-circle">
- <image src="http://ro7r875ut.hn-bkt.clouddn.com/publish.png"></image>
- </view>
- <text>委托发布</text>
- </view>
- <view class="item" bindtap="goAddRenthouse">
- <view class="item-circle">
- <image src="http://ro7r875ut.hn-bkt.clouddn.com/minrent.png"></image>
- </view>
- <text>我要出租</text>
- </view>
- <view class="item">
- <view class="item-circle">
- <image src="http://ro7r875ut.hn-bkt.clouddn.com/minesale.png"></image>
- </view>
- <text>我要出售</text>
- </view>
- </view>
- <!-- 导航栏位置结束 -->
- </view>
- <view class="navbar">
- <block wx:for="{{navbarTitle}}" wx:key="index">
- <view class="navbar-item {{navbarActiveIndex === index ? 'navbar-item-active' : ''}}" data-navbar-index="{{index}}" catchtap="onNavBarTap">
- <text>{{item}}</text>
- </view>
- </block>
- </view>
- <view hidden="{{hiddenName.rent}}">
- <block wx:if="{{house_list.length>0}}">
- <view class="like_content" wx:for="{{house_list}}" wx:key="id" wx:if="{{item.approve_status==2}}" bindtap="goHouseDetail" id="{{item.id}}">
- <view class="thumb">
- <image src="{{item.house_pic[0]}}"></image>
- </view>
- <view class="info">
- <text class="info_tltle">{{item.garden_name}}•{{item.room_count}}室{{item.hall_count}}厅{{item.wc_count}}卫</text>
- <view class="info_news">
- <text>{{item.room_area}}m² | {{item.room_count}}室{{item.hall_count}}厅{{item.wc_count}}卫</text>
- <text class="info_price">{{item.rent_price/100}}元/月</text>
- </view>
- <view class="info_state">
- <view wx:for="{{tools.formatArr(item.special_conf)}}" wx:key="index" wx:for-item="key">
- {{chooseItems[1][key].name}}</view>
- </view>
- </view>
- </view>
- </block>
- <block wx:else="">
- <nodata />
- </block>
- </view>
- <view hidden="{{hiddenName.old}}">
- <nodata />
- </view>
- <view hidden="{{hiddenName.garden}}">
- <view class="empty-wrap" wx:if="{{garden_list.length === 0 }}">
- <nodata />
- </view>
- <view class="category-goods-list" wx:else="">
- <block wx:for="{{garden_list}}" wx:key="id">
- <view class="like_content" bindtap="goGardenDetail" data-item="{{item}}">
- <view class="thumb">
- <image src="{{item.garden_pic}}"></image>
- </view>
- <view class="info">
- <text class="info_tltle">{{item.garden_name}}</text>
- <view class="info_news">
- <text space="nbsp">{{item.area}}/{{building_list[item.building_type]}} {{tools.transitionTime(item.building_end,'Y')}}建成</text>
- </view>
- <view class="info_news">
- <text>在售{{item.sell_count}}套/在租{{item.rent_count}}套</text>
- </view>
- <text class="info_price">{{item.avg_price}}元/平</text>
- </view>
- </view>
- <view class="hr"></view>
- </block>
- </view>
- </view>
|