Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

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