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

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