+54
-3
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html class="cloud-login">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
@@ -9,15 +9,66 @@
|
||||
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<title>标准法规管理系统</title>
|
||||
<script src = "https://cdn.jsdelivr.net/npm/proxy-polyfill@0.3.0/proxy.min.js"></script>
|
||||
<!-- vconsole调试工具-->
|
||||
<style>
|
||||
.logo {
|
||||
position: absolute;
|
||||
top: 5.8vh;
|
||||
left: 9vw;
|
||||
width: 160px;
|
||||
height: 61px;background: url("static/images/logo2.png") no-repeat center;
|
||||
background-position: center left;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.cloud-login{
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url("static/images/BG.png");
|
||||
background-size: 100% 100%; //
|
||||
background-repeat: no-repeat; //
|
||||
background-attachment: fixed;
|
||||
}
|
||||
#headerId {margin:0;}
|
||||
h1 {font-family:'Lato',sans-serif;font-weight:300;letter-spacing:2px;font-size:35px;}
|
||||
p {color: #fff;font-size: 25px;}
|
||||
.inner-header {height:65vh;width:100%;margin:0;padding:0;}
|
||||
.flex {display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;}
|
||||
</style>
|
||||
<script src="static/polyfill/proxy.min.js"></script>
|
||||
<!-- vconsole调试工具-->
|
||||
<!-- <script src="https://cdn.bootcss.com/vConsole/3.3.4/vconsole.min.js"></script>-->
|
||||
<!-- <script type="text/javascript">-->
|
||||
<!-- var vConsole = new VConsole();-->
|
||||
<!-- </script>-->
|
||||
<script type="text/javascript">
|
||||
(function(window) {
|
||||
var theUA = window.navigator.userAgent.toLowerCase();
|
||||
if (
|
||||
// theUA.indexOf('trident') > -1 && theUA.indexOf('rv:11.0') > -1
|
||||
(theUA.indexOf("compatible") > -1 && theUA.indexOf("msie") > -1) || (theUA.indexOf('trident') > -1 && theUA.indexOf('rv:11.0') > -1)
|
||||
) {
|
||||
var str2 = "<div id=\"headerId\" class=\"header\">\n" +
|
||||
" <div class=\"logo\"></div>\n" +
|
||||
"\n" +
|
||||
" <div class=\"inner-header flex\">\n" +
|
||||
" <p>检测到您使用的是IE浏览器,建议您更换为谷歌浏览器或火狐浏览器</p>\n" +
|
||||
"<!-- <a id=\"UrlId\" href=\"\">无需等待,点击进入</a>-->\n" +
|
||||
" </div>\n" +
|
||||
" </div>";
|
||||
document.writeln(str2);
|
||||
console.log("浏览器不合格")
|
||||
document.execCommand("Stop");
|
||||
}
|
||||
else{
|
||||
console.log("浏览器合格")
|
||||
}
|
||||
})(window);
|
||||
</script>
|
||||
</head>
|
||||
<body class="el-drawer-body">
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user