order-detail.wxml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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"><text>¥</text>{{ 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="orders" bind:tap="onService">
  40. <image src="./images/icon-service.png" />
  41. <text>客服</text>
  42. </view>
  43. <view class="more">
  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. <button type="primary" bind:tap="onSubmit">{{ goodsInfo.orderNo ? '继续支付' : '立即支付' }}</button>
  53. </view>
  54. </view>
  55. <service popShow="{{ showService }}" bind:changePop="changePop"></service>
  56. </view>