<script type="text/javascript" th:inline="javascript">
//根据浏览器大小调整iframe高度
reSetSize();
window.onresize = reSetSize;
function reSetSize() {
var windowsHeight = window.innerHeight;
document.getElementById('content').style.height = (windowsHeight - 10) + "px";
}
</script>
h5页面自动调整iframe高度
最新推荐文章于 2024-05-11 10:05:08 发布