Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

index.vue 22KB

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