|
|
|
|
<template>
|
|
|
|
|
<div class="home app_content">
|
|
|
|
|
<!-- 顶部蓝色背景区域 -->
|
|
|
|
|
<div class="header-bg">
|
|
|
|
|
<img src="@/assets/images/logo_top.png" class="logo_top-img" alt="" />
|
|
|
|
|
<img src="@/assets/images/label_qyd.png" class="label_qyd-img" alt="" />
|
|
|
|
|
<img src="@/assets/images/slogan_top.png" class="slogan_top-img" alt="" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 内容区域 -->
|
|
|
|
|
<div class="content-area">
|
|
|
|
|
<!-- 通知栏 -->
|
|
|
|
|
<div class="notice-bar">
|
|
|
|
|
<img src="@/assets/images/icon_notice.png" class="notice-icon" alt="" />
|
|
|
|
|
<span class="notice-text">暂无新通知</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 轮播图 -->
|
|
|
|
|
<div class="banner-card">
|
|
|
|
|
<van-swipe :autoplay="3000" indicator-color="rgba(255,255,255,0.9)" :loop="true">
|
|
|
|
|
<van-swipe-item v-for="(item, index) in bannerList" :key="index">
|
|
|
|
|
<div class="banner-inner" @click="onBannerClick(item)">
|
|
|
|
|
<img v-if="item.image" :src="item.image" class="banner-img" alt="" />
|
|
|
|
|
<div v-else class="banner-placeholder">{{ item.title || '暂无内容' }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</van-swipe-item>
|
|
|
|
|
</van-swipe>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 执法监督码卡片 -->
|
|
|
|
|
<div class="supervision-card" @click="showEnterpriseQRCode">
|
|
|
|
|
<h3>执法监督码</h3>
|
|
|
|
|
<div class="qr-icon-wrap">
|
|
|
|
|
<img src="@/assets/images/icon_jdm.jpg" class="qr-image" alt="" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 双卡片行 -->
|
|
|
|
|
<div class="card-row">
|
|
|
|
|
<!-- 历史执法信息 -->
|
|
|
|
|
<div class="info-card" @click="toEnforcementRegistrationListView">
|
|
|
|
|
<h4>历史执法信息</h4>
|
|
|
|
|
<div class="card-icon">
|
|
|
|
|
<img src="@/assets/images/icon_zfxx.jpg" class="card-icon-img" alt="" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 执法案件信息 -->
|
|
|
|
|
<div class="info-card info-enforce" @click="toEnforcementCaseInfoView">
|
|
|
|
|
<h4>执法案件信息</h4>
|
|
|
|
|
<div class="card-icon">
|
|
|
|
|
<img src="@/assets/images/icon_ajxx.jpg" class="card-icon-img" alt="" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 底部导航栏 -->
|
|
|
|
|
<div class="footer_body">
|
|
|
|
|
<footer-nav></footer-nav>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup name="enterpriseHome">
|
|
|
|
|
import * as w6s from 'szient-js-sdk';
|
|
|
|
|
import sha1 from 'crypto-js/sha1';
|
|
|
|
|
import { getEnterpriseMerchantAuthorization, getSiqLoginAuth, getSiqLoginAuthMock, siqCode } from '../../../api/enterprise';
|
|
|
|
|
import 'vant/es/toast/style';
|
|
|
|
|
|
|
|
|
|
const { useCommon } = $globalStore;
|
|
|
|
|
const router = useRouter();
|
|
|
|
|
const isLoading = ref(true);
|
|
|
|
|
|
|
|
|
|
// ========== 轮播图数据 ==========
|
|
|
|
|
const bannerList = ref([
|
|
|
|
|
{ title: '执法监督 阳光执法', image: '', link: '' },
|
|
|
|
|
{ title: '入企须扫码 执法受监督', image: '', link: '' },
|
|
|
|
|
{ title: '优化营商环境 规范执法行为', image: '', link: '' },
|
|
|
|
|
]);
|
|
|
|
|
const onBannerClick = (item) => {
|
|
|
|
|
if (item.link) {
|
|
|
|
|
router.push(item.link);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let freshMap = reactive({
|
|
|
|
|
refreshLoad: false, // 是否刷新
|
|
|
|
|
listLoading: false, // 是否加载中
|
|
|
|
|
listFinished: false, // 是否加载完成标识
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const showEnterpriseQRCode = async () => {
|
|
|
|
|
router.push({
|
|
|
|
|
path: "/enterprise/qrCode",
|
|
|
|
|
query: {
|
|
|
|
|
enterpriseNumber: useCommon.enterpriseNumber,
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const toEnforcementRegistrationListView = async () => {
|
|
|
|
|
router.push({
|
|
|
|
|
path: "/enterprise/enforcementRegistrationList",
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
const toDemoList = () => {
|
|
|
|
|
router.push({ path: "/demo/enfDemoList" });
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const toComplaintView = async () => {
|
|
|
|
|
router.push({
|
|
|
|
|
path: "/enterprise/complaint",
|
|
|
|
|
query: {
|
|
|
|
|
comOrOpi: 0,
|
|
|
|
|
isSelect: true
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const toEnforcementCaseInfoView = async () => {
|
|
|
|
|
router.push({
|
|
|
|
|
path: "/enterprise/enforcementCaseInfo",
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//下拉刷新
|
|
|
|
|
const onRefresh = () => {
|
|
|
|
|
freshMap.listFinished = false;
|
|
|
|
|
freshMap.listLoading = true;
|
|
|
|
|
freshMap.refreshLoad = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 触底加载
|
|
|
|
|
const onLoad = () => {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const generateRandomNumber = () => {
|
|
|
|
|
const min = 100000;
|
|
|
|
|
const max = 999999;
|
|
|
|
|
const randomNum = (Math.floor(Math.random() * (max - min + 1)) + min);
|
|
|
|
|
return randomNum.toString().padStart(6, '0');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const getEnterpriseMerchant = (enterpriseNum, phoneNumber) => {
|
|
|
|
|
getEnterpriseMerchantAuthorization({ enterpriseNumber: enterpriseNum, merchantTel: phoneNumber }, success => {
|
|
|
|
|
if (success.data != null && success.data.length > 0) {
|
|
|
|
|
useCommon.SET_USER_ENTERPRISE_NUMBER(success.data[0].enterpriseNumber);
|
|
|
|
|
}
|
|
|
|
|
}, error => {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 判断用户信息是否已完整(企业端登录后已写入store)
|
|
|
|
|
const hasUserInfo = () => {
|
|
|
|
|
return useCommon.userId
|
|
|
|
|
&& useCommon.enterpriseName
|
|
|
|
|
&& useCommon.enterpriseNumber
|
|
|
|
|
&& useCommon.enterpriseId;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
|
|
|
console.log(useCommon.firstLoad);
|
|
|
|
|
console.log(useCommon);
|
|
|
|
|
isLoading.value = useCommon.firstLoad;
|
|
|
|
|
|
|
|
|
|
// 如果store中已存在完整的用户和企业信息,则跳过w6s鉴权
|
|
|
|
|
if (hasUserInfo()) {
|
|
|
|
|
console.log("用户信息已存在,跳过w6s鉴权");
|
|
|
|
|
isLoading.value = false;
|
|
|
|
|
getEnterpriseMerchant(useCommon.enterpriseNumber.toString(), useCommon.phonenumber.toString());
|
|
|
|
|
useCommon.SET_IS_FIRST_LOAD(false);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
siqCode(null, success => {
|
|
|
|
|
let access_key = "";
|
|
|
|
|
let access_secret = "";
|
|
|
|
|
if (success.success) {
|
|
|
|
|
access_key = success.data.accessKey;
|
|
|
|
|
access_secret = success.data.accessSecret;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const nonce = generateRandomNumber();
|
|
|
|
|
const timestamp = `${Date.now()}`;
|
|
|
|
|
|
|
|
|
|
const str = [access_secret, nonce, timestamp]
|
|
|
|
|
.sort()
|
|
|
|
|
.reduce((str, item) => str += item, '');
|
|
|
|
|
|
|
|
|
|
// 最终还需要转成全小写
|
|
|
|
|
const signature = sha1(str).toString().toLowerCase();
|
|
|
|
|
|
|
|
|
|
if (!access_key || !access_secret) {
|
|
|
|
|
console.log("获取深i企认证信息错误!", "access_key 或 access_secret 为空");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ========== 模拟深i企登录:使用 w6s.init mock 模式 ==========
|
|
|
|
|
const route = router.currentRoute.value;
|
|
|
|
|
const mockLogin = route.query.mockLogin;
|
|
|
|
|
const mockLoginFrom = route.query.mockLoginFrom;
|
|
|
|
|
if (mockLogin === 'true' && mockLoginFrom === 'siq') {
|
|
|
|
|
const userInfoStr = decodeURIComponent(route.query.userInfo || '');
|
|
|
|
|
const userInfo = JSON.parse(userInfoStr);
|
|
|
|
|
console.log("模拟深i企登录, 用户信息:", userInfo);
|
|
|
|
|
|
|
|
|
|
// 使用 w6s SDK 内置的 mock 机制,设置 mockData 模拟 config 鉴权和 getAuthCode 认证
|
|
|
|
|
w6s.init({
|
|
|
|
|
mock: true,
|
|
|
|
|
debug: true,
|
|
|
|
|
mockData: {
|
|
|
|
|
config: {
|
|
|
|
|
config: () => ({ success: true })
|
|
|
|
|
},
|
|
|
|
|
szient: {
|
|
|
|
|
getAuthCode: () => ({
|
|
|
|
|
result: { result: { code: 'MOCK_SIQ_' + userInfo.userId } }
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// mock 模式下 w6s API 仅通过 Promise 返回(不触发 success 回调),使用 then 链处理
|
|
|
|
|
w6s.config({})
|
|
|
|
|
.then((res) => {
|
|
|
|
|
console.log("模拟鉴权成功", res);
|
|
|
|
|
return w6s.szient.getAuthCode({});
|
|
|
|
|
})
|
|
|
|
|
.then((res) => {
|
|
|
|
|
console.log("模拟认证成功, code:", res.result.result.code);
|
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
|
getSiqLoginAuthMock({ userId: userInfo.userId }, resolve, reject);
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
.then((success) => {
|
|
|
|
|
useCommon.SET_USER_PHONENUMBER(success.data.phonenumber.toString());
|
|
|
|
|
useCommon.SET_USER_ID(success.data.userId);
|
|
|
|
|
useCommon.SET_USER_ENTERPRISE_NUMBER(success.data.enterpriseNumber);
|
|
|
|
|
useCommon.SET_TOKEN(success.data.token);
|
|
|
|
|
console.log("模拟深i企登录成功", success.data);
|
|
|
|
|
isLoading.value = false;
|
|
|
|
|
useCommon.SET_IS_FIRST_LOAD(false);
|
|
|
|
|
getEnterpriseMerchant(success.data.enterpriseNumber.toString(), success.data.phonenumber.toString());
|
|
|
|
|
})
|
|
|
|
|
.catch((err) => {
|
|
|
|
|
console.error("模拟深i企登录失败:", err);
|
|
|
|
|
isLoading.value = false;
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ========== 深i企登录:生产环境模式 ==========
|
|
|
|
|
w6s.config({
|
|
|
|
|
access_key: access_key,
|
|
|
|
|
nonce: nonce,
|
|
|
|
|
timestamp: timestamp,
|
|
|
|
|
signature: signature,
|
|
|
|
|
}).then((res) => {
|
|
|
|
|
console.log("鉴权", res);
|
|
|
|
|
}).catch((err) => {
|
|
|
|
|
console.log("鉴权", err);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
w6s.ready(() => {
|
|
|
|
|
w6s.header.setTitle('深圳市行政执法监督码');
|
|
|
|
|
w6s.szient.getAuthCode({
|
|
|
|
|
success: function (res) {
|
|
|
|
|
console.log(res)
|
|
|
|
|
console.log("认证", res);
|
|
|
|
|
console.log("code: " + res.result.result.code);
|
|
|
|
|
getSiqLoginAuth({ code: res.result.result.code }, success => {
|
|
|
|
|
useCommon.SET_USER_PHONENUMBER(success.data.phonenumber.toString());
|
|
|
|
|
useCommon.SET_USER_ID(success.data.userId);
|
|
|
|
|
useCommon.SET_USER_ENTERPRISE_NUMBER(success.data.enterpriseNumber);
|
|
|
|
|
console.log(success.data);
|
|
|
|
|
useCommon.SET_TOKEN(success.data.token);
|
|
|
|
|
console.log(useCommon.userId);
|
|
|
|
|
console.log(useCommon.firstLoad);
|
|
|
|
|
if (useCommon.firstLoad) {
|
|
|
|
|
isLoading.value = false;
|
|
|
|
|
}
|
|
|
|
|
//设置已经初始化
|
|
|
|
|
useCommon.SET_IS_FIRST_LOAD(false)
|
|
|
|
|
getEnterpriseMerchant(success.data.enterpriseNumber.toString(), success.data.phonenumber.toString());
|
|
|
|
|
if (useCommon.firstLoad) {
|
|
|
|
|
isLoading.value = false;
|
|
|
|
|
}
|
|
|
|
|
}, error => {
|
|
|
|
|
console.log("error : " + error)
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
fail: function (err) {
|
|
|
|
|
console.log(err)
|
|
|
|
|
console.log("认证", err);
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
const { VITE_BASE_URL, access_key, access_secret } = import.meta.env;
|
|
|
|
|
console.log(VITE_BASE_URL);
|
|
|
|
|
const apiUrl = ref(import.meta.env.accessKey);
|
|
|
|
|
console.log(access_key);
|
|
|
|
|
console.log(access_secret);
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
.home {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background: #f0f6ff;
|
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ===== 顶部蓝色背景区域 ===== */
|
|
|
|
|
.header-bg {
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
line-height: 0;
|
|
|
|
|
background: url('@/assets/images/bg_sz_top.png') center center no-repeat, linear-gradient(180deg, #fff 0%, #def0ff 20%, #60baff 100%);
|
|
|
|
|
background-size: cover;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 200px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
.logo_top-img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 200px;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.label_qyd-img {
|
|
|
|
|
height: 30px;
|
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 126px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.slogan_top-img {
|
|
|
|
|
width: 200px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 160px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ===== 内容区域 ===== */
|
|
|
|
|
.content-area {
|
|
|
|
|
padding: 0 16px;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
padding-bottom: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 通知栏 */
|
|
|
|
|
.notice-bar {
|
|
|
|
|
background: #fffbe6;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
padding: 8px 10px;
|
|
|
|
|
margin-bottom: 14px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
|
|
|
|
|
border: 1px solid rgba(255, 220, 120, 0.4);
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
|
|
.notice-icon {
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
min-width: 18px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
object-fit: contain;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notice-text {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #8c8c8c;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 轮播图 */
|
|
|
|
|
.banner-card {
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
margin-bottom: 14px;
|
|
|
|
|
position: relative;
|
|
|
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.banner-inner {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 180px;
|
|
|
|
|
background: linear-gradient(135deg, #c8e2f8 0%, #a0c8f0 30%, #7bb3e8 60%, #5a9de0 100%);
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.banner-img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.banner-placeholder {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
color: rgba(255, 255, 255, 0.85);
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
letter-spacing: 3px;
|
|
|
|
|
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:deep(.van-swipe__indicator) {
|
|
|
|
|
width: 8px;
|
|
|
|
|
height: 8px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: rgba(255, 255, 255, 0.5);
|
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:deep(.van-swipe__indicator--active) {
|
|
|
|
|
width: 20px;
|
|
|
|
|
background: rgba(255, 255, 255, 0.9);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 执法监督码卡片 */
|
|
|
|
|
.supervision-card {
|
|
|
|
|
background: url('../../../assets/images/bg_jdm.jpg') center center no-repeat, linear-gradient(180deg, #7cc5fe 0%, #fff 100%);
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
padding: 18px 20px;
|
|
|
|
|
margin-bottom: 14px;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
|
|
|
|
|
h3 {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #1a1a2e;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
margin-bottom: 6px;
|
|
|
|
|
margin-top: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.qr-icon-wrap {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.qr-image {
|
|
|
|
|
width: 100px;
|
|
|
|
|
// height: 100px;
|
|
|
|
|
object-fit: contain;
|
|
|
|
|
border-radius: 40px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 双卡片行 */
|
|
|
|
|
.card-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.info-card {
|
|
|
|
|
flex: 1;
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
padding: 18px 16px;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
min-height: 90px;
|
|
|
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
|
|
|
|
|
background: url('../../../assets/images/bg_zfxx.png') center center no-repeat, linear-gradient(180deg, #bbecfd 0%, #fff 100%);
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
h4 {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #1a1a2e;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-icon {
|
|
|
|
|
width: 52px;
|
|
|
|
|
height: 52px;
|
|
|
|
|
border-radius: 14px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
.card-icon-img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.info-enforce{
|
|
|
|
|
background: url('../../../assets/images/bg_ajxx.png') center center no-repeat, linear-gradient(180deg, #a6d1f9 0%, #fff 100%);
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
}
|
|
|
|
|
/* ===== 底部导航 ===== */
|
|
|
|
|
.footer_body {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
</style>
|