order-detail.wxml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!--pages/orders/order-detail.wxml-->
  2. <view class="container">
  3. <navigation-bar title="订单详情"></navigation-bar>
  4. <scroll-view class="record-list" type="list" scroll-y bindscrolltolower="loadMore">
  5. <view class="order-status">
  6. <view class="status">
  7. <image src="{{ statusList[status].logo }}"></image>
  8. <text>{{ statusList[status].title }}</text>
  9. </view>
  10. <view class="tips">{{ statusList[status].content }}</view>
  11. </view>
  12. <view class="order-content">
  13. <view class="item-content">
  14. <image class='goods-icon' src="{{ goodsInfo.pic }}" mode="" />
  15. <view class="goods-desc">
  16. <view class="goodsInfo">
  17. <view class="goods-name">{{ goodsInfo.name }}</view>
  18. <view class="goods-price">¥ {{ goodsInfo.salePrice }}</view>
  19. </view>
  20. <view class="goods-type">
  21. <view class="goods-card">{{ goodsInfo.typeName }}</view>
  22. <view class="goods-num">x1</view>
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. <!-- <view class="order-time">
  28. <view class="order-item">
  29. <view class="title">订单号</view>
  30. <view class="value">2133442226668</view>
  31. </view>
  32. <view class="order-item">
  33. <view class="title">下单时间</view>
  34. <view class="value">2023-07-12 18:12:45</view>
  35. </view>
  36. </view> -->
  37. </scroll-view>
  38. <view class="order-btn">
  39. <view class="price">
  40. <view class="desc">订单金额:</view>
  41. <view class="currentPrice">
  42. <text class="stuff">¥</text>
  43. <text class="priceZ">{{ goodsInfo.integerPart }}</text>
  44. <text class="priceF">.{{ goodsInfo.decimalPart }}</text>
  45. </view>
  46. </view>
  47. <button type="primary" bind:tap="onSubmit">{{ goodsInfo.orderNo ? '继续支付' : '立即支付' }}</button>
  48. </view>
  49. </view>