Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

index.vue 22KB

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