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.

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