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.

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