12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100 |
- <template>
- <navBar title="首页" :scrollTop="scrollTop" :isBack="isBack"></navBar>
- <!-- <web-view src="https://qtzl.etcjz.cn/h5/#/pages/productSelection/productSelection?qdOrderNo=20231129210008520101000026149316"></web-view> -->
- <filter>
- <!-- <view class="statusBar" :style="{height:statusBarHeight+'px'}" v-show="isShowBar"></view> -->
- <view class="wrapper">
- <!-- Banner -->
- <view class="banner">
- <swiper class="swiper" circular :indicator-dots="swiper.indicatorDots" :autoplay="swiper.autoplay"
- :interval="swiper.interval" :duration="swiper.duration"
- indicator-active-color="rgba(0, 179, 139, 1)" :easing-function="swiper.easing">
- <block v-if="state.swiperList.length >0" v-for="item in state.swiperList" :key="item.id">
- <swiper-item class="swiper-item" @click="link(item)">
- <!-- <image :src="item.imgUrl?strReplace(item.imgUrl):fileURL + 'image/index/banner-1.png'"
- mode="widthFix"></image> -->
- <image :src="fileURLList + item.imgUrl" mode="widthFix"></image>
- </swiper-item>
- </block>
- <!-- <block>
- <swiper-item class="swiper-item">
- <image :src="fileURLList + 'image/index/banner-1.png'" mode="widthFix"></image>
- </swiper-item>
- </block> -->
- </swiper>
-
- <view class="notice">
- <image class="icon" :src="fileURL + 'image/index/icon-notice.png'" lazy-load="false"
- mode="aspectFill">
- </image>
- <!-- <text class="notice-text">{{state.notice}}</text> -->
- <uni-notice-bar style="width: 100%;" scrollable single :text="state.notice">
- </uni-notice-bar>
- </view>
- </view>
-
- <!-- 按钮导航 -->
- <view class="nav">
- <view class="item-box" @click="$util.navTo('/pages/recharge/select-car',true)">
- <view class="item item-1">
- <image :src="fileURL + 'image/index/item-1.png'" mode="aspectFill" />
- </view>
- <view class="text">储值卡充值</view>
- </view>
- <view class="item-box" @click="$util.navTo('/subpackage/personal-center/search/select-car',true)">
- <view class="item item-2">
- <image :src="fileURL + 'image/index/item-2.png'" mode="aspectFill" />
- </view>
- <view class="text">账单查询</view>
- </view>
- <!-- <view class="item-box" @click="$util.navTo('/subpackage/orders/Invoice-mannager',true)">
- <view class="item item-3">
- <image :src="fileURL + 'image/index/item-3.png'" mode="aspectFill" />
- </view>
- <view class="text">通行发票</view>
- </view> -->
- <view class="item-box"
- @click="$util.navTo('/subpackage/after-sale/activation-once-again/select-car',true)">
- <view class="item item-3">
- <image :src="fileURL + '20230511/24e179d44e2d4e5687339bff_obucxjh.png'" mode="aspectFill" />
- </view>
- <view class="text">重新激活</view>
- </view>
- <view class="item-box"
- @click="$util.navTo('/subpackage/personal-center/install-activation-order',true)">
- <view class="item item-4">
- <image :src="fileURL + 'image/index/item-4.png'" mode="aspectFill" />
- </view>
- <view class="text">设备激活</view>
- </view>
-
- <view class="item-box"
- @click="$util.navTo('/subpackage/after-sale/card-loss-reporting/select-car',true)">
- <view class="item item-5">
- <image :src="fileURL + 'image/index/item-5.png'" mode="aspectFill" />
- </view>
- <view class="text">设备遗失</view>
- </view>
- <!-- <view class="item-box" @click="$util.navTo('/subpackage/after-sale/rescind-carId/rescind-carId-select',true)"> -->
- <view class="item-box"
- @click="$util.navTo('/subpackage/after-sale/rescind-carId/rescind-carId-select',true)">
- <view class="item item-6">
- <image :src="fileURL + 'image/index/item-6.png'" mode="aspectFill" />
- </view>
- <view class="text">解除车牌占用</view>
- </view>
- <view class="item-box"
- @click="$util.navTo(`/subpackage/personal-center/setting/personal-information/corrections`,true)">
- <view class="item item-7">
- <image :src="fileURL + 'image/index/item-7.png'" mode="aspectFill" />
- </view>
- <view class="text">基础信息变更</view>
- </view>
- <!-- <view class="item-box" @click="test">
- <view class="item item-7">
- <image :src="fileURL + 'image/index/item-7.png'" mode="aspectFill" />
- </view>
- <view class="text">测试</view>
- </view> -->
- <view class="item-box" @click="$util.navTo(`/pages/service/service`,true)">
- <view class="item item-8">
- <image :src="fileURL + 'image/index/item-more.png'" mode="aspectFill" />
- </view>
- <view class="text">更多</view>
- </view>
- </view>
-
- <!-- 消息滚动显示 -->
- <view v-if="false" class="backlog-notice">
- <notice-bar :noticeList="state.noticeList" @noticeClick="goOrder(3)"></notice-bar>
- </view>
-
- <!--快速办理通道 -->
- <view class="express-lane">
- <view class="title">快速办理通道</view>
- <view class="lane">
- <view class="lane-item lane-1" :style="{ '--background': bgOrange }" @click="showMask(1)">
- <image :src="fileURL + 'image/index/icon-car.png'" mode="aspectFill"></image>
- <view class="text">
- <text class="head">客车通道</text>
- <text class="decribe">业务内容简介</text>
- </view>
- </view>
- <view class="lane-item lane-2" :style="{ '--background': bgBlue }" @click="showMask(2)">
- <image :src="fileURL + 'image/index/icon-truck.png'" mode="aspectFill"></image>
- <view class="text">
- <text class="head">货车通道</text>
- <text class="decribe">业务内容简介</text>
- </view>
- </view>
- </view>
- </view>
-
- <!-- 办理流程 -->
- <view class="flow-path">
- <scroll-view scroll-x="true" class="scroll-view">
- <view class="top-menu">
- <view :class="item == state.tabActive ? 'tab active' : 'tab'"
- v-for="item in state.flowPathTabList" :key="item" @click="flowPathTabHandle(item)">
- <view class="border"></view>{{ item }}
- </view>
- </view>
- </scroll-view>
-
- <view v-if="state.tabActive === '办理流程'">
- <view class="flow-list">
- <flow-path-list :options="state.flowList"></flow-path-list>
- </view>
- </view>
- <view v-else-if="state.tabActive === '办理条件'">
- <view class="flow-list as-gravity-center"> {{state.processeConditionText}} </view>
- </view>
- <view v-else-if="state.tabActive === '常见问题'">
- <view class="flow-list as-gravity-center"> {{state.commonQuestionText}} </view>
- </view>
- </view>
- </view>
-
- <!-- 高速快讯 -->
- <view class="news">
- <view class="title">高速快讯</view>
- <view class="news-box">
- <view class="news-item" v-for="(item,index) in state.highMsgData" :key='index' @click="link(item)">
- <view class="left-text">
- <view class="tit description">{{item.title}}</view>
- <view class="span">{{item.copywriting}}</view>
- </view>
- <view class="image-box">
- <image :src="fileURLList + item.imgUrl" mode="aspectFill"></image>
- </view>
- </view>
- <view v-if="state.highMsgData.length!=0" class="more"
- @click="$util.navTo('/subpackage/orders/moreHighMsg/moreHighMsg',true)">查看更多</view>
- </view>
- </view>
- <!-- <button type="default" @click="qq">111111111111</button> -->
- <!-- 专区服务 -->
- <!-- <view class="service">
- <view class="title">专区服务</view>
- <view class="service-box">
- <view class="service-item border" @click="$util.msg('该功能正在开发中,敬请期待!')">
- <image :src="fileURL + 'image/index/truck-point.png'" mode="aspectFill"></image>
- <view class="text">
- <view class="tit">货车积分返利</view>
- <view class="sub">海量商品任你选择</view>
- </view>
- </view>
- <view class="service-item" @click="$util.msg('该功能正在开发中,敬请期待!')">
- <image :src="fileURL + 'image/index/parking-bill.png'" mode="aspectFill"></image>
- <view class="text">
- <view class="tit">停车场账单查询</view>
- <view class="sub">消费明细一目了然{{ title }}</view>
- </view>
- </view>
- </view>
- </view> -->
-
- </filter>
-
-
- <!-- ETC选择弹窗 -->
- <view class="mask" v-if="isShowMask">
-
- <view class="mask-content">
- <filter>
- <view class="mask-close">
- <image :src="fileURL + 'image/index/icon-close.png'" class="icon-closed" @click="closeMask"></image>
- </view>
- <view class="mask-title" :style="{ '--color': color }">选择ETC用户类型</view>
- <view class="mask-tab">
- <view class="tab-item active" @click="toCreatOrder('1')">
- <image :src="fileURL + 'image/index/icon-personal.png'" mode="aspectFill"></image>
- <text class="tab-tit on">个人办理</text>
- </view>
- <view class="tab-item" @click="toCreatOrder('2')">
- <image :src="fileURL + 'image/index/icon-unit.png'" mode="aspectFill"></image>
- <text class="tab-tit on">单位办理</text>
- </view>
- </view>
- </filter>
- </view>
- </view>
-
- </template>
-
- <script setup lang="ts">
- import {
- onMounted,
- ref
- } from "vue";
- import {
- onPageScroll,
- onLoad
- } from "@dcloudio/uni-app";
- import flowPathList from "./components/flow-path-list.vue";
- import filter from '@/components/filter/filter.vue';
- import {
- request
- } from "@/utils/network/request.js";
- import {
- stringToJson
- } from "@/utils/network/encryption.js";
- import {
- useUserStore
- } from "@/stores/user";
- import {
- getItem,
- setItem,
- StorageKeys
- } from "@/utils/storage";
- import {
- queryKey,
- querySwiper,
- envs,
- infoQuery,
- queryHighMsg,
- orderList
- } from "@/utils/network/api.js";
- import {
- reactive
- } from "vue";
- import {
- fileURL, fileURLList
- } from "@/datas/fileURL.js";
- import {
- navTo,
- confirm
- } from "@/utils/utils";
- import {
- getCodeName
- } from "@/datas/queryKey.js";
- import navBar from "@/components/nav-bar/nav-bar2.vue";
- const tools = require("../../static/etcUtil/tools.js");
- const bgOrange = `url(${fileURL}image/index/bg-orange.png) center center no-repeat`;
- const bgBlue = `url(${fileURL}image/index/bg-blue.png) center center no-repeat`;
- const list = reactive(["您有一条待办事项,还未办理完成"])
- const scrollTop = ref(0);
- const isBack = ref(false);
- const swiper = reactive({
- indicatorDots: true,
- autoplay: true,
- interval: 2000,
- duration: 1000,
- easing: "easeInOutCubic"
- })
- const state = reactive({
- type: 0, //1客车 2货车
- userType: 1, //1个人 2单位
- notice: "",
- swiperList: [],
- noticeList: [], //公告栏列表
- flowPathTabList: ["办理流程", "办理条件", "常见问题"],
- tabActive: "办理流程",
- flowList: [
- //办理流程数据
- {
- title: "第一步:信息校验:",
- desc: "提交车牌号、车牌颜色、收货地址相关信息",
- },
- {
- title: "第二步:证件上传:",
- desc: "上传身份证、行驶证等相关信息",
- },
- {
- title: "第三步:签约代扣:",
- desc: "选择签约账户并关联",
- },
- {
- title: "第四步:产品选择:",
- desc: "选择购买的发行产品",
- },
- {
- title: "第五步:订单完成:",
- desc: "支付完成订单",
- },
- ],
- highMsgData: '',//高速快讯内容
- processeConditionText: "", //办理条件文本
- commonQuestionText: "", //常见问题文本
- });
- const isShowMask = ref(false);
- const isShowBar = ref(false)
- const userStore = useUserStore();
- const type = 0;
- const title = ref("我是测试");
- const statusBarHeight = ref(0)
-
- //监听页面滚动
- onPageScroll((e) => {
- if (e.scrollTop > statusBarHeight.value) {
- isShowBar.value = true;
- } else {
- isShowBar.value = false;
- }
- scrollTop.value = e.scrollTop;
- });
- onLoad(() => {
- getInfo();
- quanKeyAction().then((val : any) => {
- setItem('key', val.dictTypeAndItem)
- })
- highMsg(); //高速快讯
- processeCondition();//办理条件
- commonQuestion();
-
- // doSomething();//代办事项
- })
- const qq = () => {
- uni.navigateToMiniProgram({
- appId: "wxbcad394b3d99dac9",
- path: "pages/route/index",
- extraData: {
- appid: "wxcb1388c809fe25a9",
- sub_appid: "wx008c60533388527a",
- mch_id: "1500877591",
- sub_mch_id: "1622652848",
- nonce_str: "e9eb7a02533947389f8f4e7cb9394fb5",
- sign_type: "HMAC-SHA256",
- trade_scene: "HIGHWAY",
- plate_number: "贵ZBYD09",
- sub_openid: "oHQtp5C8821AImJa1ibf6rZ6xc60",
- sign: "B926E47DF8DE6B5FE53FF7AC3CCB5FA7C5CDB3459A4C1AFC0CDC8B143EC68DDA",
- channel_type: "ETC"
- },
- // extraData: {
- // appid: "wxe5572b2938f35c09",
- // channel_type: "ETC", //没有
- // mch_id: "1641444218",
- // nonce_str: "e9eb7a02533947389f8f4e7cb9394fb5",
- // plate_number: "贵ZBYD09",
- // sign: "B926E47DF8DE6B5FE53FF7AC3CCB5FA7C5CDB3459A4C1AFC0CDC8B143EC68DDA",
- // sign_type: "HMAC-SHA256",
- // sub_appid: "wx008c60533388527a",
- // sub_mch_id: "1648725759",
- // sub_openid: "oHQtp5C8821AImJa1ibf6rZ6xc60",
- // trade_scene: "HIGHWAY"
- // },
- success(res) {
- console.log(res);
- },
- complete(res) {
- console.log(res);
- },
- fail(res) {
- console.log(res);
- // 未成功跳转到车主小程序
- },
- });
- }
- onMounted(() => {
- uni.getSystemInfo({
- success: (e : any) => {
- // console.log(e.statusBarHeight);
- statusBarHeight.value = e.statusBarHeight;
- }
- })
- getSwiper()
- });
-
- //获取轮播
- const getSwiper = () => {
-
- let options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- data: {
- // opId: getItem("openId"),
- // source: "WECHAT",
- // tabIndex: "0",
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- showLoading: true, //是否显示加载中(默认显示)
- };
-
- //调用方式
- request(querySwiper, options).then((res) => {
- console.log(stringToJson(res.bizContent));
- const data = stringToJson(res.bizContent)
- console.log("轮播图", data)
- state.swiperList = data.swipers ? data.swipers : []
- })
- .catch((err) => {
- console.log(err);
- });
-
- };
-
- //轮播跳转
- const test = () => {
- // let options = {
- // type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- // data: {
- // openid: "ovrFz6COEbqoMyG6mVZgAHmPZaAw",
- // feeTotal: 1,
- // fee: 1,
- // goodsName: "测试",
- // externalOrderNo:"123435345462345",
- // payConfigId:"6a9a54bc01f6443faea7ffe132b19f6"
- // }, //请求参数
- // method: "POST", //提交方式(默认POST)
- // showLoading: true, //是否显示加载中(默认显示)
- // };
-
- // //调用方式
- // request("25", options).then((res) => {
- // console.log(res);
-
- // })
- // .catch((err) => {
- // console.log(err);
- // });
- uni.navigateTo({
- url: "/subpackage/orders/payment/payment?token=445dff5be89c4dcaa89386d1c390930a&openId=0e716af635634d749a981524cc6146a5&orderId=20231016175113823159477&qdOrderNo=20231016175113823159477"
- })
- };
-
- //轮播跳转
- const gotoLink = (item : any) => {
- console.log("555555555555555555", item);
- };
-
- //办理流程tab选择
- const flowPathTabHandle = (tab) => {
- state.tabActive = tab;
- };
-
- //安装激活
- const goActivation = () => {
- tools.toUrl("/pages/order/order");
- };
-
- const goToRecharge = () => {
- console.log("执行点击事件");
- console.log('321')
- tools.toUrl("/pages/recharge/select-car");
- };
-
- //全量枚举值查询
- const quanKeyAction = () => {
- var data = {};
- const options = {
- type: 2,
- data: data,
- method: "POST",
- showLoading: true,
- };
-
- return new Promise(async (resolve, reject) => {
- const res = await request(queryKey, options);
- const data = stringToJson(res.bizContent);
- resolve(data);
- }).catch((error) => {
- reject(error);
- });
-
- }
-
-
- const toCreatOrder = (val : number) => {
- console.log(typeof (val));
- state.userType = val;
- navTo(`/subpackage/orders/choice-product?type=${state.type}&&userType=${state.userType}`)
- closeMask();
- };
-
- const showMask = (val : any) => {
- state.type = val; //1 客车 2货车
- isShowMask.value = true;
- };
-
- const closeMask = () => {
- isShowMask.value = false;
- };
-
- // 获取文本信息----用户协议
- const getInfo = () => {
- //参数说明
- let options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- data: {
- businessType: 'BROADCAST' //广播栏信息
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- showLoading: true, //是否显示加载中(默认显示)
- };
-
- //调用方式
- request(infoQuery, options)
- .then((res) => {
- let data = stringToJson(res.bizContent)
- console.log(data);
- state.notice = data.text
- })
- .catch((err) => {
- console.log(err);
- });
- }
-
- //替换图片地址
- const strReplace = (str : string) => {
- return str.replace('http://192.168.100.63:8087', envs[process.env.NODE_ENV].baseUrl)
- }
- // 高速快讯查询接口
- const highMsg = () => {
- let options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- data: {
- pageNo: 1,
- pageSize: 2
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- showLoading: true, //是否显示加载中(默认显示)
- };
-
- //调用方式
- request(queryHighMsg, options).then((res) => {
- console.log("高速快讯查询接口", stringToJson(res.bizContent));
- state.highMsgData = stringToJson(res.bizContent).data
- for (var i = 0; i < state.highMsgData.length; i++) {
- state.highMsgData[i]["copywriting"] = getCodeName('COPYWRITING', state.highMsgData[i]["copywriting"])
- if (state.highMsgData[i]["type"] == 3) {
- state.highMsgData[i]["title"] = state.highMsgData[i]["hyperLink"]
- }
- }
- }).catch((err) => { console.log(err) });
- }
- const link = (item : any) => {
- if (item.type == 1) {
- const params = encodeURIComponent(JSON.stringify(item.hyperLink))
- tools.toUrl(`/subpackage/personal-center/webview?url=` + params);
- } else if (item.type == 2) {
- navTo(item.hyperLink)
- } else if (item.type == 3) {
- const param = encodeURIComponent(JSON.stringify(item))
- tools.toUrl(`/subpackage/orders/moreHighMsg/textDetails?item=` + param);
- } else if (item.type == 4) {
- uni.navigateToMiniProgram({
- appId: item.hyperLink,
- path: item.speedUrl,
- success(res) {
- console.log(res);
- },
- complete(res) {
- console.log(res);
- },
- fail(res) {
- console.log(res);
- // 未成功跳转到车主小程序
- },
- });
- }
- }
- const processeCondition = () => {
- let options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- data: {
- businessType: 'PROCESSING_CONDITIONS' //办理条件
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- showLoading: true, //是否显示加载中(默认显示)
- };
-
- //调用方式
- request(infoQuery, options)
- .then((res) => {
- let data = stringToJson(res.bizContent)
- console.log("办理条件", data)
- state.processeConditionText = data.text
- })
- .catch((err) => {
- console.log(err);
- });
- }
- const commonQuestion = () => {
- let options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- data: {
- businessType: 'COMMON_PROBLEM' //常见问题
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- showLoading: true, //是否显示加载中(默认显示)
- };
-
- //调用方式
- request(infoQuery, options)
- .then((res) => {
- let data = stringToJson(res.bizContent)
- console.log("常见问题", data)
- state.commonQuestionText = data.text
- })
- .catch((err) => {
- console.log(err);
- });
- }
- // 代办事项
- const doSomething = () => {
- let options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- data: {
- "opId": getItem(StorageKeys.OpenId),
- "source": "WECHAT",
- "vehiclePlate": "",
- "tabIndex": 3 + '',
- "pageNo": 1,
- "pageSize": 100,
- "promotionModes": 1
- },
- method: "POST", //提交方式(默认POST)
- };
-
- //调用方式
- request(orderList, options)
- .then((res) => {
- let data = stringToJson(res.bizContent)
- let obj = {};
- obj["id"] = 1;
- obj['title'] = "您有" + data.data.length + "条未完成订单,前往处理"
- state.noticeList.push(obj)
- console.log("代办事项", data.data)
- })
- .catch((err) => {
- console.log(err);
- });
-
- }
- const goOrder = (index) => {
- uni.reLaunch({
- url: `../order/order?index=${index}`
- })
- }
- </script>
-
- <style>
- page {
- background: #eef7f7;
- }
- </style>
- <style lang="scss" scoped>
- .statusBar {
- width: 100%;
- position: sticky;
- background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
- top: 0;
- left: 0;
- z-index: 999;
- }
-
- .banner {
- position: relative;
- }
-
- .banner swiper {
- height: 470rpx;
- width: 750rpx;
- }
-
- .banner .notice {
- position: absolute;
- background: rgba(0, 0, 0, 0.28);
- border-radius: 30rpx;
- width: 500rpx;
- height: 60rpx;
- bottom: 46rpx;
- left: 125rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 0 20rpx;
- box-sizing: border-box;
-
- ::v-deep .uni-noticebar {
- background: none !important;
- margin-bottom: 0;
-
- text {
- font-size: 24rpx !important;
- color: #ffffff !important;
- }
- }
- }
-
- .banner .notice .icon {
- width: 40rpx;
- height: 40rpx;
- margin: 10rpx;
- }
-
- .banner .notice .notice-text {
- font-size: 24rpx;
- color: #ffffff;
- flex: 1;
- }
-
- .swiper-item image {
- width: 100%;
- height: auto;
- }
-
- .nav {
- display: flex;
- flex-wrap: wrap;
- padding: 0 35rpx;
- font-size: 28rpx;
- }
-
- .nav .item-box {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
-
- .nav .item {
- width: 80rpx;
- height: 80rpx;
- border-radius: 30rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 50rpx 45rpx 20rpx 45rpx;
- }
-
- .nav .text {
- font-size: 24rpx;
- color: #172843;
- }
-
- .item-1 {
- background: linear-gradient(133deg, #5fff9b 0%, #00b38b 100%);
- }
-
- .item-2 {
- background: linear-gradient(-50deg, #018ffd 0%, #27fcff 100%);
- }
-
- .item-3 {
- background: linear-gradient(-47deg, #f88721 0%, #fecd61 100%);
- }
-
- .item-4 {
- background: linear-gradient(-47deg, #018ffd 0%, #27fcff 100%);
- }
-
- .item-5 {
- background: linear-gradient(-44deg, #018ffd 0%, #27fcff 100%);
- }
-
- .item-6 {
- background: linear-gradient(-50deg, #f88721 0%, #fecd61 100%);
- }
-
- .item-7 {
- background: linear-gradient(129deg, #5fff9b 0%, #00b38b 100%);
- }
-
- .item-8 {
- background: linear-gradient(124deg, #b8f0f2 0%, #62aeb1 100%);
- }
-
- .item image {
- width: 56rpx;
- height: 56rpx;
- }
-
- .express-lane {
- font-size: 36rpx;
- font-weight: 400;
- color: #000000;
- padding-top: 30rpx;
- // line-height: 58rpx;
- }
-
- .express-lane .title {
- padding-left: 30rpx;
- margin: 0rpx 0 20rpx;
- font-size: 32rpx;
- font-weight: bold;
- }
-
- .lane {
- display: flex;
- justify-content: space-evenly;
- }
-
- .lane-item {
- width: 330rpx;
- height: 150rpx;
- border-radius: 20rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- }
-
- .lane-item image {
- width: 120rpx;
- height: 100rpx;
- margin: 0 18rpx;
- }
-
- .lane-item .text {
- display: flex;
- flex-direction: column;
- justify-content: center;
- // align-items: center;
- color: #ffffff;
- flex: 1;
- }
-
- .lane-item .head {
- font-size: 30rpx;
- font-weight: bold;
- }
-
- .lane-item .decribe {
- font-size: 24rpx;
- }
-
- .lane-1 {
- background: var(--background);
- }
-
- .lane-2 {
- background: var(--background);
- }
-
- .news {
- padding: 30rpx 30rpx 0 30rpx;
- }
-
- .news .title {
- font-size: 32rpx;
- font-weight: bold;
- }
-
- .news .left-text {
- flex: 1;
- margin-right: 100rpx;
- }
-
- .news-box {
- background: #ffffff;
- border-radius: 20rpx;
- padding: 0 32rpx;
- box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
- margin: 20rpx 0 50rpx;
- }
-
- .news .tit {
- font-size: 26rpx;
- color: #172843;
- }
-
- .news .news-item {
- display: flex;
- border-bottom: 1px solid #dcdcdc;
- padding: 32rpx 0 15rpx;
- }
-
- .news .image-box image {
- width: 100rpx;
- height: 100rpx;
- border-radius: 10rpx;
- }
-
- .news .span {
- font-size: 22rpx;
- display: inline-block;
- text-align: center;
- background: #bae0f1;
- border-radius: 6rpx;
- color: #0a8f8a;
- padding: 4rpx 8rpx;
- }
-
- .news .more {
- font-size: 24rpx;
- text-align: center;
- color: #0a8f8a;
- padding: 22rpx 0;
- }
-
- .service {
- padding: 0 30rpx 50rpx 30rpx;
- }
-
- .service .title {
- font-size: 32rpx;
- font-weight: bold;
- }
-
- .service-box {
- background: #ffffff;
- border-radius: 20rpx;
- padding: 0 32rpx;
- box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
- display: flex;
- flex-direction: column;
- margin-top: 20rpx;
- }
-
- .service-item {
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 22rpx 0;
- }
-
- .service-item .text {
- flex: 1;
- }
-
- .service image {
- width: 170rpx;
- height: 116rpx;
- margin-right: 26rpx;
- }
-
- .service .tit {
- font-size: 28rpx;
- font-weight: bold;
- color: #0d0f26;
- }
-
- .service .sub {
- font-size: 24rpx;
- color: #666666;
- padding-top: 10rpx;
- }
-
- .service .border {
- border-bottom: 1px solid #dcdcdc;
- }
-
- .mask {
- background: $uni-bg-color-mask;
- position: fixed;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- }
-
- .mask-content {
- background: $uni-bg-color;
- width: 570rpx;
- height: 480rpx;
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- display: flex;
- flex-direction: column;
- border-radius: 20rpx;
- }
-
- .mask-close {
- text-align: right;
- }
-
- .mask-title {
- text-align: center;
- font-size: 32rpx;
- color: $uni-text-color-black;
- margin-bottom: 50rpx;
- }
-
- .mask-tab {
- display: flex;
- justify-content: space-evenly;
- }
-
- .icon-closed {
- width: 48rpx;
- height: 48rpx;
- margin: 24rpx 24rpx 0 0;
- }
-
- .tab-item {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
-
- .tab-tit {
- font-size: 32rpx;
- margin-top: 20rpx;
- color: #666;
- }
-
- .tab-item image {
- width: 160rpx;
- height: 160rpx;
- }
-
- .backlog-notice {
- margin: 50rpx 30rpx 0rpx;
- }
-
- .flow-path {
- padding: 20rpx 0rpx 20rpx;
-
- .scroll-view {
- white-space: nowrap;
- // position: sticky;
- top: 0;
- }
-
- .top-menu {
- display: flex;
- }
-
- .top-menu .tab {
- font-size: 28rpx;
- padding: 38rpx 30rpx;
- color: #666666;
- position: relative;
- }
-
- .top-menu .active .border {
- position: absolute;
- width: 70%;
- height: 16rpx;
- background: #00b38b;
- opacity: 0.3;
- bottom: 40rpx;
- z-index: -99;
- left: 15%;
- border-radius: 6rpx;
- }
-
- .top-menu .active {
- font-weight: bold;
- font-size: 32rpx;
- color: #0d0f26;
- }
-
- .top-menu .active::before {
- width: 100%;
- height: 16rpx;
- background: #00b38b;
- opacity: 0.3;
- }
-
- .flow-list {
- margin: 0rpx 30rpx;
- min-height: 700rpx;
- background: #ffffff;
- box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
- border-radius: 20rpx;
- padding: 55rpx 30rpx 30rpx;
- }
- }
-
- .description {
- overflow: hidden;
- -webkit-line-clamp: 2;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- }
- </style>
|