<!--pages/member/myOrder/Aftersales/Aftersales.wxml-->
<!-- <view class="section">
	<view class="close">
		<view class="state">
			<view class="b">{{status_name}}</view>
			<view class="p" wx:if="{{reject_reason}}">驳回原因:<text class="span">{{reject_reason}}</text></view>
		</view>
		<view class="flow">
			<view class="h2"> 退款申请流程：</view>
			<view class="ul">
				<view class="li">1、发起退款申请</view>
				<view class="li">2、商家确认后退款到您的账户</view>
				<view class="li">
					<view class="p">如果商家未处理：请及时与商家联系</view>
				</view>
			</view>
		</view>
	</view>
	<view class="address" wx:if='{{ address && address.contact}}'>
		<view class="dl">
			<view class="dt">退货地址信息</view>
			<view class="dd">收件人：{{address.contact}}</view>
			<view class="dd">联系电话：{{address.mobile}}</view>
			<view class="dd">退货地址：{{address.province_name}} {{address.city_name}} {{address.district_name}}
				{{address.street_name}}
				{{address.address}}</view>
		</view>
	</view>
	<view class="line"></view>
	<view class="consult-detail">
		<view class="h1">协商详情</view>
		<view class="ul list">
			<view class="li"><text class="span">售后类型：</text> <text class="b"> {{refund_type_name}}</text></view>
			<view class="li"><text class="span">退款金额：</text> <text class="b"> {{language['money']}} {{price}}</text></view>
			<view class="li"><text class="span">退款原因：</text> <text class="b"> {{reason}}</text></view>
			<view class="li"><text class="span">退款说明：</text> <text class="b"> {{content}}</text></view>
			<view class="li"><text class="span">申请时间：</text> <text class="b"> {{create_time}} </text></view>
			<view class="li"><text class="span">卖家留言：</text> <text class="b"> {{ remark.length > 0 ? remark : '无' }} </text></view>
			<view class="li" wx:if="{{images && images.length > 0}}">
				<text class="span">图片凭证：</text>
				<view class="qitaimgbox">
					<view class="qitaimage" wx:for="{{images}}" wx:key="index">
						<image class="qitaMax" catchtap="preview" data-src="{{index}}" src="{{item}}"></image>
					</view>
				</view>
			</view>
		</view>
	</view>

	<view style="height: 98rpx"></view>
	<view class="detail_pay">
		<block wx:for="{{button_models}}" wx:key="index">
				<view wx:if="{{index < 2}}" catchtap="operation" data-btn="{{item}}" class="order_delete">
					{{ item.name }}
				</view>
				<view wx:if="{{index == 2 && button_models.length > 2}}" data-item="{{item}}" catchtap="showMore" style="position: relative;" class="order_delete red-button">
					更多
				</view>
				<view class="trans" wx:if="{{index == 2 && showID == item.value}}"></view>
				<view class="more-button" wx:if="{{index == 2 && showID == item.value}}">
					<view data-btn="{{item}}" catchtap="operation"  class="p">
						{{item.name}}
					</view>
				</view>

		</block>
	</view>

</view> -->




