index.wxml 2.55 KB
<!--dist/pages/orderDetail/index.wxml-->
<scroll-view class='order-detail-scrool-view'>
  <text class='order-detail-status-title-txt'>{{statusDetail.statuStr}}</text>
  <view class='order-detail-time-view'>
    <image class='order-detail-time-image' src='../../static/images/address.png'></image>
    <text class='order-detail-count-down-txt'>{{statusDetail.leftTime}}</text>
  </view>
  <text class='order-detail-tips-txt'>{{statusDetail.detailDesc}}</text>
  <view class='order-detail-split-line'></view>
  <!-- 地址信息 -->
  <view class='order-detail-address-view'>
    <image class='order-detail-time-image' src='../../static/images/address.png'></image>
    <view class='order-detail-address-info-view'>
      <text class='order-detail-address-user-name-txt'>{{userAddress.consignee}}</text>
      <text class='order-detail-address-detail-info-txt'>{{userAddress.area}}{{userAddress.address}}</text>
      <text class='order-detail-address-phone-num-txt'>{{userAddress.mobile}}</text>
    </view>
  </view>
  <view class='order-detail-split-line'></view>
  <orderproductinfo id="orderproductinfo" product-info="{{goodsInfo}}" />
  <view class='order-detail-split-line'></view>
  <view class='order-detail-count-view' style='margin-top:28rpx;'>
    <text class='order-detail-sum-grey-txt'>商品金额:</text>
    <text class='order-detail-sum-grey-txt'>¥{{priceInfo.goodPrice}}</text>
  </view>
  <view class='order-detail-count-view'>
    <text class='order-detail-sum-grey-txt'>运费:</text>
    <text class='order-detail-sum-grey-txt'>¥{{priceInfo.feePrice}}</text>
  </view>
  <view class='order-detail-count-view'>
    <text class='order-detail-sum-black-txt'>实际金额:</text>
    <text class='order-detail-sum-black-txt'>¥{{priceInfo.realPayPrice}}</text>
  </view>
  <view class='order-detail-split-line'></view>
  <view class='order-detail-create-time-view'>
    <text class='order-detail-create-time-txt'>创建时间:</text>
    <text class='order-detail-create-time-txt'>{{submitOrderTimeStr}}</text>
  </view>
  <view>
    <text class='order-detail-create-time-txt'>订单编号:</text>
    <text class='order-detail-create-time-txt'>{{orderCode}}</text>
  </view>
  <view wx:if='{{payment}}'>
    <text class='order-detail-create-time-txt'>支付方式:</text>
    <text class='order-detail-create-time-txt'>{{paymentStr}}</text>
  </view>
  <view class='order-detail-split-line'></view>
</scroll-view>

<orderdetailaction id="orderdetailaction" buttons="{{buttons}}" order-code="orderCode" real-price="{{priceInfo.realPayPrice}}" product-id='{{goodsInfo.productId}}'/>