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.

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