<!--packageH/installationSever/installationSeverAftersale/installationSeverAftersale.wxml-->

<view class="saleList" wx:for="{{listData}}">
  <view class="timeStatus">
    <text>申请时间：{{item.apply_time}}</text>
    <text style="color: #f15354">{{item.state_name}}</text>
  </view>
  <view class="shopBox">
    <view class="shopimg">
      <image src="{{item.goods_thumb}}"></image>
    </view>
    <view class="shopTitle">{{item.title}}</view>
  </view>
  <view class="afterWhyTxt">售后原因</view>
  <view class="afterWhy">{{item.refund_reason}}</view>
  <view class="afterImgList">
    <view class="img" wx:for="{{item.refund_image}}" wx:for-index="imgkey" wx:for-item="img" wx:key="imgkey" bindtap="bindPreviewImage" data-arr="{{item.refund_image}}" data-src="{{img}}">
      <image src="{{img}}"></image>
    </view>
  </view>
  <view class="worker_name" wx:if="{{item.worker_name}}">{{another_name.worker_name}}:{{item.worker_name}}</view>
  <view class="worker_mobile" wx:if="{{item.worker_mobile}}">联系电话:{{item.worker_mobile}}</view>
  <block wx:if="{{item.refuse_reason}}">
    <view class="afterWhyTxt" style="margin-top:0;">驳回原因</view>
    <view class="afterWhy">{{item.refuse_reason}}</view>
  </block>
  <view class="afterBtn">
    <view class="btn" wx:for="{{item.button_group}}" wx:for-index="btnkey" wx:for-item="btn" wx:key="btnkey"
      data-refund_id="{{item.id}}" data-btn="{{btn}}" data-index="{{index}}" bindtap="handBtnClick">{{btn.name}}</view>
  </view>
</view>


<view wx:if="{{networkLoading && listData.length==0}}" class="blank">
  <image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='widthFix' />
</view>