123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068 |
- <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="$util.navTo(`/subpackage/after-sale/onlineService`,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>
- <!-- 专区服务 -->
- <!-- <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();//代办事项
-
- // uni.navigateTo({
- // url: "/subpackage/after-sale/account-opening-template/account-opening-template"
- // })
- })
-
- 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>
|