選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.vue 24KB

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