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.

official-car-issue-result.vue 3.5KB

2 年之前
2 年之前
2 年之前
2 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <!-- 公务车发行-订单查询结果 -->
  2. <template>
  3. <view class="list">
  4. <view class="item">
  5. <view class="head">
  6. <view class="name">
  7. <image
  8. :src="`${$imgUrl}issueActivation/icon-numberplate.png`"
  9. class="icon"
  10. ></image>
  11. <text class="title">{{ state.numberplate }}</text>
  12. </view>
  13. </view>
  14. <view class="detail">
  15. <view class="orders">
  16. <view class="order-text">
  17. <text class="type">车牌颜色:</text>
  18. <text class="value">{{ state.numberplateColor }}</text>
  19. </view>
  20. <view class="order-text odd">
  21. <text class="type">订单进度:</text>
  22. <text class="value">{{ state.orderProgress }}</text>
  23. </view>
  24. <view class="order-text">
  25. <text class="type">订单状态:</text>
  26. <text class="value">{{
  27. state.orderStatus === 1 ? "待发货" : "待激活"
  28. }}</text>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="btns" v-if="state.orderStatus === 2">
  33. <view
  34. class="btn btn-primary as-gravity-center"
  35. @click="$util.navTo('/pages/bluetooth/bluetooth')"
  36. >去激活</view
  37. >
  38. </view>
  39. </view>
  40. </view>
  41. </template>
  42. <script setup lang="ts">
  43. import { reactive } from "vue";
  44. import { msg } from "@/utils/utils";
  45. const state = reactive({
  46. numberplate: "贵A1236",
  47. numberplateColor: "白色",
  48. orderProgress: "省中心已制卡",
  49. orderStatus: 2, //1-待发货 2-待激活
  50. });
  51. </script>
  52. <style>
  53. page {
  54. background-color: #eef7f7;
  55. }
  56. </style>
  57. <style lang="scss" scoped>
  58. .list {
  59. padding: 30rpx 30rpx 140rpx;
  60. display: flex;
  61. flex-direction: column;
  62. }
  63. .list .item {
  64. background: #ffffff;
  65. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  66. border-radius: 20rpx;
  67. box-sizing: border-box;
  68. display: flex;
  69. flex-direction: column;
  70. margin-bottom: 30rpx;
  71. }
  72. .list .item .head {
  73. display: flex;
  74. justify-content: space-between;
  75. align-items: center;
  76. padding: 20rpx 28rpx;
  77. border-bottom: 1px solid #dcdcdc;
  78. }
  79. .list .item .head .icon {
  80. width: 38rpx;
  81. height: 38rpx;
  82. margin-right: 20rpx;
  83. }
  84. .list .item .head .name {
  85. display: flex;
  86. align-items: center;
  87. }
  88. .list .text-green {
  89. font-size: 26rpx;
  90. color: #00b38b;
  91. }
  92. .list .text-orange {
  93. font-size: 26rpx;
  94. color: #ff8000;
  95. }
  96. .list .title {
  97. font-size: 30rpx;
  98. color: #333;
  99. }
  100. .list .detail {
  101. display: flex;
  102. justify-content: space-between;
  103. align-items: center;
  104. padding: 30rpx 32rpx;
  105. }
  106. .list .detail .type {
  107. font-size: 26rpx;
  108. color: #999;
  109. }
  110. .list .detail .value {
  111. font-size: 26rpx;
  112. color: #333;
  113. }
  114. .list .finished .detail .value {
  115. color: #999;
  116. }
  117. .list .detail .odd {
  118. margin: 20rpx 0;
  119. }
  120. .list .cny {
  121. font-size: 26rpx;
  122. color: #333;
  123. }
  124. .list .finished .cny {
  125. color: #999;
  126. }
  127. .list .amount {
  128. font-size: 40rpx;
  129. font-weight: bold;
  130. }
  131. .list .finished .amount {
  132. color: #999;
  133. }
  134. .list .btns {
  135. display: flex;
  136. align-items: center;
  137. justify-content: flex-end;
  138. border-top: 1px solid #dcdcdc;
  139. margin: 0 30rpx;
  140. padding: 20rpx 0;
  141. }
  142. .list .btn {
  143. height: 60rpx;
  144. // line-height: 60rpx;
  145. text-align: center;
  146. border-radius: 30rpx;
  147. padding: 0 24rpx;
  148. font-size: 26rpx;
  149. box-sizing: border-box;
  150. margin-right: 20rpx;
  151. }
  152. .list .btns .btn:last-child {
  153. margin: 0;
  154. }
  155. .list .btn-primary {
  156. border: 1px solid #00b38b;
  157. color: #00b38b;
  158. }
  159. .list .btn-normal {
  160. border: 1px solid #dcdcdc;
  161. color: #333;
  162. }
  163. </style>