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

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