From 22f76aaa73aace5ce78431fa4fddd0e09cca1120 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Thu, 13 Mar 2025 13:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E6=89=8B=E8=BD=A6=E4=BA=A4=E6=98=93?= =?UTF-8?q?=EF=BC=8C=E5=8D=8F=E8=AE=AE=E9=93=BE=E6=8E=A5=E5=8A=A0=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/second-hand-router.js | 8 +++ src/views/secondHandCar/carSource.vue | 3 +- src/views/secondHandCar/privacy.vue | 72 +++++++++++++++++++++++++++ src/views/secondHandCar/wantBuy.vue | 3 +- 4 files changed, 84 insertions(+), 2 deletions(-) create mode 100644 src/views/secondHandCar/privacy.vue diff --git a/src/router/second-hand-router.js b/src/router/second-hand-router.js index 39f492f6..d573a597 100644 --- a/src/router/second-hand-router.js +++ b/src/router/second-hand-router.js @@ -47,5 +47,13 @@ const secondHandCar = [ title: '我的发布', } }, + { + path: '/privacyComponent', + name: 'privacyComponent', + component: () => import('@/views/secondHandCar/privacy.vue'), + meta:{ + title: '免责声明', + } + }, ] export default secondHandCar diff --git a/src/views/secondHandCar/carSource.vue b/src/views/secondHandCar/carSource.vue index 789a38f5..1e806429 100644 --- a/src/views/secondHandCar/carSource.vue +++ b/src/views/secondHandCar/carSource.vue @@ -226,7 +226,8 @@ export default { url = 'https://crm1.sino-assist.com' // url = 'http://localhost:8080' } - window.location.href=url + '/h5/supplier/dispatch/res/privacy.html' + let urls=url + '/h5/supplier/dispatch/res/privacy.html' + this.$router.push({ name: "privacyComponent", query: {url:urls}}) }, closeParentDialog() { if (window.parent) { diff --git a/src/views/secondHandCar/privacy.vue b/src/views/secondHandCar/privacy.vue new file mode 100644 index 00000000..9eb7dfd0 --- /dev/null +++ b/src/views/secondHandCar/privacy.vue @@ -0,0 +1,72 @@ + + + + + diff --git a/src/views/secondHandCar/wantBuy.vue b/src/views/secondHandCar/wantBuy.vue index ea8d26f9..7cfb4057 100644 --- a/src/views/secondHandCar/wantBuy.vue +++ b/src/views/secondHandCar/wantBuy.vue @@ -164,7 +164,8 @@ export default { url = 'https://crm1.sino-assist.com' // url = 'http://localhost:8080' } - window.location.href=url + '/h5/supplier/dispatch/res/privacy.html' + let urls=url + '/h5/supplier/dispatch/res/privacy.html' + this.$router.push({ name: "privacyComponent", query: {url:urls}}) }, closeParentDialog() { if (window.parent) {