123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- <!DOCTYPE html>
- <html lang="zh-cn">
- <head>
- <script>
- //加载开始时间
- var start_time = (new Date()).getTime();
- var route_path ="/";
- if(window.location.href.split("#")[1]){
- route_path= window.location.href.split("#")[1].replace(/\?.*/, '')
- }
- </script>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,IE=IE9">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-touch-fullscreen" content="yes">
- <meta name="aformat-detection" content="telephone=no,email=no">
- <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,viewport-fit=cover">
- <link rel="icon" href="<%= BASE_URL %>favicon.ico">
- <title>
- <%= htmlWebpackPlugin.options.title %>
- </title>
- <style>
- body{-webkit-text-size-adjust: 100% !important;}
- #z-loading-2 .index-title{
- padding:60% 0 0;
- text-align: center;
- font-size: 30px;
- color: #666;
- }
- #z-loading-2 .index-xxd{
- color:#666;
- text-align: center;
- font-size: 15px;
- margin-top: 15px;
- }
- #z-loading-2 .index-load{
- text-align: center;
- color:#666;
- /* border-radius: 50%; */
- font-size: 12px;
- position: absolute;
- bottom: 30px;
- right: 30px;
- /* width: 20px;
- height: 20px;
- background: #ddd; */
- }
- </style>
- </head>
- <body>
- <noscript>
- <strong>
- We're sorry but
- <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to
- continue.
- </strong>
- </noscript>
- <div id="z-loading-2" style="display: block;position:fixed;left:0px;top:0px;bottom:0px;right:0px;z-index: 999;background-color: #fff;">
- <div style="width:100%;text-align: center;height: 100%;">
- <img src="#"
-
- style="width: 100%;height: 100%;display: none;"
- id="qdt" />
- <div class="index-load" id="index-load" style="display:block"></div>
- </div>
- </div>
- <script>
- var indexSetInval;
- var indexStartNum = 1;
- indexSetInval = setInterval(function() {
- indexStartNum++;
- var str = '加载中' + ((indexStartNum % 2 == 0) ? '…' : '……');
- document.getElementById('index-load').innerHTML = str;
- }, 1000)
- function imgerror(){
-
- }
- loadXMLDoc()
- function loadXMLDoc()
- {
- var xmlhttp;
- if (window.XMLHttpRequest)
- {
- // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
- xmlhttp=new XMLHttpRequest();
- }
- else
- {
- // IE6, IE5 浏览器执行代码
- xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
- }
- xmlhttp.onreadystatechange=function()
- {
- if (xmlhttp.readyState==4 && xmlhttp.status==200)
- {
- var obj=JSON.parse(xmlhttp.responseText)
-
- if(obj.data.sortNo==1){
- document.getElementById('qdt').src = obj.data.value;
-
- }else{
- document.getElementById('qdt').src = 'https://yktwechat.xiaoxinda.com/config/xpgj2021.webp';
-
- }
- document.getElementById('qdt').style.display="block"
-
- }
- }
- xmlhttp.open("GET","https://xpgjapi.xiaoxinda.com/sys/dataDictionary/edit/b9a4877c-3e4b-4c7c-813f-2ec2a6fdcf18",true);
- xmlhttp.send();
- }
- </script>
- <div id="app"></div>
- <script>
-
- document.onreadystatechange = function() {
- if (document.readyState == "complete") {
- clearInterval(indexSetInval);
- //removeLoading()
- var end_time = (new Date()).getTime();
- var loading_time = end_time - start_time;
- console.log(((loading_time) / 1000).toString() + '秒');
- if (loading_time < 2000) {
- setTimeout(function() {
- removeLoading();
- }, 2000 - (loading_time));
- } else {
- removeLoading()
- }
- }
- }
- function removeLoading() {
- if (document.getElementById('z-loading-2').style.display != 'none') {
- var loading = document.getElementById('z-loading-2');
- }
- document.body.removeChild(loading);
- }
- </script>
- <script type="text/javascript">
- (function() {
- if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
- handleFontSize();
- } else {
- if (document.addEventListener) {
- document.addEventListener("WeixinJSBridgeReady", handleFontSize, false);
- } else if (document.attachEvent) {
- document.attachEvent("WeixinJSBridgeReady", handleFontSize);
- document.attachEvent("onWeixinJSBridgeReady", handleFontSize);
- }
- }
- function handleFontSize() {
- /*设置网页字体为默认大小*/
- WeixinJSBridge.invoke('setFontSizeCallback', {
- 'fontSize': 0
- });
- /*重写设置网页字体大小的事件*/
- WeixinJSBridge.on('menu:setfont', function() {
- WeixinJSBridge.invoke('setFontSizeCallback', {
- 'fontSize': 0
- });
- });
- }
- })();
- </script>
- <script src="https://hm.baidu.com/hm.js?70f1b4bfc1d017e50a488b34b9dcc02c"></script>
- </body>
- </html>
|