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-list.vue 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <template>
  2. <view v-if="state.list && state.list.length > 0">
  3. <view class="list" @click="goDetails">
  4. <image class="car" :src='`${$imgUrl}issuance/car.png`' mode=""></image>
  5. <view class="content">
  6. <view class="content-top">
  7. <text class="vehiclePlate">贵A12345</text>
  8. <text class="statusdsh">待审核</text>
  9. </view>
  10. <view class="content-time">申请时间:2025年02月21日</view>
  11. </view>
  12. <image class="arrow" :src='`${$imgUrl}issuance/arrow.png`' mode=""></image>
  13. </view>
  14. </view>
  15. <NoDataView v-else text="暂无解除车牌占用订单"></NoDataView>
  16. <!-- <view class="list" @click="goDetails">
  17. <image class="car" src="/static/image/myx.png" mode=""></image>
  18. <view class="content">
  19. <view class="content-top">
  20. <text class="vehiclePlate">贵A12345</text>
  21. <text class="statusbtg">审核不通过</text>
  22. </view>
  23. <view class="content-time">申请时间:2025年02月21日</view>
  24. </view>
  25. <image class="arrow" src="/static/image/myx.png" mode=""></image>
  26. </view>
  27. <view class="list" @click="goDetails">
  28. <image class="car" src="/static/image/myx.png" mode=""></image>
  29. <view class="content">
  30. <view class="content-top">
  31. <text class="vehiclePlate">贵A12345</text>
  32. <text class="statusywc">已完成</text>
  33. </view>
  34. <view class="content-time">申请时间:2025年02月21日</view>
  35. </view>
  36. <image class="arrow" src="/static/image/myx.png" mode=""></image>
  37. </view> -->
  38. </template>
  39. <script setup lang="ts">
  40. import {navTo} from "@/utils/utils";
  41. import { releasePlateaList } from "@/utils/network/api.js";
  42. import {ref, reactive} from "vue";
  43. import {requestNew} from "@/utils/network/request.js";
  44. import { onLoad } from "@dcloudio/uni-app";
  45. import NoDataView from "@/components/no-data-view/no-data-view.vue";
  46. const state = reactive({
  47. list: []
  48. });
  49. onLoad(() => {
  50. getList()
  51. });
  52. const getList = () => {
  53. const options = {
  54. type: 2,
  55. data: {},
  56. method: "POST",
  57. showLoading: true,
  58. };
  59. requestNew(releasePlateaList, options).then((res) => {
  60. state.list = res.data ? res.data.assOrders || [] : [];
  61. });
  62. };
  63. const goDetails = () => {
  64. navTo(`/subpackage/after-sale/rescind-carId/rescind-carId-select-details`)
  65. }
  66. </script>
  67. <style lang="scss" scoped>
  68. .list{
  69. background: #FFFFFF;
  70. border-radius: 12rpx;
  71. border: 1px solid #FFFFFF;
  72. width: 90%;
  73. margin: 30rpx auto;
  74. padding: 20rpx;
  75. box-sizing: border-box;
  76. display: flex;
  77. align-items: center;
  78. .content{
  79. font-weight: 400;
  80. width: 76%;
  81. margin-left: 20rpx;
  82. .content-top{
  83. margin-bottom: 20rpx;
  84. .vehiclePlate{
  85. font-size: 30rpx;
  86. color: #01243A;
  87. }
  88. // 待审核
  89. .statusdsh{
  90. font-size: 24rpx;
  91. color: #1458E5;
  92. background: #E3ECFF;
  93. border-radius: 6rpx;
  94. border: 1px solid #1458E5;
  95. margin-left: 20rpx;
  96. padding: 2rpx 4rpx;
  97. }
  98. // 不通过
  99. .statusbtg{
  100. font-size: 24rpx;
  101. color: #C2A760;
  102. background: #F8F4E7;
  103. border-radius: 6rpx;
  104. border: 1px solid #C2A760;
  105. margin-left: 20rpx;
  106. padding: 2rpx 4rpx;
  107. }
  108. // 已完成
  109. .statusywc{
  110. font-size: 24rpx;
  111. color: #42D175;
  112. background: #E6FFEF;
  113. border-radius: 6rpx;
  114. border: 1px solid #42D175;
  115. margin-left: 20rpx;
  116. padding: 2rpx 4rpx;
  117. }
  118. }
  119. .content-time{
  120. font-size: 26rpx;
  121. color: #999999;
  122. }
  123. }
  124. .car{
  125. width: 100rpx;
  126. height: 100rpx;
  127. }
  128. .arrow{
  129. width: 18rpx;
  130. height: 34rpx;
  131. }
  132. }
  133. </style>