41 lines
736 B
Vue
41 lines
736 B
Vue
<template>
|
|
<view>
|
|
<cu-custom bgColor="bg-gradual-blueness" :isBack="true">
|
|
<block slot="backText">返回</block>
|
|
<block slot="content">隐私协议</block>
|
|
</cu-custom>
|
|
<view>
|
|
<iframe src="http://192.168.192.201:8080/xieyi/privacy.html" :style="'width:100%;height:'+iframeHeight+'px'" frameborder="0"></iframe>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
sTop:0,
|
|
totalHeight:0,
|
|
iframeHeight:0
|
|
}
|
|
},
|
|
onLoad() {
|
|
},
|
|
onReady(){
|
|
let that=this;
|
|
let CustomBar = this.CustomBar;
|
|
uni.getSystemInfo({
|
|
success: function (res) {
|
|
that.iframeHeight = res.screenHeight -CustomBar;
|
|
}
|
|
});
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|