<!--subPackage/page/pages/orderBenefit/orderBenefit.wxml-->
<view class="page-order-benefit">
    <view class="order-benefit-wrap" wx:if="{{orderBenefitList && orderBenefitList.length > 0}}">
      <view class="order-benefit-list" wx:for="{{orderBenefitList}}" wx:key="{{index}}">
        <view class="top-info">
          <view class="benefit-type">
            <image class="benefit-img" src="{{item.awardType  == 1 ? '/assets/imgs/7_1_0/integral-icon.png' : '/assets/imgs/7_1_0/rmb.png'}}" mode="widthFix"></image>
            <text class="benefit-desc">{{item.awardType  == 1 ? item.awardDetails : item.couponName}}</text>
          </view>
          <view class="benefit-way">
            {{item.typeName}}
          </view>
        </view>

        <view class="bottom-info">
          <view class="benefit-order" wx:if="{{item.tradeId}}">订单号：{{item.tradeId}}</view>
          <view class="benefit-time">{{item.createTime}}</view>
        </view>
      </view>
    </view>
    <view class="empty" wx:if="{{!orderBenefitList || orderBenefitList.length < 1}}">暂无订单收益~</view>
  <view class="benefit-tips">
    <text>默认显示前50条</text>
  </view>
  	<!--goHome-->
	<go-home />
</view>
