<import-sjs from="../../wxs/utils.sjs" name="utils"/>
<!--pages/consumptionDetails.axml-->
<view a:if="{{!isShowDetail}}">
  <view class="no-speed">暂无消费</view>
</view>
<view class="consumption" a:if="{{isShowDetail}}">
  <view class="consumption-top">
    <view class="top-ract"/>
    <view class="top-order">
      <view>订单编号:
				
        <span class="top-data">{{orderDetail.orderNo}}</span>
      </view>
      <view>消费时间:
				
        <span class="top-data">{{orderDetail.payTime}}</span>
      </view>
      <view>消费门店:
				
        <span class="top-data">{{orderDetail.storeName}}</span>
        <span class="top-statsu">{{orderDetail.status}}</span>
      </view>
    </view>
  </view>
  <view class="consumption-table">
    <table tableThemes="{{themeArr}}" tableItems="{{orderDetail.productInfo}}"/>
  </view>
  <!--  <image class="consumption-img" src="./../../images/3x-28.png"  mode="widthFix"/>-->
  <view class="consumption-line">
    <view class="semi-circle4"/>
    <view class="semi-circle3"/>
  </view>
  <view class="consumption-bottom">
    <view class="bottom-left">共{{totalNum}}件商品</view>
    <view class="bottom-right">
      <view>订单合计:
				
        <span class="bottom-order-total">{{utils.numberFormat(orderDetail.totalProductMoney/100)}}</span>
      </view>
      <view>优惠合计:
				
        <span class="bottom-coupon-payment">{{utils.numberFormat(orderDetail.couponMoney/100)}}</span>
      </view>
      <view class="bottom-point-total">实付合计:
				
        <span class="bottom-point-payment" a:if="{{orderDetail.realPayMoney}}">+{{utils.numberFormat(orderDetail.realPayMoney/100)}}</span>
      </view>
    </view>
  </view>
  <view class="consumption-tips">-香烟与服务类商品不计分-</view>
</view>