|
@@ -1,25 +1,205 @@
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
- <head>
|
|
|
- <meta charset="utf-8">
|
|
|
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
|
|
|
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
- <meta name="renderer" content="webkit">
|
|
|
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
|
|
|
- <meta name="format-detection" content="telephone=no">
|
|
|
- <link rel="icon" href="<%= BASE_URL %>favicon.png">
|
|
|
- <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/js/lib/scrollbar/perfect-scrollbar.css"/>
|
|
|
- <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/css/animate.min.css"/>
|
|
|
-
|
|
|
- <title>中国人民解放军总医院数字史馆</title>
|
|
|
- </head>
|
|
|
- <body>
|
|
|
- <div id="app"></div>
|
|
|
- <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jquery-2.1.1.min.js"></script>
|
|
|
- <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jquery.mousewheel.min.js"></script>
|
|
|
- <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/scrollbar/perfect-scrollbar.min.js"></script>
|
|
|
- <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jssor.slider-28.1.0.min.js"></script>
|
|
|
-
|
|
|
-
|
|
|
- </body>
|
|
|
-</html>
|
|
|
+
|
|
|
+<head>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <base href="/web/" />
|
|
|
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
+ <meta name="renderer" content="webkit">
|
|
|
+ <meta name="viewport"
|
|
|
+ content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
|
|
|
+ <meta name="format-detection" content="telephone=no">
|
|
|
+ <link rel="icon" href="<%= BASE_URL %>favicon.png">
|
|
|
+ <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/js/lib/scrollbar/perfect-scrollbar.css" />
|
|
|
+ <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/css/animate.min.css" />
|
|
|
+
|
|
|
+ <title>中国人民解放军总医院数字史馆</title>
|
|
|
+ <style>
|
|
|
+ .broswertips {
|
|
|
+ position: fixed;
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ z-index: 99999999;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .broswertips>img {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+
|
|
|
+ .broswertips>.alert {
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ width: 988px;
|
|
|
+ margin: 0 auto;
|
|
|
+ height: 500px;
|
|
|
+ z-index: 99;
|
|
|
+ color: #fff;
|
|
|
+ padding: 30px 36px 0;
|
|
|
+ border-top: 6px solid #ccaf8f;
|
|
|
+ background: rgba(3, 51, 48, .5);
|
|
|
+ border-bottom: 6px solid #ccaf8f;
|
|
|
+ }
|
|
|
+
|
|
|
+ .broswertips>.alert>.qtitle {
|
|
|
+ margin-top: 6px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 28px;
|
|
|
+ font-weight: bold;
|
|
|
+ line-height: 38px;
|
|
|
+ color: #ffe0a6;
|
|
|
+ }
|
|
|
+
|
|
|
+ .broswertips>.alert>.qline {
|
|
|
+ width: 50%;
|
|
|
+ height: 1px;
|
|
|
+ margin: 26px auto;
|
|
|
+ position: relative;
|
|
|
+ background: linear-gradient(90deg,
|
|
|
+ rgba(255, 255, 255, 0) 0%,
|
|
|
+ #ffffff 48%,
|
|
|
+ rgba(255, 255, 255, 0) 100%);
|
|
|
+ }
|
|
|
+
|
|
|
+ .broswertips>.alert>.qline>img {
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ width: 32px;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ top: -12px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .broswertips>.alert>.dati {
|
|
|
+ width: 100%;
|
|
|
+ height: 50%;
|
|
|
+ overflow-y: auto;
|
|
|
+ margin: 0 auto;
|
|
|
+ background-color: rgba(255, 255, 255, 0.7);
|
|
|
+ color: #626260;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ text-align: justify;
|
|
|
+ text-indent: 40px;
|
|
|
+ line-height: 2;
|
|
|
+ font-size: 18px;
|
|
|
+ padding: 0 66px;
|
|
|
+ max-width: 916px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .broswertips>.alert>.dati_btn {
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .broswertips>.alert>.dati_btn>a {
|
|
|
+ display: inline-block;
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 36px;
|
|
|
+ height: 36px;
|
|
|
+ cursor: pointer;
|
|
|
+ text-align: center;
|
|
|
+ width: 186px;
|
|
|
+ margin: 48px auto;
|
|
|
+ border: 1px solid #ccaf8f;
|
|
|
+ color: #fff;
|
|
|
+ background: #ccaf8f;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+</head>
|
|
|
+
|
|
|
+<body>
|
|
|
+
|
|
|
+ <div class="broswertips" id="broswertips">
|
|
|
+ <img src="./tip_bg.jpg" alt="">
|
|
|
+ <div class="alert">
|
|
|
+ <p class="qtitle">访客须知</p>
|
|
|
+ <div class="qline">
|
|
|
+ <img src="./star.png" alt="">
|
|
|
+ </div>
|
|
|
+ <div class="dati">
|
|
|
+ 浏览器内核版本过低无法正常浏览网页,建议使用Chrome浏览器(谷歌浏览器版本号90以上),Firefox浏览器(火狐浏览器版本号80或以上),360极速浏览器(360极速浏览器版本号10或以上)。
|
|
|
+ </div>
|
|
|
+ <div class="dati_btn">
|
|
|
+ <a href="broswer.exe" target="_blank">下载360极速浏览器</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <script>
|
|
|
+ function versions() {
|
|
|
+ var u = window.navigator.userAgent
|
|
|
+ var uLowCase = u.toLowerCase()
|
|
|
+
|
|
|
+ return {
|
|
|
+ userAgent: u,
|
|
|
+ // IE内核
|
|
|
+ trident: u.indexOf('Trident') > -1,
|
|
|
+ // opera内核
|
|
|
+ presto: u.indexOf('Presto') > -1,
|
|
|
+ // 苹果、谷歌内核
|
|
|
+ webKit: u.indexOf('AppleWebKit') > -1,
|
|
|
+ // 火狐内核
|
|
|
+ gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') === -1,
|
|
|
+ // 是否为移动终端 / Tablets use desktop version
|
|
|
+ mobile: (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) && !(/Tablet|iPad/i.test(navigator.userAgent)),
|
|
|
+ // ios终端
|
|
|
+ ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
|
|
|
+ // android终端或者uc浏览器
|
|
|
+ android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1,
|
|
|
+ // 是否为iPhone或者安卓QQ浏览器
|
|
|
+ iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1,
|
|
|
+ // 是否为iPad
|
|
|
+ iPad: u.indexOf('iPad') > -1,
|
|
|
+ // 是否为web应用程序,没有头部与底部
|
|
|
+ webApp: u.indexOf('Safari') === -1,
|
|
|
+ // 是否为微信浏览器
|
|
|
+ weixin: ~u.indexOf('MicroMessenger'),
|
|
|
+ // 火狐内核版本
|
|
|
+ firefoxCore: uLowCase.match(/firefox\/([\d.]+)/),
|
|
|
+ // chrome内核版本
|
|
|
+ chromeCore: uLowCase.match(/chrome\/([\d.]+)/),
|
|
|
+ // webkit内核版本
|
|
|
+ webkitCore: uLowCase.match(/applewebkit\/([\d.]+)/),
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ var broswer = versions()
|
|
|
+ var dommmm = document.getElementById('broswertips')
|
|
|
+
|
|
|
+ if (broswer.trident) {
|
|
|
+ dommmm.style.display = 'block'
|
|
|
+ }
|
|
|
+ // 火狐
|
|
|
+ else if (broswer.gecko) {
|
|
|
+ var version = broswer.firefoxCore[1].split(".")[0]
|
|
|
+ if (Number(version) < 80) {
|
|
|
+ dommmm.style.display = 'block'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 谷歌
|
|
|
+ else if (broswer.webKit) {
|
|
|
+ var version = broswer.chromeCore[1].split(".")[0]
|
|
|
+ if (Number(version) < 69) {
|
|
|
+ dommmm.style.display = 'block'
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ </script>
|
|
|
+ <div id="app"></div>
|
|
|
+ <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jquery-2.1.1.min.js"></script>
|
|
|
+ <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jquery.mousewheel.min.js"></script>
|
|
|
+ <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/scrollbar/perfect-scrollbar.min.js"></script>
|
|
|
+ <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jssor.slider-28.1.0.min.js"></script>
|
|
|
+
|
|
|
+
|
|
|
+</body>
|
|
|
+
|
|
|
+</html>
|