81 lines
3.1 KiB
HTML
81 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html class="cloud-login">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta http-equiv="pragram" content="no-cache">
|
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
|
|
<meta http-equiv="Expires" content="0">
|
|
<title>标准法规管理系统</title>
|
|
<script src="static/polyfill/proxy.min.js"></script>
|
|
<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;}
|
|
.p1Class {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;}
|
|
.el-message{
|
|
position: absolute!important;
|
|
top: 40%!important;
|
|
left: 50%!important;
|
|
transform: translate(-50%,-50%)!important;
|
|
}
|
|
</style>
|
|
<!-- 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 class=\"p1Class\">检测到您使用的是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>
|