<view class="aftersales-status">
      <text>{{ status_name }}</text>
      <text wx:if="{{reject_reason}}"> 驳回原因：{{ reject_reason }} </text>
    </view>

    <view class="page-wrapper">
      <view class="return-info">
        <view class="return-info-text">售后信息</view>
        <view class="return-goods-list">
          <view class="return-goods-item" wx:for="{{refund_order_goods}}">
            <view class="return-goods-face">
              <image src="{{item.goods_thumb}}" />
            </view>
            <view class="return-goods-content">
              <view class="return-goods-title">{{item.goods_title}}</view>
              <view class="return-goods-desc">
                <view class="return-goods-num">数量：{{item.refund_total}}</view>
                <view class="return-goods-price" wx:if="{{myData.refund_type != 2}}">申请退款金额：<text class="goods-price">￥{{item.refund_price}}</text></view>
              </view>
            </view>
          </view>
        </view>
        <view class="return-details">
          <view class="return-details-item">售后类型：{{ refund_type_name }}</view>
          <view class="return-details-item" wx:if="{{myData.refund_type != 2}}">退款金额： ￥{{ price }}
					<view wx:if="{{freight_price || other_price}}" style="color:#999;font-size:10px;">
              （<block wx:if="{{freight_price}}">含运费￥{{ freight_price }}</block
              ><block wx:if="{{other_price}}"> 其他费用￥{{ other_price }}</block
              >）
            </view></view>
          <view class="return-details-item">售后原因：{{ reason }}</view>
          <view class="return-details-item">申请说明：{{ content }}</view>
          <!-- <view class="return-details-item" v-if="images && images.length > 0">
            <view class="photoBox" v-for="(val, index) in images" :key="index">
              <img :src="val" @click="showimg(index)" />
            </view>
          </view> -->
          <view class="return-details-item">申请时间：{{ create_time }}</view>
          <view class="return-details-item">卖家留言：{{ remark.length > 0 ? remark : "无" }}</view>
        </view>
      </view>
      <view class="address-info">
        <view class="address-info-text">退货地址信息</view>
        <view class="address-contact address-text">{{ address.contact }} {{ address.mobile }}
					<i class="iconfont icon-bc_copy" catchtap="copyexpress_sn" data-data="{{address.contact + address.mobile+address.province_name+address.city_name+address.district_name+address.street_name+address.address}}" data-msg="退货地址"></i>
				</view>
        <view class="address-site address-text">{{ address.province_name }} {{ address.city_name }} {{ address.district_name }} {{ address.street_name }} {{ address.address }}</view>
        <view class="address-express address-text" wx:if="{{return_express && return_express.express_sn}}">
          <view class="address-express-num">
						<text catchtap="copyexpress_sn" data-data="{{return_express.express_sn}}" data-msg="快递单号">快递单号：{{return_express.express_sn}}</text>
						<i class="iconfont icon-bc_copy" catchtap="copyexpress_sn" data-data="{{return_express.express_sn}}" data-msg="快递单号"></i>
					</view>
          <view class="address-express-btn" bindtap="gotoLogistics">查看物流</view>
          <i class="iconfont icon-advertise-next"></i>
        </view>
      </view>
      <view class="recovery-info" wx:if="{{myData.other_data && myData.refund_way_type == 1}}">
			 <!-- refund_way_type:1京东上门(显示)||0：自行寄回（不显示） -->
        <view class="recovery-info-text">取件信息</view>
        <view class="recovery-items">
          <view class="recovery-itme">
            <view class="recovery-text">
              取件地址：
            </view>
            <view class="recovery-content">
              <view class="recovery-desc">
                {{myData.other_data.pick_up_name}}/{{myData.other_data.pick_up_tel}}
              </view>
              <view class="recovery-desc">
								{{myData.other_data.pick_up_address}}
              </view>
            </view>
          </view>
          <view class="recovery-itme">
            <view class="recovery-text">
              取件时间：
            </view>
            <view class="recovery-content">
              {{myData.other_data.start_time}} {{myData.other_data.end_time}}
            </view>
          </view>
        </view>
      </view>
      <view class="negotiation-record" bindtap="gotoNegotiationRecord">
        <text>协商记录</text>
        <i class="iconfont icon-advertise-next"></i>
      </view>
    </view>




    <view style="height: 98rpx"></view>
	<view class="detail_pay">
		<block wx:for="{{button_models}}" wx:key="index">
				<view wx:if="{{index < 2}}" catchtap="operation" data-btn="{{item}}" class="order_delete">
					{{ item.name }}
				</view>
				<view wx:if="{{index == 2 && button_models.length > 2}}" data-item="{{item}}" catchtap="showMore" style="position: relative;" class="order_delete red-button">
					更多
				</view>
				<view class="trans" wx:if="{{index == 2 && showID == item.value}}"></view>
				<view class="more-button" wx:if="{{index == 2 && showID == item.value}}">
					<view data-btn="{{item}}" catchtap="operation"  class="p">
						{{item.name}}
					</view>
				</view>

		</block>
	</view>