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.

index.vue 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828
  1. <template>
  2. <view class="statusBar" :style="{height:statusBarHeight+'px'}" v-show="isShowBar"></view>
  3. <view class="wrapper">
  4. <!-- Banner -->
  5. <view class="banner">
  6. <swiper class="swiper" circular>
  7. <swiper-item class="swiper-item">
  8. <image :src="fileURL + 'image/index/banner-1.png'" mode="widthFix"></image>
  9. </swiper-item>
  10. </swiper>
  11. <view class="notice">
  12. <image class="icon" :src="fileURL + 'image/index/icon-notice.png'" lazy-load="false">
  13. </image>
  14. <text class="notice-text">贵州高速最新施工,请注意昆明西...</text>
  15. </view>
  16. </view>
  17. <!-- 按钮导航 -->
  18. <view class="nav">
  19. <view class="item-box" @click="$util.navTo('/pages/recharge/select-car',true)">
  20. <view class="item item-1">
  21. <image :src="fileURL + 'image/index/item-1.png'" />
  22. </view>
  23. <view class="text">储值卡充值</view>
  24. </view>
  25. <view class="item-box" @click="$util.navTo('/service/search/select-car',true)">
  26. <view class="item item-2">
  27. <image :src="fileURL + 'image/index/item-2.png'" />
  28. </view>
  29. <view class="text">账单查询</view>
  30. </view>
  31. <view class="item-box" @click="$util.navTo('/invoice/Invoice-mannager',true)">
  32. <view class="item item-3">
  33. <image :src="fileURL + 'image/index/item-3.png'" />
  34. </view>
  35. <view class="text">通行发票</view>
  36. </view>
  37. <view class="item-box" @click="$util.navTo('/issueActivation/install-activation-order',true)">
  38. <view class="item item-4">
  39. <image :src="fileURL + 'image/index/item-4.png'" />
  40. </view>
  41. <view class="text">设备激活</view>
  42. </view>
  43. <view class="item-box" @click="$util.navTo('/after-sale/card-loss-reporting/select-car',true)">
  44. <view class="item item-5">
  45. <image :src="fileURL + 'image/index/item-5.png'" />
  46. </view>
  47. <view class="text">设备遗失</view>
  48. </view>
  49. <!-- <view class="item-box" @click="$util.navTo('/after-sale/rescind-carId/rescind-carId-select',true)"> -->
  50. <view class="item-box" @click="$util.navTo(`/after-sale/rescind-carId/rescind-carId-select`,true)">
  51. <view class="item item-6">
  52. <image :src="fileURL + 'image/index/item-6.png'" />
  53. </view>
  54. <view class="text">解除车牌占用</view>
  55. </view>
  56. <view class="item-box"
  57. @click="$util.navTo(`/personal-center/setting/personal-information/corrections`,true)">
  58. <view class="item item-7">
  59. <image :src="fileURL + 'image/index/item-7.png'" />
  60. </view>
  61. <view class="text">基础信息变更</view>
  62. </view>
  63. <view class="item-box" @click="$util.navTo(`/pages/service/service`,true)">
  64. <view class="item item-8">
  65. <image :src="fileURL + 'image/index/item-more.png'" />
  66. </view>
  67. <view class="text">更多</view>
  68. </view>
  69. </view>
  70. <!-- 消息滚动显示 -->
  71. <view class="backlog-notice">
  72. <notice-bar :noticeList="state.noticeList" @noticeClick="$util.msg('该功能正在开发中,敬请期待!')"></notice-bar>
  73. </view>
  74. <!--快速办理通道 -->
  75. <view class="express-lane">
  76. <view class="title">快速办理通道</view>
  77. <view class="lane">
  78. <view class="lane-item lane-1" :style="{ '--background': bgOrange }" @click="showMask(0)">
  79. <image :src="fileURL + 'image/index/icon-car.png'"></image>
  80. <view class="text">
  81. <text class="head">客车通道</text>
  82. <text class="decribe">业务内容简介</text>
  83. </view>
  84. </view>
  85. <view class="lane-item lane-2" :style="{ '--background': bgBlue }" @click="showMask(1)">
  86. <image :src="fileURL + 'image/index/icon-truck.png'"></image>
  87. <view class="text">
  88. <text class="head">货车通道</text>
  89. <text class="decribe">业务内容简介</text>
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. <!-- 办理流程 -->
  95. <view class="flow-path">
  96. <scroll-view scroll-x="true" class="scroll-view">
  97. <view class="top-menu">
  98. <view :class="item == state.tabActive ? 'tab active' : 'tab'" v-for="item in state.flowPathTabList"
  99. :key="item" @click="flowPathTabHandle(item)">
  100. <view class="border"></view>{{ item }}
  101. </view>
  102. </view>
  103. </scroll-view>
  104. <view v-if="state.tabActive === '办理流程'">
  105. <view class="flow-list">
  106. <flow-path-list :options="state.flowList"></flow-path-list>
  107. </view>
  108. </view>
  109. <view v-else-if="state.tabActive === '办理条件'">
  110. <view class="flow-list as-gravity-center"> 办理条件 </view>
  111. </view>
  112. <view v-else-if="state.tabActive === '常见问题'">
  113. <view class="flow-list as-gravity-center"> 常见问题 </view>
  114. </view>
  115. </view>
  116. </view>
  117. <!-- 高速快讯 -->
  118. <view class="news">
  119. <view class="title">高速快讯</view>
  120. <view class="news-box">
  121. <view class="news-item" @click="$util.msg('该功能正在开发中,敬请期待!')">
  122. <view class="left-text">
  123. <view class="tit">贵州高速最新施工通告,请注意贵州高速最新通告,请注意...</view>
  124. <view class="span">施工通告</view>
  125. </view>
  126. <view class="image-box">
  127. <image :src="fileURL + 'image/index/news-1.png'"></image>
  128. </view>
  129. </view>
  130. <view class="news-item" @click="$util.msg('该功能正在开发中,敬请期待!')">
  131. <view class="left-text">
  132. <view class="tit">贵州新建服务区,请注意贵州高速最新通告,请留意...</view>
  133. <view class="span">新建</view>
  134. </view>
  135. <view class="image-box">
  136. <image :src="fileURL + 'image/index/news-2.png'"></image>
  137. </view>
  138. </view>
  139. <view class="more">查看更多</view>
  140. </view>
  141. </view>
  142. <!-- 专区服务 -->
  143. <view class="service">
  144. <view class="title">专区服务</view>
  145. <view class="service-box">
  146. <view class="service-item border" @click="$util.msg('该功能正在开发中,敬请期待!')">
  147. <image :src="fileURL + 'image/index/truck-point.png'"></image>
  148. <view class="text">
  149. <view class="tit">货车积分返利</view>
  150. <view class="sub">海量商品任你选择</view>
  151. </view>
  152. </view>
  153. <view class="service-item" @click="$util.msg('该功能正在开发中,敬请期待!')">
  154. <image :src="fileURL + 'image/index/parking-bill.png'"></image>
  155. <view class="text">
  156. <view class="tit">停车场账单查询</view>
  157. <view class="sub">消费明细一目了然{{ title }}</view>
  158. </view>
  159. </view>
  160. </view>
  161. </view>
  162. <!-- ETC选择弹窗 -->
  163. <view class="mask" v-if="isShowMask">
  164. <view class="mask-content">
  165. <view class="mask-close">
  166. <image :src="fileURL + 'image/index/icon-close.png'" class="icon-closed" @click="closeMask"></image>
  167. </view>
  168. <view class="mask-title" :style="{ '--color': color }">选择ETC用户类型</view>
  169. <view class="mask-tab">
  170. <view class="tab-item active" @click="toCreatOrder('1')">
  171. <image :src="fileURL + 'image/index/icon-personal.png'"></image>
  172. <text class="tab-tit on">个人办理</text>
  173. </view>
  174. <view class="tab-item" @click="toCreatOrder('2')">
  175. <image :src="fileURL + 'image/index/icon-unit.png'"></image>
  176. <text class="tab-tit on">单位办理</text>
  177. </view>
  178. </view>
  179. </view>
  180. </view>
  181. </template>
  182. <script setup lang="ts">
  183. import {
  184. onMounted,
  185. ref
  186. } from "vue";
  187. import {
  188. onPageScroll
  189. } from "@dcloudio/uni-app";
  190. import flowPathList from "./components/flow-path-list.vue";
  191. import {
  192. request
  193. } from "../../utils/network/request.js";
  194. import {
  195. stringToJson
  196. } from "../../utils/network/encryption.js";
  197. import {
  198. useUserStore
  199. } from "@/stores/user";
  200. import {
  201. getItem,
  202. StorageKeys
  203. } from "../../utils/storage";
  204. import {
  205. onLoad,
  206. } from "@dcloudio/uni-app";
  207. import {
  208. queryKey
  209. } from "@/utils/network/api.js";
  210. import {
  211. reactive
  212. } from "vue";
  213. import {
  214. fileURL
  215. } from "@/datas/fileURL.js";
  216. import {
  217. navTo,
  218. confirm
  219. } from "../../utils/utils";
  220. const bgOrange = `url(${fileURL}image/index/bg-orange.png) center center no-repeat`;
  221. const bgBlue = `url(${fileURL}image/index/bg-blue.png) center center no-repeat`;
  222. const state = reactive({
  223. type: 0,
  224. userType: 0,
  225. noticeList: [
  226. //公告栏列表
  227. {
  228. title: "您有一条待办事项,还未办理完成",
  229. id: 1,
  230. },
  231. {
  232. title: "XXX刚刚申请了公交车发行",
  233. id: 2,
  234. },
  235. {
  236. title: "您还有一条订单已经发货了",
  237. id: 3,
  238. },
  239. {
  240. title: "订单等您确认收货",
  241. id: 4,
  242. },
  243. {
  244. title: "最新的新闻资讯请点击哈哈哈哈哈哈哈假的假的假的假的基督教",
  245. id: 5,
  246. },
  247. ],
  248. flowPathTabList: ["办理流程", "办理条件", "常见问题"],
  249. tabActive: "办理流程",
  250. flowList: [
  251. //办理流程数据
  252. {
  253. title: "第一步:信息校验:",
  254. desc: "提交车牌号、车牌颜色、收货地址相关信息",
  255. },
  256. {
  257. title: "第二步:证件上传:",
  258. desc: "上传身份证、行驶证等相关信息",
  259. },
  260. {
  261. title: "第三步:签约代扣:",
  262. desc: "选择签约账户并关联",
  263. },
  264. {
  265. title: "第四步:产品选择:",
  266. desc: "选择购买的发行产品",
  267. },
  268. {
  269. title: "第五步:订单完成:",
  270. desc: "支付完成订单",
  271. },
  272. ],
  273. });
  274. const isShowMask = ref(false);
  275. const isShowBar = ref(false)
  276. const userStore = useUserStore();
  277. const type = 0;
  278. const title = ref("我是测试");
  279. const statusBarHeight = ref(0)
  280. //监听页面滚动
  281. onPageScroll((e) => {
  282. if (e.scrollTop > statusBarHeight.value) {
  283. isShowBar.value = true;
  284. } else {
  285. isShowBar.value = false;
  286. }
  287. });
  288. //办理流程tab选择
  289. const flowPathTabHandle = (tab) => {
  290. state.tabActive = tab;
  291. };
  292. //安装激活
  293. const goActivation = () => {
  294. uni.navigateTo({
  295. url: "/pages/order/order",
  296. });
  297. };
  298. const goToRecharge = () => {
  299. console.log("执行点击事件");
  300. console.log('321')
  301. uni.navigateTo({
  302. url: "/pages/recharge/select-car",
  303. });
  304. };
  305. onLoad(() => {
  306. quanKeyAction().then((val: any) => {
  307. console.log(val)
  308. })
  309. });
  310. const quanKeyAction = (val: any) => {
  311. var data = {};
  312. const options = {
  313. type: 2,
  314. data: data,
  315. method: "POST",
  316. showLoading: true,
  317. };
  318. return new Promise(async (resolve, reject) => {
  319. const res = await request(queryKey, options);
  320. const data = stringToJson(res.bizContent);
  321. resolve(data);
  322. }).catch((error) => {
  323. reject(error);
  324. });
  325. }
  326. const toCreatOrder = (val: any) => {
  327. state.userType = val;
  328. if (val === "1") {
  329. navTo(`/applyCard/essential-information?type=${state.type}&&userType=${state.userType}`, true)
  330. // uni.navigateTo({
  331. // url: `/applyCard/essential-information?type=${state.type}&&userType=${state.userType}`,
  332. // });
  333. } else {
  334. // uni.navigateTo({
  335. // url: `/applyCard/essential-information?type=${state.type}&&userType=${state.userType}`,
  336. // });
  337. navTo(`/applyCard/essential-information?type=${state.type}&&userType=${state.userType}`, true)
  338. }
  339. closeMask();
  340. };
  341. const showMask = (val: any) => {
  342. console.log(88888888888888);
  343. console.log(getItem("token"));
  344. if (getItem("token") != '' || getItem("openId") != '') {
  345. state.type = val;
  346. isShowMask.value = true;
  347. } else {
  348. confirm('您需要登录过后才能使用此功能', () => {
  349. uni.navigateTo({
  350. url: '/login/login',
  351. });
  352. }, '温馨提示', true, '去登录');
  353. }
  354. };
  355. const closeMask = () => {
  356. isShowMask.value = false;
  357. };
  358. onMounted(() => {
  359. uni.getSystemInfo({
  360. success: (e: any) => {
  361. console.log(e.statusBarHeight);
  362. statusBarHeight.value = e.statusBarHeight;
  363. }
  364. })
  365. // console.log(credentialType);
  366. //参数说明
  367. // let code = "30" //请求编码
  368. let options = {
  369. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  370. data: {
  371. opId: getItem("openId"),
  372. source: "WECHAT",
  373. tabIndex: "0",
  374. }, //请求参数
  375. method: "POST", //提交方式(默认POST)
  376. showLoading: true, //是否显示加载中(默认显示)
  377. };
  378. //调用方式
  379. // request(searchOrder, options)
  380. // .then((res) => {
  381. // console.log(stringToJson(res.bizContent));
  382. // // stringToJson(res.bizContent)
  383. // })
  384. // .catch((err) => {
  385. // console.log(err);
  386. // });
  387. });
  388. </script>
  389. <style>
  390. page {
  391. background: #eef7f7;
  392. }
  393. </style>
  394. <style lang="scss" scoped>
  395. // .wrapper {
  396. // background: #eef7f7;
  397. // }
  398. .statusBar {
  399. width: 100%;
  400. position: sticky;
  401. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  402. top: 0;
  403. left: 0;
  404. z-index: 999;
  405. }
  406. .banner {
  407. position: relative;
  408. }
  409. .banner swiper {
  410. height: 470rpx;
  411. width: 750rpx;
  412. }
  413. .banner .notice {
  414. position: absolute;
  415. background: rgba(0, 0, 0, 0.28);
  416. border-radius: 30rpx;
  417. width: 500rpx;
  418. height: 60rpx;
  419. bottom: 34rpx;
  420. left: 125rpx;
  421. display: flex;
  422. justify-content: center;
  423. align-items: center;
  424. padding: 0 20rpx;
  425. box-sizing: border-box;
  426. }
  427. .banner .notice .icon {
  428. width: 40rpx;
  429. height: 40rpx;
  430. margin: 10rpx;
  431. }
  432. .banner .notice .notice-text {
  433. font-size: 24rpx;
  434. color: #ffffff;
  435. flex: 1;
  436. }
  437. .swiper-item image {
  438. width: 100%;
  439. height: auto;
  440. }
  441. .nav {
  442. display: flex;
  443. flex-wrap: wrap;
  444. padding: 0 35rpx;
  445. font-size: 28rpx;
  446. }
  447. .nav .item-box {
  448. display: flex;
  449. flex-direction: column;
  450. justify-content: center;
  451. align-items: center;
  452. }
  453. .nav .item {
  454. width: 80rpx;
  455. height: 80rpx;
  456. border-radius: 30rpx;
  457. display: flex;
  458. justify-content: center;
  459. align-items: center;
  460. margin: 50rpx 45rpx 20rpx 45rpx;
  461. }
  462. .nav .text {
  463. font-size: 24rpx;
  464. color: #172843;
  465. }
  466. .item-1 {
  467. background: linear-gradient(133deg, #5fff9b 0%, #00b38b 100%);
  468. }
  469. .item-2 {
  470. background: linear-gradient(-50deg, #018ffd 0%, #27fcff 100%);
  471. }
  472. .item-3 {
  473. background: linear-gradient(-47deg, #f88721 0%, #fecd61 100%);
  474. }
  475. .item-4 {
  476. background: linear-gradient(-47deg, #018ffd 0%, #27fcff 100%);
  477. }
  478. .item-5 {
  479. background: linear-gradient(-44deg, #018ffd 0%, #27fcff 100%);
  480. }
  481. .item-6 {
  482. background: linear-gradient(-50deg, #f88721 0%, #fecd61 100%);
  483. }
  484. .item-7 {
  485. background: linear-gradient(129deg, #5fff9b 0%, #00b38b 100%);
  486. }
  487. .item-8 {
  488. background: linear-gradient(124deg, #b8f0f2 0%, #62aeb1 100%);
  489. }
  490. .item image {
  491. width: 56rpx;
  492. height: 56rpx;
  493. }
  494. .express-lane {
  495. font-size: 36rpx;
  496. font-weight: 400;
  497. color: #000000;
  498. padding-top: 30rpx;
  499. // line-height: 58rpx;
  500. }
  501. .express-lane .title {
  502. padding-left: 30rpx;
  503. margin: 0rpx 0 20rpx;
  504. font-size: 32rpx;
  505. font-weight: bold;
  506. }
  507. .lane {
  508. display: flex;
  509. justify-content: space-evenly;
  510. }
  511. .lane-item {
  512. width: 330rpx;
  513. height: 150rpx;
  514. border-radius: 20rpx;
  515. display: flex;
  516. justify-content: center;
  517. align-items: center;
  518. }
  519. .lane-item image {
  520. width: 120rpx;
  521. height: 100rpx;
  522. margin: 0 18rpx;
  523. }
  524. .lane-item .text {
  525. display: flex;
  526. flex-direction: column;
  527. justify-content: center;
  528. // align-items: center;
  529. color: #ffffff;
  530. flex: 1;
  531. }
  532. .lane-item .head {
  533. font-size: 30rpx;
  534. font-weight: bold;
  535. }
  536. .lane-item .decribe {
  537. font-size: 24rpx;
  538. }
  539. .lane-1 {
  540. background: var(--background);
  541. }
  542. .lane-2 {
  543. background: var(--background);
  544. }
  545. .news {
  546. padding: 30rpx 30rpx 0 30rpx;
  547. }
  548. .news .title {
  549. font-size: 32rpx;
  550. font-weight: bold;
  551. }
  552. .news .left-text {
  553. flex: 1;
  554. margin-right: 100rpx;
  555. }
  556. .news-box {
  557. background: #ffffff;
  558. border-radius: 20rpx;
  559. padding: 0 32rpx;
  560. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  561. margin: 20rpx 0 50rpx;
  562. }
  563. .news .tit {
  564. font-size: 26rpx;
  565. color: #172843;
  566. }
  567. .news .news-item {
  568. display: flex;
  569. border-bottom: 1px solid #dcdcdc;
  570. padding: 32rpx 0 15rpx;
  571. }
  572. .news .image-box image {
  573. width: 100rpx;
  574. height: 100rpx;
  575. }
  576. .news .span {
  577. font-size: 22rpx;
  578. display: inline-block;
  579. text-align: center;
  580. background: #bae0f1;
  581. border-radius: 6rpx;
  582. color: #0a8f8a;
  583. padding: 4rpx 8rpx;
  584. }
  585. .news .more {
  586. font-size: 24rpx;
  587. text-align: center;
  588. color: #0a8f8a;
  589. padding: 22rpx 0;
  590. }
  591. .service {
  592. padding: 0 30rpx 50rpx 30rpx;
  593. }
  594. .service .title {
  595. font-size: 32rpx;
  596. font-weight: bold;
  597. }
  598. .service-box {
  599. background: #ffffff;
  600. border-radius: 20rpx;
  601. padding: 0 32rpx;
  602. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  603. display: flex;
  604. flex-direction: column;
  605. margin-top: 20rpx;
  606. }
  607. .service-item {
  608. display: flex;
  609. align-items: center;
  610. justify-content: center;
  611. padding: 22rpx 0;
  612. }
  613. .service-item .text {
  614. flex: 1;
  615. }
  616. .service image {
  617. width: 170rpx;
  618. height: 116rpx;
  619. margin-right: 26rpx;
  620. }
  621. .service .tit {
  622. font-size: 28rpx;
  623. font-weight: bold;
  624. color: #0d0f26;
  625. }
  626. .service .sub {
  627. font-size: 24rpx;
  628. color: #666666;
  629. padding-top: 10rpx;
  630. }
  631. .service .border {
  632. border-bottom: 1px solid #dcdcdc;
  633. }
  634. .mask {
  635. background: $uni-bg-color-mask;
  636. position: fixed;
  637. left: 0;
  638. top: 0;
  639. right: 0;
  640. bottom: 0;
  641. }
  642. .mask-content {
  643. background: $uni-bg-color;
  644. width: 570rpx;
  645. height: 480rpx;
  646. position: absolute;
  647. left: 50%;
  648. top: 50%;
  649. transform: translate(-50%, -50%);
  650. display: flex;
  651. flex-direction: column;
  652. border-radius: 20rpx;
  653. }
  654. .mask-close {
  655. text-align: right;
  656. }
  657. .mask-title {
  658. text-align: center;
  659. font-size: 32rpx;
  660. color: $uni-text-color-black;
  661. margin-bottom: 50rpx;
  662. }
  663. .mask-tab {
  664. display: flex;
  665. justify-content: space-evenly;
  666. }
  667. .icon-closed {
  668. width: 48rpx;
  669. height: 48rpx;
  670. margin: 24rpx 24rpx 0 0;
  671. }
  672. .tab-item {
  673. display: flex;
  674. flex-direction: column;
  675. justify-content: center;
  676. align-items: center;
  677. }
  678. .tab-tit {
  679. font-size: 32rpx;
  680. margin-top: 20rpx;
  681. color: #666;
  682. }
  683. .tab-item image {
  684. width: 160rpx;
  685. height: 160rpx;
  686. }
  687. .backlog-notice {
  688. margin: 50rpx 30rpx 0rpx;
  689. }
  690. .flow-path {
  691. padding: 20rpx 0rpx 20rpx;
  692. .scroll-view {
  693. white-space: nowrap;
  694. // position: sticky;
  695. top: 0;
  696. }
  697. .top-menu {
  698. display: flex;
  699. }
  700. .top-menu .tab {
  701. font-size: 28rpx;
  702. padding: 38rpx 30rpx;
  703. color: #666666;
  704. position: relative;
  705. }
  706. .top-menu .active .border {
  707. position: absolute;
  708. width: 70%;
  709. height: 16rpx;
  710. background: #00b38b;
  711. opacity: 0.3;
  712. bottom: 40rpx;
  713. z-index: -99;
  714. left: 15%;
  715. border-radius: 6rpx;
  716. }
  717. .top-menu .active {
  718. font-weight: bold;
  719. font-size: 32rpx;
  720. color: #0d0f26;
  721. }
  722. .top-menu .active::before {
  723. width: 100%;
  724. height: 16rpx;
  725. background: #00b38b;
  726. opacity: 0.3;
  727. }
  728. .flow-list {
  729. margin: 0rpx 30rpx;
  730. min-height: 700rpx;
  731. background: #ffffff;
  732. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  733. border-radius: 20rpx;
  734. padding: 55rpx 30rpx 30rpx;
  735. }
  736. }
  737. </style>