order-detail.wxml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!--pages/orders/order-detail.wxml-->
  2. <view class="container">
  3. <navigation-bar title="{{ statusList[status].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">
  19. <text class="stuff">¥ </text>
  20. <text class="priceZ">{{ goodsInfo.integerPart }}</text>
  21. <text class="priceF">.{{ goodsInfo.decimalPart }}</text>
  22. <!-- ¥ {{ goodsInfo.salePrice }} -->
  23. </view>
  24. </view>
  25. <view class="goods-type">
  26. <view class="goods-card">{{ goodsInfo.typeName }}</view>
  27. <view class="goods-num">x1</view>
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. <!-- <view class="order-time">
  33. <view class="order-item">
  34. <view class="title">订单号</view>
  35. <view class="value">2133442226668</view>
  36. </view>
  37. <view class="order-item">
  38. <view class="title">下单时间</view>
  39. <view class="value">2023-07-12 18:12:45</view>
  40. </view>
  41. </view> -->
  42. </scroll-view>
  43. <view class="order-btn">
  44. <view class="price">
  45. <view class="desc">商品总价:</view>
  46. <view class="currentPrice">
  47. <text class="stuff">¥ </text>
  48. <text class="priceZ">{{ goodsInfo.integerPart }}</text>
  49. <text class="priceF">.{{ goodsInfo.decimalPart }}</text>
  50. </view>
  51. </view>
  52. <view class="btnGroup">
  53. <button type="primary" bind:tap="onSubmit">{{ goodsInfo.orderNo ? '继续支付' : '立即支付' }}</button>
  54. <view class="btnInnerFree" wx:if="{{ goodsInfo.giftFlag }}">当天激活<text>赠{{goodsInfo.giftLongTime}}</text></view>
  55. </view>
  56. </view>
  57. <service wx:if="{{serviceShow}}"></service>
  58. </view>