您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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