active.vue 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <template>
  2. <div class="container">
  3. <custom-header name="查看详情"></custom-header>
  4. <div class="content">
  5. <div class="steps-wrap">
  6. <steps class="steps" direction="vertical" :active="0">
  7. <step>
  8. <div class="lable">订单处理中,开始配置</div>
  9. <span class="value">2025-03-22 12:40</span>
  10. </step>
  11. <step>
  12. <div>富丽富力园16栋</div>
  13. <span class="value">张贺飞 198****3165</span>
  14. </step>
  15. </steps>
  16. <div class="btn-txt">详情 ></div>
  17. </div>
  18. <div class="card">
  19. <div class="card-top">
  20. <img src="@/assets/img/mine/img-photo.png" alt="" />
  21. <div class="item-text">
  22. <div class="name">
  23. <span>糯米糍</span>
  24. <div class="mark">综合评分:92分</div>
  25. <div class="age">树龄:16年</div>
  26. </div>
  27. <div class="txt">唯一编码:<span>2******</span></div>
  28. <div class="txt">高质产量:<span>15元/斤</span></div>
  29. <div class="txt">预估上市时间:<span>2025.06.25</span></div>
  30. </div>
  31. </div>
  32. <div class="card-bottom">
  33. <img src="@/assets/img/mine/chat-black.png" alt="">
  34. 联系果园
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </template>
  40. <script setup>
  41. import customHeader from "@/components/customHeader.vue";
  42. import { Step, Steps } from "vant";
  43. </script>
  44. <style lang="scss" scoped>
  45. .container {
  46. width: 100%;
  47. height: calc(100vh - 40px);
  48. .content {
  49. width: 100%;
  50. height: 100%;
  51. background: #f2f3f5;
  52. padding: 20px 12px;
  53. box-sizing: border-box;
  54. .steps-wrap {
  55. display: flex;
  56. justify-content: space-between;
  57. background: #fff;
  58. padding: 12px;
  59. border-radius: 5px;
  60. .steps {
  61. width: calc(100% - 70px);
  62. .lable {
  63. font-size: 16px;
  64. font-weight: 500;
  65. }
  66. .value {
  67. color: rgba(0, 0, 0, 0.3);
  68. font-size: 12px;
  69. margin-top: 4px;
  70. display: inline-block;
  71. }
  72. ::v-deep {
  73. .van-step--vertical:after {
  74. border-bottom-width: 0px;
  75. }
  76. .van-step {
  77. color: #000;
  78. }
  79. .van-step__circle-container {
  80. font-size: 14px;
  81. }
  82. .van-step__circle {
  83. width: 10px;
  84. height: 10px;
  85. background: #ececec;
  86. }
  87. }
  88. }
  89. .btn-txt {
  90. color: rgba(0, 0, 0, 0.4);
  91. font-size: 12px;
  92. }
  93. }
  94. .card {
  95. background: #fff;
  96. border-radius: 5px;
  97. padding: 12px;
  98. margin-top: 12px;
  99. .card-top{
  100. display: flex;
  101. margin-bottom: 12px;
  102. img {
  103. width: 89px;
  104. height: 81px;
  105. border-radius: 8px;
  106. margin-right: 12px;
  107. object-fit: cover;
  108. }
  109. .item-text {
  110. color: #999999;
  111. font-size: 12px;
  112. line-height: 1.6;
  113. .name {
  114. display: flex;
  115. align-items: center;
  116. span {
  117. font-size: 15px;
  118. color: #000;
  119. font-weight: 500;
  120. margin-right: 5px;
  121. }
  122. div {
  123. margin-left: 5px;
  124. border-radius: 4px;
  125. font-size: 12px;
  126. padding: 2px 5px;
  127. &.mark {
  128. background: rgba(50, 203, 226, 0.25);
  129. color: #00bedb;
  130. }
  131. &.age {
  132. background: rgba(255, 196, 0, 0.2);
  133. color: #f0a400;
  134. }
  135. }
  136. }
  137. .txt {
  138. span {
  139. color: #000;
  140. }
  141. }
  142. }
  143. }
  144. .card-bottom{
  145. border-top: 1px solid rgba(0, 0, 0, 0.1);
  146. padding-top: 12px;
  147. display: flex;
  148. align-items: center;
  149. justify-content: center;
  150. img{
  151. width: 17px;
  152. height: 15px;
  153. margin-right: 5px;
  154. }
  155. }
  156. }
  157. }
  158. }
  159. </style>