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

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,20 +31,24 @@ export default {
}, },
methods:{ methods:{
backHandle(){ backHandle(){
if(this.$route.query.type == 1){ if(this.isWebFunc()){
this.$router.push({ name: 'carSource',query: {type:1},params: { this.h5GoBack()
form: this.$route.params.form,
radio:this.$route.params.radio ,
areaName:this.$route.params.areaName ,
vehicleLicensePhotoList:this.$route.params.vehicleLicensePhotoList ,
vehicleAnglePhotoList:this.$route.params.vehicleAnglePhotoList ,
otherImgSrcList:this.$route.params.otherImgSrcList ,
otherImgSrc:this.$route.params.otherImgSrc ,
} })
}else{ }else{
this.$router.push({ name: 'wantBuy',query: {type:1},params: { form: this.$route.params.form,radio:this.$route.params.radio } }) if(this.$route.query.type == 1){
this.$router.push({ name: 'carSource',query: {type:1},params: {
form: this.$route.params.form,
radio:this.$route.params.radio ,
areaName:this.$route.params.areaName ,
vehicleLicensePhotoList:this.$route.params.vehicleLicensePhotoList ,
vehicleAnglePhotoList:this.$route.params.vehicleAnglePhotoList ,
otherImgSrcList:this.$route.params.otherImgSrcList ,
otherImgSrc:this.$route.params.otherImgSrc ,
} })
}else{
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;