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

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