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) {