Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877
  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.navTo('/service/search/select-car',true)">
  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.navTo('/invoice/Invoice-mannager',true)">
  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.navTo('/after-sale/card-loss-reporting/select-car',true)">
  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. // onLoad,
  209. // } from "@dcloudio/uni-app";
  210. import {
  211. queryKey
  212. } from "@/utils/network/api.js";
  213. import {
  214. reactive
  215. } from "vue";
  216. import {
  217. fileURL
  218. } from "@/datas/fileURL.js";
  219. import {
  220. infoQuery
  221. } from "@/utils/network/api.js"
  222. import {
  223. navTo,
  224. confirm
  225. } from "../../utils/utils";
  226. const bgOrange = `url(${fileURL}image/index/bg-orange.png) center center no-repeat`;
  227. const bgBlue = `url(${fileURL}image/index/bg-blue.png) center center no-repeat`;
  228. const list = reactive(["您有一条待办事项,还未办理完成"])
  229. const state = reactive({
  230. type: 0,
  231. userType: 0,
  232. notice: "",
  233. noticeList: [
  234. //公告栏列表
  235. {
  236. title: "您有一条待办事项,还未办理完成",
  237. id: 1,
  238. },
  239. {
  240. title: "XXX刚刚申请了公交车发行",
  241. id: 2,
  242. },
  243. {
  244. title: "您还有一条订单已经发货了",
  245. id: 3,
  246. },
  247. {
  248. title: "订单等您确认收货",
  249. id: 4,
  250. },
  251. {
  252. title: "最新的新闻资讯请点击哈哈哈哈哈哈哈假的假的假的假的基督教",
  253. id: 5,
  254. },
  255. ],
  256. flowPathTabList: ["办理流程", "办理条件", "常见问题"],
  257. tabActive: "办理流程",
  258. flowList: [
  259. //办理流程数据
  260. {
  261. title: "第一步:信息校验:",
  262. desc: "提交车牌号、车牌颜色、收货地址相关信息",
  263. },
  264. {
  265. title: "第二步:证件上传:",
  266. desc: "上传身份证、行驶证等相关信息",
  267. },
  268. {
  269. title: "第三步:签约代扣:",
  270. desc: "选择签约账户并关联",
  271. },
  272. {
  273. title: "第四步:产品选择:",
  274. desc: "选择购买的发行产品",
  275. },
  276. {
  277. title: "第五步:订单完成:",
  278. desc: "支付完成订单",
  279. },
  280. ],
  281. });
  282. const isShowMask = ref(false);
  283. const isShowBar = ref(false)
  284. const userStore = useUserStore();
  285. const type = 0;
  286. const title = ref("我是测试");
  287. const statusBarHeight = ref(0)
  288. //监听页面滚动
  289. onPageScroll((e) => {
  290. if (e.scrollTop > statusBarHeight.value) {
  291. isShowBar.value = true;
  292. } else {
  293. isShowBar.value = false;
  294. }
  295. });
  296. // onLoad(() => {
  297. // getInfo()
  298. // })
  299. onMounted(() => {
  300. uni.getSystemInfo({
  301. success: (e: any) => {
  302. console.log(e.statusBarHeight);
  303. statusBarHeight.value = e.statusBarHeight;
  304. }
  305. })
  306. // console.log(credentialType);
  307. //参数说明
  308. // let code = "30" //请求编码
  309. let options = {
  310. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  311. data: {
  312. opId: getItem("openId"),
  313. source: "WECHAT",
  314. tabIndex: "0",
  315. }, //请求参数
  316. method: "POST", //提交方式(默认POST)
  317. showLoading: true, //是否显示加载中(默认显示)
  318. };
  319. //调用方式
  320. // request(searchOrder, options)
  321. // .then((res) => {
  322. // console.log(stringToJson(res.bizContent));
  323. // // stringToJson(res.bizContent)
  324. // })
  325. // .catch((err) => {
  326. // console.log(err);
  327. // });
  328. });
  329. //办理流程tab选择
  330. const flowPathTabHandle = (tab) => {
  331. state.tabActive = tab;
  332. };
  333. //安装激活
  334. const goActivation = () => {
  335. uni.navigateTo({
  336. url: "/pages/order/order",
  337. });
  338. };
  339. const goToRecharge = () => {
  340. console.log("执行点击事件");
  341. console.log('321')
  342. uni.navigateTo({
  343. url: "/pages/recharge/select-car",
  344. });
  345. };
  346. onLoad(() => {
  347. quanKeyAction().then((val: any) => {
  348. console.log(val)
  349. })
  350. });
  351. const quanKeyAction = (val: any) => {
  352. var data = {};
  353. const options = {
  354. type: 2,
  355. data: data,
  356. method: "POST",
  357. showLoading: true,
  358. };
  359. return new Promise(async (resolve, reject) => {
  360. const res = await request(queryKey, options);
  361. const data = stringToJson(res.bizContent);
  362. resolve(data);
  363. }).catch((error) => {
  364. reject(error);
  365. });
  366. }
  367. const toCreatOrder = (val: any) => {
  368. state.userType = val;
  369. if (val === "1") {
  370. navTo(`/applyCard/essential-information?type=${state.type}&&userType=${state.userType}`, true)
  371. // uni.navigateTo({
  372. // url: `/applyCard/essential-information?type=${state.type}&&userType=${state.userType}`,
  373. // });
  374. } else {
  375. // uni.navigateTo({
  376. // url: `/applyCard/essential-information?type=${state.type}&&userType=${state.userType}`,
  377. // });
  378. navTo(`/applyCard/essential-information?type=${state.type}&&userType=${state.userType}`, true)
  379. }
  380. closeMask();
  381. };
  382. const showMask = (val: any) => {
  383. console.log(88888888888888);
  384. console.log(getItem("token"));
  385. if (getItem("token") != '' || getItem("openId") != '') {
  386. state.type = val;
  387. isShowMask.value = true;
  388. } else {
  389. confirm('您需要登录过后才能使用此功能', () => {
  390. uni.navigateTo({
  391. url: '/login/login',
  392. });
  393. }, '温馨提示', true, '去登录');
  394. }
  395. };
  396. const closeMask = () => {
  397. isShowMask.value = false;
  398. };
  399. // 获取文本信息----用户协议
  400. const getInfo = () => {
  401. //参数说明
  402. let options = {
  403. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  404. data: {
  405. businessType: 'BROADCAST' //广播栏信息
  406. }, //请求参数
  407. method: "POST", //提交方式(默认POST)
  408. showLoading: true, //是否显示加载中(默认显示)
  409. };
  410. //调用方式
  411. request(infoQuery, options)
  412. .then((res) => {
  413. let data = stringToJson(res.bizContent)
  414. console.log(data);
  415. state.notice = data.text
  416. })
  417. .catch((err) => {
  418. console.log(err);
  419. });
  420. }
  421. </script>
  422. <style>
  423. page {
  424. background: #eef7f7;
  425. }
  426. </style>
  427. <style lang="scss" scoped>
  428. // .wrapper {
  429. // background: #eef7f7;
  430. // }
  431. .statusBar {
  432. width: 100%;
  433. position: sticky;
  434. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  435. top: 0;
  436. left: 0;
  437. z-index: 999;
  438. }
  439. .banner {
  440. position: relative;
  441. }
  442. .banner swiper {
  443. height: 470rpx;
  444. width: 750rpx;
  445. }
  446. .banner .notice {
  447. position: absolute;
  448. background: rgba(0, 0, 0, 0.28);
  449. border-radius: 30rpx;
  450. width: 500rpx;
  451. height: 60rpx;
  452. bottom: 34rpx;
  453. left: 125rpx;
  454. display: flex;
  455. justify-content: center;
  456. align-items: center;
  457. padding: 0 20rpx;
  458. box-sizing: border-box;
  459. ::v-deep .uni-noticebar {
  460. background: none !important;
  461. margin-bottom: 0;
  462. text {
  463. font-size: 24rpx !important;
  464. color: #ffffff !important;
  465. }
  466. }
  467. }
  468. .banner .notice .icon {
  469. width: 40rpx;
  470. height: 40rpx;
  471. margin: 10rpx;
  472. }
  473. .banner .notice .notice-text {
  474. font-size: 24rpx;
  475. color: #ffffff;
  476. flex: 1;
  477. }
  478. .swiper-item image {
  479. width: 100%;
  480. height: auto;
  481. }
  482. .nav {
  483. display: flex;
  484. flex-wrap: wrap;
  485. padding: 0 35rpx;
  486. font-size: 28rpx;
  487. }
  488. .nav .item-box {
  489. display: flex;
  490. flex-direction: column;
  491. justify-content: center;
  492. align-items: center;
  493. }
  494. .nav .item {
  495. width: 80rpx;
  496. height: 80rpx;
  497. border-radius: 30rpx;
  498. display: flex;
  499. justify-content: center;
  500. align-items: center;
  501. margin: 50rpx 45rpx 20rpx 45rpx;
  502. }
  503. .nav .text {
  504. font-size: 24rpx;
  505. color: #172843;
  506. }
  507. .item-1 {
  508. background: linear-gradient(133deg, #5fff9b 0%, #00b38b 100%);
  509. }
  510. .item-2 {
  511. background: linear-gradient(-50deg, #018ffd 0%, #27fcff 100%);
  512. }
  513. .item-3 {
  514. background: linear-gradient(-47deg, #f88721 0%, #fecd61 100%);
  515. }
  516. .item-4 {
  517. background: linear-gradient(-47deg, #018ffd 0%, #27fcff 100%);
  518. }
  519. .item-5 {
  520. background: linear-gradient(-44deg, #018ffd 0%, #27fcff 100%);
  521. }
  522. .item-6 {
  523. background: linear-gradient(-50deg, #f88721 0%, #fecd61 100%);
  524. }
  525. .item-7 {
  526. background: linear-gradient(129deg, #5fff9b 0%, #00b38b 100%);
  527. }
  528. .item-8 {
  529. background: linear-gradient(124deg, #b8f0f2 0%, #62aeb1 100%);
  530. }
  531. .item image {
  532. width: 56rpx;
  533. height: 56rpx;
  534. }
  535. .express-lane {
  536. font-size: 36rpx;
  537. font-weight: 400;
  538. color: #000000;
  539. padding-top: 30rpx;
  540. // line-height: 58rpx;
  541. }
  542. .express-lane .title {
  543. padding-left: 30rpx;
  544. margin: 0rpx 0 20rpx;
  545. font-size: 32rpx;
  546. font-weight: bold;
  547. }
  548. .lane {
  549. display: flex;
  550. justify-content: space-evenly;
  551. }
  552. .lane-item {
  553. width: 330rpx;
  554. height: 150rpx;
  555. border-radius: 20rpx;
  556. display: flex;
  557. justify-content: center;
  558. align-items: center;
  559. }
  560. .lane-item image {
  561. width: 120rpx;
  562. height: 100rpx;
  563. margin: 0 18rpx;
  564. }
  565. .lane-item .text {
  566. display: flex;
  567. flex-direction: column;
  568. justify-content: center;
  569. // align-items: center;
  570. color: #ffffff;
  571. flex: 1;
  572. }
  573. .lane-item .head {
  574. font-size: 30rpx;
  575. font-weight: bold;
  576. }
  577. .lane-item .decribe {
  578. font-size: 24rpx;
  579. }
  580. .lane-1 {
  581. background: var(--background);
  582. }
  583. .lane-2 {
  584. background: var(--background);
  585. }
  586. .news {
  587. padding: 30rpx 30rpx 0 30rpx;
  588. }
  589. .news .title {
  590. font-size: 32rpx;
  591. font-weight: bold;
  592. }
  593. .news .left-text {
  594. flex: 1;
  595. margin-right: 100rpx;
  596. }
  597. .news-box {
  598. background: #ffffff;
  599. border-radius: 20rpx;
  600. padding: 0 32rpx;
  601. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  602. margin: 20rpx 0 50rpx;
  603. }
  604. .news .tit {
  605. font-size: 26rpx;
  606. color: #172843;
  607. }
  608. .news .news-item {
  609. display: flex;
  610. border-bottom: 1px solid #dcdcdc;
  611. padding: 32rpx 0 15rpx;
  612. }
  613. .news .image-box image {
  614. width: 100rpx;
  615. height: 100rpx;
  616. }
  617. .news .span {
  618. font-size: 22rpx;
  619. display: inline-block;
  620. text-align: center;
  621. background: #bae0f1;
  622. border-radius: 6rpx;
  623. color: #0a8f8a;
  624. padding: 4rpx 8rpx;
  625. }
  626. .news .more {
  627. font-size: 24rpx;
  628. text-align: center;
  629. color: #0a8f8a;
  630. padding: 22rpx 0;
  631. }
  632. .service {
  633. padding: 0 30rpx 50rpx 30rpx;
  634. }
  635. .service .title {
  636. font-size: 32rpx;
  637. font-weight: bold;
  638. }
  639. .service-box {
  640. background: #ffffff;
  641. border-radius: 20rpx;
  642. padding: 0 32rpx;
  643. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  644. display: flex;
  645. flex-direction: column;
  646. margin-top: 20rpx;
  647. }
  648. .service-item {
  649. display: flex;
  650. align-items: center;
  651. justify-content: center;
  652. padding: 22rpx 0;
  653. }
  654. .service-item .text {
  655. flex: 1;
  656. }
  657. .service image {
  658. width: 170rpx;
  659. height: 116rpx;
  660. margin-right: 26rpx;
  661. }
  662. .service .tit {
  663. font-size: 28rpx;
  664. font-weight: bold;
  665. color: #0d0f26;
  666. }
  667. .service .sub {
  668. font-size: 24rpx;
  669. color: #666666;
  670. padding-top: 10rpx;
  671. }
  672. .service .border {
  673. border-bottom: 1px solid #dcdcdc;
  674. }
  675. .mask {
  676. background: $uni-bg-color-mask;
  677. position: fixed;
  678. left: 0;
  679. top: 0;
  680. right: 0;
  681. bottom: 0;
  682. }
  683. .mask-content {
  684. background: $uni-bg-color;
  685. width: 570rpx;
  686. height: 480rpx;
  687. position: absolute;
  688. left: 50%;
  689. top: 50%;
  690. transform: translate(-50%, -50%);
  691. display: flex;
  692. flex-direction: column;
  693. border-radius: 20rpx;
  694. }
  695. .mask-close {
  696. text-align: right;
  697. }
  698. .mask-title {
  699. text-align: center;
  700. font-size: 32rpx;
  701. color: $uni-text-color-black;
  702. margin-bottom: 50rpx;
  703. }
  704. .mask-tab {
  705. display: flex;
  706. justify-content: space-evenly;
  707. }
  708. .icon-closed {
  709. width: 48rpx;
  710. height: 48rpx;
  711. margin: 24rpx 24rpx 0 0;
  712. }
  713. .tab-item {
  714. display: flex;
  715. flex-direction: column;
  716. justify-content: center;
  717. align-items: center;
  718. }
  719. .tab-tit {
  720. font-size: 32rpx;
  721. margin-top: 20rpx;
  722. color: #666;
  723. }
  724. .tab-item image {
  725. width: 160rpx;
  726. height: 160rpx;
  727. }
  728. .backlog-notice {
  729. margin: 50rpx 30rpx 0rpx;
  730. }
  731. .flow-path {
  732. padding: 20rpx 0rpx 20rpx;
  733. .scroll-view {
  734. white-space: nowrap;
  735. // position: sticky;
  736. top: 0;
  737. }
  738. .top-menu {
  739. display: flex;
  740. }
  741. .top-menu .tab {
  742. font-size: 28rpx;
  743. padding: 38rpx 30rpx;
  744. color: #666666;
  745. position: relative;
  746. }
  747. .top-menu .active .border {
  748. position: absolute;
  749. width: 70%;
  750. height: 16rpx;
  751. background: #00b38b;
  752. opacity: 0.3;
  753. bottom: 40rpx;
  754. z-index: -99;
  755. left: 15%;
  756. border-radius: 6rpx;
  757. }
  758. .top-menu .active {
  759. font-weight: bold;
  760. font-size: 32rpx;
  761. color: #0d0f26;
  762. }
  763. .top-menu .active::before {
  764. width: 100%;
  765. height: 16rpx;
  766. background: #00b38b;
  767. opacity: 0.3;
  768. }
  769. .flow-list {
  770. margin: 0rpx 30rpx;
  771. min-height: 700rpx;
  772. background: #ffffff;
  773. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  774. border-radius: 20rpx;
  775. padding: 55rpx 30rpx 30rpx;
  776. }
  777. }
  778. </style>