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.3KB

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