OrderInfo.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <template>
  2. <view class="info-card">
  3. <!-- <view class="card-header">
  4. <image src="/static/images/verification/icon-order.png"></image>
  5. <text class="card-title">订单信息</text>
  6. </view> -->
  7. <view class="card-body">
  8. <!-- <view class="info-row">
  9. <text class="info-label">订单类型:</text>
  10. <text class="info-value">普通订单</text>
  11. </view> -->
  12. <view class="info-row">
  13. <text class="info-label">运单单号:</text>
  14. <text class="info-value">{{orderDetail.shopOrderId}}</text>
  15. </view>
  16. <view class="info-row">
  17. <text class="info-label">物品信息:</text>
  18. <text class="info-value">{{orderDetail.userInfo.nickName}}</text>
  19. </view>
  20. <view class="info-row">
  21. <text class="info-label">件数:</text>
  22. <text class="info-value">{{orderDetail.userInfo.nickName}}</text>
  23. </view>
  24. <view class="info-row">
  25. <text class="info-label">付款方式:</text>
  26. <!-- <text class="duration">{{ ValidationUtils.encryptPhone(orderDetail.userInfo.userPhone) }}</text> -->
  27. <text class="info-value">{{orderDetail.userInfo.userPhone}}</text>
  28. </view>
  29. <view class="info-row">
  30. <text class="info-label">计费重量:</text>
  31. <text class="info-value">{{orderDetail.shopUserTime}}</text>
  32. </view>
  33. <view class="info-row">
  34. <text class="info-label">实际重量:</text>
  35. <text class="info-value">{{orderDetail.orderCreateTime}}</text>
  36. </view>
  37. <view class="info-row">
  38. <text class="info-label">实际体积:</text>
  39. <text class="info-value price">¥{{orderDetail.shopOrderAmount}}</text>
  40. </view>
  41. <view class="info-row">
  42. <text class="info-label">下单时间:</text>
  43. <text class="info-value price">¥{{orderDetail.shopOrderAmount}}</text>
  44. </view>
  45. </view>
  46. </view>
  47. </template>
  48. <script setup>
  49. import {
  50. defineProps
  51. } from 'vue'
  52. const props = defineProps({
  53. orderDetail: {
  54. userInfo:{
  55. userPhone:"",
  56. nickName:''
  57. },
  58. shopOrderId:'',
  59. orderCreateTime:'',
  60. shopUserTime:'',
  61. shopOrderAmount:''
  62. }
  63. })
  64. </script>
  65. <style scoped lang="scss">
  66. .info-card {
  67. background-color: #ffffff;
  68. border-radius: 16rpx;
  69. overflow: hidden;
  70. padding: 20rpx;
  71. .card-header {
  72. display: flex;
  73. align-items: center;
  74. image {
  75. width: 35rpx;
  76. height: 35rpx;
  77. }
  78. .card-title {
  79. height: 48rpx;
  80. line-height: 48rpx;
  81. font-weight: 400;
  82. font-size: 32rpx;
  83. font-weight: bold;
  84. color: #333;
  85. margin-left: 10rpx;
  86. }
  87. }
  88. }
  89. .info-row {
  90. height: 44rpx;
  91. line-height: 44rpx;
  92. display: flex;
  93. justify-content: space-between;
  94. align-items: center;
  95. margin-top: 16rpx;
  96. &:last-child {
  97. border-bottom: none;
  98. }
  99. .info-label {
  100. font-size: 28rpx;
  101. color: #666666;
  102. }
  103. .info-value {
  104. font-size: 28rpx;
  105. color: #333;
  106. &.price {
  107. color: #FD5F3C;
  108. font-weight: bold;
  109. }
  110. }
  111. }
  112. </style>