球星卡微信小程序
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.

147 lines
3.0 KiB

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