integrated_traffic_uniapp/pages/my/privacy/privacy.vue

31 lines
682 B
Vue
Raw Permalink Normal View History

2024-01-16 17:24:49 +08:00
<template>
<view>
<cu-custom bgColor="bg-gradual-blueness" :isBack="true">
<block slot="backText">返回</block>
<block slot="content">用户隐私协议</block>
</cu-custom>
<view>
<iframe src="https://qaaq.qhdsafety.com/qysafety/privacy.html" :style="'width:100%;height:'+iframeHeight+'px'" frameborder="0"></iframe>
</view>
</view>
</template>
<script>
export default {
data() {
return {
iframeHeight:0
}
},
onReady(){
let that=this;
let CustomBar = this.CustomBar;
uni.getSystemInfo({
success: function (res) {
that.iframeHeight = res.screenHeight -CustomBar;
}
});
},
}
</script>