<view><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['list','',index]]]]]]]}}" class="data" bindtap="__e"><view class="top"><view class="left"><view class="title"><text>{{"工单编号："+item.jobNo}}</text><text data-event-opts="{{[['tap',[['copy',['$0'],[[['list','',index,'repairNo']]]]]]]}}" class="padding-left-20" catchtap="__e">复制</text></view></view><view class="right"><block wx:if="{{item.jobStatus==-1}}"><text class="text-red">已取消</text></block><block wx:if="{{item.jobStatus==0}}"><text class="text-orange">待处理</text></block><block wx:if="{{item.jobStatus==1}}"><text>已完成</text></block><block wx:if="{{item.jobStatus==2}}"><text class="text-orange">待评价</text></block></view></view><view class="item"><view class="left"><view style="padding:0 30rpx;"><view class="content"><text class="padding-right-10">所在小区：</text><text>{{item.residentialName}}</text></view><view class="content"><text class="padding-right-10">维修位置：</text><text>{{item.reportPosition}}</text></view><view class="content"><text class="padding-right-10">故障描述：</text><text style="line-height:50rpx;">{{item.reportDetail}}</text></view></view></view></view><view class="bottom"><button class="cu-btn  sm round line-black margin-right-20" open-type="contact" data-event-opts="{{[['tap',[['',['$event']]]]]}}" catchtap="__e">联系物业</button><block wx:if="{{item.jobStatus==0}}"><view data-event-opts="{{[['tap',[['cancel',['$0'],[[['list','',index]]]]]]]}}" class="cu-btn  sm round bg-blue" catchtap="__e">取消工单</view></block><block wx:if="{{item.jobStatus==-1}}"><view data-event-opts="{{[['tap',[['deleteItem',['$0'],[[['list','',index]]]]]]]}}" class="cu-btn  sm round bg-blue" catchtap="__e">删除工单</view></block><block wx:if="{{item.jobStatus==1}}"><view data-event-opts="{{[['tap',[['comment',['$0'],[[['list','',index]]]]]]]}}" class="cu-btn  sm round bg-blue" catchtap="__e">写评价</view></block></view></view></block></view>