<template>
<view class="content">
<navigator url="../my/about?uid=100&t=1535987051" open-type="switchTab">
<text class="title">测试引入组态页面</text>
<!-- 使用iframe,会出现布局错乱,然后需要手动去适配app在不同设备上的样式问题 -->
<!-- <iframe src="https://blog.csdn.net/weixin_38999134?spm=1000.2115.3001.5343" :style="{ height: this.app_height * 0.5 + 'rpx',width: this.app_height * 100 + 'rpx' }" >
</iframe>
-->
<!-- web-view是一个 web 浏览器组件,可以用来承载网页的容器,会自动铺满整个页面(nvue 使用需要手动指定宽高)。 -->
<web-view src="https://blog.csdn.net/weixin_38999134?spm=1000.2115.3001.5343"></web-view>
</navigator>
</view>
</template>
<script>
export default {
data() {
return {
webviewStyles: {
progress: {
color: '#FF3333'
}
}
}
}
}
</script>
<style>
.content {
flex: 1;
justify-content: center;
align-items: center;
}
.title {
font-size: 36px;
color: #8f8f94;
}
</style>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。