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.

user.vue 18KB

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