<!-- 申请退款（选择退款方式） -->
<!--pages/chooseRefundWay/chooseRefundWay.wxml-->

<view class="page">
  <!-- 头部商品信息 -->
  <view class="top-box">
    <text class="order-number">订单编号：{{refundItem.orderNumber}}</text>
  </view>

  <view class="goods-msg-box" wx:if="{{refundType==2}}">
    <view class="img-box">
      <image src="{{refundItem.pic}}"></image>
    </view>
    <view class="goods-msg">
      <view class="goods-title">{{refundItem.prodName}}</view>
      <view class="goods-quantity">数量：{{refundItem.prodCount}}件</view>
    </view>
  </view>

  <view wx:if="{{refundType==1}}">
    <block wx:for="{{refundItem.orderItemDtos}}" wx:key="*this">
      <view class="refund-goods-item">
        <!-- 图片 -->
        <view class="img-box">
          <image src="{{item.pic}}"></image>
        </view>
        <!-- 信息 -->
        <view class="goods-text">
          <view class="goods-title">{{item.prodName}}</view>
          <view class="goods-quantity">数量：{{item.prodCount}}件</view>
        </view>
      </view>
    </block>
  </view>


  <!-- 选择退款方式 -->
  <view class="choose-refund-way">
    <view class="choose-tit">选择退款方式</view>
    <!-- 仅退款 -->
    <view class="refund-way" bindtap="toRefundPage" data-type="1">
      <view class="refund-way-tit">仅退款</view>
      <view class="refund-way-explain">未收到货，或无需退货仅需退款</view>
      <view class="enter">
        <image src="../../images/icon/more.png"></image>
      </view>
    </view>
    <!-- 退货退款 -->
    <view class="refund-way" bindtap="toRefundPage" data-type="2">
      <view class="refund-way-tit">退货退款</view>
      <view class="refund-way-explain">已收到货，需要退货退款</view>
      <view class="enter">
        <image src="../../images/icon/more.png"></image>
      </view>
    </view>

  </view>


</view>