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

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