Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

user.vue 17KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830
  1. <template>
  2. <navBar title="我的" :scrollTop="scrollTop" :isBack="isBack" navbgClass="nav-bgXin" fontColor='#fff'></navBar>
  3. <filter>
  4. <view class="wrapper">
  5. <image :src="`${$imgUrl}myImage/headbg.png`" class="bg-head" mode="widthFix"></image>
  6. <view class="content" :style="{ top: margin + 'px' }">
  7. <view class="head" :style="{ marinTop: margin + 'px' }">
  8. <view class="avatar">
  9. <image class="avatar-image" :src="`${$imgUrl}myImage/touxiang.png`" :class="!state.data.opId ? 'unlogin' : ''"
  10. @click="goLogin">
  11. </image>
  12. <view v-if="!state.data.opId" class="name" @click="$util.navTo('/login/login')">
  13. <view class="nickname">登录/注册</view>
  14. </view>
  15. <view v-else class="name">
  16. <view class="nickname">{{state.accountInfoVo.userName || state.accountInfoVo.nickName}}</view>
  17. <view class="user-id">
  18. <view class="phone">{{state.accountInfoVo.mobile}}</view>
  19. <view @click="changePhone" class="btn-change">
  20. <image class="btn-change-image" :src="`${$imgUrl}common/icon-edit.png`"></image>
  21. </view>
  22. </view>
  23. <text v-if="!isSm" class="btn-change-two">已实名认证</text>
  24. </view>
  25. </view>
  26. <view class="r-setting" @click="$util.navTo('/subpackage/personal-center/setting/setting', true)">
  27. <image :src="`${$imgUrl}myImage/shezhi.png`" class="img" mode="widthFix"></image>
  28. </view>
  29. </view>
  30. <view class="my-equity" :style="{'--bgimg':`url(${$imgUrl}myImage/quanuyikuang.png)`}"
  31. @click="myEtcAccount">
  32. <view class="l-con">
  33. <image :src="`${$imgUrl}myImage/myETC.png`" class="equity-icon" mode="widthFix"></image>
  34. <view class="txt">
  35. 我的ETC账户
  36. </view>
  37. </view>
  38. <view class="r-icon1">
  39. <image :src="`${$imgUrl}myImage/quanyixiayi.png`" class="r-img1" mode="widthFix"></image>
  40. </view>
  41. </view>
  42. <view class="my-equity userName" :style="{'--bgimg':`url(${$imgUrl}myImage/loginBg.png)`,'height': '120rpx' ,'margin-top':' -30rpx',
  43. 'z-index': -1,'padding-top': '17rpx','boxSizing':'border-box' }" v-if="state.customerObj">
  44. <view class="l-con">
  45. <image :src="`${$imgUrl}myImage/person.png`" class="equity-icon" mode="widthFix"></image>
  46. <view class="txt">
  47. {{state.customerObj.userName}}
  48. </view>
  49. </view>
  50. <view style="margin-right: 26rpx;">
  51. {{state.customerObj.vehicleCount?state.customerObj.vehicleCount + '辆车':'无车辆'}}
  52. </view>
  53. </view>
  54. <view class="info-content">
  55. <view class="order box">
  56. <view class="list_item"
  57. @click="$util.navTo('/subpackage/personal-center/real-name-authentication', true)">
  58. <view class="l-con">
  59. <image :src="`${$imgUrl}myImage/basicInformation.png`" class="equity-icon"
  60. mode="widthFix"></image>
  61. <view class="txt">
  62. 基本信息
  63. </view>
  64. </view>
  65. <view class="r-icon">
  66. <text v-if="isSm">请进行实名认证</text>
  67. <image :src="`${$imgUrl}myImage/myIcon.png`" class="r-img" mode="widthFix"></image>
  68. </view>
  69. </view>
  70. <view class="list_item"
  71. @click="$util.navTo(`/subpackage/after-sale/activation-once-again/select-car?type=38`, true)">
  72. <view class="l-con">
  73. <image :src="`${$imgUrl}myImage/myCar.png`" class="equity-icon" mode="widthFix"></image>
  74. <view class="txt">
  75. 我的车辆
  76. </view>
  77. </view>
  78. <view class="r-icon">
  79. <image :src="`${$imgUrl}myImage/myIcon.png`" class="r-img" mode="widthFix"></image>
  80. </view>
  81. </view>
  82. <view class="list_item" @click="goOrder(0)">
  83. <view class="l-con">
  84. <image :src="`${$imgUrl}myImage/etcOrder.png`" class="equity-icon" mode="widthFix">
  85. </image>
  86. <view class="txt">
  87. ETC订单
  88. </view>
  89. </view>
  90. <view class="r-icon">
  91. <image :src="`${$imgUrl}myImage/myIcon.png`" class="r-img" mode="widthFix"></image>
  92. </view>
  93. </view>
  94. <view class="list_item" @click="noTips">
  95. <view class="l-con">
  96. <image :src="`${$imgUrl}myImage/afterOrder.png`" class="equity-icon" mode="widthFix">
  97. </image>
  98. <view class="txt">
  99. 售后订单
  100. </view>
  101. </view>
  102. <view class="r-icon">
  103. <image :src="`${$imgUrl}myImage/myIcon.png`" class="r-img" mode="widthFix"></image>
  104. </view>
  105. </view>
  106. <view class="list_item" @click="goEquity()">
  107. <view class="l-con">
  108. <image :src="`${$imgUrl}myImage/quanyi.png`" class="equity-icon" mode="widthFix">
  109. </image>
  110. <view class="txt">
  111. 我的权益
  112. </view>
  113. </view>
  114. <view class="r-icon">
  115. <image :src="`${$imgUrl}myImage/myIcon.png`" class="r-img" mode="widthFix"></image>
  116. </view>
  117. </view>
  118. <view class="list_item"
  119. @click="$util.navTo(`/subpackage/orders/invoiceApply/invoice-header-list?manage=1`, true)">
  120. <view class="l-con">
  121. <image :src="`${$imgUrl}myImage/invoiceHeader.png`" class="equity-icon" mode="widthFix">
  122. </image>
  123. <view class="txt">
  124. 发票抬头
  125. </view>
  126. </view>
  127. <view class="r-icon">
  128. <image :src="`${$imgUrl}myImage/myIcon.png`" class="r-img" mode="widthFix"></image>
  129. </view>
  130. </view>
  131. <view class="list_item"
  132. @click="$util.navTo(`/subpackage/personal-center/setting/addressManager`, true)">
  133. <view class="l-con">
  134. <image :src="`${$imgUrl}myImage/addressManager.png`" class="equity-icon"
  135. mode="widthFix"></image>
  136. <view class="txt">
  137. 收货地址
  138. </view>
  139. </view>
  140. <view class="r-icon">
  141. <image :src="`${$imgUrl}myImage/myIcon.png`" class="r-img" mode="widthFix"></image>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. </view>
  147. </view>
  148. </filter>
  149. </template>
  150. <script lang="ts" setup>
  151. import { reactive } from "vue";
  152. import { msg, navTo } from "@/utils/utils";
  153. import { onMounted, ref } from "vue";
  154. import { getItem, StorageKeys } from "@/utils/storage";
  155. import navBar from "../../components/nav-bar/nav-bar2.vue";
  156. import { onLoad, onShow, onPageScroll } from "@dcloudio/uni-app";
  157. import {
  158. userInfoIndex, queryVehicleBind, vehicleUnBind, showEquityListApi, orderinfosumquery, getUserMsg
  159. } from "@/utils/network/api.js";
  160. import {
  161. request, requestNew
  162. } from "@/utils/network/request.js";
  163. import filter from '@/components/filter/filter.vue';
  164. import { source } from "@/utils/network/difference";
  165. import { vehiclePlateColor, vehiclePlateColorPai, getVehiclePlateColorPaiShow } from "@/datas/vehiclePlateColor.js";
  166. import { useUserStore } from "@/stores/user";
  167. const userStore = useUserStore();
  168. const { saveUserInfo } = userStore;
  169. const height = ref(null);
  170. const top = ref(null);
  171. const margin = ref(null);
  172. const mobile = ref(null);
  173. const scrollTop = ref(0);
  174. const isBack = ref(false);
  175. const isSm = ref(true);
  176. const state = reactive({
  177. data: {
  178. opId: "",
  179. },
  180. accountInfoVo: {
  181. nickName: '',
  182. mobile: '',
  183. userName: ''
  184. },
  185. equityNumber: 0,
  186. customerObj: {}
  187. });
  188. onMounted(() => {
  189. const res = uni.getMenuButtonBoundingClientRect();
  190. height.value = res.height + "px";
  191. top.value = res.top + "px";
  192. margin.value = res.height + res.top;
  193. });
  194. onLoad((option : any) => {
  195. state.data.opId = getItem(StorageKeys.OpenId);
  196. console.log("state.data.opId", state.data.opId)
  197. mobile.value = getItem("mobile");
  198. getAuthInfo();
  199. });
  200. const carDetails = (vehicleId) => {
  201. uni.navigateTo({
  202. url: `/subpackage/personal-center/vehicle-change/car-details?vehicleId=${vehicleId}`
  203. })
  204. }
  205. const myEtcAccount = () => {
  206. navTo(`/subpackage/personal-center/my-etc-account`)
  207. }
  208. //监听页面滚动
  209. onPageScroll((e) => {
  210. scrollTop.value = e.scrollTop;
  211. });
  212. onShow((option : any) => {
  213. state.data.opId = getItem(StorageKeys.OpenId);
  214. console.log("state.data.opId", state.data.opId)
  215. if (state.data.opId) {
  216. getUserInfo();
  217. getAuthInfo();
  218. }
  219. state.customerObj = getItem('customerObj')
  220. });
  221. const getAuthInfo = () => {
  222. const options = {
  223. type: 2,
  224. data: { openId: getItem('openId') },
  225. method: "POST",
  226. showLoading: true,
  227. };
  228. requestNew(getUserMsg, options).then((res) => {
  229. const data = res;
  230. console.log(data, "用户信息"); //|| !data.userNegImgUrl || !data.userPosImgUrl
  231. if (!data.userIdNum || !data.userNegImgUrl || !data.userPosImgUrl) {
  232. isSm.value = true
  233. } else {
  234. isSm.value = false
  235. }
  236. });
  237. }
  238. const getUserInfo = () => {
  239. const options = {
  240. type: 2,
  241. data: {},
  242. method: "POST",
  243. showLoading: true,
  244. };
  245. //调用方式
  246. requestNew(userInfoIndex, options)
  247. .then((res) => {
  248. console.log('用户信息', res)
  249. let data = res
  250. saveUserInfo(data)
  251. state.accountInfoVo = data;
  252. console.log("获取用户信息", getItem('userInfo'));
  253. })
  254. .catch((err) => {
  255. console.log(err);
  256. });
  257. }
  258. const goOrder = (index) => {
  259. navTo(`../order/order?index=${index}`)
  260. }
  261. const goLogin = () => {
  262. if (!getItem('openId')) {
  263. uni.navigateTo({
  264. url: "/login/login"
  265. })
  266. }
  267. }
  268. const goEquity = () => {
  269. navTo('/subpackage/service/equityList/equityList')
  270. }
  271. const changePhone = () => {
  272. console.log(111)
  273. navTo('/subpackage/personal-center/setting/change-phone', true)
  274. }
  275. const noTips = () => {
  276. uni.showToast({
  277. title: '功能开发者,敬请期待',
  278. icon: 'none'
  279. })
  280. }
  281. </script>
  282. <style>
  283. page {
  284. background: #eef7f7;
  285. }
  286. </style>
  287. <style scoped lang='scss'>
  288. .unlogin {
  289. filter: grayscale(100%);
  290. opacity: 0.7;
  291. }
  292. .bgVar {
  293. background-image: var(--bgimg);
  294. background-repeat: no-repeat;
  295. background-size: 100% 100%;
  296. }
  297. .wrapper {
  298. position: relative;
  299. background-color: #f6f9fc;
  300. }
  301. .bar {
  302. width: 100%;
  303. position: fixed;
  304. text-align: center;
  305. font-size: 32rpx;
  306. font-weight: bold;
  307. }
  308. .bg-head {
  309. width: 100%;
  310. position: absolute;
  311. z-index: 1;
  312. top: 0;
  313. left: 0;
  314. }
  315. .content {
  316. position: relative;
  317. display: flex;
  318. flex-direction: column;
  319. width: 100%;
  320. z-index: 2;
  321. }
  322. .head {
  323. display: flex;
  324. justify-content: space-between;
  325. align-items: center;
  326. width: 100%;
  327. box-sizing: border-box;
  328. padding: 40rpx 0 46rpx;
  329. }
  330. .head .avatar {
  331. display: flex;
  332. align-items: center;
  333. justify-content: space-between;
  334. }
  335. .head .avatar .avatar-image {
  336. width: 141rpx;
  337. height: 141rpx;
  338. /* border-radius: 80rpx; */
  339. margin: 0 20rpx 0 30rpx;
  340. }
  341. .avatar .name{
  342. display: flex;
  343. flex-direction: column;
  344. }
  345. .head .setting {
  346. display: flex;
  347. align-items: center;
  348. background: rgba(0, 179, 139, .1);
  349. border: 1px solid #fff;
  350. height: 60rpx;
  351. border-radius: 30rpx;
  352. padding: 0 34rpx;
  353. color: #fff;
  354. font-size: 28rpx;
  355. margin-right: 30rpx;
  356. }
  357. .head .setting image {
  358. width: 40rpx;
  359. height: 40rpx;
  360. margin-right: 6rpx;
  361. }
  362. .head .r-setting {
  363. width: 80rpx;
  364. height: 80rpx;
  365. background: #345061;
  366. display: flex;
  367. align-items: center;
  368. justify-content: center;
  369. border-radius: 50%;
  370. margin-right: 50rpx;
  371. .img {
  372. width: 40rpx;
  373. height: 39rpx;
  374. }
  375. }
  376. .head .nickname {
  377. font-size: 36rpx;
  378. color: #fff;
  379. }
  380. .head .user-id {
  381. font-size: 26rpx;
  382. color: #fff;
  383. padding-top: 20rpx;
  384. display: flex;
  385. }
  386. .head .btn-change {
  387. margin-left: 16rpx;
  388. }
  389. .btn-change-image{
  390. width: 34rpx;
  391. height: 34rpx;
  392. }
  393. .btn-change-two {
  394. font-size: 22rpx;
  395. width: 206rpx;
  396. height: 40rpx;
  397. padding: 0 40rpx;
  398. border: 1px solid #CCB375;
  399. color: #CCB375;
  400. box-sizing: border-box;
  401. border-radius: 20rpx;
  402. margin-top: 10rpx;
  403. background: rgba(0, 179, 139, .1);
  404. }
  405. .list_item {
  406. position: relative;
  407. z-index: 20;
  408. margin: 0 30rpx;
  409. height: 94rpx;
  410. display: flex;
  411. align-items: center;
  412. justify-content: space-between;
  413. border-bottom: 1rpx solid #DFDFDF;
  414. .l-con {
  415. display: flex;
  416. align-items: center;
  417. .equity-icon {
  418. width: 46rpx;
  419. height: 46rpx;
  420. }
  421. .txt {
  422. font-family: NotoSansHans, NotoSansHans;
  423. font-size: 28rpx;
  424. color: #01253C;
  425. margin-left: 19rpx;
  426. }
  427. }
  428. .r-icon {
  429. height: 32rpx;
  430. display: flex;
  431. align-items: center;
  432. color: rgb(177, 177, 177);
  433. font-size: 28rpx;
  434. .r-img {
  435. width: 32rpx;
  436. height: 32rpx;
  437. }
  438. }
  439. }
  440. .box>view:last-child {
  441. border: none;
  442. }
  443. .my-equity {
  444. position: relative;
  445. z-index: 20;
  446. margin: 0 auto;
  447. background-image: var(--bgimg);
  448. background-repeat: no-repeat;
  449. background-size: 100% 100%;
  450. width: 700rpx;
  451. height: 94rpx;
  452. display: flex;
  453. align-items: center;
  454. justify-content: space-between;
  455. .l-con {
  456. margin-left: 30rpx;
  457. display: flex;
  458. align-items: center;
  459. .equity-icon {
  460. width: 54rpx;
  461. height: 54rpx;
  462. }
  463. .txt {
  464. font-family: NotoSansHans, NotoSansHans;
  465. font-size: 28rpx;
  466. color: #01253C;
  467. margin-left: 19rpx;
  468. }
  469. }
  470. .r-icon {
  471. margin-right: 30rpx;
  472. width: 36rpx;
  473. height: 36rpx;
  474. .r-img {
  475. width: 36rpx;
  476. height: 36rpx;
  477. }
  478. }
  479. .r-icon1 {
  480. margin-right: 30rpx;
  481. width: 32rpx;
  482. height: 32rpx;
  483. .r-img1 {
  484. width: 32rpx;
  485. height: 32rpx;
  486. }
  487. }
  488. }
  489. .info-content {
  490. transform: translateY(-10rpx);
  491. margin-top: 30rpx;
  492. }
  493. .box .arrow {
  494. width: 10rpx;
  495. height: 18rpx;
  496. }
  497. .box {
  498. background: #ffffff;
  499. margin: 0 30rpx 30rpx;
  500. border-radius: 20rpx;
  501. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.9);
  502. }
  503. .box .more {
  504. display: flex;
  505. align-items: center;
  506. font-family: NotoSansHans, NotoSansHans;
  507. font-size: 24rpx;
  508. color: #004576;
  509. }
  510. .box .more .more-text {
  511. padding-right: 12rpx;
  512. }
  513. .box .right-head {
  514. display: flex;
  515. justify-content: space-between;
  516. }
  517. .box .right-head .tit {
  518. font-size: 32rpx;
  519. font-family: MicrosoftYaHei;
  520. }
  521. .rights .rights-items {
  522. display: flex;
  523. justify-content: space-evenly;
  524. padding: 30rpx 0;
  525. }
  526. .rights .item {
  527. display: flex;
  528. flex-direction: column;
  529. align-items: center;
  530. justify-content: center;
  531. }
  532. .rights .item .tit {
  533. font-size: 26rpx;
  534. color: #333;
  535. padding: 20rpx 0 10rpx 0;
  536. }
  537. .rights .item .sub-tit {
  538. font-size: 22rpx;
  539. color: #999;
  540. }
  541. .order .order-items {
  542. display: flex;
  543. justify-content: space-around;
  544. padding: 30rpx 0 10rpx;
  545. .rtop-badge {
  546. position: absolute;
  547. right: 0;
  548. width: 34rpx;
  549. height: 34rpx;
  550. top: 0;
  551. transform: translate(50%, -50%);
  552. line-height: 34rpx;
  553. text-align: center;
  554. font-family: SourceHanSansSC, SourceHanSansSC;
  555. font-weight: 400;
  556. font-size: 20rpx;
  557. color: #FFFFFF;
  558. }
  559. }
  560. .order .item {
  561. display: flex;
  562. flex-direction: column;
  563. align-items: center;
  564. justify-content: center;
  565. }
  566. .order .item .tit {
  567. font-size: 26rpx;
  568. color: #333;
  569. padding: 20rpx 0 10rpx 0;
  570. }
  571. .box .icon {
  572. width: 50rpx;
  573. height: 50rpx;
  574. }
  575. .go-through .pass {
  576. display: flex;
  577. flex-direction: column;
  578. }
  579. .go-through .total {
  580. display: flex;
  581. justify-content: space-between;
  582. font-size: 26rpx;
  583. color: #666;
  584. }
  585. .go-through .amount {
  586. display: flex;
  587. justify-content: space-between;
  588. align-items: center;
  589. font-family: NotoSansHans, NotoSansHans;
  590. font-size: 32rpx;
  591. color: #333333;
  592. font-weight: 400;
  593. }
  594. .go-through .line {
  595. display: flex;
  596. }
  597. .go-through .line1 {
  598. height: 14rpx;
  599. background: #005B9C;
  600. border-radius: 7rpx;
  601. }
  602. .go-through .line2 {
  603. height: 14rpx;
  604. background: #E5ECEF;
  605. border-radius: 7rpx;
  606. flex: 1;
  607. }
  608. .go-through .mileage {
  609. display: flex;
  610. justify-content: space-around;
  611. align-items: center;
  612. text-align: center;
  613. margin: 32rpx 0;
  614. .box-items {
  615. background-image: var(--bgimg);
  616. background-repeat: no-repeat;
  617. background-size: 100% 100%;
  618. padding: 20rpx 30rpx;
  619. .t-name {
  620. display: flex;
  621. .tongxing-icon {
  622. width: 29rpx;
  623. height: 29rpx;
  624. }
  625. .tit {
  626. font-size: 26rpx;
  627. color: #666666;
  628. line-height: 29rpx;
  629. margin-left: 5rpx;
  630. }
  631. }
  632. .b-info {
  633. padding-top: 20rpx;
  634. .val {
  635. font-size: 32rpx;
  636. color: #333333;
  637. }
  638. .unit {
  639. font-size: 24rpx;
  640. color: #666666;
  641. margin-left: 5rpx;
  642. }
  643. }
  644. }
  645. }
  646. .go-through .mileage .txt {
  647. display: flex;
  648. flex-direction: column;
  649. }
  650. .go-through .mileage .tit {
  651. font-size: 26rpx;
  652. color: #999;
  653. }
  654. .go-through .mileage .val {
  655. font-size: 28rpx;
  656. color: #333;
  657. margin-top: 16rpx;
  658. }
  659. .go-through .m-top {
  660. margin-top: 16rpx;
  661. }
  662. .go-through .detail {
  663. width: 100%;
  664. text-align: center;
  665. color: #00B38B;
  666. font-size: 24rpx;
  667. border-top: 1px solid #DCDCDC;
  668. padding-top: 24rpx;
  669. }
  670. .cars .car-item {
  671. display: flex;
  672. align-items: center;
  673. padding-top: 36rpx;
  674. }
  675. .cars .car-item .btn-unbind {
  676. font-weight: 400;
  677. border-radius: 30rpx;
  678. font-family: NotoSansHans, NotoSansHans;
  679. line-height: 60rpx;
  680. text-align: center;
  681. font-size: 24rpx;
  682. width: 130rpx;
  683. height: 60rpx;
  684. background: #004372;
  685. color: #fff;
  686. margin-bottom: 10rpx;
  687. }
  688. .cars .car-pic {
  689. width: 120rpx;
  690. height: 110rpx;
  691. margin-right: 20rpx;
  692. }
  693. .cars .car-info {
  694. display: flex;
  695. flex-direction: column;
  696. color: #999;
  697. font-size: 22rpx;
  698. width: 56%;
  699. }
  700. .cars .car-no {
  701. font-size: 30rpx;
  702. color: #333;
  703. }
  704. .cars .card-no {
  705. margin-top: 10rpx;
  706. font-size: 22rpx;
  707. color: #999999;
  708. }
  709. .cars .add-related {
  710. background-image: var(--bgimg);
  711. background-repeat: no-repeat;
  712. background-size: 100% 100%;
  713. height: 80rpx;
  714. display: flex;
  715. align-items: center;
  716. justify-content: center;
  717. font-family: NotoSansHans, NotoSansHans;
  718. font-weight: 400;
  719. font-size: 26rpx;
  720. color: #CCB375;
  721. margin-top: 30rpx;
  722. .add-img {
  723. margin-right: 10rpx;
  724. width: 36rpx;
  725. height: 36rpx;
  726. }
  727. }
  728. .color {
  729. padding: 4rpx 8rpx;
  730. border-radius: 10rpx;
  731. color: white;
  732. display: inline-block;
  733. margin-left: 20rpx;
  734. font-size: 24rpx;
  735. }
  736. .loading-more {
  737. text-align: center;
  738. font-size: 28rpx;
  739. margin-bottom: 20rpx;
  740. color: #999;
  741. }
  742. </style>
  743. <style>
  744. page {
  745. background-color: #f6f9fc;
  746. }
  747. </style>