<!--packageB/member/couponLog/couponLog.wxml-->
<view id="couponLog">
    <view class="log-list">
      <view class="list" wx:for="{{list}}">
        <view class="list-top flexjc">
          <view>{{ item.type == 1 ? (pageConfig.name+"会员赠送") : "购物抵扣" }}</view>
          <view class="size12 color-red">{{ item.type == 1 ? "+" : "-" }}{{ item.amount }}</view>
        </view>
        <view class="list-bottom flexjc">
          <view class="size12">{{ item.type == 1 && item.has_one_order ? "" : item.has_one_order.order_sn }}</view>
          <view class="size12 color-999">{{ item.created_at }}</view>
        </view>
      </view>
    </view>
  </view>
