二手车交易,隐私后台返回

This commit is contained in:
2025-03-14 13:33:25 +08:00
parent 989e950f99
commit 0feee005d5

View File

@ -1,8 +1,8 @@
<template> <template>
<div class="wrap" > <div class="wrap" >
<div class="headerWrap"> <div class="headerWrap">
<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="backHandle" src="@/assets/secondHandCar/back.png" /> <img class="back" @click="backHandle" src="@/assets/secondHandCar/back.png" />
<span>免责声明</span> <span>免责声明</span>
<div style="opacity: 0;" class="back"></div> <div style="opacity: 0;" class="back"></div>
</div> </div>
@ -31,6 +31,9 @@ export default {
}, },
methods:{ methods:{
backHandle(){ backHandle(){
if(this.isWebFunc()){
this.h5GoBack()
}else{
if(this.$route.query.type == 1){ if(this.$route.query.type == 1){
this.$router.push({ name: 'carSource',query: {type:1},params: { this.$router.push({ name: 'carSource',query: {type:1},params: {
form: this.$route.params.form, form: this.$route.params.form,
@ -46,6 +49,7 @@ export default {
}else{ }else{
this.$router.push({ name: 'wantBuy',query: {type:1},params: { form: this.$route.params.form,radio:this.$route.params.radio } }) this.$router.push({ name: 'wantBuy',query: {type:1},params: { form: this.$route.params.form,radio:this.$route.params.radio } })
} }
}
}, },
} }
} }
@ -80,6 +84,7 @@ export default {
height: calc(100% - 42px); height: calc(100% - 42px);
overflow-y: auto; overflow-y: auto;
iframe{ iframe{
overflow-y:hidden;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: #FFFFFF; background-color: #FFFFFF;