Ai
3 Star 6 Fork 0

StarBit星点/PHP助手

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 1.92 KB
一键复制 编辑 原始数据 按行查看 历史
CodeKpy 提交于 2022-12-16 10:09 +08:00 . [bugfix]完全解决积木显示不全问题
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>PHP Helper</title>
<link rel="stylesheet" href="./css/style.css">
<script src="./js/modal.js"></script>
<style>html,body
{
margin: 0;
padding: 0;
border: 0;
overflow: hidden;
height: 100%;
}</style>
</head>
<body style="height: 100%;width:100%" data-theme="light">
<!--加载动画-->
<div class="boxes">
<div class="box">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="box">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="box">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="box">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<!--留用户-->
<!--导航栏-->
<iframe id="test" src="./code.html" width="100%" height="100%"></iframe>
<script>function checkLeave() { event.returnValue = "确定离开当前页面吗?"; }// 获取动画
let loader = document.querySelector(".boxes");
var t = setTimeout("loader.setAttribute('style', 'display:none;');", 100)
//loader.setAttribute("style", "display:none;");
//space.setAttribute("style", "height:100%;width:100%;display:block");
</script>
<script>//窗口变化监听,避免resize多次执行卡顿
var resizeTimer = null;
$(window).bind('resize', function () {
if (resizeTimer) clearTimeout(resizeTimer);
resizeTimer = setTimeout(function () {
console.log('修改尺寸ing')
var div_div_code = document.getElementById("test");
div_div_code.height=window.innerHeight+ "px";
},10);
});
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/starbit/php-helper.git
git@gitee.com:starbit/php-helper.git
starbit
php-helper
PHP助手
master

搜索帮助