vue-pure-admin2/index.html

121 lines
3.3 KiB
HTML
Raw Normal View History

2021-03-01 15:26:05 +08:00
<!DOCTYPE html>
<html lang="en">
2021-07-22 11:33:45 +08:00
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<link rel="stylesheet" href="/iconfont.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2021-10-24 11:53:43 +08:00
<title>vue-pure-admin</title>
2021-09-17 10:29:59 +08:00
<script src="/sortable.min.js"></script>
2021-09-29 02:21:09 +08:00
<script>
window.process = {};
2021-07-22 11:33:45 +08:00
</script>
</head>
2021-03-01 15:26:05 +08:00
2021-07-22 11:33:45 +08:00
<body>
<div id="app">
<style>
* {
margin: 0;
padding: 0;
2021-04-11 01:51:10 +08:00
}
2021-04-03 14:20:43 +08:00
2021-07-22 11:33:45 +08:00
html,
body {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background: #000;
overflow: hidden;
font-family: "Reggae One", cursive;
2021-04-11 01:51:10 +08:00
}
2021-04-03 14:20:43 +08:00
2021-07-22 11:33:45 +08:00
p {
2021-08-27 00:45:40 +08:00
font-size: 8vw;
2021-07-22 11:33:45 +08:00
overflow: hidden;
-webkit-text-stroke: 3px #7272a5;
2021-04-11 01:51:10 +08:00
}
2021-04-03 14:20:43 +08:00
2021-08-27 00:45:40 +08:00
span {
display: block;
font-size: 20px;
overflow: hidden;
color: green;
text-align: center;
}
2021-07-22 11:33:45 +08:00
p::before {
content: " ";
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
background-image: linear-gradient(45deg, #ff269b, #2ab5f5, #ffbf00);
mix-blend-mode: multiply;
2021-04-03 14:20:43 +08:00
}
2021-07-22 11:33:45 +08:00
p::after {
content: "";
background: radial-gradient(circle, #fff, #000 50%);
background-size: 25% 25%;
position: absolute;
top: -100%;
left: -100%;
right: 0;
bottom: 0;
mix-blend-mode: color-dodge;
animation: mix 2s linear infinite;
2021-03-01 15:26:05 +08:00
}
2021-07-22 11:33:45 +08:00
@keyframes mix {
to {
transform: translate(50%, 50%);
}
2021-03-01 15:26:05 +08:00
}
2021-07-22 11:33:45 +08:00
</style>
<div class="g-container">
<p>Pure-Admin</p>
2021-08-27 00:45:40 +08:00
<span class="_develop"></span>
2021-03-01 15:26:05 +08:00
</div>
2021-07-22 11:33:45 +08:00
</div>
2021-08-27 00:45:40 +08:00
<script>
2021-08-27 01:33:57 +08:00
// 此代码仅用于开发环境的友好提示项目打包前请去掉这段js代码 This code is only used as a friendly reminder of the development environment, please remove this js code before packaging the project
2021-08-27 00:45:40 +08:00
window.onload = function () {
(function () {
const ua = navigator.userAgent.toLowerCase();
const re = /(msie|firefox|chrome|opera|version).*?([\d.]+)/;
const m = ua.match(re);
const Sys = {
browser: m[1].replace(/version/, "'safari"),
version: m[2]
};
const browser = Array.of("chrome", "firefox").includes(Sys.browser);
const version = parseFloat(Sys.version);
const el = document.querySelector("._develop");
2021-08-27 01:33:57 +08:00
if (el) {
if (browser && version >= 90) {
let success =
document.createTextNode("当前浏览器版本很适合开发!!! 😃");
el.appendChild(success);
} else {
let warn = document.createTextNode(
"当前浏览器版本不适合开发,建议使用最新版本的谷歌或者火狐浏览器!!!😯"
);
el.appendChild(warn);
el.style.color = "red";
}
2021-08-27 00:45:40 +08:00
}
return Sys;
})();
};
</script>
2021-07-22 11:33:45 +08:00
<script type="module" src="/src/main.ts"></script>
</body>
2021-07-05 17:39:00 +08:00
</html>