<!--packageH/newRetail/newRetailSalesRecordDetail/newRetailSalesRecordDetail.wxml-->
<view id="newRetail-salesRecord_detail">
    <view class="list">
      <view class="list-child">
        <view class="member flex-box">
          购买会员：
          <image class="member-acator" src="{{info.buyer_avatar}}" alt="" />
          <view class="member-name">{{ info.buyer_nickname }}</view>
        </view>
        <view class="order-price flex-box" wx:if="{{info.money}}">
          订单金额：
          <view class="price-num">￥{{ info.money }}</view>
        </view>
        <view class="order-sn order-price">订单类型：{{ this.$route.params.mode == 0 ? "代理销售" : "零售" }}</view>
        <view class="order-sn order-price" wx:if="{{info.num}}">数量：{{ info.num }}</view>
        <view class="order-sn order-price" wx:if="{{info.pay_time}}">支付时间：{{ info.pay_time }}</view>
        <view class="order-sn order-price" wx:if="{{info.order_sn}}">订单编号：{{ info.order_sn }}</view>
        <view class="order-sn " wx:if="{{mode == 0 && info.level_name}}">套餐：{{ info.level_name }}</view>
      </view>
    </view>
    <view class="order-box" wx:if="{{mode == 1}}">
      <view class="box-title">包含商品</view>
      <view class="good-info" wx:for="{{info.goods}}"wx:for-item="good">
        <image class="good-img" src="{{good.goods_thumb}}" alt="" />
        <view class="goods-main">
          <view class="good-title">{{ good.goods_title }}</view>
          <view class="good-other">
            <view class="goods-sku">
              <template wx:if="{{good.goods_option}}">规格：{{ good.option_title }}</template> X{{ good.goods_num }}
            </view>
            <view class="good-num">￥{{ good.goods_price }}</view>
          </view>
        </view>
      </view>
      <view class="order-price">
        合计：
        <view class="order-price-red">{{ info.money }}元</view>
      </view>
    </view>
    <view style="height:4rem;"></view>
  </view>
