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.

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