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.

1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
2 anni fa
2 anni fa
2 anni fa
2 anni fa
2 anni fa
2 anni fa
2 anni fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
1 anno fa
2 anni fa
2 anni fa
2 anni fa
1 anno fa
1 anno fa
1 anno fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834
  1. <template>
  2. <navBar title="九州ETC" :scrollTop="scrollTop" :isBack="isBack"></navBar>
  3. <filter>
  4. <view class="wrapper">
  5. <image :src="`${$imgUrl}user/bg-user-2.png`" class="bg-head" mode="widthFix"></image>
  6. <!-- <view class="bar" :style="{ top: top, height: height, lineHeight: height }">我的-九州ETC</view> -->
  7. <view class="content" :style="{ top: margin + 'px' }">
  8. <!-- <view class="content"> -->
  9. <view class="head" :style="{ marinTop: margin + 'px' }">
  10. <view class="avatar">
  11. <image :src="`${$imgUrl}user/icon-avatar.png`" :class="!state.data.opId ? 'unlogin' : ''">
  12. </image>
  13. <view v-if="!state.data.opId" class="name" @click="$util.navTo('/login/login')">
  14. <view class="nickname">登录/注册</view>
  15. </view>
  16. <view v-else class="name">
  17. <view class="nickname">{{state.accountInfoVo.nickName}}</view>
  18. <view class="user-id">
  19. <view class="phone">{{state.accountInfoVo.mobile}}</view>
  20. <view @click="$util.navTo('/subpackage/personal-center/setting/change-phone', true)"
  21. class="btn-change">已关联</view>
  22. </view>
  23. </view>
  24. </view>
  25. <view class="setting" @click="$util.navTo('/subpackage/personal-center/setting/setting', true)">
  26. <!-- <image :src="`${$imgUrl}user/icon-setting.png`"></image> -->
  27. <text>签到</text>
  28. </view>
  29. </view>
  30. <view class="panel-box">
  31. <view class="panel">
  32. <view class="panel-item"
  33. @click="$util.navTo('/subpackage/personal-center/vehicle-information', true)">
  34. <view class="panel-text"><text class="num"
  35. v-if="state.carNumber">{{state.carNumber}}</text><text class="num"
  36. v-else>0</text><text class="txt">辆</text></view>
  37. <text class="type">车辆</text>
  38. </view>
  39. <!-- <view class="panel-item" @click="$util.navTo('/subpackage/personal-center/vehicle-information', true)">
  40. <view class="panel-text"><text class="num">{{state.userVehicleInfoSumQueryVo.vehicleSum}}</text><text class="txt">辆</text></view>
  41. <text class="type">车辆</text>
  42. </view> -->
  43. <view class="panel-item">
  44. <text class="num">{{state.userVehicleInfoSumQueryVo.orderStatus0}}</text>
  45. <text class="type">待办</text>
  46. </view>
  47. <view class="panel-item">
  48. <view class="panel-text"><text class="num">2</text><text class="txt">张</text></view>
  49. <text class="type">卡券</text>
  50. </view>
  51. <view class="panel-item">
  52. <view class="panel-text"><text class="num">2555</text><text class="txt">分</text></view>
  53. <text class="type">积分</text>
  54. </view>
  55. </view>
  56. <view class="notice">
  57. <image :src="`${$imgUrl}user/icon-tips.png`" class="icon-notice" mode="aspectFill"></image>
  58. <view class="notice-content">您有一笔成功交易,点击查看详情</view>
  59. </view>
  60. </view>
  61. <view class="rights box" v-if="false">
  62. <view class="right-head">
  63. <view class="tit">我的权益</view>
  64. <view class="more">
  65. <text class="more-text">查看全部</text>
  66. <image :src="`${$imgUrl}user/icon-arrow.png`" class="arrow"></image>
  67. </view>
  68. </view>
  69. <view class="rights-items">
  70. <view class="item">
  71. <image :src="`${$imgUrl}user/icon-car-2.png`" class="icon"></image>
  72. <text class="tit">我的通行</text>
  73. <text class="sub-tit">查询账单、轨迹</text>
  74. </view>
  75. <view class="item">
  76. <image :src="`${$imgUrl}user/icon-door.png`" class="icon"></image>
  77. <text class="tit">上门服务</text>
  78. <text class="sub-tit">8折优惠</text>
  79. </view>
  80. <view class="item">
  81. <image :src="`${$imgUrl}user/icon-obu.png`" class="icon"></image>
  82. <text class="tit">设备险</text>
  83. <text class="sub-tit">享50元更换</text>
  84. </view>
  85. <view class="item">
  86. <image :src="`${$imgUrl}user/icon-bao.png`" class="icon"></image>
  87. <text class="tit">微保驾乘险</text>
  88. <text class="sub-tit">最高享20万</text>
  89. </view>
  90. </view>
  91. </view>
  92. <view class="order box">
  93. <view class="right-head">
  94. <view class="tit">我的订单</view>
  95. <view class="more" @click="goOrder(0)">
  96. <text class="more-text">查看全部</text>
  97. <image :src="`${$imgUrl}user/icon-arrow.png`" class="arrow"></image>
  98. </view>
  99. </view>
  100. <view class="order-items">
  101. <view class="item" @click="goOrder(1)">
  102. <image :src="`${$imgUrl}user/icon-daifahuo.png`" class="icon"></image>
  103. <text class="tit">待发货</text>
  104. </view>
  105. <view class="item" @click="goOrder(2)">
  106. <image :src="`${$imgUrl}user/icon-daishouhuo.png`" class="icon"></image>
  107. <text class="tit">待收货</text>
  108. </view>
  109. <view class="item" @click="goOrder(3)">
  110. <image :src="`${$imgUrl}user/icon-daijihuo.png`" class="icon"></image>
  111. <text class="tit">待激活</text>
  112. </view>
  113. <view class="item" @click="goOrder(4)">
  114. <image :src="`${$imgUrl}user/icon-tuihuanhuo.png`" class="icon"></image>
  115. <text class="tit">退换货/退款</text>
  116. </view>
  117. </view>
  118. </view>
  119. <view class="go-through box">
  120. <view class="right-head">
  121. <view class="tit">本月通行</view>
  122. </view>
  123. <view class="pass">
  124. <view class="total m-top">
  125. <text>通行消费</text>
  126. <text>总消费</text>
  127. </view>
  128. <view class="amount m-top">
  129. <text>¥
  130. {{(state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0) /100}}</text>
  131. <text>¥
  132. {{(state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0)/100}}</text>
  133. </view>
  134. <view class="line m-top">
  135. <view class="line1"
  136. :style="{width: (state.monthFlowingVo.flowingNum ? state.monthFlowingVo.flowingNum : 0)*100/state.monthFlowingVo.money+'%'}">
  137. </view>
  138. <view class="line2"></view>
  139. </view>
  140. <view class="mileage">
  141. <view class="txt">
  142. <text class="tit">通行里程</text>
  143. <text class="val">{{state.monthFlowingVo.mileage}}km</text>
  144. </view>
  145. <view class="txt">
  146. <text class="tit">通行时长</text>
  147. <text class="val">{{state.monthFlowingVo.duration}}</text>
  148. </view>
  149. <view class="txt">
  150. <text class="tit ">通行次数</text>
  151. <text class="val">{{state.monthFlowingVo.num}}次</text>
  152. </view>
  153. </view>
  154. <view class="detail" @click="goTrajectory()">查看通行轨迹
  155. </view>
  156. </view>
  157. </view>
  158. <view class="cars box">
  159. <view class="right-head">
  160. <view class="tit">我的车辆</view>
  161. <view class="more"
  162. @click="$util.navTo('/subpackage/personal-center/vehicle-information', true)">
  163. <text class="more-text">查看全部</text>
  164. <image :src="`${$imgUrl}user/icon-arrow.png`" class="arrow"></image>
  165. </view>
  166. </view>
  167. <view class="car-item" v-for="(item,index) in state.list">
  168. <image :src="`${$imgUrl}che.png`" class="car-pic"></image>
  169. <view class="car-info">
  170. <view class="car-no"><text class="no">{{item.vehiclePlate}}</text><text
  171. class="color">{{item.color}}</text></view>
  172. <view class="card-no">卡号:{{item.cardId}}</view>
  173. <view class="card-no">签号:{{item.obuId}}</view>
  174. </view>
  175. <view class="btn-unbind" @click="del(item.vehicleId)">解除绑定</view>
  176. </view>
  177. <view class="sub-bind">
  178. <view class="item-tit">
  179. <image :src="`${$imgUrl}user/icon-car-3.png`" class="icon icon-2"></image>
  180. <text>我要关联车辆</text>
  181. </view>
  182. <view class="right-arrow"
  183. @click="$util.navTo('/subpackage/personal-center/setting/car-information/car-create', true)">
  184. <view class="sub-tit">增加未关联车辆</view>
  185. <image :src="`${$imgUrl}user/icon-arrow.png`" class="arrow"></image>
  186. </view>
  187. </view>
  188. </view>
  189. <view class="menu">
  190. <view class="item" @click="$util.navTo('/subpackage/personal-center/setting/setting', true)">
  191. <view class="item-tit">
  192. <image :src="`${$imgUrl}user/icon-setting.png`" class="icon icon-2"></image>
  193. <text>设置与资料管理</text>
  194. </view>
  195. <view class="right-arrow">
  196. <view class="sub-tit">隐私、密码管理</view>
  197. <image :src="`${$imgUrl}user/icon-arrow.png`" class="arrow"></image>
  198. </view>
  199. </view>
  200. </view>
  201. </view>
  202. </view>
  203. </filter>
  204. </template>
  205. <script lang="ts" setup>
  206. import { reactive } from "vue";
  207. import { msg, navTo } from "@/utils/utils";
  208. import { onMounted, ref } from "vue";
  209. import { getItem, StorageKeys } from "@/utils/storage";
  210. import navBar from "../../components/nav-bar/nav-bar2.vue";
  211. import { onLoad, onShow, onPageScroll } from "@dcloudio/uni-app";
  212. import {
  213. userInfoIndex, selectCarInfo, delCarInfo
  214. } from "@/utils/network/api.js";
  215. import {
  216. request
  217. } from "@/utils/network/request.js";
  218. import {
  219. stringToJson
  220. } from "@/utils/network/encryption.js";
  221. import filter from '@/components/filter/filter.vue';
  222. import { vehiclePlateColor, vehiclePlateColorPai } from "@/datas/vehiclePlateColor.js";
  223. const height = ref(null);
  224. const top = ref(null);
  225. const margin = ref(null);
  226. const mobile = ref(null);
  227. const scrollTop = ref(0);
  228. const isBack = ref(false);
  229. const state = reactive({
  230. data: {
  231. opId: "",
  232. },
  233. accountInfoVo: {
  234. nickName: '',
  235. mobile: ''
  236. },
  237. monthFlowingVo: {
  238. duration: 0,
  239. mileage: 0,
  240. flowingNum: 0,
  241. num: 0,
  242. parkingLotMoney: 0,
  243. parkingLotNum: 0,
  244. money: 0,
  245. },
  246. list: '', //车辆信息
  247. carNumber: '',//车辆数量
  248. userVehicleInfoSumQueryVo: {
  249. vehicleSum: 0,
  250. orderStatus0: 0
  251. },//车数量 ,代办数量
  252. isTrajectory: false, //是否有轨迹
  253. });
  254. onMounted(() => {
  255. const res = uni.getMenuButtonBoundingClientRect();
  256. height.value = res.height + "px";
  257. top.value = res.top + "px";
  258. margin.value = res.height + res.top;
  259. });
  260. onLoad((option : any) => {
  261. state.data.opId = getItem(StorageKeys.OpenId);
  262. mobile.value = getItem("mobile");
  263. });
  264. const goTrajectory = () => {
  265. if (state.isTrajectory) {
  266. uni.navigateTo({
  267. url: "/subpackage/personal-center/trajectory/trajectory"
  268. })
  269. } else {
  270. msg("暂无轨迹")
  271. }
  272. }
  273. //监听页面滚动
  274. onPageScroll((e) => {
  275. scrollTop.value = e.scrollTop;
  276. });
  277. onShow((option : any) => {
  278. state.data.opId = getItem(StorageKeys.OpenId);
  279. if (state.data.opId) {
  280. getUserInfo();
  281. }
  282. });
  283. // 查询车辆信息
  284. const queryCarMsg = () => {
  285. const options = {
  286. type: 2,
  287. data: {
  288. "openId": getItem('openId')
  289. },
  290. method: "POST",
  291. showLoading: true,
  292. };
  293. //调用方式
  294. request(selectCarInfo, options).then((res) => {
  295. const data = (stringToJson(res.bizContent).vehicleManages)
  296. for (var i = 0; i < data.length; i++) {
  297. for (var j = 0; j < vehiclePlateColorPai.length; j++) {
  298. if (data[i].vehiclePlateColor == vehiclePlateColorPai[j]['id']) {
  299. data[i].color = vehiclePlateColorPai[j]['color']
  300. }
  301. }
  302. }
  303. state.list = data;
  304. state.carNumber = data.length
  305. console.log("state.list", state.list)
  306. })
  307. .catch((err) => {
  308. console.log('输出内容', err)
  309. });
  310. }
  311. const getUserInfo = () => {
  312. const options = {
  313. type: 2,
  314. data: {
  315. openId: state.data.opId
  316. },
  317. method: "POST",
  318. // showLoading: true,
  319. };
  320. //调用方式
  321. request(userInfoIndex, options)
  322. .then((res) => {
  323. console.log('用户信息', res)
  324. let data = stringToJson(res.bizContent)
  325. state.accountInfoVo = data.accountInfoVo;
  326. if (data.monthFlowingVo && JSON.stringify(data.monthFlowingVo) != "{}") {
  327. state.monthFlowingVo = data.monthFlowingVo;
  328. state.isTrajectory = true;
  329. }
  330. state.userVehicleInfoSumQueryVo.vehicleSum = JSON.parse(JSON.stringify(data.userVehicleInfoSumQueryVo)).vehicleSum;
  331. state.userVehicleInfoSumQueryVo.orderStatus0 = JSON.parse(JSON.stringify(data.userVehicleInfoSumQueryVo)).orderStatus0;
  332. console.log("获取用户信息", data);
  333. queryCarMsg();
  334. })
  335. .catch((err) => {
  336. console.log(err);
  337. });
  338. }
  339. const del = (id) => {
  340. wx.showModal({
  341. title: '提示',
  342. content: '是否删除该条车辆信息',
  343. success: function (res) {
  344. if (res.confirm) {
  345. console.log('用户点击确定');
  346. let data = {
  347. vehicleId: id,
  348. openId: getItem('openId')
  349. }
  350. const options = {
  351. type: 2,
  352. data: data,
  353. method: "POST",
  354. showLoading: true,
  355. };
  356. request(delCarInfo, options).then((res) => {
  357. const data = stringToJson(res.bizContent);
  358. console.log(data)
  359. state.list = data.vehicleManages
  360. if (data.info == '成功.') {
  361. uni.showToast({
  362. title: "删除成功",
  363. icon: "none"
  364. })
  365. queryCarMsg();
  366. }
  367. });
  368. } else if (res.cancel) {
  369. console.log('用户点击取消');
  370. }
  371. }
  372. });
  373. }
  374. const goOrder = (index) => {
  375. uni.reLaunch({
  376. url: `../order/order?index=${index}`
  377. })
  378. }
  379. </script>
  380. <style>
  381. page {
  382. background: #eef7f7;
  383. }
  384. </style>
  385. <style scoped>
  386. .unlogin {
  387. filter: grayscale(100%);
  388. opacity: 0.7;
  389. }
  390. .wrapper {
  391. position: relative;
  392. background: #fff;
  393. }
  394. .bar {
  395. width: 100%;
  396. position: fixed;
  397. text-align: center;
  398. font-size: 32rpx;
  399. font-weight: bold;
  400. }
  401. .bg-head {
  402. width: 100%;
  403. position: absolute;
  404. z-index: -99;
  405. top: 0;
  406. left: 0;
  407. }
  408. .content {
  409. position: absolute;
  410. display: flex;
  411. flex-direction: column;
  412. width: 100%;
  413. }
  414. .head {
  415. display: flex;
  416. justify-content: space-between;
  417. align-items: center;
  418. width: 100%;
  419. box-sizing: border-box;
  420. padding: 40rpx 0 46rpx;
  421. }
  422. .head .avatar {
  423. display: flex;
  424. align-items: center;
  425. }
  426. .head .avatar image {
  427. width: 120rpx;
  428. height: 120rpx;
  429. border-radius: 80rpx;
  430. border: 12rpx solid rgba(255, 255, 255, 0.5);
  431. margin: 0 20rpx 0 30rpx;
  432. }
  433. .head .setting {
  434. display: flex;
  435. align-items: center;
  436. background: rgba(0, 179, 139, .1);
  437. border: 1px solid #fff;
  438. height: 60rpx;
  439. border-radius: 30rpx;
  440. padding: 0 34rpx;
  441. color: #fff;
  442. font-size: 28rpx;
  443. margin-right: 30rpx;
  444. }
  445. .head .setting image {
  446. width: 40rpx;
  447. height: 40rpx;
  448. margin-right: 6rpx;
  449. }
  450. .head .nickname {
  451. font-size: 36rpx;
  452. color: #000000;
  453. }
  454. .head .user-id {
  455. font-size: 26rpx;
  456. color: #000000;
  457. padding-top: 30rpx;
  458. display: flex;
  459. align-items: center;
  460. }
  461. .head .btn-change {
  462. font-size: 22rpx;
  463. height: 40rpx;
  464. padding: 0 20rpx;
  465. border: 1px solid #fff;
  466. color: #fff;
  467. box-sizing: border-box;
  468. border-radius: 20rpx;
  469. margin-left: 16rpx;
  470. background: rgba(0, 179, 139, .1);
  471. }
  472. .panel-box {
  473. display: flex;
  474. flex-direction: column;
  475. background: #fff;
  476. margin: 0 30rpx 30rpx;
  477. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  478. border-radius: 20rpx;
  479. padding: 30rpx 0;
  480. }
  481. .panel {
  482. display: flex;
  483. justify-content: space-evenly;
  484. padding: 30rpx 0;
  485. }
  486. .panel-item {
  487. display: flex;
  488. flex-direction: column;
  489. justify-content: center;
  490. align-items: center;
  491. font-size: 32rpx;
  492. }
  493. .panel-item .num {
  494. font-weight: bold;
  495. color: #454545;
  496. }
  497. .panel-item .txt {
  498. font-size: 26rpx;
  499. }
  500. .panel-item .type {
  501. color: #999;
  502. font-size: 26rpx;
  503. padding: 14rpx 0;
  504. }
  505. .panel-box .icon-notice {
  506. width: 48rpx;
  507. height: 48rpx;
  508. }
  509. .panel-box .notice {
  510. display: flex;
  511. font-size: 32rpx;
  512. margin: 0 30rpx;
  513. align-items: center;
  514. background: #f3f3f3;
  515. border-radius: 10rpx;
  516. padding: 0 14rpx;
  517. }
  518. .panel-box .notice .notice-content {
  519. height: 68rpx;
  520. line-height: 68rpx;
  521. padding: 0 12rpx;
  522. font-size: 28rpx;
  523. }
  524. .box .arrow {
  525. width: 14rpx;
  526. height: 26rpx;
  527. }
  528. .box {
  529. background: #ffffff;
  530. margin: 0 30rpx 30rpx;
  531. padding: 30rpx;
  532. border-radius: 20rpx;
  533. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  534. }
  535. .box .more {
  536. display: flex;
  537. font-size: 26rpx;
  538. color: #808080;
  539. align-items: center;
  540. }
  541. .box .more .more-text {
  542. padding-right: 12rpx;
  543. }
  544. .box .right-head {
  545. display: flex;
  546. justify-content: space-between;
  547. }
  548. .box .right-head .tit {
  549. font-size: 32rpx;
  550. /* font-weight: bold; */
  551. }
  552. .rights .rights-items {
  553. display: flex;
  554. justify-content: space-evenly;
  555. padding: 30rpx 0;
  556. }
  557. .rights .item {
  558. display: flex;
  559. flex-direction: column;
  560. align-items: center;
  561. justify-content: center;
  562. }
  563. .rights .item .tit {
  564. font-size: 26rpx;
  565. color: #333;
  566. padding: 20rpx 0 10rpx 0;
  567. }
  568. .rights .item .sub-tit {
  569. font-size: 22rpx;
  570. color: #999;
  571. }
  572. .order .order-items {
  573. display: flex;
  574. justify-content: space-around;
  575. padding: 30rpx 0;
  576. }
  577. .order .item {
  578. display: flex;
  579. flex-direction: column;
  580. align-items: center;
  581. justify-content: center;
  582. }
  583. .order .item .tit {
  584. font-size: 26rpx;
  585. color: #333;
  586. padding: 20rpx 0 10rpx 0;
  587. }
  588. .box .icon {
  589. width: 56rpx;
  590. height: 56rpx;
  591. }
  592. .go-through .pass {
  593. display: flex;
  594. flex-direction: column;
  595. }
  596. .go-through .total {
  597. display: flex;
  598. justify-content: space-between;
  599. font-size: 26rpx;
  600. color: #999;
  601. }
  602. .go-through .amount {
  603. display: flex;
  604. justify-content: space-between;
  605. align-items: center;
  606. font-size: 28rpx;
  607. color: #333;
  608. }
  609. .go-through .line {
  610. display: flex;
  611. }
  612. .go-through .line1 {
  613. height: 8rpx;
  614. background: #00B38B;
  615. border-radius: 4rpx;
  616. }
  617. .go-through .line2 {
  618. height: 8rpx;
  619. background: #F1F1F1;
  620. border-radius: 0 4rpx 4rpx 0;
  621. flex: 1;
  622. }
  623. .go-through .mileage {
  624. display: flex;
  625. justify-content: space-evenly;
  626. align-items: center;
  627. text-align: center;
  628. margin: 32rpx 0;
  629. }
  630. .go-through .mileage .txt {
  631. display: flex;
  632. flex-direction: column;
  633. }
  634. .go-through .mileage .tit {
  635. font-size: 26rpx;
  636. color: #999;
  637. }
  638. .go-through .mileage .val {
  639. font-size: 28rpx;
  640. color: #333;
  641. margin-top: 16rpx;
  642. }
  643. .go-through .m-top {
  644. margin-top: 16rpx;
  645. }
  646. .go-through .detail {
  647. width: 100%;
  648. text-align: center;
  649. color: #00B38B;
  650. font-size: 24rpx;
  651. border-top: 1px solid #DCDCDC;
  652. padding-top: 24rpx;
  653. }
  654. .cars .car-item {
  655. display: flex;
  656. align-items: center;
  657. padding: 36rpx 0;
  658. }
  659. .cars .car-item .btn-unbind {
  660. border: 1px solid #00B38B;
  661. border-radius: 30rpx;
  662. height: 60rpx;
  663. box-sizing: border-box;
  664. line-height: 60rpx;
  665. font-size: 24rpx;
  666. padding: 0 20rpx;
  667. background: rgba(0, 179, 139, .1);
  668. color: #00B38B;
  669. }
  670. .cars .car-pic {
  671. width: 120rpx;
  672. height: 120rpx;
  673. margin-right: 12rpx;
  674. }
  675. .cars .car-info {
  676. display: flex;
  677. flex-direction: column;
  678. flex: 1;
  679. color: #999;
  680. font-size: 22rpx;
  681. }
  682. .cars .car-no {
  683. font-size: 30rpx;
  684. color: #333;
  685. }
  686. .cars .card-no {
  687. margin-top: 14rpx;
  688. }
  689. .cars .sub-bind {
  690. display: flex;
  691. align-items: center;
  692. justify-content: space-between;
  693. border-top: 1px solid #F1F1F1;
  694. padding-top: 20rpx;
  695. }
  696. .cars .sub-bind .item-tit {
  697. display: flex;
  698. align-items: center;
  699. font-size: 26rpx;
  700. color: #333;
  701. }
  702. .cars .sub-bind .right-arrow {
  703. font-size: 22rpx;
  704. color: #ccc;
  705. display: flex;
  706. justify-content: center;
  707. align-items: center;
  708. }
  709. .cars .sub-bind .sub-tit {
  710. padding-right: 20rpx;
  711. }
  712. .menu {
  713. background: #ffffff;
  714. /* border-radius: 30rpx 30rpx 0 0; */
  715. padding: 0 30rpx;
  716. margin: 0 30rpx 30rpx;
  717. border-radius: 20rpx;
  718. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  719. }
  720. .menu .arrow {
  721. width: 14rpx;
  722. height: 26rpx;
  723. }
  724. .menu .icon {
  725. width: 48rpx;
  726. height: 48rpx;
  727. margin-right: 10rpx;
  728. }
  729. .menu .item {
  730. display: flex;
  731. justify-content: space-between;
  732. align-items: center;
  733. /* border-bottom: 1px solid #dcdcdc; */
  734. padding: 20rpx 0;
  735. }
  736. .menu .item:first-child {
  737. margin-top: 10rpx;
  738. }
  739. .menu .item-tit {
  740. display: flex;
  741. align-items: center;
  742. font-size: 26rpx;
  743. color: #333;
  744. }
  745. .menu .right-arrow {
  746. font-size: 22rpx;
  747. color: #ccc;
  748. display: flex;
  749. justify-content: center;
  750. align-items: center;
  751. }
  752. .menu .sub-tit {
  753. padding-right: 20rpx;
  754. }
  755. .color {
  756. padding: 4rpx 8rpx;
  757. border-radius: 10rpx;
  758. color: white;
  759. background-color: rgb(6, 112, 255);
  760. display: inline-block;
  761. margin-left: 20rpx;
  762. font-size: 24rpx;
  763. }
  764. </style>