【优化】页面逻辑

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

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