2024-01-30 08:55:17 +00:00
|
|
|
|
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0" name="viewport"/><link rel="icon" href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/favicon.ico"><title>X-PHP</title><script>document.write("<script src='config.js'><\/script>");</script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/echarts.49558cc4.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/elicons.4bccae06.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/modules.af2834df.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/app.9e64d7b4.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/modules.34563575.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/app.8a627c74.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but X-PHP doesn't work properly without JavaScript enabled.</strong></noscript><div id="app" class="adminui"><div class="app-loading"><div class="app-loading__logo"><img src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/logo.png"/></div><div class="app-loading-text"><span class="app-loading-preloader">X</span> <span class="app-loading-preloader">-</span> <span class="app-loading-preloader">A</span> <span class="app-loading-preloader">d</span> <span class="app-loading-preloader">m</span> <span class="app-loading-preloader">i</span> <span class="app-loading-preloader">n</span><div class="app-loading-viewtext-container"><span class="app-loading-viewtext">X</span> <span class="app-loading-viewtext">-</span> <span class="app-loading-viewtext">A</span> <span class="app-loading-viewtext">d</span> <span class="app-loading-viewtext">m</span> <span class="app-loading-viewtext">i</span> <span class="app-loading-viewtext">n</span></div></div></div></div></body><div id="versionCheck" class="versionCheck"><h2>当前浏览器内核版本过低</h2><p>当前版本:<span id="versionCheck-type">--</span> <span id="versionCheck-version">--</span></p><p>最低版本要求:Chrome 71+、Firefox 65+、Safari 12+、Edge 97+。</p><p>请升级浏览器版本,或更换现代浏览器,如果你使用的是双核浏览器,请切换到极速/高速模式。</p></div><style>html,
|
2024-01-27 15:36:43 +00:00
|
|
|
|
body,
|
|
|
|
|
#app {
|
|
|
|
|
transition-property: filter;
|
|
|
|
|
transition-duration: 1s;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
outline: none;
|
|
|
|
|
font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
|
|
|
|
|
}
|
2023-11-21 00:07:12 +00:00
|
|
|
|
|
2024-01-27 15:36:43 +00:00
|
|
|
|
.app-loading {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0px;
|
|
|
|
|
left: 0px;
|
|
|
|
|
right: 0px;
|
|
|
|
|
bottom: 0px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
2023-11-21 00:07:12 +00:00
|
|
|
|
|
2024-01-27 15:36:43 +00:00
|
|
|
|
.app-loading__logo {
|
|
|
|
|
width: 78px;
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
margin-top: -5%;
|
|
|
|
|
}
|
2023-11-21 00:07:12 +00:00
|
|
|
|
|
2024-01-27 15:36:43 +00:00
|
|
|
|
.app-loading__logo img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2023-11-21 00:07:12 +00:00
|
|
|
|
|
2024-01-27 15:36:43 +00:00
|
|
|
|
.app-loading-text {
|
|
|
|
|
position: relative;
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
}
|
2023-11-21 00:07:12 +00:00
|
|
|
|
|
2024-01-27 15:36:43 +00:00
|
|
|
|
.app-loading-preloader,
|
|
|
|
|
.app-loading-viewtext {
|
|
|
|
|
font-size: 3.5rem;
|
|
|
|
|
color: #ddd;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2023-11-21 00:07:12 +00:00
|
|
|
|
|
2024-01-27 15:36:43 +00:00
|
|
|
|
.app-loading-viewtext-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
position: absolute;
|
|
|
|
|
letter-spacing: 4.3px;
|
|
|
|
|
top: -5px;
|
|
|
|
|
}
|
2023-11-21 00:07:12 +00:00
|
|
|
|
|
2024-01-27 15:36:43 +00:00
|
|
|
|
.app-loading-viewtext {
|
|
|
|
|
color: #333333c7;
|
|
|
|
|
animation: loader 4s infinite;
|
|
|
|
|
transform: rotateY(-90deg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-loading-viewtext-container span:nth-child(1) {
|
|
|
|
|
animation-delay: 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-loading-viewtext-container span:nth-child(2) {
|
|
|
|
|
animation-delay: 0.4s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-loading-viewtext-container span:nth-child(3) {
|
|
|
|
|
animation-delay: 0.6s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-loading-viewtext-container span:nth-child(4) {
|
|
|
|
|
animation-delay: 0.8s;
|
|
|
|
|
}
|
2023-11-21 00:07:12 +00:00
|
|
|
|
|
2024-01-27 15:36:43 +00:00
|
|
|
|
.app-loading-viewtext-container span:nth-child(5) {
|
|
|
|
|
animation-delay: 1s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-loading-viewtext-container span:nth-child(6) {
|
|
|
|
|
animation-delay: 1.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-loading-viewtext-container span:nth-child(7) {
|
|
|
|
|
animation-delay: 1.4s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-loading-viewtext-container span:nth-child(8) {
|
|
|
|
|
animation-delay: 1.6s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-loading-viewtext-container span:nth-child(9) {
|
|
|
|
|
animation-delay: 1.8s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes loader {
|
|
|
|
|
|
|
|
|
|
0%,
|
|
|
|
|
75%,
|
|
|
|
|
100% {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: rotateY(-90deg);
|
2023-11-21 00:07:12 +00:00
|
|
|
|
}
|
|
|
|
|
|
2024-01-27 15:36:43 +00:00
|
|
|
|
25%,
|
|
|
|
|
50% {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: rotateY(0deg);
|
2023-11-21 00:07:12 +00:00
|
|
|
|
}
|
2024-01-27 15:36:43 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dark .app-loading {
|
|
|
|
|
background: #222225;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dark .app-loading__loader {
|
|
|
|
|
border-top-color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.versionCheck {
|
|
|
|
|
display: none;
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 99;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
padding: 150px 20px;
|
|
|
|
|
background: rgba(255, 255, 255, 0.8);
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.versionCheck h2 {
|
|
|
|
|
line-height: 1;
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.versionCheck p {
|
|
|
|
|
line-height: 22px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
}</style><script>var dark = window.localStorage.getItem('APP_DARK');
|
|
|
|
|
if (dark) {
|
|
|
|
|
document.documentElement.classList.add("dark")
|
|
|
|
|
}
|
|
|
|
|
function getBrowerInfo() {
|
|
|
|
|
var userAgent = window.navigator.userAgent;
|
|
|
|
|
var browerInfo = {
|
|
|
|
|
type: 'unknown',
|
|
|
|
|
version: 'unknown',
|
|
|
|
|
userAgent: userAgent
|
|
|
|
|
};
|
|
|
|
|
if (document.documentMode) {
|
|
|
|
|
browerInfo.type = "IE"
|
|
|
|
|
browerInfo.version = document.documentMode + ''
|
|
|
|
|
} else if (indexOf(userAgent, "Firefox")) {
|
|
|
|
|
browerInfo.type = "Firefox"
|
|
|
|
|
browerInfo.version = userAgent.match(/Firefox\/([\d.]+)/)[1]
|
|
|
|
|
} else if (indexOf(userAgent, "Opera")) {
|
|
|
|
|
browerInfo.type = "Opera"
|
|
|
|
|
browerInfo.version = userAgent.match(/Opera\/([\d.]+)/)[1]
|
|
|
|
|
} else if (indexOf(userAgent, "Edg")) {
|
|
|
|
|
browerInfo.type = "Edg"
|
|
|
|
|
browerInfo.version = userAgent.match(/Edg\/([\d.]+)/)[1]
|
|
|
|
|
} else if (indexOf(userAgent, "Chrome")) {
|
|
|
|
|
browerInfo.type = "Chrome"
|
|
|
|
|
browerInfo.version = userAgent.match(/Chrome\/([\d.]+)/)[1]
|
|
|
|
|
} else if (indexOf(userAgent, "Safari")) {
|
|
|
|
|
browerInfo.type = "Safari"
|
|
|
|
|
browerInfo.version = userAgent.match(/Safari\/([\d.]+)/)[1]
|
|
|
|
|
} else if (indexOf(userAgent, "MicroMessenger")) {
|
|
|
|
|
browerInfo.type = "MicroMessenger"
|
|
|
|
|
browerInfo.version = userAgent.match(/MicroMessenger\/([\d.]+)/)[1]
|
2023-11-21 00:07:12 +00:00
|
|
|
|
}
|
2024-01-27 15:36:43 +00:00
|
|
|
|
return browerInfo
|
|
|
|
|
}
|
|
|
|
|
function indexOf(userAgent, brower) {
|
|
|
|
|
return userAgent.indexOf(brower) > -1
|
|
|
|
|
}
|
|
|
|
|
function isSatisfyBrower() {
|
|
|
|
|
var minVer = {
|
|
|
|
|
"Chrome": 71,
|
|
|
|
|
"Firefox": 65,
|
|
|
|
|
"Safari": 12,
|
|
|
|
|
"Edg": 97,
|
|
|
|
|
"MicroMessenger": 8,
|
|
|
|
|
"IE": 999
|
2023-11-21 00:07:12 +00:00
|
|
|
|
}
|
2024-01-27 15:36:43 +00:00
|
|
|
|
var browerInfo = getBrowerInfo()
|
|
|
|
|
var materVer = browerInfo.version.split('.')[0]
|
|
|
|
|
return materVer >= minVer[browerInfo.type]
|
|
|
|
|
}
|
|
|
|
|
if (!isSatisfyBrower()) {
|
|
|
|
|
document.getElementById('versionCheck').style.display = 'block';
|
|
|
|
|
document.getElementById('versionCheck-type').innerHTML = getBrowerInfo().type;
|
|
|
|
|
document.getElementById('versionCheck-version').innerHTML = getBrowerInfo().version;
|
|
|
|
|
}</script></html>
|