Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index - 副本.vue 21KB

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