From b349671004e7cb828e23b06f4700afecfc62be27 Mon Sep 17 00:00:00 2001
From: zhouxueli <2841188632@qq.com>
Date: Fri, 14 Mar 2025 13:57:07 +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=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE=E8=B7=AF=E5=BE=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/secondHandCar/carSource.vue | 10 +++++++++-
src/views/secondHandCar/indexList.vue | 4 ++--
src/views/secondHandCar/mineRelease.vue | 2 +-
src/views/secondHandCar/wantBuy.vue | 10 +++++++++-
4 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/src/views/secondHandCar/carSource.vue b/src/views/secondHandCar/carSource.vue
index 6d7f7117..59d70e2c 100644
--- a/src/views/secondHandCar/carSource.vue
+++ b/src/views/secondHandCar/carSource.vue
@@ -4,7 +4,7 @@
-

+
@@ -190,6 +190,7 @@ export default {
otherImgSrcList:[],
otherImgSrc:[],
status:'',
+ homePage:false,
}
},
async mounted() {
@@ -238,6 +239,13 @@ export default {
}
},
methods:{
+ backHandle(){
+ if(this.$route.query.homePage){//返回列表
+ this.$router.push({ name: "indexList"})
+ }else{//返回我的发布
+ this.$router.push({ name: "mineRelease"})
+ }
+ },
viewPrivacy(){
let url='';
if (window.location.href.includes('www.sinoassist.com')) {
diff --git a/src/views/secondHandCar/indexList.vue b/src/views/secondHandCar/indexList.vue
index 3e6be763..ec8358e9 100644
--- a/src/views/secondHandCar/indexList.vue
+++ b/src/views/secondHandCar/indexList.vue
@@ -267,10 +267,10 @@ export default {
if(type===1){//车源发布
this.$router.push({
name: "carSource",
- query: { type:1 }
+ query: { type:1,homePage:true }
})
}else{//求购发布
- this.$router.push({ name: "wantBuy", query: { type:1 } })
+ this.$router.push({ name: "wantBuy", query: { type:1,homePage:true } })
}
this.setSearchVal();
},
diff --git a/src/views/secondHandCar/mineRelease.vue b/src/views/secondHandCar/mineRelease.vue
index f065dc40..6ed3970a 100644
--- a/src/views/secondHandCar/mineRelease.vue
+++ b/src/views/secondHandCar/mineRelease.vue
@@ -167,7 +167,7 @@ export default {
reviseHandle(item){//修改
this.$router.push({
name: item.type==1 ? "carSource" : 'wantBuy',
- query: { type:1 ,id:item.id,queryType:3},
+ query: { type:1 ,id:item.id,queryType:3,homePage:false},
})
},
async polishHandle(item){//檫亮
diff --git a/src/views/secondHandCar/wantBuy.vue b/src/views/secondHandCar/wantBuy.vue
index aade63ee..180bbf07 100644
--- a/src/views/secondHandCar/wantBuy.vue
+++ b/src/views/secondHandCar/wantBuy.vue
@@ -4,7 +4,7 @@
@@ -132,6 +132,7 @@ export default {
auditReason:'',
auditRemark:'',
status:'',
+ homePage:false,
}
},
async mounted() {
@@ -158,6 +159,13 @@ export default {
}
},
methods:{
+ backHandle(){
+ if(this.$route.query.homePage){//返回列表
+ this.$router.push({ name: "indexList"})
+ }else{//返回我的发布
+ this.$router.push({ name: "mineRelease"})
+ }
+ },
viewPrivacy(){
// let host = window.location.host
let url='';