球星卡微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

151 lines
3.4 KiB

3 years ago
  1. <template>
  2. <view class="flex-col page">
  3. <view class="flex-col group_3">
  4. <view class="flex-col section_2">
  5. <view class="bottom-group justify-center lf-m-t-20">
  6. <text class="text_2">订单编号</text>
  7. <text class="text_3">{{ details.order_id }}</text>
  8. </view>
  9. <view class="bottom-group justify-center lf-m-t-20" v-if="details.back_express_type">
  10. <text class="text_2">发货物流</text>
  11. <text class="text_3">{{ details.back_express_type }}</text>
  12. </view>
  13. <view class="bottom-group justify-center lf-m-t-20" v-if="details.back_express_type">
  14. <text class="text_2">发货单号</text>
  15. <text class="text_3">{{ details.back_express_numb }}</text>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="card">
  20. <u-steps current="0" direction="column" :dot="true">
  21. <u-steps-item :title="item.title" :desc="item.create_time" v-for="(item, index) in details.logs" :key="index">
  22. <!-- <text class="slot-icon qxk-iconfont qxk-icon-kefujiqirenbeifen lf-font-50" slot="icon" style="color: #e6a33c;"></text> -->
  23. <image style="width: 45rpx; height: 45rpx;" :src="item.icon_url" slot="icon"></image>
  24. </u-steps-item>
  25. </u-steps>
  26. </view>
  27. </view>
  28. </template>
  29. <script>
  30. import { gradingLogs } from '@/service/grading.js'
  31. export default {
  32. data() {
  33. return {
  34. id: '',
  35. details: {}
  36. };
  37. },
  38. onLoad(options){
  39. this.id = options.id;
  40. this.getGradingLogs();
  41. },
  42. methods: {
  43. async getGradingLogs(){
  44. let res = await gradingLogs(this.id);
  45. this.details = res.data.datas;
  46. }
  47. }
  48. };
  49. </script>
  50. <style scoped lang="scss">
  51. .bottom-group {
  52. position: relative;
  53. }
  54. .list-item {
  55. padding: 5rpx 6rpx;
  56. }
  57. .top-group {
  58. color: rgb(51, 51, 51);
  59. font-size: 28rpx;
  60. font-weight: 500;
  61. line-height: 40rpx;
  62. white-space: nowrap;
  63. }
  64. .text_8 {
  65. margin-left: 76rpx;
  66. color: rgb(119, 119, 119);
  67. font-size: 24rpx;
  68. font-weight: 500;
  69. line-height: 34rpx;
  70. white-space: nowrap;
  71. }
  72. .image_6 {
  73. width: 56rpx;
  74. height: 56rpx;
  75. }
  76. .text_6 {
  77. margin-left: 20rpx;
  78. }
  79. .page {
  80. background-color: #f6f6f6;
  81. width: 100%;
  82. overflow-y: auto;
  83. height: 100%;
  84. }
  85. .group_3 {
  86. padding-top: 2rpx;
  87. flex: 1 1 auto;
  88. overflow-y: auto;
  89. }
  90. .section_2 {
  91. padding: 40rpx 32rpx;
  92. background-color: rgb(255, 255, 255);
  93. }
  94. .list {
  95. margin-top: 30rpx;
  96. padding: 35rpx 26rpx 16rpx;
  97. background-color: rgb(255, 255, 255);
  98. }
  99. .group_4 {
  100. margin-top: 20rpx;
  101. }
  102. .text_2 {
  103. color: rgb(119, 119, 119);
  104. font-size: 32rpx;
  105. font-weight: 500;
  106. line-height: 44rpx;
  107. white-space: nowrap;
  108. position: absolute;
  109. left: 0;
  110. top: 50%;
  111. transform: translateY(-50%);
  112. }
  113. .text_3 {
  114. color: rgb(51, 51, 51);
  115. font-size: 32rpx;
  116. font-weight: 500;
  117. line-height: 44rpx;
  118. white-space: nowrap;
  119. text-align: left;
  120. display: inline-block;
  121. width: 420rpx;
  122. margin-left: 60rpx;
  123. }
  124. .text_4 {
  125. color: rgb(119, 119, 119);
  126. font-size: 32rpx;
  127. font-weight: 500;
  128. line-height: 44rpx;
  129. white-space: nowrap;
  130. }
  131. .text_5 {
  132. margin-left: 10rpx;
  133. color: rgb(43, 102, 234);
  134. font-size: 32rpx;
  135. font-weight: 500;
  136. line-height: 44rpx;
  137. white-space: nowrap;
  138. }
  139. .card{
  140. width: 750rpx;
  141. height: auto;
  142. background-color: #FFFFFF;
  143. margin-top: 20rpx;
  144. padding: 32rpx;
  145. box-sizing: border-box;
  146. }
  147. </style>