1234567891011121314151617181920212223242526272829303132333435363738 |
- <wxs src="../../../../utils/util.wxs" module="tools"></wxs>
- <block wx:if="{{appointment_list.length>0}}">
- <block wx:for="{{appointment_list}}" wx:key="id">
- <view class="containt">
- <view class="status">
- <view class="pic">
- <image class="visitorPic" src="http://ro7r875ut.hn-bkt.clouddn.com/appointment.png" />
- <text>预约看房</text>
- </view>
- <view class="right status1" wx:if="{{item.status==1}}">待受理</view>
- <view class="right status2" wx:elif="{{item.status==2}}">已受理</view>
- <view class="right status3" wx:elif="{{item.status==3}}">已拒绝</view>
- <view class="right status4" wx:elif="{{item.status==4}}">未到访</view>
- <view class="right status5" wx:elif="{{item.status==5}}">已到访</view>
- <view class="right status6" wx:elif="{{item.status==6}}">已过期</view>
- </view>
- <view class="name">
- {{item.garden_name}}
- </view>
- <view class="gate">
- 面积:{{item.area}}² {{item.layer}}/{{item.layer}}层
- </view>
- <view class="status">
- <view class="pic">
- <image class="visitorPic" src="http://ro7r875ut.hn-bkt.clouddn.com/time.png" />
- <view>
- <text wx:if="{{item.appointment_time==0}}">随时可看</text>
- <text wx:else="">{{tools.transitionTime(item.appointment_time)}}</text>
- </view>
- </view>
- <view class="right delete" id="{{item.id}}" bindtap="deleteAppointment">删除</view>
- </view>
- </view>
- </block>
- </block>
- <block wx:else="">
- <nodata />
- </block>
|