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.

index.vue 22KB

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