【优化】页面逻辑

main
PJ-568 1 year ago
parent 91539f42b2
commit 2a35f986eb

@ -1,15 +1,16 @@
<!DOCTYPE html>
<!-- 本文件由 PJ568 撰写 -->
<!-- 本文件遵循 Apache License Version 2.0 -->
<!-- 本文件遵循 Attribution-ShareAlike 4.0 International -->
<html>
<head>
<meta charset="UTF-8">
<script src="/js/loading.js"></script>
<title>全屏黑色页面</title>
<link rel="icon" type="image/svg+xml" href="/img/icon.svg">
<style type="text/css">
html, body {
html,
body {
margin: 0;
padding: 0;
width: 100%;
@ -96,9 +97,11 @@
color: #BDBDBD;
background-color: #212121;
}
@import url(/css/tool_type.css);
</style>
</head>
<body>
<div id="loading">
<div id="loading_bg">
@ -129,8 +132,6 @@
} else if (document.documentElement.msRequestFullscreen) {
document.documentElement.msRequestFullscreen();
}
fullScreenBtn.style.display = "none";
};
exitBtn.onclick = function () {
@ -141,12 +142,14 @@
clearTimeout(timeoutId);
timeoutId = setTimeout(function () {
document.body.style.cursor = "none";
fullScreenBtn.style.display = "none";
exitBtn.style.display = "none";
download.style.display = "none";
back.style.display = "none";
home.style.display = "none";
}, 3000);
document.body.style.cursor = "default";
fullScreenBtn.style.display = "block";
exitBtn.style.display = "block";
download.style.display = "block";
back.style.display = "block";
@ -160,5 +163,5 @@
};
</script>
</html>
<script src="/js/push_to_baidu.js"></script>
Loading…
Cancel
Save