73 lines
1.3 KiB
Vue
73 lines
1.3 KiB
Vue
<template>
|
|
<div class="wrap" >
|
|
<div class="headerWrap">
|
|
<div v-if="isWebFunc()" style="opacity: 0;" class="back"></div>
|
|
<img v-else class="back" @click="h5GoBack" src="@/assets/secondHandCar/back.png" />
|
|
<span>免责声明</span>
|
|
<div style="opacity: 0;" class="back"></div>
|
|
</div>
|
|
<div class="contentWrap">
|
|
<iframe :src="url"></iframe>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import {myMixins} from "@/utils/myMixins"
|
|
export default {
|
|
name: "privacyComponent",
|
|
mixins:[myMixins],
|
|
data(){
|
|
return{
|
|
url:''
|
|
}
|
|
},
|
|
async mounted() {
|
|
this.url=this.$route.query.url
|
|
},
|
|
beforeUnmount() {
|
|
|
|
},
|
|
methods:{
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
@import '@/styles/mixin.scss';
|
|
.wrap {
|
|
@include wh(100%, 100%);
|
|
position: relative;
|
|
background-color: #F6F6F6;
|
|
}
|
|
.headerWrap{
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 15px 16px;
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background: #FFFFFF;
|
|
.back{
|
|
@include wh(15px,15px);
|
|
}
|
|
span{
|
|
font-weight: bold;
|
|
font-size: 16px;
|
|
color: #203152;
|
|
}
|
|
}
|
|
.contentWrap{
|
|
height: calc(100% - 42px);
|
|
overflow-y: auto;
|
|
iframe{
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #FFFFFF;
|
|
border: none;
|
|
}
|
|
}
|
|
</style>
|