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.

1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
2 年之前
2 年之前
2 年之前
1 年之前
1 年之前
2 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
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">
  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">重新激活</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="cardRecharge(2)">
  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 v-if="false" class="backlog-notice">
  92. <notice-bar :noticeList="state.noticeList" @noticeClick="goOrder(3)"></notice-bar>
  93. </view> -->
  94. <!--快速办理通道 -->
  95. <view class="express-lane">
  96. <view class="title">快速办理</view>
  97. <view class="lane">
  98. <view class="lane-item lane-1" :style="{ '--background': bgOrange }" @click="showMask(1)">
  99. <image :src="fileURL + 'image/index/icon-car.png'" mode="aspectFill"></image>
  100. <view class="text">
  101. <text class="head">客车用户</text>
  102. <!-- <text class="decribe">业务内容简介</text> -->
  103. </view>
  104. </view>
  105. <view class="lane-item lane-2" :style="{ '--background': bgBlue }" @click="showMask(2)">
  106. <image :src="fileURL + 'image/index/icon-truck.png'" mode="aspectFill"></image>
  107. <view class="text">
  108. <text class="head">货车用户</text>
  109. <!-- <text class="decribe">业务内容简介</text> -->
  110. </view>
  111. </view>
  112. </view>
  113. </view>
  114. <!-- 办理流程 -->
  115. <view class="flow-path">
  116. <scroll-view scroll-x="true" class="scroll-view">
  117. <view class="top-menu">
  118. <view :class="item == state.tabActive ? 'tab active' : 'tab'"
  119. v-for="item in state.flowPathTabList" :key="item" @click="flowPathTabHandle(item)">
  120. <view class="border"></view>{{ item }}
  121. </view>
  122. </view>
  123. </scroll-view>
  124. <view v-if="state.tabActive === '办理流程'">
  125. <view class="flow-list">
  126. <flow-path-list :options="state.flowList"></flow-path-list>
  127. </view>
  128. </view>
  129. <view v-else-if="state.tabActive === '办理条件'">
  130. <view class="flow-list as-gravity-center"> {{state.processeConditionText}} </view>
  131. </view>
  132. <view v-else-if="state.tabActive === '常见问题'">
  133. <view class="flow-list as-gravity-center"> {{state.commonQuestionText}} </view>
  134. </view>
  135. </view>
  136. </view>
  137. <!-- 高速快讯 -->
  138. <view class="news" v-if="state.highMsgData.length!=0">
  139. <view class="title">高速快讯</view>
  140. <view class="news-box">
  141. <view class="news-item" v-for="(item,index) in state.highMsgData" :key='index' @click="link(item)">
  142. <view class="left-text">
  143. <view class="tit description">{{item.title}}</view>
  144. <view class="span">{{item.copywriting}}</view>
  145. </view>
  146. <view class="image-box">
  147. <image :src="fileURLList + item.imgUrl" mode="aspectFill"></image>
  148. </view>
  149. </view>
  150. <view v-if="state.highMsgData.length!=0" class="more"
  151. @click="$util.navTo('/subpackage/orders/moreHighMsg/moreHighMsg',true)">查看更多</view>
  152. </view>
  153. </view>
  154. </filter>
  155. <!-- ETC选择弹窗 -->
  156. <view class="mask" v-if="isShowMask">
  157. <view class="mask-content">
  158. <filter>
  159. <view class="mask-close">
  160. <image :src="fileURL + 'image/index/icon-close.png'" class="icon-closed" @click="closeMask"></image>
  161. </view>
  162. <view class="mask-title" :style="{ '--color': color }">选择ETC用户类型</view>
  163. <view class="mask-tab">
  164. <view class="tab-item active" @click="toCreatOrder('1')">
  165. <image :src="fileURL + 'image/index/icon-personal.png'" mode="aspectFill"></image>
  166. <text class="tab-tit on">个人办理</text>
  167. </view>
  168. <view class="tab-item" @click="toCreatOrder('2')">
  169. <image :src="fileURL + 'image/index/icon-unit.png'" mode="aspectFill"></image>
  170. <text class="tab-tit on">单位办理</text>
  171. </view>
  172. </view>
  173. </filter>
  174. </view>
  175. </view>
  176. </template>
  177. <script setup lang="ts">
  178. import {
  179. onMounted,
  180. ref
  181. } from "vue";
  182. import {
  183. onPageScroll,
  184. onLoad, onReachBottom
  185. } from "@dcloudio/uni-app";
  186. import flowPathList from "./components/flow-path-list.vue";
  187. import filter from '@/components/filter/filter.vue';
  188. import {
  189. request
  190. } from "@/utils/network/request.js";
  191. import {
  192. stringToJson
  193. } from "@/utils/network/encryption.js";
  194. import {
  195. useUserStore
  196. } from "@/stores/user";
  197. import {
  198. getItem,
  199. setItem,
  200. StorageKeys
  201. } from "@/utils/storage";
  202. import {
  203. queryKey,
  204. querySwiper,
  205. envs,
  206. infoQuery,
  207. queryHighMsg,
  208. orderList
  209. } from "@/utils/network/api.js";
  210. import {
  211. reactive
  212. } from "vue";
  213. import {
  214. fileURL, fileURLList
  215. } from "@/datas/fileURL.js";
  216. import {
  217. navTo,
  218. confirm,
  219. msg
  220. } from "@/utils/utils";
  221. import {
  222. getCodeName
  223. } from "@/datas/queryKey.js";
  224. import navBar from "@/components/nav-bar/nav-bar2.vue";
  225. const tools = require("../../static/etcUtil/tools.js");
  226. const bgOrange = `url(${fileURL}image/index/bg-orange.png) center center no-repeat`;
  227. const bgBlue = `url(${fileURL}image/index/bg-blue.png) center center no-repeat`;
  228. const list = reactive(["您有一条待办事项,还未办理完成"])
  229. const scrollTop = ref(0);
  230. const isBack = ref(false);
  231. const swiper = reactive({
  232. indicatorDots: true,
  233. autoplay: true,
  234. interval: 3000,
  235. duration: 3000,
  236. easing: "easeInOutCubic"
  237. })
  238. console.log('输出内容==============', getItem(StorageKeys.OpenId), '==============')
  239. const state = reactive({
  240. type: 0, //1客车 2货车
  241. userType: 1, //1个人 2单位
  242. notice: "",
  243. swiperList: [],
  244. noticeList: [], //公告栏列表
  245. flowPathTabList: ["办理流程", "办理条件", "常见问题"],
  246. tabActive: "办理流程",
  247. flowList: [
  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. title: "第五步:签约代扣",
  267. desc: "选择签约账户并关联",
  268. },
  269. ],
  270. highMsgData: '',//高速快讯内容
  271. processeConditionText: "", //办理条件文本
  272. commonQuestionText: "", //常见问题文本
  273. isEnableSetGray: false
  274. });
  275. const isShowMask = ref(false);
  276. const isShowBar = ref(false)
  277. const userStore = useUserStore();
  278. const type = 0;
  279. const title = ref("我是测试");
  280. const statusBarHeight = ref(0)
  281. //监听页面滚动
  282. onPageScroll((e) => {
  283. if (e.scrollTop > statusBarHeight.value) {
  284. isShowBar.value = true;
  285. } else {
  286. isShowBar.value = false;
  287. }
  288. scrollTop.value = e.scrollTop;
  289. });
  290. onLoad(() => {
  291. getInfo();
  292. quanKeyAction().then((val : any) => {
  293. setItem('key', val.dictTypeAndItem)
  294. })
  295. })
  296. onMounted(() => {
  297. uni.getSystemInfo({
  298. success: (e : any) => {
  299. statusBarHeight.value = e.statusBarHeight;
  300. }
  301. })
  302. getSwiper()
  303. });
  304. onReachBottom(() => {
  305. highMsg(); //高速快讯
  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 goOrder = (index) => {
  510. uni.reLaunch({
  511. url: `../order/order?index=${index}`
  512. })
  513. }
  514. const cardRecharge = (val) => {
  515. // #ifdef MP-ALIPAY
  516. if (val == 1 || val == 2 || val == 3) {
  517. msg("业务升级中,请前往九州ETC公众号进行办理。或拨打客服电话400-800-8787")
  518. }
  519. // #endif
  520. // #ifdef MP-WEIXIN
  521. if (val == 1) {
  522. navTo('/pages/recharge/recharge-pay', true)
  523. } else if (val == 2) {
  524. navTo('/subpackage/after-sale/rescind-carId/rescind-carId-select', true)
  525. } else if (val == 3) {
  526. navTo('/subpackage/after-sale/card-loss-reporting/select-car', true)
  527. }
  528. // #endif
  529. }
  530. </script>
  531. <style>
  532. page {
  533. background: #eef7f7;
  534. }
  535. </style>
  536. <style lang="scss" scoped>
  537. .statusBar {
  538. width: 100%;
  539. position: sticky;
  540. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  541. top: 0;
  542. left: 0;
  543. z-index: 999;
  544. }
  545. .banner {
  546. position: relative;
  547. }
  548. .banner swiper {
  549. height: 470rpx;
  550. width: 750rpx;
  551. }
  552. .banner .notice {
  553. position: absolute;
  554. background: rgba(0, 0, 0, 0.28);
  555. border-radius: 30rpx;
  556. width: 500rpx;
  557. height: 60rpx;
  558. bottom: 46rpx;
  559. left: 125rpx;
  560. display: flex;
  561. justify-content: center;
  562. align-items: center;
  563. padding: 0 20rpx;
  564. box-sizing: border-box;
  565. ::v-deep .uni-noticebar {
  566. background: none !important;
  567. margin-bottom: 0;
  568. text {
  569. font-size: 24rpx !important;
  570. color: #ffffff !important;
  571. }
  572. }
  573. }
  574. .banner .notice .icon {
  575. width: 40rpx;
  576. height: 40rpx;
  577. margin: 10rpx;
  578. }
  579. .banner .notice .notice-text {
  580. font-size: 24rpx;
  581. color: #ffffff;
  582. flex: 1;
  583. }
  584. .swiper-item image {
  585. width: 100%;
  586. height: auto;
  587. }
  588. .nav {
  589. display: flex;
  590. flex-wrap: wrap;
  591. padding: 0 35rpx;
  592. font-size: 28rpx;
  593. }
  594. .nav .item-box {
  595. display: flex;
  596. flex-direction: column;
  597. justify-content: center;
  598. align-items: center;
  599. }
  600. .nav .item {
  601. width: 80rpx;
  602. height: 80rpx;
  603. border-radius: 30rpx;
  604. display: flex;
  605. justify-content: center;
  606. align-items: center;
  607. margin: 50rpx 45rpx 20rpx 45rpx;
  608. }
  609. .nav .text {
  610. font-size: 24rpx;
  611. color: #172843;
  612. }
  613. .item-1 {
  614. background: linear-gradient(133deg, #5fff9b 0%, #00b38b 100%);
  615. }
  616. .item-2 {
  617. background: linear-gradient(-50deg, #018ffd 0%, #27fcff 100%);
  618. }
  619. .item-3 {
  620. background: linear-gradient(-47deg, #f88721 0%, #fecd61 100%);
  621. }
  622. .item-4 {
  623. background: linear-gradient(-47deg, #018ffd 0%, #27fcff 100%);
  624. }
  625. .item-5 {
  626. background: linear-gradient(-44deg, #018ffd 0%, #27fcff 100%);
  627. }
  628. .item-6 {
  629. background: linear-gradient(-50deg, #f88721 0%, #fecd61 100%);
  630. }
  631. .item-7 {
  632. background: linear-gradient(129deg, #5fff9b 0%, #00b38b 100%);
  633. }
  634. .item-8 {
  635. background: linear-gradient(124deg, #b8f0f2 0%, #62aeb1 100%);
  636. }
  637. .item image {
  638. width: 56rpx;
  639. height: 56rpx;
  640. }
  641. .express-lane {
  642. font-size: 36rpx;
  643. font-weight: 400;
  644. color: #000000;
  645. padding-top: 30rpx;
  646. }
  647. .express-lane .title {
  648. padding-left: 30rpx;
  649. margin: 0rpx 0 20rpx;
  650. font-size: 32rpx;
  651. font-weight: bold;
  652. }
  653. .lane {
  654. display: flex;
  655. justify-content: space-evenly;
  656. }
  657. .lane-item {
  658. width: 330rpx;
  659. height: 150rpx;
  660. border-radius: 20rpx;
  661. display: flex;
  662. justify-content: center;
  663. align-items: center;
  664. }
  665. .lane-item image {
  666. width: 120rpx;
  667. height: 100rpx;
  668. margin: 0 18rpx;
  669. }
  670. .lane-item .text {
  671. display: flex;
  672. flex-direction: column;
  673. justify-content: center;
  674. color: #ffffff;
  675. flex: 1;
  676. }
  677. .lane-item .head {
  678. font-size: 30rpx;
  679. font-weight: bold;
  680. }
  681. .lane-item .decribe {
  682. font-size: 24rpx;
  683. }
  684. .lane-1 {
  685. background: var(--background);
  686. }
  687. .lane-2 {
  688. background: var(--background);
  689. }
  690. .news {
  691. padding: 30rpx 30rpx 0 30rpx;
  692. }
  693. .news .title {
  694. font-size: 32rpx;
  695. font-weight: bold;
  696. }
  697. .news .left-text {
  698. flex: 1;
  699. margin-right: 100rpx;
  700. }
  701. .news-box {
  702. background: #ffffff;
  703. border-radius: 20rpx;
  704. padding: 0 32rpx;
  705. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  706. margin: 20rpx 0 50rpx;
  707. }
  708. .news .tit {
  709. font-size: 26rpx;
  710. color: #172843;
  711. }
  712. .news .news-item {
  713. display: flex;
  714. border-bottom: 1px solid #dcdcdc;
  715. padding: 32rpx 0 15rpx;
  716. }
  717. .news .image-box image {
  718. width: 100rpx;
  719. height: 100rpx;
  720. border-radius: 10rpx;
  721. }
  722. .news .span {
  723. font-size: 22rpx;
  724. display: inline-block;
  725. text-align: center;
  726. background: #bae0f1;
  727. border-radius: 6rpx;
  728. color: #0a8f8a;
  729. padding: 4rpx 8rpx;
  730. }
  731. .news .more {
  732. font-size: 24rpx;
  733. text-align: center;
  734. color: #0a8f8a;
  735. padding: 22rpx 0;
  736. }
  737. .mask {
  738. background: $uni-bg-color-mask;
  739. position: fixed;
  740. left: 0;
  741. top: 0;
  742. right: 0;
  743. bottom: 0;
  744. }
  745. .mask-content {
  746. background: $uni-bg-color;
  747. width: 570rpx;
  748. height: 480rpx;
  749. position: absolute;
  750. left: 50%;
  751. top: 50%;
  752. transform: translate(-50%, -50%);
  753. display: flex;
  754. flex-direction: column;
  755. border-radius: 20rpx;
  756. }
  757. .mask-close {
  758. text-align: right;
  759. }
  760. .mask-title {
  761. text-align: center;
  762. font-size: 32rpx;
  763. color: $uni-text-color-black;
  764. margin-bottom: 50rpx;
  765. }
  766. .mask-tab {
  767. display: flex;
  768. justify-content: space-evenly;
  769. }
  770. .icon-closed {
  771. width: 48rpx;
  772. height: 48rpx;
  773. margin: 24rpx 24rpx 0 0;
  774. }
  775. .tab-item {
  776. display: flex;
  777. flex-direction: column;
  778. justify-content: center;
  779. align-items: center;
  780. }
  781. .tab-tit {
  782. font-size: 32rpx;
  783. margin-top: 20rpx;
  784. color: #666;
  785. }
  786. .tab-item image {
  787. width: 160rpx;
  788. height: 160rpx;
  789. }
  790. .backlog-notice {
  791. margin: 50rpx 30rpx 0rpx;
  792. }
  793. .flow-path {
  794. padding: 20rpx 0rpx 20rpx;
  795. .scroll-view {
  796. white-space: nowrap;
  797. // position: sticky;
  798. top: 0;
  799. }
  800. .top-menu {
  801. display: flex;
  802. }
  803. .top-menu .tab {
  804. font-size: 28rpx;
  805. padding: 38rpx 30rpx;
  806. color: #666666;
  807. position: relative;
  808. }
  809. .top-menu .active .border {
  810. position: absolute;
  811. width: 70%;
  812. height: 16rpx;
  813. background: #00b38b;
  814. opacity: 0.3;
  815. bottom: 40rpx;
  816. z-index: -99;
  817. left: 15%;
  818. border-radius: 6rpx;
  819. }
  820. .top-menu .active {
  821. font-weight: bold;
  822. font-size: 32rpx;
  823. color: #0d0f26;
  824. }
  825. .top-menu .active::before {
  826. width: 100%;
  827. height: 16rpx;
  828. background: #00b38b;
  829. opacity: 0.3;
  830. }
  831. .flow-list {
  832. margin: 0rpx 30rpx;
  833. min-height: 700rpx;
  834. background: #ffffff;
  835. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  836. border-radius: 20rpx;
  837. padding: 55rpx 30rpx 30rpx;
  838. }
  839. }
  840. .description {
  841. overflow: hidden;
  842. -webkit-line-clamp: 2;
  843. text-overflow: ellipsis;
  844. display: -webkit-box;
  845. -webkit-box-orient: vertical;
  846. }
  847. </style>