From 2bcab90763df1c5d181c47bc9b26f286c263a43d Mon Sep 17 00:00:00 2001 From: 18278715334 <18278715334@163.com> Date: Thu, 25 Dec 2025 14:30:04 +0800 Subject: [PATCH] =?UTF-8?q?A=E7=BB=B4=E6=8A=A4=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/InquireForm.vue | 10 +++-- src/router/index.js | 7 +++ src/views/Maintenance.vue | 82 ++++++++++++++++++++++++++++++++++ src/views/Promote.vue | 2 +- 4 files changed, 97 insertions(+), 4 deletions(-) create mode 100644 src/views/Maintenance.vue diff --git a/src/components/InquireForm.vue b/src/components/InquireForm.vue index 54a5e1f..5e1b5a1 100644 --- a/src/components/InquireForm.vue +++ b/src/components/InquireForm.vue @@ -318,6 +318,7 @@ const emit = defineEmits(['submit-success']); // 动态导入产品背景图片的函数 const loadProductBackground = async (productType) => { try { + console.log('1动态导入加载产品背景图片', productType); switch (productType) { case 'companyinfo': return (await import("@/assets/images/report/xwqy_inquire_bg.jpg")).default; @@ -326,19 +327,21 @@ const loadProductBackground = async (productType) => { case 'personalData': return (await import("@/assets/images/report/grdsj_inquire_bg.jpg")).default; case 'marriage': + console.log('2动态导入loadProductBackground :marriage_inquire_bg.jpg'); return (await import("@/assets/images/report/marriage_inquire_bg.jpg")).default; case 'homeservice': return (await import("@/assets/images/report/homeservice_inquire_bg.jpg")).default; case 'backgroundcheck': return (await import("@/assets/images/report/backgroundcheck_inquire_bg.png")).default; default: + console.log('No matching case for product type:', productType); return null; } } catch (error) { console.warn(`Failed to load background image for ${productType}:`, error); + console.log('Failed to load background image for ${productType}:', error); return null; } - console.log('Loaded background21:', background); }; const route = useRoute(); @@ -673,12 +676,13 @@ const toHistory = () => { // 生命周期 onMounted(async () => { - + await loadBackgroundImage(); + await loadTrapezoidBackground(); }); // 加载背景图片 const loadBackgroundImage = async () => { - console.log('加载背景图片:s111s', props.feature); + console.log(' 加载背景图片loadBackgroundImage :feature', props.feature); const background = await loadProductBackground(props.feature); productBackground.value = background || ''; }; diff --git a/src/router/index.js b/src/router/index.js index e8eddb7..bb352af 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -149,12 +149,19 @@ const router = createRouter({ component: () => import('@/views/AgentServiceAgreement.vue'), meta: { title: '信息技术服务合同' }, }, + { + path: '/inquire/marriage', + name: 'inquire-marriage', + component: () => import('@/views/Maintenance.vue'), + meta: { title: '维护通知' }, + }, { path: '/inquire/:feature', name: 'inquire', component: () => import('@/views/Inquire.vue'), meta: { title: '查询报告' }, }, + { path: '/authorization', name: 'authorization', diff --git a/src/views/Maintenance.vue b/src/views/Maintenance.vue new file mode 100644 index 0000000..e05a71e --- /dev/null +++ b/src/views/Maintenance.vue @@ -0,0 +1,82 @@ + + + + 服务暂停通知 + + 因政策要求,接上级主管部门通知,我司现暂停婚姻报告服务,恢复时间估计在元旦以后,由此给您带来的不便,我们深表歉意。 + + + + + + + + + diff --git a/src/views/Promote.vue b/src/views/Promote.vue index 6adc3d6..12b9b67 100644 --- a/src/views/Promote.vue +++ b/src/views/Promote.vue @@ -93,7 +93,7 @@ const reportTypes = [ { text: "个人大数据", value: "personaldata", id: 27 }, { text: '入职风险', value: 'backgroundcheck', id: 1 }, { text: '家政风险', value: 'homeservice', id: 3 }, - { text: '婚恋风险', value: 'marriage', id: 4 }, + // { text: '婚恋风险', value: 'marriage', id: 4 }, // { text: '租赁风险', value: 'rentalrisk', id: 6 }, ];
因政策要求,接上级主管部门通知,我司现暂停婚姻报告服务,恢复时间估计在元旦以后,由此给您带来的不便,我们深表歉意。