f
This commit is contained in:
4
.env
4
.env
@@ -1,4 +1,6 @@
|
|||||||
VITE_API_URL=https://www.quannengcha.com/
|
# VITE_API_URL=https://www.quannengcha.com/
|
||||||
|
VITE_API_URL=
|
||||||
|
|
||||||
VITE_API_PREFIX=/api/v1
|
VITE_API_PREFIX=/api/v1
|
||||||
|
|
||||||
VITE_COMPANY_NAME=海南海宇大数据有限公司
|
VITE_COMPANY_NAME=海南海宇大数据有限公司
|
||||||
|
|||||||
12
index.html
12
index.html
@@ -28,11 +28,11 @@
|
|||||||
|
|
||||||
<!-- 基础SEO信息 -->
|
<!-- 基础SEO信息 -->
|
||||||
<title>
|
<title>
|
||||||
全能查|大数据风险报告查询与代理平台,支持个人和企业多场景风控应用
|
全能查官网_综合风险排查工具_个人与企业背景核验平台
|
||||||
</title>
|
</title>
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="全能查,专业大数据风险报告查询与代理平台,支持个人信用查询、小微企业风控、贷前风险背调等多场景报告应用,免费开通代理权限,助力高效识别信用与风险。"
|
content="全能查是您的掌上风控工具箱。平台基于合规数据,提供个人风险预警、职场入职自查及黑名单筛查服务。无需繁琐流程,客观中立,一键生成报告,助您快速识别生活中的潜在隐患。"
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
name="keywords"
|
name="keywords"
|
||||||
@@ -48,11 +48,11 @@
|
|||||||
<meta property="og:url" content="https://www.zhinengcha.cn/" />
|
<meta property="og:url" content="https://www.zhinengcha.cn/" />
|
||||||
<meta
|
<meta
|
||||||
property="og:title"
|
property="og:title"
|
||||||
content="全能查|大数据风险报告查询与代理平台,支持个人和企业多场景风控应用"
|
content="全能查官网_综合风险排查工具_个人与企业背景核验平台"
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
property="og:description"
|
property="og:description"
|
||||||
content="全能查,专业大数据风险报告查询与代理平台,支持个人信用查询、小微企业风控、贷前风险背调等多场景报告应用,免费开通代理权限,助力高效识别信用与风险。"
|
content="全能查是您的掌上风控工具箱。平台基于合规数据,提供个人风险预警、职场入职自查及黑名单筛查服务。无需繁琐流程,客观中立,一键生成报告,助您快速识别生活中的潜在隐患。"
|
||||||
/>
|
/>
|
||||||
<meta property="og:site_name" content="全能查" />
|
<meta property="og:site_name" content="全能查" />
|
||||||
<meta property="og:locale" content="zh_CN" />
|
<meta property="og:locale" content="zh_CN" />
|
||||||
@@ -62,11 +62,11 @@
|
|||||||
<meta property="twitter:url" content="https://www.zhinengcha.cn/" />
|
<meta property="twitter:url" content="https://www.zhinengcha.cn/" />
|
||||||
<meta
|
<meta
|
||||||
property="twitter:title"
|
property="twitter:title"
|
||||||
content="全能查|大数据风险报告查询与代理平台,支持个人和企业多场景风控应用"
|
content="全能查官网_综合风险排查工具_个人与企业背景核验平台"
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
property="twitter:description"
|
property="twitter:description"
|
||||||
content="全能查,专业大数据风险报告查询与代理平台,支持个人信用查询、小微企业风控、贷前风险背调等多场景报告应用,免费开通代理权限,助力高效识别信用与风险。"
|
content="全能查是您的掌上风控工具箱。平台基于合规数据,提供个人风险预警、职场入职自查及黑名单筛查服务。无需繁琐流程,客观中立,一键生成报告,助您快速识别生活中的潜在隐患。"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- 其他重要meta标签 -->
|
<!-- 其他重要meta标签 -->
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "全能查|大数据风险报告查询与代理平台,支持个人和企业多场景风控应用",
|
"name": "全能查官网_综合风险排查工具_个人与企业背景核验平台",
|
||||||
"short_name": "全能查",
|
"short_name": "全能查",
|
||||||
"description": "专业大数据风险报告查询与代理平台,支持个人信用查询、小微企业风控、贷前风险背调等多场景报告应用",
|
"description": "专业大数据风险报告查询与代理平台,支持个人信用查询、小微企业风控、贷前风险背调等多场景报告应用",
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ export function useSEO() {
|
|||||||
|
|
||||||
// 默认SEO信息
|
// 默认SEO信息
|
||||||
const defaultSEO = {
|
const defaultSEO = {
|
||||||
title: "全能查|大数据风险报告查询与代理平台,支持个人和企业多场景风控应用",
|
title: "全能查官网_综合风险排查工具_个人与企业背景核验平台",
|
||||||
description:
|
description:
|
||||||
"全能查,专业大数据风险报告查询与代理平台,支持个人信用查询、小微企业风控、贷前风险背调等多场景报告应用,免费开通代理权限,助力高效识别信用与风险。",
|
"全能查是您的掌上风控工具箱。平台基于合规数据,提供个人风险预警、职场入职自查及黑名单筛查服务。无需繁琐流程,客观中立,一键生成报告,助您快速识别生活中的潜在隐患。",
|
||||||
keywords:
|
keywords:
|
||||||
"大数据风险报告查询、大数据风险评估、大数据分析报告、个人大数据风险查询、小微企业风险、贷前风险背调、代理管理平台、免费开通代理、风险管控平台、信用风险分析、企业风险报告、贷前信用审核、失信人名单查询、被执行人信息、信用黑名单查询",
|
"大数据风险报告查询、大数据风险评估、大数据分析报告、个人大数据风险查询、小微企业风险、贷前风险背调、代理管理平台、免费开通代理、风险管控平台、信用风险分析、企业风险报告、贷前信用审核、失信人名单查询、被执行人信息、信用黑名单查询",
|
||||||
url: "https://www.zhinengcha.cn",
|
url: "https://www.zhinengcha.cn",
|
||||||
@@ -153,9 +153,9 @@ export function useSEO() {
|
|||||||
const updateSEOByRoute = () => {
|
const updateSEOByRoute = () => {
|
||||||
const routeConfigs = {
|
const routeConfigs = {
|
||||||
"/": {
|
"/": {
|
||||||
title: "全能查|大数据风险报告查询与代理平台,支持个人和企业多场景风控应用",
|
title: "全能查官网_综合风险排查工具_个人与企业背景核验平台",
|
||||||
description:
|
description:
|
||||||
"全能查,专业大数据风险报告查询与代理平台,支持个人信用查询、小微企业风控、贷前风险背调等多场景报告应用,免费开通代理权限,助力高效识别信用与风险。",
|
"全能查是您的掌上风控工具箱。平台基于合规数据,提供个人风险预警、职场入职自查及黑名单筛查服务。无需繁琐流程,客观中立,一键生成报告,助您快速识别生活中的潜在隐患。",
|
||||||
keywords:
|
keywords:
|
||||||
"大数据风险报告查询、大数据风险评估、大数据分析报告、个人大数据风险查询、小微企业风险、贷前风险背调、代理管理平台、免费开通代理、风险管控平台、信用风险分析、企业风险报告、贷前信用审核、失信人名单查询、被执行人信息、信用黑名单查询",
|
"大数据风险报告查询、大数据风险评估、大数据分析报告、个人大数据风险查询、小微企业风险、贷前风险背调、代理管理平台、免费开通代理、风险管控平台、信用风险分析、企业风险报告、贷前信用审核、失信人名单查询、被执行人信息、信用黑名单查询",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,22 +1,144 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { ref, onMounted } from "vue";
|
import { ref, onMounted, computed } from "vue";
|
||||||
import { useRoute, useRouter } from "vue-router";
|
import { useRoute, useRouter } from "vue-router";
|
||||||
|
import { useAgentStore } from "@/stores/agentStore";
|
||||||
|
import { useUserStore } from "@/stores/userStore";
|
||||||
|
import { storeToRefs } from "pinia";
|
||||||
|
import { showToast } from "vant";
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
const agentStore = useAgentStore();
|
||||||
|
const userStore = useUserStore();
|
||||||
|
const { isAgent } = storeToRefs(agentStore);
|
||||||
|
const { mobile, isLoggedIn } = storeToRefs(userStore);
|
||||||
|
|
||||||
const feature = ref(route.params.feature);
|
const feature = ref(route.params.feature);
|
||||||
|
|
||||||
// 获取产品信息
|
// 获取产品信息
|
||||||
const featureData = ref({});
|
const featureData = ref({});
|
||||||
|
|
||||||
// 查询页可自由浏览,仅付款时需要登录
|
// 检查是否可以查询:不需要登录,直接允许查询
|
||||||
|
const canQuery = computed(() => {
|
||||||
|
return true; // 允许未登录用户查询
|
||||||
|
});
|
||||||
|
|
||||||
|
// 初始化:检查支付回调并加载产品信息
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
// 检查支付回调
|
// 检查支付回调
|
||||||
isFinishPayment();
|
isFinishPayment();
|
||||||
|
|
||||||
|
// 如果有 token,尝试加载用户信息(但不强制)
|
||||||
|
const token = localStorage.getItem("token");
|
||||||
|
if (token) {
|
||||||
|
try {
|
||||||
|
await userStore.fetchUserInfo();
|
||||||
|
} catch (error) {
|
||||||
|
console.warn("获取用户信息失败(可选):", error);
|
||||||
|
// 不影响查询功能,继续执行
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 添加婚姻查询的特殊处理
|
||||||
|
if (feature.value === 'marriage') {
|
||||||
|
showMarriageUpgradeNotice();
|
||||||
|
}
|
||||||
|
|
||||||
|
// 直接加载产品信息,不需要登录
|
||||||
await getProduct();
|
await getProduct();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
function showMarriageUpgradeNotice() {
|
||||||
|
// 创建自定义弹窗
|
||||||
|
const modal = document.createElement('div');
|
||||||
|
modal.style.position = 'fixed';
|
||||||
|
modal.style.top = '0';
|
||||||
|
modal.style.left = '0';
|
||||||
|
modal.style.width = '100%';
|
||||||
|
modal.style.height = '100%';
|
||||||
|
modal.style.backgroundColor = 'rgba(0, 0, 0, 0.5)';
|
||||||
|
modal.style.display = 'flex';
|
||||||
|
modal.style.justifyContent = 'center';
|
||||||
|
modal.style.alignItems = 'center';
|
||||||
|
modal.style.zIndex = '9999';
|
||||||
|
|
||||||
|
modal.innerHTML = `
|
||||||
|
<div style="
|
||||||
|
background: white;
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 24px;
|
||||||
|
margin: 20px;
|
||||||
|
max-width: 400px;
|
||||||
|
width: 90%;
|
||||||
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
||||||
|
position: relative;
|
||||||
|
overflow-y: auto;
|
||||||
|
max-height: 90vh;
|
||||||
|
">
|
||||||
|
<h3 style="
|
||||||
|
color: #333;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
font-size: 18px;
|
||||||
|
">亲爱的用户,您好!</h3>
|
||||||
|
|
||||||
|
<p style="
|
||||||
|
color: #666;
|
||||||
|
line-height: 1.6;
|
||||||
|
margin: 8px 0;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 14px;
|
||||||
|
">婚恋报告正在优化升级中,需要查询请前往天远查。</p>
|
||||||
|
|
||||||
|
|
||||||
|
<div style="display: flex; gap: 12px; margin-bottom: 16px;">
|
||||||
|
<button id="jumpNowBtn" style="
|
||||||
|
flex: 1;
|
||||||
|
background: linear-gradient(135deg, #ff6b6b, #ee5a24);
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
padding: 12px 0;
|
||||||
|
border-radius: 25px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
">是</button>
|
||||||
|
|
||||||
|
<button id="remindLaterBtn" style="
|
||||||
|
flex: 1;
|
||||||
|
background: #f8f9fa;
|
||||||
|
color: #666;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
padding: 12px 0;
|
||||||
|
border-radius: 25px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 14px;
|
||||||
|
">否</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
|
||||||
|
document.body.appendChild(modal);
|
||||||
|
|
||||||
|
// 绑定按钮事件
|
||||||
|
const jumpNowBtn = modal.querySelector('#jumpNowBtn');
|
||||||
|
const remindLaterBtn = modal.querySelector('#remindLaterBtn');
|
||||||
|
|
||||||
|
jumpNowBtn.addEventListener('click', () => {
|
||||||
|
// 跳转到新版首页
|
||||||
|
window.open('http://localhost:5173/', '_blank');
|
||||||
|
document.body.removeChild(modal);
|
||||||
|
});
|
||||||
|
|
||||||
|
remindLaterBtn.addEventListener('click', () => {
|
||||||
|
// 跳转到指定网站
|
||||||
|
window.location.href = 'https://www.quannengcha.com/';
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
function isFinishPayment() {
|
function isFinishPayment() {
|
||||||
const query = new URLSearchParams(window.location.search);
|
const query = new URLSearchParams(window.location.search);
|
||||||
let orderNo = query.get("out_trade_no");
|
let orderNo = query.get("out_trade_no");
|
||||||
@@ -48,6 +170,6 @@ async function getProduct() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<!-- 查询页可自由浏览,付款时再要求登录 -->
|
<!-- 直接显示查询表单,不需要登录 -->
|
||||||
<InquireForm :type="'normal'" :feature="feature" :feature-data="featureData" />
|
<InquireForm :type="'normal'" :feature="feature" :feature-data="featureData" />
|
||||||
</template>
|
</template>
|
||||||
Reference in New Issue
Block a user