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.

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