Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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