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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109
  1. <template>
  2. <view class='container'>
  3. <view class="bg-img">
  4. <image :src="`${fileURL}image/newHome/header.png`" mode="scaleToFill" class="icon"></image>
  5. </view>
  6. <view class="content">
  7. <view class="header">
  8. <!-- <navBar :isBack='false' :title='首页'></navBar> -->
  9. <view class="title">
  10. <view :style="{ height: `${statusBarHeight}px` }"></view>
  11. <!-- 自定义导航栏高度 -->
  12. <view class='title-txt' :style="{
  13. height: `${barHeight}px`,
  14. 'line-height': `${barHeight}px`
  15. }">
  16. <text>首页</text>
  17. </view>
  18. </view>
  19. <view class="search-box">
  20. <image :src="`${fileURL}image/newHome/search.png`" class="icon" mode="aspectFill"></image>
  21. <input class="search" placeholder="办业务·搜一搜" @input="onKeyInput" />
  22. </view>
  23. </view>
  24. <view class="nav">
  25. <view class="item-box" v-for='(item,index) in navList' :key='index' @click="handleNav(item)">
  26. <view class="icon-img">
  27. <image :src="item.imgUrl" mode="aspectFit" class='img'></image>
  28. </view>
  29. <view class="b-txt">
  30. {{item.title}}
  31. </view>
  32. </view>
  33. </view>
  34. <view class="notice">
  35. <view class="l-img">
  36. <image :src="`${fileURL}image/newHome/tongzhi-l.png`" class='img' mode="aspectFit"></image>
  37. </view>
  38. <view class="r-info">
  39. <!-- <u-notice-bar mode="vertical" :list="state.noticeList" type="none" :volume-icon="false" :no-list-hidden='true'></u-notice-bar> -->
  40. {{state.notice}}
  41. </view>
  42. </view>
  43. <view class="supervision-con">
  44. <!-- <u-swiper :list="state.swiperListArr"></u-swiper> -->
  45. <swiper class="swiper" circular :indicator-dots="swiper.indicatorDots" :autoplay="swiper.autoplay"
  46. :interval="swiper.interval" :duration="swiper.duration" :easing-function="swiper.easing">
  47. <block v-if="state.swiperList.length >0" v-for="item in state.swiperList" :key="item.id">
  48. <swiper-item class="swiper-item" @click="link(item)">
  49. <image :src="fileURLList + item.imgUrl" mode="widthFix" class='img'></image>
  50. </swiper-item>
  51. </block>
  52. </swiper>
  53. <!-- <view class="txt">
  54. ETC服务监督电话
  55. </view>
  56. <view class="phone">
  57. 0851-883065555
  58. </view>
  59. <view class="btn">
  60. <text>立即拨打 ></text>
  61. </view> -->
  62. </view>
  63. <view class="title-name">
  64. 快速办理
  65. </view>
  66. <view class="express-lane">
  67. <view class="item keche">
  68. <view class="item-con" @click="showMask(1)">
  69. <view class="top-txt">
  70. 客车用户
  71. </view>
  72. <view class="btn">
  73. 进入
  74. </view>
  75. </view>
  76. </view>
  77. <view class="item huoche">
  78. <view class="item-con" @click="showMask(2)">
  79. <view class="top-txt">
  80. 货车用户
  81. </view>
  82. <view class="btn">
  83. 进入
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. <view class="news-con">
  89. <view class="title-con">
  90. <text>高速快讯</text>
  91. <view class="r-more" @click="$util.navTo('/subpackage/orders/moreHighMsg/moreHighMsg',true)">
  92. <text class='txt'>更多</text>
  93. <image :src="`${fileURL}image/newHome/r-icon.png`" mode="aspectFit" class='icon'></image>
  94. </view>
  95. </view>
  96. <view class="news-box">
  97. <template v-if='state.highMsgData'>
  98. <view class="news-item" v-for="(item,index) in state.highMsgData" :key='index' @click="link(item)">
  99. <view class="l-img">
  100. <image :src="fileURLList + item.imgUrl" mode="aspectFill" class="img"></image>
  101. </view>
  102. <view class="r-txt">
  103. <view class="tit">
  104. {{item.title}}
  105. </view>
  106. <view class="b-time">
  107. {{item.updateTime}}
  108. </view>
  109. </view>
  110. </view>
  111. </template>
  112. <view class="empty-news" v-else>
  113. <u-empty text="暂无数据" mode="news" :icon-size='90' :font-size='24'></u-empty>
  114. </view>
  115. </view>
  116. </view>
  117. <!-- 办理流程 -->
  118. <view class="flow-path">
  119. <view class="top-menu">
  120. <view :class="item == state.tabActive ? 'tab active' : 'tab'" v-for="item in state.flowPathTabList"
  121. :key="item" @click="flowPathTabHandle(item)">
  122. <view class="txt">
  123. {{ item }}
  124. </view>
  125. <view class="border">
  126. </view>
  127. </view>
  128. </view>
  129. <view v-if="state.tabActive === '办理流程'">
  130. <view class="flow-list">
  131. <flow-path-list :options="state.flowList"></flow-path-list>
  132. </view>
  133. </view>
  134. <view v-else-if="state.tabActive === '办理条件'">
  135. <view class="flow-list tiaojian">
  136. <view class="title-top">
  137. <image :src="`${fileURL}image/newHome/tiaojian.png`" mode="scaleToFill" class="icon-img"></image>
  138. <view class="txt">
  139. 基本条件
  140. </view>
  141. <image :src="`${fileURL}image/newHome/tiaojianr.png`" mode="scaleToFill" class="icon-img"></image>
  142. </view>
  143. <view class="list-info"> {{state.processeConditionText}} </view>
  144. </view>
  145. </view>
  146. <view v-else-if="state.tabActive === '常见问题'">
  147. <view class="flow-list wenti">
  148. <view class="item-box" v-for='(item,index) in state.commonQuestionArr' :key='index'>
  149. <view class="l-icon">
  150. <image :src="`${fileURL}image/newHome/wenhao.png`" mode="scaleToFill" class="icon-img"></image>
  151. </view>
  152. <view class="txt">
  153. {{item}}
  154. </view>
  155. </view>
  156. <!-- <view class="list-info"> {{state.commonQuestionText}} </view> -->
  157. </view>
  158. </view>
  159. </view>
  160. </view>
  161. </view>
  162. <!-- ETC选择弹窗 -->
  163. <view class="mask" v-if="isShowMask">
  164. <view class="mask-content">
  165. <filter>
  166. <view class="mask-close">
  167. <image :src="fileURL + 'image/index/icon-close.png'" class="icon-closed" @click="closeMask"></image>
  168. </view>
  169. <view class="mask-title" :style="{ '--color': color }">选择ETC用户类型</view>
  170. <view class="mask-tab">
  171. <view class="tab-item active" @click="toCreatOrder('1')">
  172. <image :src="fileURL + 'image/index/icon-personal.png'" mode="aspectFill"></image>
  173. <text class="tab-tit on">个人办理</text>
  174. </view>
  175. <view class="tab-item" @click="toCreatOrder('2')">
  176. <image :src="fileURL + 'image/index/icon-unit.png'" mode="aspectFill"></image>
  177. <text class="tab-tit on">单位办理</text>
  178. </view>
  179. </view>
  180. </filter>
  181. </view>
  182. </view>
  183. </template>
  184. <script setup lang="ts">
  185. import {
  186. onMounted,
  187. ref, reactive
  188. } from "vue";
  189. import {
  190. onPageScroll,
  191. onLoad, onReachBottom, onReady
  192. } from "@dcloudio/uni-app";
  193. import flowPathList from "./components/flow-path-list.vue";
  194. import filter from '@/components/filter/filter.vue';
  195. import {
  196. request
  197. } from "@/utils/network/request.js";
  198. import {
  199. stringToJson
  200. } from "@/utils/network/encryption.js";
  201. import {
  202. useUserStore
  203. } from "@/stores/user";
  204. import {
  205. getItem,
  206. setItem,
  207. StorageKeys
  208. } from "@/utils/storage";
  209. import {
  210. queryKey,
  211. querySwiper,
  212. envs,
  213. infoQuery,
  214. queryHighMsg,
  215. orderList
  216. } from "@/utils/network/api.js";
  217. import {
  218. fileURL, fileURLList
  219. } from "@/datas/fileURL.js";
  220. import {
  221. navTo,
  222. msg,
  223. noticeUser
  224. } from "@/utils/utils";
  225. import {
  226. getCodeName
  227. } from "@/datas/queryKey.js";
  228. // import { jump } from "@/datas/9901Jump.js";
  229. // import navBar from "@/components/nav-bar/nav-bar2.vue";
  230. import { getCurrentInstance } from 'vue';
  231. const tools = require("../../static/etcUtil/tools.js");
  232. const instance = getCurrentInstance();
  233. const swiper = reactive({
  234. indicatorDots: false,
  235. autoplay: true,
  236. interval: 6000,
  237. duration: 3000,
  238. easing: "easeInOutCubic"
  239. })
  240. onLoad((options) => {
  241. console.log("wechatSignNo", options)
  242. getInfo();
  243. })
  244. onMounted(() => {
  245. const query = uni.createSelectorQuery().in(instance.proxy);
  246. query
  247. .select(".news-con")
  248. .boundingClientRect((data) => {
  249. console.log("得到布局位置信息", data);
  250. console.log("节点离页面顶部的距离为" + data.top);
  251. newTop.value = data.top
  252. })
  253. .exec();
  254. let systemInfo = uni.getSystemInfoSync()
  255. viewHeight.value = systemInfo.windowHeight
  256. statusBarHeight.value = systemInfo.statusBarHeight;
  257. const {
  258. top,
  259. height
  260. } = uni.getMenuButtonBoundingClientRect();
  261. barHeight.value = height ? height + (top - statusBarHeight.value) * 2 : 38;
  262. console.log(barHeight.value, statusBarHeight.value, systemInfo, '计算的顶部高度');
  263. getSwiper()
  264. })
  265. const statusBarHeight = ref(0)
  266. const viewHeight = ref(0) //可视区高度
  267. const barHeight = ref(0)
  268. const searchParams = ref('')
  269. const newTop = ref(0) //高速快讯距离顶部距离
  270. const isShowMask = ref(false);
  271. //搜索
  272. const onKeyInput = (event) => {
  273. searchParams.value = event.target.value;
  274. console.log('搜索内容', searchParams.value);
  275. }
  276. const navList = [{
  277. imgUrl: `${fileURL}image/newHome/kaqian.png`,
  278. title: "卡签信息查询",
  279. path: '/pages/bluetooth/bluetooth?routeType=4'
  280. }, {
  281. imgUrl: `${fileURL}image/newHome/jihuo.png`,
  282. title: "激活服务",
  283. path: '/subpackage/personal-center/install-activation-order'
  284. }, {
  285. imgUrl: `${fileURL}image/newHome/zhuxiao.png`,
  286. title: "设备注销",
  287. path: "",
  288. handlePath: () => {
  289. cardRecharge(3)
  290. }
  291. }, {
  292. imgUrl: `${fileURL}image/newHome/shenji.png`,
  293. title: "设备升级",
  294. path: `/subpackage/after-sale/equipment-upgrade/select-car`
  295. }, {
  296. imgUrl: `${fileURL}image/newHome/kefu.png`,
  297. title: "在线客服",
  298. path: `/subpackage/after-sale/onlineService`
  299. }, {
  300. imgUrl: `${fileURL}image/newHome/wangdian.png`,
  301. title: "网点查询",
  302. path: ""
  303. }, {
  304. imgUrl: `${fileURL}image/newHome/yewu.png`,
  305. title: "业务指引",
  306. path: ""
  307. }, {
  308. imgUrl: `${fileURL}image/newHome/more.png`,
  309. title: "更多",
  310. path: `/pages/service/service`
  311. }]
  312. const handleNav = (item) => {
  313. if (item.path) {
  314. navTo(item.path, true)
  315. } else if (item.handlePath) {
  316. item.handlePath()
  317. }
  318. }
  319. const cardRecharge = (val) => {
  320. // #ifdef MP-ALIPAY
  321. if (val == 1 || val == 2 || val == 3) {
  322. msg("业务升级中,请前往九州ETC公众号进行办理。或拨打客服电话400-800-8787")
  323. }
  324. // #endif
  325. // #ifdef MP-WEIXIN
  326. if (val == 1) {
  327. navTo('/pages/recharge/recharge-pay', true)
  328. } else if (val == 2) {
  329. navTo('/subpackage/after-sale/rescind-carId/rescind-carId-select', true)
  330. } else if (val == 3) {
  331. navTo('/subpackage/after-sale/activation-once-again/select-car?type=2', true)
  332. }
  333. // #endif
  334. }
  335. const state = reactive({
  336. type: 0, //1客车 2货车
  337. userType: 1, //1个人 2单位
  338. notice: "",
  339. swiperList: [],
  340. swiperListArr: [],
  341. noticeList: [], //公告栏列表
  342. flowPathTabList: ["办理流程", "办理条件", "常见问题"],
  343. tabActive: "办理流程",
  344. flowList: [
  345. //办理流程数据
  346. {
  347. title: "01 产品选择",
  348. desc: "选择购买的发行产品",
  349. imgUrl: `${fileURL}image/newHome/1.png`,
  350. },
  351. {
  352. title: "02 信息校验",
  353. desc: "提交车牌号、车牌颜色、收货地址相关信息",
  354. imgUrl: `${fileURL}image/newHome/2.png`,
  355. },
  356. {
  357. title: "03 证件上传",
  358. desc: "上传身份证、行驶证等相关信息",
  359. imgUrl: `${fileURL}image/newHome/3.png`,
  360. },
  361. {
  362. title: "04 订单支付",
  363. desc: "支付完成订单",
  364. imgUrl: `${fileURL}image/newHome/4.png`,
  365. },
  366. {
  367. title: "05 签约代扣",
  368. desc: "选择签约账户并关联",
  369. imgUrl: `${fileURL}image/newHome/5.png`,
  370. },
  371. ],
  372. highMsgData: '',//高速快讯内容
  373. processeConditionText: "", //办理条件文本
  374. commonQuestionText: "", //常见问题文本
  375. commonQuestionArr: [], //常见问题数组
  376. isEnableSetGray: false
  377. });
  378. //办理流程tab选择
  379. const flowPathTabHandle = (tab) => {
  380. state.tabActive = tab;
  381. if (tab == "办理条件") {
  382. processeCondition();//办理条件
  383. } else if (tab == "常见问题") {
  384. commonQuestion();
  385. }
  386. };
  387. const processeCondition = () => {
  388. let options = {
  389. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  390. data: {
  391. businessType: 'PROCESSING_CONDITIONS' //办理条件
  392. }, //请求参数
  393. method: "POST", //提交方式(默认POST)
  394. showLoading: true, //是否显示加载中(默认显示)
  395. };
  396. //调用方式
  397. request(infoQuery, options)
  398. .then((res) => {
  399. let data = stringToJson(res.bizContent)
  400. console.log("办理条件", data)
  401. state.processeConditionText = data.text
  402. })
  403. .catch((err) => {
  404. console.log(err);
  405. });
  406. }
  407. const commonQuestion = () => {
  408. let options = {
  409. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  410. data: {
  411. businessType: 'COMMON_PROBLEM' //常见问题
  412. }, //请求参数
  413. method: "POST", //提交方式(默认POST)
  414. showLoading: true, //是否显示加载中(默认显示)
  415. };
  416. //调用方式
  417. request(infoQuery, options)
  418. .then((res) => {
  419. let data = stringToJson(res.bizContent)
  420. console.log("常见问题", data)
  421. state.commonQuestionText = data.text
  422. state.commonQuestionArr = data.text.split('。').filter(item => item)
  423. })
  424. .catch((err) => {
  425. console.log(err);
  426. });
  427. }
  428. // 获取公告
  429. const getInfo = () => {
  430. //参数说明
  431. let options = {
  432. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  433. data: {
  434. businessType: 'BROADCAST' //广播栏信息
  435. }, //请求参数
  436. method: "POST", //提交方式(默认POST)
  437. showLoading: true, //是否显示加载中(默认显示)
  438. };
  439. //调用方式
  440. request(infoQuery, options)
  441. .then((res) => {
  442. let data = stringToJson(res.bizContent)
  443. state.notice = data.text
  444. state.noticeList = [data.text || '暂无公告', '平明送客楚山孤',]
  445. console.log(data, state.noticeList, '公告');
  446. })
  447. .catch((err) => {
  448. console.log(err, '错误');
  449. });
  450. }
  451. let newLock = false
  452. // 高速快讯查询接口
  453. const highMsg = () => {
  454. newLock = true
  455. let options = {
  456. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  457. data: {
  458. pageNo: 1,
  459. pageSize: 2
  460. }, //请求参数
  461. method: "POST", //提交方式(默认POST)
  462. showLoading: true, //是否显示加载中(默认显示)
  463. };
  464. //调用方式
  465. request(queryHighMsg, options).then((res) => {
  466. console.log("高速快讯查询接口", stringToJson(res.bizContent));
  467. state.highMsgData = stringToJson(res.bizContent).data
  468. for (var i = 0; i < state.highMsgData.length; i++) {
  469. state.highMsgData[i]["copywriting"] = getCodeName('COPYWRITING', state.highMsgData[i]["copywriting"])
  470. state.highMsgData[i]["updateTime"] = state.highMsgData[i]["updateTime"].replace('T', ' ')
  471. if (state.highMsgData[i]["type"] == 3) {
  472. state.highMsgData[i]["title"] = state.highMsgData[i]["hyperLink"]
  473. }
  474. }
  475. state.highMsgData.sort(function (a, b) {
  476. return a.sequence - b.sequence//正序
  477. })
  478. }).catch((err) => { console.log(err) });
  479. }
  480. //监听页面滚动
  481. onPageScroll((e) => {
  482. let h = viewHeight.value + e.scrollTop
  483. if (h >= newTop.value - 50 && !newLock) {
  484. highMsg()
  485. }
  486. });
  487. const toCreatOrder = (val : number) => {
  488. console.log(typeof (val));
  489. state.userType = val;
  490. navTo(`/subpackage/orders/choice-product?type=${state.type}&&userType=${state.userType}`)
  491. closeMask();
  492. };
  493. const showMask = (val : any) => {
  494. state.type = val; //1 客车 2货车
  495. isShowMask.value = true;
  496. };
  497. const closeMask = () => {
  498. isShowMask.value = false;
  499. };
  500. //全量枚举值查询
  501. const quanKeyAction = () => {
  502. var data = {};
  503. const options = {
  504. type: 2,
  505. data: data,
  506. method: "POST",
  507. showLoading: true,
  508. };
  509. request(queryKey, options).then((res) => {
  510. console.log(stringToJson(res.bizContent));
  511. const data = stringToJson(res.bizContent)
  512. console.log("枚举", data)
  513. setItem('key', data.dictTypeAndItem)
  514. })
  515. .catch((err) => {
  516. console.log(err);
  517. });
  518. }
  519. onReady(() => {
  520. setTimeout(() => {
  521. quanKeyAction()
  522. }, 5000)
  523. })
  524. //获取轮播
  525. const getSwiper = () => {
  526. let options = {
  527. type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
  528. data: {
  529. }, //请求参数
  530. method: "POST", //提交方式(默认POST)
  531. showLoading: true, //是否显示加载中(默认显示)
  532. };
  533. //调用方式
  534. request(querySwiper, options).then((res) => {
  535. console.log(stringToJson(res.bizContent));
  536. const data = stringToJson(res.bizContent)
  537. console.log("轮播图", data)
  538. state.swiperList = data.swipers ? data.swipers : [],
  539. state.swiperListArr = state.swiperList.map(item => fileURLList + item.imgUrl)
  540. })
  541. .catch((err) => {
  542. console.log(err);
  543. });
  544. };
  545. const link = (item : any) => {
  546. console.log(item);
  547. if (item.type == 1) {
  548. const params = encodeURIComponent(JSON.stringify(item.hyperLink))
  549. tools.toUrl(`/subpackage/personal-center/webview?url=` + params);
  550. } else if (item.type == 2) {
  551. navTo(item.hyperLink)
  552. } else if (item.type == 3) {
  553. const param = encodeURIComponent(JSON.stringify(item))
  554. tools.toUrl(`/subpackage/orders/moreHighMsg/textDetails?item=` + param);
  555. } else if (item.type == 4) {
  556. uni.navigateToMiniProgram({
  557. appId: item.hyperLink,
  558. path: item.speedUrl,
  559. success(res) {
  560. console.log(res);
  561. },
  562. complete(res) {
  563. console.log(res);
  564. },
  565. fail(res) {
  566. console.log(res);
  567. // 未成功跳转到车主小程序
  568. },
  569. });
  570. }
  571. }
  572. </script>
  573. <style lang="scss" scoped>
  574. .container {
  575. height: 100%;
  576. background-color: #f2f5f7;
  577. position: relative;
  578. }
  579. .bg-img {
  580. width: 100%;
  581. position: absolute;
  582. z-index: 0;
  583. .icon {
  584. width: 100%;
  585. height: 750rpx;
  586. }
  587. }
  588. .content {
  589. position: relative;
  590. padding-bottom: 30rpx;
  591. }
  592. .header {
  593. height: 590rpx;
  594. .title {
  595. .title-txt {
  596. font-family: PingFangSC, PingFang SC;
  597. font-weight: bold;
  598. font-size: 32rpx;
  599. color: #FFFFFF;
  600. text-align: center;
  601. }
  602. }
  603. .search-box {
  604. margin: 10rpx 30rpx 0;
  605. position: relative;
  606. height: 80rpx;
  607. background: #1a394d;
  608. // border: 1px solid #DCDCDC;
  609. border-radius: 40rpx;
  610. display: flex;
  611. justify-content: center;
  612. align-items: center;
  613. box-sizing: border-box;
  614. flex: 1;
  615. .icon {
  616. width: 27rpx;
  617. height: 27rpx;
  618. margin-left: 26rpx;
  619. }
  620. .search {
  621. flex: 1;
  622. margin-right: 20rpx;
  623. height: 100%;
  624. padding: 0 10rpx;
  625. color: #fff;
  626. font-weight: 500;
  627. font-size: 26rpx;
  628. background: #1a394d;
  629. }
  630. }
  631. }
  632. .nav {
  633. background-color: #fff;
  634. margin: 0 30rpx;
  635. width: 100%;
  636. width: 690rpx;
  637. height: 360rpx;
  638. background: #FFFFFF;
  639. border-radius: 12rpx;
  640. display: grid;
  641. grid-template-columns: repeat(4, 25%);
  642. grid-template-rows: repeat(2, 50%);
  643. // grid-gap: 10px;
  644. .item-box {
  645. display: flex;
  646. align-items: center;
  647. justify-content: center;
  648. flex-direction: column;
  649. .icon-img {
  650. height: 100rpx;
  651. width: 100rpx;
  652. border-radius: 50%;
  653. padding: 25rpx;
  654. background: #ECF1F4;
  655. box-sizing: border-box;
  656. .img {
  657. width: 100%;
  658. height: 100%;
  659. }
  660. }
  661. .b-txt {
  662. margin-top: 16rpx;
  663. font-size: 26rpx;
  664. color: #111111;
  665. }
  666. }
  667. }
  668. .notice {
  669. background: url(https://qtzl.etcjz.cn/default-bucket/image/newHome/tongzhi.png);
  670. background-size: 100% 100%;
  671. background-repeat: no-repeat;
  672. height: 80rpx;
  673. width: 690rpx;
  674. margin: 24rpx 30rpx 0;
  675. display: flex;
  676. align-items: center;
  677. .l-img {
  678. width: 136rpx;
  679. height: 80rpx;
  680. margin-left: 20rpx;
  681. .img {
  682. height: 100%;
  683. width: 100%;
  684. }
  685. }
  686. .r-info {
  687. margin-left: 16rpx;
  688. font-size: 28rpx;
  689. color: #000;
  690. font-weight: 500;
  691. }
  692. }
  693. .supervision-con {
  694. box-sizing: border-box;
  695. height: 180rpx;
  696. width: 690rpx;
  697. margin: 24rpx 30rpx 0;
  698. // background-image: url(https://qtzl.etcjz.cn/default-bucket/image/newHome/phone.png);
  699. // background-size: 100% 100%;
  700. // background-repeat: no-repeat;
  701. // padding: 35rpx 0 0 52rpx;
  702. // background: #FFFFFF;
  703. border-radius: 12rpx;
  704. overflow: hidden;
  705. .swiper {
  706. height: 180rpx;
  707. width: 690rpx;
  708. }
  709. .swiper-item .img {
  710. overflow: hidden;
  711. border-radius: 12rpx;
  712. height: 180rpx !important;
  713. width: 690rpx;
  714. }
  715. .txt {
  716. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  717. font-weight: 400;
  718. font-size: 26rpx;
  719. color: #111111;
  720. }
  721. .phone {
  722. margin: 10rpx 0 10rpx;
  723. font-family: Arial, Arial;
  724. font-weight: normal;
  725. font-size: 38rpx;
  726. color: #B99A46;
  727. }
  728. .btn {
  729. font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
  730. font-weight: 400;
  731. font-size: 24rpx;
  732. color: #01243A;
  733. }
  734. }
  735. .title-name {
  736. margin: 24rpx 30rpx 0;
  737. }
  738. .express-lane {
  739. margin: 22rpx 30rpx 0;
  740. display: flex;
  741. align-items: center;
  742. justify-content: space-between;
  743. .item {
  744. background-size: 100% 100%;
  745. background-repeat: no-repeat;
  746. width: 334rpx;
  747. height: 168rpx;
  748. text-align: right;
  749. display: flex;
  750. align-items: flex-end;
  751. justify-content: center;
  752. flex-direction: column;
  753. .item-con {
  754. margin-right: 53rpx;
  755. }
  756. .top-txt {
  757. font-family: PingFangSC, PingFang SC;
  758. font-size: 30rpx;
  759. color: #FFFFFF;
  760. }
  761. .btn {
  762. margin-top: 30rpx;
  763. background: #03385D;
  764. border-radius: 20rpx;
  765. font-family: PingFangSC, PingFang SC;
  766. font-size: 24rpx;
  767. color: #FFFFFF;
  768. height: 40rpx;
  769. width: 80rpx;
  770. line-height: 40rpx;
  771. text-align: center;
  772. }
  773. }
  774. .keche {
  775. background-image: url(https://qtzl.etcjz.cn/default-bucket/image/newHome/keche.png);
  776. }
  777. .huoche {
  778. margin-left: 22rpx;
  779. background-image: url(https://qtzl.etcjz.cn/default-bucket/image/newHome/huoche.png);
  780. }
  781. }
  782. .news-con {
  783. margin: 39rpx 30rpx 0;
  784. .title-con {
  785. font-family: PingFangSC, PingFang SC;
  786. font-size: 34rpx;
  787. color: #01243A;
  788. display: flex;
  789. align-items: center;
  790. justify-content: space-between;
  791. .r-more {
  792. width: 100rpx;
  793. height: 44rpx;
  794. border-radius: 22rpx;
  795. border: 1rpx solid #01243A;
  796. display: flex;
  797. align-items: center;
  798. justify-content: center;
  799. .txt {
  800. font-family: PingFangSC, PingFang SC;
  801. font-weight: bold;
  802. font-size: 24rpx;
  803. color: #01243A;
  804. }
  805. .icon {
  806. width: 10rpx;
  807. height: 100%;
  808. margin-left: 5rpx;
  809. }
  810. }
  811. }
  812. .empty-news {}
  813. .news-box {
  814. border-radius: 12rpx;
  815. background-color: #fff;
  816. margin-top: 22rpx;
  817. padding: 0 20rpx;
  818. .news-item {
  819. padding: 20rpx 0;
  820. display: flex;
  821. &:nth-child(n+2) {
  822. border-top: 1rpx solid #eee;
  823. }
  824. .l-img {
  825. width: 180rpx;
  826. height: 135rpx;
  827. .img {
  828. height: 100%;
  829. width: 100%;
  830. }
  831. }
  832. .r-txt {
  833. margin-left: 20rpx;
  834. display: flex;
  835. flex-direction: column;
  836. justify-content: space-between;
  837. .tit {
  838. font-family: PingFangSC, PingFang SC;
  839. font-weight: bold;
  840. font-size: 30rpx;
  841. color: #111111;
  842. }
  843. .b-time {
  844. font-family: PingFangSC, PingFang SC;
  845. font-size: 24rpx;
  846. color: #999999;
  847. }
  848. }
  849. }
  850. }
  851. }
  852. .flow-path {
  853. margin: 31rpx 30rpx 0;
  854. .top-menu {
  855. display: flex;
  856. .tab {
  857. font-family: MicrosoftYaHeiUI;
  858. font-size: 28rpx;
  859. color: #5A5E61;
  860. margin-right: 39rpx;
  861. position: relative;
  862. &.active {
  863. font-size: 34rpx;
  864. color: #01243A;
  865. .border {
  866. position: relative;
  867. }
  868. .border::after {
  869. content: "";
  870. background-image: url(https://qtzl.etcjz.cn/default-bucket/image/newHome/bottom-select.png);
  871. background-repeat: no-repeat;
  872. background-size: 100% 100%;
  873. position: absolute;
  874. bottom: 0;
  875. left: 0;
  876. width: 100%;
  877. height: 16rpx;
  878. }
  879. }
  880. .txt {
  881. position: relative;
  882. z-index: 2;
  883. }
  884. }
  885. }
  886. .flow-list {
  887. margin-top: 30rpx;
  888. background-color: #fff;
  889. border-radius: 12rpx;
  890. padding: 20rpx;
  891. }
  892. .tiaojian {
  893. .title-top {
  894. display: flex;
  895. justify-content: center;
  896. align-items: center;
  897. padding-bottom: 20rpx;
  898. .txt {
  899. margin: 0 24rpx;
  900. font-family: MicrosoftYaHei;
  901. font-size: 30rpx;
  902. color: #01243A;
  903. }
  904. .icon-img {
  905. width: 16rpx;
  906. height: 20rpx;
  907. }
  908. }
  909. }
  910. .list-info {
  911. font-family: MicrosoftYaHeiUI;
  912. font-size: 26rpx;
  913. color: #222222;
  914. }
  915. .wenti {
  916. .item-box:nth-child(n+2) {
  917. border-top: 1rpx solid #E8E8E8;
  918. }
  919. .item-box {
  920. display: flex;
  921. padding: 15rpx 0;
  922. }
  923. .l-icon {
  924. flex-shrink: 0;
  925. width: 38rpx;
  926. height: 38rpx;
  927. display: flex;
  928. align-items: center;
  929. justify-content: center;
  930. background-color: #c2a75f;
  931. border-radius: 50%;
  932. .icon-img {
  933. width: 14rpx;
  934. height: 24rpx;
  935. }
  936. }
  937. .txt {
  938. margin-left: 10rpx;
  939. font-family: PingFangSC, PingFang SC;
  940. font-size: 28rpx;
  941. color: #222222;
  942. }
  943. }
  944. }
  945. .mask {
  946. background: $uni-bg-color-mask;
  947. position: fixed;
  948. left: 0;
  949. top: 0;
  950. right: 0;
  951. bottom: 0;
  952. }
  953. .mask-content {
  954. background: $uni-bg-color;
  955. width: 570rpx;
  956. height: 480rpx;
  957. position: absolute;
  958. left: 50%;
  959. top: 50%;
  960. transform: translate(-50%, -50%);
  961. display: flex;
  962. flex-direction: column;
  963. border-radius: 20rpx;
  964. }
  965. .mask-close {
  966. text-align: right;
  967. }
  968. .mask-title {
  969. text-align: center;
  970. font-size: 32rpx;
  971. color: $uni-text-color-black;
  972. margin-bottom: 50rpx;
  973. }
  974. .mask-tab {
  975. display: flex;
  976. justify-content: space-evenly;
  977. }
  978. .icon-closed {
  979. width: 48rpx;
  980. height: 48rpx;
  981. margin: 24rpx 24rpx 0 0;
  982. }
  983. .tab-item {
  984. display: flex;
  985. flex-direction: column;
  986. justify-content: center;
  987. align-items: center;
  988. }
  989. .tab-tit {
  990. font-size: 32rpx;
  991. margin-top: 20rpx;
  992. color: #666;
  993. }
  994. .tab-item image {
  995. width: 160rpx;
  996. height: 160rpx;
  997. }
  998. .backlog-notice {
  999. margin: 50rpx 30rpx 0rpx;
  1000. }
  1001. </style>