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.

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