Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

user.vue 19KB

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