選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

user.vue 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810
  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"></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>¥ {{state.monthFlowingVo.flowingNum/100}}</text>
  130. <text>¥ {{state.monthFlowingVo.money/100}}</text>
  131. </view>
  132. <view class="line m-top">
  133. <view class="line1"
  134. :style="{width: state.monthFlowingVo.flowingNum*100/state.monthFlowingVo.money+'%'}">
  135. </view>
  136. <view class="line2"></view>
  137. </view>
  138. <view class="mileage">
  139. <view class="txt">
  140. <text class="tit">通行里程</text>
  141. <text class="val">{{state.monthFlowingVo.mileage}}km</text>
  142. </view>
  143. <view class="txt">
  144. <text class="tit">通行时长</text>
  145. <text class="val">{{state.monthFlowingVo.duration}}</text>
  146. </view>
  147. <view class="txt">
  148. <text class="tit ">通行次数</text>
  149. <text class="val">{{state.monthFlowingVo.num}}次</text>
  150. </view>
  151. </view>
  152. <view class="detail"
  153. @click="$util.navTo('/subpackage/personal-center/trajectory/trajectory', true)">查看通行轨迹
  154. </view>
  155. <!-- <view class="detail">查看通行轨迹</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}user/icon-car.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.card_id}}</view>
  173. <view class="card-no">签号:{{item.obu_id}}</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 } 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: "",
  239. mileage: 0,
  240. flowingNum: 0,
  241. num: 0,
  242. parkingLotMoney: 0,
  243. parkingLotNum: 0,
  244. money: 0,
  245. },
  246. vehicleManageList: [],
  247. list: '', //车辆信息
  248. carNumber: '',//车辆数量
  249. userVehicleInfoSumQueryVo: {
  250. vehicleSum: 0,
  251. orderStatus0: 0
  252. },//车数量 ,代办数量
  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. //监听页面滚动
  265. onPageScroll((e) => {
  266. scrollTop.value = e.scrollTop;
  267. });
  268. onShow((option : any) => {
  269. state.data.opId = getItem(StorageKeys.OpenId);
  270. if (state.data.opId) {
  271. getUserInfo();
  272. }
  273. });
  274. // 查询车辆信息
  275. const queryCarMsg = () => {
  276. const options = {
  277. type: 2,
  278. data: {
  279. "openId": getItem('openId')
  280. },
  281. method: "POST",
  282. showLoading: true,
  283. };
  284. //调用方式
  285. request(selectCarInfo, options).then((res) => {
  286. const data = (stringToJson(res.bizContent).vehicleManages)
  287. for (var i = 0; i < 1; i++) {
  288. for (var j = 0; j < vehiclePlateColor.length; j++) {
  289. if (data[i].vehiclePlateColor == vehiclePlateColor[j]['id']) {
  290. data[i].color = vehiclePlateColor[j]['color']
  291. }
  292. }
  293. }
  294. state.list = data;
  295. state.carNumber = data.length
  296. console.log("state.list", state.list, data.length)
  297. })
  298. .catch((err) => {
  299. console.log('输出内容',err)
  300. });
  301. }
  302. const getUserInfo = () => {
  303. const options = {
  304. type: 2,
  305. data: {
  306. openId: state.data.opId
  307. },
  308. method: "POST",
  309. // showLoading: true,
  310. };
  311. //调用方式
  312. request(userInfoIndex, options)
  313. .then((res) => {
  314. let data = stringToJson(res.bizContent)
  315. state.accountInfoVo = data.accountInfoVo;
  316. state.monthFlowingVo = data.monthFlowingVo;
  317. state.vehicleManageList = data.monthFlowingVo;
  318. state.userVehicleInfoSumQueryVo.vehicleSum = JSON.parse(JSON.stringify(data.userVehicleInfoSumQueryVo)).vehicleSum;
  319. state.userVehicleInfoSumQueryVo.orderStatus0 = JSON.parse(JSON.stringify(data.userVehicleInfoSumQueryVo)).orderStatus0;
  320. console.log("获取用户信息", state.userVehicleInfoSumQueryVo.vehicleSum, state.userVehicleInfoSumQueryVo.orderStatus0);
  321. queryCarMsg();
  322. })
  323. .catch((err) => {
  324. console.log(err);
  325. });
  326. }
  327. const del = (id) => {
  328. wx.showModal({
  329. title: '提示',
  330. content: '是否删除该条车辆信息',
  331. success: function (res) {
  332. if (res.confirm) {
  333. console.log('用户点击确定');
  334. let data = {
  335. vehicleId: id,
  336. openId: getItem('openId')
  337. }
  338. const options = {
  339. type: 2,
  340. data: data,
  341. method: "POST",
  342. showLoading: true,
  343. };
  344. request(delCarInfo, options).then((res) => {
  345. const data = stringToJson(res.bizContent);
  346. console.log(data)
  347. state.list = data.vehicleManages
  348. if (data.info == '成功.') {
  349. uni.showToast({
  350. title: "删除成功",
  351. icon: "none"
  352. })
  353. queryCarMsg();
  354. }
  355. });
  356. } else if (res.cancel) {
  357. console.log('用户点击取消');
  358. }
  359. }
  360. });
  361. }
  362. </script>
  363. <style>
  364. page {
  365. background: #eef7f7;
  366. }
  367. </style>
  368. <style scoped>
  369. .unlogin {
  370. filter: grayscale(100%);
  371. opacity: 0.7;
  372. }
  373. .wrapper {
  374. position: relative;
  375. background: #fff;
  376. }
  377. .bar {
  378. width: 100%;
  379. position: fixed;
  380. text-align: center;
  381. font-size: 32rpx;
  382. font-weight: bold;
  383. }
  384. .bg-head {
  385. width: 100%;
  386. position: absolute;
  387. z-index: -99;
  388. top: 0;
  389. left: 0;
  390. }
  391. .content {
  392. position: absolute;
  393. display: flex;
  394. flex-direction: column;
  395. width: 100%;
  396. }
  397. .head {
  398. display: flex;
  399. justify-content: space-between;
  400. align-items: center;
  401. width: 100%;
  402. box-sizing: border-box;
  403. padding: 40rpx 0 46rpx;
  404. }
  405. .head .avatar {
  406. display: flex;
  407. align-items: center;
  408. }
  409. .head .avatar image {
  410. width: 120rpx;
  411. height: 120rpx;
  412. border-radius: 80rpx;
  413. border: 12rpx solid rgba(255, 255, 255, 0.5);
  414. margin: 0 20rpx 0 30rpx;
  415. }
  416. .head .setting {
  417. display: flex;
  418. align-items: center;
  419. background: rgba(0, 179, 139, .1);
  420. border: 1px solid #fff;
  421. height: 60rpx;
  422. border-radius: 30rpx;
  423. padding: 0 34rpx;
  424. color: #fff;
  425. font-size: 28rpx;
  426. margin-right: 30rpx;
  427. }
  428. .head .setting image {
  429. width: 40rpx;
  430. height: 40rpx;
  431. margin-right: 6rpx;
  432. }
  433. .head .nickname {
  434. font-size: 36rpx;
  435. color: #000000;
  436. }
  437. .head .user-id {
  438. font-size: 26rpx;
  439. color: #000000;
  440. padding-top: 30rpx;
  441. display: flex;
  442. align-items: center;
  443. }
  444. .head .btn-change {
  445. font-size: 22rpx;
  446. height: 40rpx;
  447. padding: 0 20rpx;
  448. border: 1px solid #fff;
  449. color: #fff;
  450. box-sizing: border-box;
  451. border-radius: 20rpx;
  452. margin-left: 16rpx;
  453. background: rgba(0, 179, 139, .1);
  454. }
  455. .panel-box {
  456. display: flex;
  457. flex-direction: column;
  458. background: #fff;
  459. margin: 0 30rpx 30rpx;
  460. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  461. border-radius: 20rpx;
  462. padding: 30rpx 0;
  463. }
  464. .panel {
  465. display: flex;
  466. justify-content: space-evenly;
  467. padding: 30rpx 0;
  468. }
  469. .panel-item {
  470. display: flex;
  471. flex-direction: column;
  472. justify-content: center;
  473. align-items: center;
  474. font-size: 32rpx;
  475. }
  476. .panel-item .num {
  477. font-weight: bold;
  478. color: #454545;
  479. }
  480. .panel-item .txt {
  481. font-size: 26rpx;
  482. }
  483. .panel-item .type {
  484. color: #999;
  485. font-size: 26rpx;
  486. padding: 14rpx 0;
  487. }
  488. .panel-box .icon-notice {
  489. width: 48rpx;
  490. height: 48rpx;
  491. }
  492. .panel-box .notice {
  493. display: flex;
  494. font-size: 32rpx;
  495. margin: 0 30rpx;
  496. align-items: center;
  497. background: #f3f3f3;
  498. border-radius: 10rpx;
  499. padding: 0 14rpx;
  500. }
  501. .panel-box .notice .notice-content {
  502. height: 68rpx;
  503. line-height: 68rpx;
  504. padding: 0 12rpx;
  505. font-size: 28rpx;
  506. }
  507. .box .arrow {
  508. width: 14rpx;
  509. height: 26rpx;
  510. }
  511. .box {
  512. background: #ffffff;
  513. margin: 0 30rpx 30rpx;
  514. padding: 30rpx;
  515. border-radius: 20rpx;
  516. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  517. }
  518. .box .more {
  519. display: flex;
  520. font-size: 26rpx;
  521. color: #808080;
  522. align-items: center;
  523. }
  524. .box .more .more-text {
  525. padding-right: 12rpx;
  526. }
  527. .box .right-head {
  528. display: flex;
  529. justify-content: space-between;
  530. }
  531. .box .right-head .tit {
  532. font-size: 32rpx;
  533. /* font-weight: bold; */
  534. }
  535. .rights .rights-items {
  536. display: flex;
  537. justify-content: space-evenly;
  538. padding: 30rpx 0;
  539. }
  540. .rights .item {
  541. display: flex;
  542. flex-direction: column;
  543. align-items: center;
  544. justify-content: center;
  545. }
  546. .rights .item .tit {
  547. font-size: 26rpx;
  548. color: #333;
  549. padding: 20rpx 0 10rpx 0;
  550. }
  551. .rights .item .sub-tit {
  552. font-size: 22rpx;
  553. color: #999;
  554. }
  555. .order .order-items {
  556. display: flex;
  557. justify-content: space-evenly;
  558. padding: 30rpx 0;
  559. }
  560. .order .item {
  561. display: flex;
  562. flex-direction: column;
  563. align-items: center;
  564. justify-content: center;
  565. }
  566. .order .item .tit {
  567. font-size: 26rpx;
  568. color: #333;
  569. padding: 20rpx 0 10rpx 0;
  570. }
  571. .box .icon {
  572. width: 56rpx;
  573. height: 56rpx;
  574. }
  575. .go-through .pass {
  576. display: flex;
  577. flex-direction: column;
  578. }
  579. .go-through .total {
  580. display: flex;
  581. justify-content: space-between;
  582. font-size: 26rpx;
  583. color: #999;
  584. }
  585. .go-through .amount {
  586. display: flex;
  587. justify-content: space-between;
  588. align-items: center;
  589. font-size: 28rpx;
  590. color: #333;
  591. }
  592. .go-through .line {
  593. display: flex;
  594. }
  595. .go-through .line1 {
  596. height: 8rpx;
  597. background: #00B38B;
  598. border-radius: 4rpx;
  599. }
  600. .go-through .line2 {
  601. height: 8rpx;
  602. background: #F1F1F1;
  603. border-radius: 0 4rpx 4rpx 0;
  604. flex: 1;
  605. }
  606. .go-through .mileage {
  607. display: flex;
  608. justify-content: space-evenly;
  609. align-items: center;
  610. text-align: center;
  611. margin: 32rpx 0;
  612. }
  613. .go-through .mileage .txt {
  614. display: flex;
  615. flex-direction: column;
  616. }
  617. .go-through .mileage .tit {
  618. font-size: 26rpx;
  619. color: #999;
  620. }
  621. .go-through .mileage .val {
  622. font-size: 28rpx;
  623. color: #333;
  624. margin-top: 16rpx;
  625. }
  626. .go-through .m-top {
  627. margin-top: 16rpx;
  628. }
  629. .go-through .detail {
  630. width: 100%;
  631. text-align: center;
  632. color: #00B38B;
  633. font-size: 24rpx;
  634. border-top: 1px solid #DCDCDC;
  635. padding-top: 24rpx;
  636. }
  637. .cars .car-item {
  638. display: flex;
  639. align-items: center;
  640. padding: 36rpx 0;
  641. }
  642. .cars .car-item .btn-unbind {
  643. border: 1px solid #00B38B;
  644. border-radius: 30rpx;
  645. height: 60rpx;
  646. box-sizing: border-box;
  647. line-height: 60rpx;
  648. font-size: 24rpx;
  649. padding: 0 20rpx;
  650. background: rgba(0, 179, 139, .1);
  651. color: #00B38B;
  652. }
  653. .cars .car-pic {
  654. width: 120rpx;
  655. height: 120rpx;
  656. margin-right: 12rpx;
  657. }
  658. .cars .car-info {
  659. display: flex;
  660. flex-direction: column;
  661. flex: 1;
  662. color: #999;
  663. font-size: 22rpx;
  664. }
  665. .cars .car-no {
  666. font-size: 30rpx;
  667. color: #333;
  668. }
  669. .cars .card-no {
  670. margin-top: 14rpx;
  671. }
  672. .cars .sub-bind {
  673. display: flex;
  674. align-items: center;
  675. justify-content: space-between;
  676. border-top: 1px solid #F1F1F1;
  677. padding-top: 20rpx;
  678. }
  679. .cars .sub-bind .item-tit {
  680. display: flex;
  681. align-items: center;
  682. font-size: 26rpx;
  683. color: #333;
  684. }
  685. .cars .sub-bind .right-arrow {
  686. font-size: 22rpx;
  687. color: #ccc;
  688. display: flex;
  689. justify-content: center;
  690. align-items: center;
  691. }
  692. .cars .sub-bind .sub-tit {
  693. padding-right: 20rpx;
  694. }
  695. .menu {
  696. background: #ffffff;
  697. /* border-radius: 30rpx 30rpx 0 0; */
  698. padding: 0 30rpx;
  699. margin: 0 30rpx 30rpx;
  700. border-radius: 20rpx;
  701. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  702. }
  703. .menu .arrow {
  704. width: 14rpx;
  705. height: 26rpx;
  706. }
  707. .menu .icon {
  708. width: 48rpx;
  709. height: 48rpx;
  710. margin-right: 10rpx;
  711. }
  712. .menu .item {
  713. display: flex;
  714. justify-content: space-between;
  715. align-items: center;
  716. /* border-bottom: 1px solid #dcdcdc; */
  717. padding: 20rpx 0;
  718. }
  719. .menu .item:first-child {
  720. margin-top: 10rpx;
  721. }
  722. .menu .item-tit {
  723. display: flex;
  724. align-items: center;
  725. font-size: 26rpx;
  726. color: #333;
  727. }
  728. .menu .right-arrow {
  729. font-size: 22rpx;
  730. color: #ccc;
  731. display: flex;
  732. justify-content: center;
  733. align-items: center;
  734. }
  735. .menu .sub-tit {
  736. padding-right: 20rpx;
  737. }
  738. </style>