项目中的代码
<title>数据汇总</title>
<script type="text/html" template>
<link rel="stylesheet" href="{
{ layui.setter.base }}style/all.css" media="all">
<!-- <link rel="stylesheet" href="{
{ layui.setter.base }}style/dataGather.css" media="all"> -->
<link rel="stylesheet" href="{
{ layui.setter.base }}style/screen.css" media="all">
</script>
<div>
<iframe id="myfream" src="https://www.baidu.com/?tn=88093251_83_hao_pg" frameborder="0"></iframe>
</div>
<script>
autodivheight();
function autodivheight(){ //函数:获取尺寸
//获取浏览器窗口高度
var winHeight=0;
if (window.innerHeight){
winHeight = window.innerHeight;
}
else if ((document.body) && (document.body.clientHeight)){