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 21KB

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