您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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