您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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