|
@@ -14,10 +14,11 @@
|
|
|
<view wx:for="{{appointmentList}}" wx:key="index" class="data-item">
|
|
|
<view class="top date ittflex-jcb">
|
|
|
<text class="top-date">{{item.appointmentTime}}</text>
|
|
|
- <!-- status 1:申请 待服务 2.取消 3.完成 -->
|
|
|
+ <!-- status 1 待服务,2,3 已取消 4: 已完成 5.超时 -->
|
|
|
<text class="status s-wait" wx:if="{{item.status == 1}}">待服务</text>
|
|
|
- <text class="status s-done" wx:if="{{item.status == 3}}">已完成</text>
|
|
|
- <text class="status s-cancel" wx:if="{{item.status == 2}}">已取消</text>
|
|
|
+ <text class="status s-done" wx:if="{{item.status == 4}}">已完成</text>
|
|
|
+ <text class="status s-cancel" wx:if="{{item.status == 2 || item.status == 3}}">已取消</text>
|
|
|
+ <text class="status s-done" wx:if="{{item.status == 5}}">超时</text>
|
|
|
</view>
|
|
|
<view class="center info">
|
|
|
<view class="username info-item">
|