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 21KB

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