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

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