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.

rescind-carId-select-details.vue 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <template>
  2. <view class="bg">
  3. <view class="title">车辆信息</view>
  4. <!-- <u-form label-width="230" :model="state.form" ref="uForm" :label-style='labelStyle'>
  5. <u-form-item label="用户类型" :left-icon='`${$imgUrl}issuance/point-form.png`' :left-icon-style='leftIcon' borderBottom>
  6. 用户类型
  7. </u-form-item>
  8. <u-form-item label="车牌号" :left-icon='`${$imgUrl}issuance/point-form.png`' :left-icon-style='leftIcon' borderBottom>
  9. 用户类型
  10. </u-form-item>
  11. <u-form-item label="车牌颜色" :left-icon='`${$imgUrl}issuance/point-form.png`' :left-icon-style='leftIcon' borderBottom>
  12. 用户类型
  13. </u-form-item>
  14. <u-form-item label="手机号" :left-icon='`${$imgUrl}issuance/point-form.png`' :left-icon-style='leftIcon' borderBottom>
  15. 用户类型
  16. </u-form-item>
  17. </u-form> -->
  18. <view class="detail-option">
  19. <view class="detail-option-item">
  20. <view class="label">车牌号</view>
  21. <view class="value">{{ state.drivingInfo.plateNum }}</view>
  22. </view>
  23. <view class="detail-option-item">
  24. <view class="label">车辆颜色</view>
  25. <view class="value">{{ getVehiclePlateColor(state.drivingInfo.plateColor) }}</view>
  26. </view>
  27. <view class="detail-option-item">
  28. <view class="label">车主姓名</view>
  29. <view class="value">{{ state.drivingInfo.vehicleOwnerName }}</view>
  30. </view>
  31. <view class="detail-option-item">
  32. <view class="label">提交日期</view>
  33. <view class="value">{{ state.detail.applyTime }}</view>
  34. </view>
  35. <view class="detail-option-item">
  36. <view class="label">审核状态</view>
  37. <view class="value">{{ state.detail.auditStatus }}</view>
  38. </view>
  39. </view>
  40. </view>
  41. </template>
  42. <script setup lang="ts">
  43. import { reactive} from "vue";
  44. import {releasePlateaView} from "@/utils/network/api.js";
  45. import {requestNew} from "@/utils/network/request.js";
  46. import { onLoad } from "@dcloudio/uni-app";
  47. import { getVehiclePlateColor } from "@/datas/vehiclePlateColor.js"
  48. const leftIcon = {
  49. height: '100%',
  50. width: '8rpx',
  51. display: 'flex',
  52. 'align-items': 'center',
  53. 'margin-right': '4rpx',
  54. }
  55. const labelStyle = {
  56. color: "#004576",
  57. fontSize: "28rpx",
  58. }
  59. const state = reactive({
  60. detail: {
  61. plateNum: '',
  62. plateColor: '',
  63. vehicleOwnerName: '',
  64. applyTime: '',
  65. auditStatus: ''
  66. },
  67. drivingInfo: {
  68. plateColor: "",
  69. plateNum: "",
  70. vehNegImgUrl: "",
  71. vehPosImgUrl: "",
  72. vehicleOwnerName: "",
  73. }
  74. })
  75. onLoad((option) => {
  76. if (option.orderNo) {
  77. getDetail(option.orderNo)
  78. } else {
  79. uni.navigateBack()
  80. }
  81. });
  82. const getDetail = (orderNo: string) => {
  83. const options = {
  84. type: 2,
  85. data: {
  86. orderNo
  87. },
  88. method: "POST",
  89. showLoading: true,
  90. };
  91. requestNew(releasePlateaView, options).then((res) => {
  92. state.detail = res
  93. state.drivingInfo = res.drivingInfo
  94. });
  95. };
  96. </script>
  97. <style lang="scss" scoped>
  98. .bg {
  99. background-color: white;
  100. width: 88%;
  101. margin: 0 auto;
  102. margin-top: 20rpx;
  103. border-radius: 12px;
  104. border: 1px solid #FFFFFF;
  105. padding: 20rpx;
  106. overflow: hidden;
  107. .title {
  108. font-weight: 400;
  109. font-size: 30rpx;
  110. color: #01243A;
  111. }
  112. .dot_wrap {
  113. display: flex;
  114. margin: 30rpx 0;
  115. .dot_wrap_left {
  116. display: flex;
  117. flex-direction: column;
  118. align-items: center;
  119. margin-right: 20rpx;
  120. margin-top: 20rpx;
  121. .dot {
  122. width: 24rpx;
  123. height: 24rpx;
  124. background: #01243A;
  125. border-radius: 50%;
  126. }
  127. .line {
  128. height: 126rpx;
  129. background-color: transparent;
  130. border-left: 2rpx dashed #01243A;
  131. }
  132. }
  133. .dot_wrap_right {
  134. .item {
  135. background: #F7F7F7;
  136. border-radius: 12rpx;
  137. height: 120rpx;
  138. display: flex;
  139. padding: 10rpx 20rpx;
  140. box-sizing: border-box;
  141. width: 600rpx;
  142. margin-bottom: 30rpx;
  143. .destion {
  144. margin: 0 60rpx 0 20rpx;
  145. font-weight: 400;
  146. .destion1 {
  147. font-size: 28rpx;
  148. color: #01243A;
  149. }
  150. .destion2 {
  151. font-size: 22rpx;
  152. color: #999999;
  153. line-height: 50rpx;
  154. }
  155. }
  156. image {
  157. width: 46rpx;
  158. height: 47rpx;
  159. }
  160. }
  161. }
  162. }
  163. .des {
  164. font-weight: 400;
  165. font-size: 28rpx;
  166. color: #01243A;
  167. line-height: 56rpx;
  168. margin-top: 10rpx;
  169. text-indent: 1rem;
  170. }
  171. .cailiao {
  172. width: 100%;
  173. display: flex;
  174. flex-wrap: wrap;
  175. justify-content: space-between;
  176. .list {
  177. width: 48%;
  178. margin-top: 30rpx;
  179. view {
  180. text-align: center;
  181. margin-bottom: 15rpx;
  182. font-size: 28rpx;
  183. color: #01243A;
  184. }
  185. .icon {
  186. width: 100%;
  187. height: 190rpx;
  188. background-image: var(--bgimg);
  189. background-size: 100% 100%;
  190. background-repeat: no-repeat;
  191. }
  192. }
  193. }
  194. }
  195. .action {
  196. position: absolute;
  197. left: 0;
  198. height: 270rpx;
  199. background-color: #fff;
  200. border-radius: 30rpx 30rpx 0 0;
  201. width: 100vw;
  202. display: flex;
  203. align-items: center;
  204. justify-content: space-evenly;
  205. flex-direction: column;
  206. margin-top: 20rpx;
  207. }
  208. .detail-option{
  209. .detail-option-item{
  210. display: flex;
  211. padding: 20rpx 0;
  212. min-height: 70rpx;
  213. display: flex;
  214. align-items: center;
  215. justify-content: space-between;
  216. font-size: 28rpx;
  217. .label{
  218. color: #004576;
  219. width: 140rpx;
  220. flex-shrink: 0;
  221. flex-grow: 0;
  222. }
  223. }
  224. }
  225. </style>