Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

index.vue 19KB

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