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.

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