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

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