選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

index.vue 26KB

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