二手车交易,返回按钮路径
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
<img class="bg" src="@/assets/secondHandCar/bg.png" />
|
<img class="bg" src="@/assets/secondHandCar/bg.png" />
|
||||||
<div class="navWrap">
|
<div class="navWrap">
|
||||||
<div v-if="isWebFunc()" style="opacity: 0;" class="back"></div>
|
<div v-if="isWebFunc()" style="opacity: 0;" class="back"></div>
|
||||||
<img v-else class="back" @click="h5GoBack" src="@/assets/secondHandCar/back.png" />
|
<img v-else class="back" @click="backHandle" src="@/assets/secondHandCar/back.png" />
|
||||||
<!-- 切图问题,图片需更换-->
|
<!-- 切图问题,图片需更换-->
|
||||||
<img class="navIcon" src="@/assets/secondHandCar/cheyuan_big.png" />
|
<img class="navIcon" src="@/assets/secondHandCar/cheyuan_big.png" />
|
||||||
<div style="opacity: 0;" class="back"></div>
|
<div style="opacity: 0;" class="back"></div>
|
||||||
@ -190,6 +190,7 @@ export default {
|
|||||||
otherImgSrcList:[],
|
otherImgSrcList:[],
|
||||||
otherImgSrc:[],
|
otherImgSrc:[],
|
||||||
status:'',
|
status:'',
|
||||||
|
homePage:false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
@ -238,6 +239,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
backHandle(){
|
||||||
|
if(this.$route.query.homePage){//返回列表
|
||||||
|
this.$router.push({ name: "indexList"})
|
||||||
|
}else{//返回我的发布
|
||||||
|
this.$router.push({ name: "mineRelease"})
|
||||||
|
}
|
||||||
|
},
|
||||||
viewPrivacy(){
|
viewPrivacy(){
|
||||||
let url='';
|
let url='';
|
||||||
if (window.location.href.includes('www.sinoassist.com')) {
|
if (window.location.href.includes('www.sinoassist.com')) {
|
||||||
|
@ -267,10 +267,10 @@ export default {
|
|||||||
if(type===1){//车源发布
|
if(type===1){//车源发布
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: "carSource",
|
name: "carSource",
|
||||||
query: { type:1 }
|
query: { type:1,homePage:true }
|
||||||
})
|
})
|
||||||
}else{//求购发布
|
}else{//求购发布
|
||||||
this.$router.push({ name: "wantBuy", query: { type:1 } })
|
this.$router.push({ name: "wantBuy", query: { type:1,homePage:true } })
|
||||||
}
|
}
|
||||||
this.setSearchVal();
|
this.setSearchVal();
|
||||||
},
|
},
|
||||||
|
@ -167,7 +167,7 @@ export default {
|
|||||||
reviseHandle(item){//修改
|
reviseHandle(item){//修改
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: item.type==1 ? "carSource" : 'wantBuy',
|
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){//檫亮
|
async polishHandle(item){//檫亮
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<img class="bg" src="@/assets/secondHandCar/bg.png" />
|
<img class="bg" src="@/assets/secondHandCar/bg.png" />
|
||||||
<div class="navWrap">
|
<div class="navWrap">
|
||||||
<div v-if="isWebFunc()" style="opacity: 0;" class="back"></div>
|
<div v-if="isWebFunc()" style="opacity: 0;" class="back"></div>
|
||||||
<img v-else class="back" @click="h5GoBack" src="@/assets/secondHandCar/back.png" />
|
<img v-else class="back" @click="backHandle" src="@/assets/secondHandCar/back.png" />
|
||||||
<img class="navIcon" src="@/assets/secondHandCar/qiugou_big.png" />
|
<img class="navIcon" src="@/assets/secondHandCar/qiugou_big.png" />
|
||||||
<div style="opacity: 0;" class="back"></div>
|
<div style="opacity: 0;" class="back"></div>
|
||||||
</div>
|
</div>
|
||||||
@ -132,6 +132,7 @@ export default {
|
|||||||
auditReason:'',
|
auditReason:'',
|
||||||
auditRemark:'',
|
auditRemark:'',
|
||||||
status:'',
|
status:'',
|
||||||
|
homePage:false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
@ -158,6 +159,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
backHandle(){
|
||||||
|
if(this.$route.query.homePage){//返回列表
|
||||||
|
this.$router.push({ name: "indexList"})
|
||||||
|
}else{//返回我的发布
|
||||||
|
this.$router.push({ name: "mineRelease"})
|
||||||
|
}
|
||||||
|
},
|
||||||
viewPrivacy(){
|
viewPrivacy(){
|
||||||
// let host = window.location.host
|
// let host = window.location.host
|
||||||
let url='';
|
let url='';
|
||||||
|
Reference in New Issue
Block a user