关于一个服务和api监控的界面,涉及ajax-jsonp,promise应用
<!DOCTYPE html> <html class="mobile hairline" data-dpr=""> <head> <meta charset="utf-8"> <title>监控</title> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="375"> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> <meta http-equiv="cleartype" content="on"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-title" content=""> <meta name="format-detection" content="telephone=no"> <meta name="format-detection" content="email=no"> <meta http-equiv="pragram" content="no-cache"> <meta http-equiv="cache-control" content="no-cache, must-revalidate"> <meta http-equiv="expires" content="0"> <--swt.mht120.cn/skt/jiancha.html--> <script src="https://cdn.bootcss.com/jquery/2.1.0/jquery.js"></script> <style type="text/css"> a,a:active,a:visited { color:#1b2b4f } a:hover { color:#2d5cc6 } .mod-top-nav { background-color:#fff; position:fixed; top:0; width:100%; z-index:200 } .mod-top-nav .header-box { margin:0 auto; width:100%; -webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.02); box-shadow:0 1px 0 0 rgba(0,0,0,.02) } .mod-top-nav .header-box .header { width:100%; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABKCAYAAABw3wUYAAAAAXNSR0IArs4c6QAAKiFJREFUeAHtnYl25EpyZNUjabTO/3/oaN9auIm6pKWVB4DkUq+KlXEO6O5m5uaBSBCVzdbyF3/xXJ99An/67AFP/+cJPE/g9zmB5wtl/VlPZ/PnhfxMK7/qX9g+4ecJPE/geQL3J/B/7svfvuLl6guWw8g8D6d1cpN+pbXnGZ8n8DyB5wlcPoHpJXO5+YsIPQO+BfOPGLXfiH3h/s+3exWn9B88uOyFU0fUzxweTE9re6if63kCzxN4nsB4An85ol8f5KXp4uWbL2s4azSrWi69yLl8QePjy1gf+uTVgz3X8wQeOQGenef6DU/gq72080H2hUjMF7Mfc/LknIUYepY1uZi4nka0yflizj5ny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OR35P5n8vYTxY12ZZ25/CqutNN94iFun3X6y4llnfrE0VInP/WL/RGRvXH1vt1L412r++z4Q+ZOH9Rn39jT//UEzs7fB1VdPhRiuGX+6n6fnXmlR7+0j2bY596onZU7SB7cOjXk+unDnx/U6mu01x514kS5xCZdY6s68czx7/psZvKrfNr/SnsVP9rn5IF+tY/mrFcx/dGcrdXcqS/9Mp+0iU0zpn50E55en55Pm/30oc8BLyfwnvM/6j3iXoZvCQ+g2o7o/Ls2OSv11PTY58NsDX9l2YfW3pyTfGuyJme1fkev/+x+647pKAdGzn0kBv7epadndMXvLXv4rP1f2e9Had5y3x81+9N9HnkAPn0zv/GA93wO/jJzfOnjg5vY0RGnztyYfYllrgbM2WJX4yO9zsg9gFnLMztx97KalX322nPEqTmL6eEe3LO9ud/M5a/GnHW151GdM6Z7wGvCG3t0Zuqdn9iXzj/y8L70Qf0BN+dn855f2tw2fkdezrMn68zljSvOX6YVb/97I/7elzPTc8KSJ7ffPPmr/dnT+ZF/a89qz1PP3p/nceaz4tM3vZxLX89ceT2K5wznTNijvl9K3wfypW7ui9/MR352k9cK85f6I46XGVdeANNepvnuLSM6+3uWOjTmkwa+l3rw7klt6sQnLDlz923dfdZE1qTfmefPL3MC/SF/mRv7DW7ksz67yRfMF8RnHa0z8M89ONc4zfelJZdeYh0nP7H2y97kjuakLvszP+pPXeZv6cn+Z/6LnwAPwHN9nRO48gudGj9/X1ZnJ6H+TPdH8tO9+AJ1/9bsc4WlBl36NgfPwmvF3QTPH88TeO8JPP/X2N97gl+73xfaj7jLoxde7sOXZ8a37u/KC/aK5q3zn33PE3iewPMEPvUE8uXpILC+5K7EyZM+8YzmV3yfmucJfMkT+F8plJaEHQs3nQAAAABJRU5ErkJggg==) 0 bottom no-repeat; -webkit-background-size:4.02666667rem auto; background-size:4.02666667rem auto; height:2.08rem; position:relative } .mod-top-nav .header-box .header .left { height:100%; padding:.50666667rem } .mod-top-nav .header-box .header .left .top-logo { width:2.24rem; height:1.09333333rem } .mod-top-nav .header-box .header .right { width:100%; height:100%; text-align:right; position:absolute; right:0; top:0 } .mod-top-nav .header-box .header .right .top-menu-btn { width:.53333333rem; height:100%; display:inline-block; margin-right:.4rem; background:url(data:image/png; base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAeCAYAAABAFGxuAAAAAXNSR0IArs4c6QAAAFtJREFUWAntlbENACAMwyhvcALH8P81IDF2yYLUSLhb1cV1hsSYazfD6YZMFwkw12TgwgAGMPCdgVAfV5U8XamSyXdbYxmUHQMYwAAGHhmIqpJW/LaVBJiKLt8PrCUE0o2P+DUAAAAASUVORK5CYII=) 50% no-repeat; -webkit-background-size:.50666667rem .4rem; background-size:.50666667rem .4rem } .mod-top-nav .header-box .header .right .top-menu-btn.active { background:url(data:image/png; base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAYAAAAe2bNZAAAAAXNSR0IArs4c6QAAAohJREFUWAm12D9P3DAUAHC/nGBC9BZggHRF9MKfBQn6IeBCh3boUqnq0g/RSoxsDEgIJBaQkJB67dCp3wEq9U49uh4Lx9SbiV/9Qh0S7CR2co4EcXzx8+/sxHkXxlKbvxIGqUPnxeerr1rpTjx5sBC0P3OOP/1W+EbWudz7Kztb/D66XAjCPdlPgwoEQcRPoughsLA5s/RndNfvypPGvScIRvwCGU4yhi+fzb2YGg37P4CmhkaEIcawuGOASKjeDnqdc7cQGR24x7yNxui2P6SRoBERH8lpczJC2RFJQTx4P+h2vsejQVPiGlQI+dU5IVoyNS5BJpAMhg4KQbOL16PhdY/Os9lMIRQzGRnZQT4IwqYlyAaixVDlOEC2kFxMXVAVSCEmAYmpQYAnt33+lFWFlGJikLho6VoxAdWBGGFMQXUh1A/QP9PND7ZfcwZn6qMD95HBx4dnjYwmlnhaWf8vaLK2aG+FoUBakNKDPYRCKOuMEvdJBS18mmsodVY1CAWwxlCjGDSz2ETGNuk4vYmhPr7pft1N15mWK2HiixUZJUVqe4C1qvmQGqzka+jvmkyjyumHzF8y0fIO9BDgYmqOmEjIknYiUeOAp7YprDEmD0K3703v2wfKDOuCjKapCCLXkfyHq3lOXYoxgcjpqQsqxNhAjEAl+VAupgqkHJT/tKe2WkwdSB2QghkHpCoogxknJAMyzIcSjAtIAtI/XMXSlL2GYoxLiA0I6LUEj6Ir8cN/QjYUOZd1YvTYtrikzYfi3/beZuPv7e+76dmlaXob8BDGHYTia/MhgMNB98tx8jXoPcl8qx35y+G7pNJhgUZoPmjfi78DMStqxum3dtYd9q+Epv7SkH8oHoT7wNph7wAAAABJRU5ErkJggg==) 50% no-repeat; -webkit-background-size:.46666667rem .46666667rem; background-size:.46666667rem .46666667rem } .mod-top-nav .header-box .header .right .drop-menu { width:100%; text-align:left; background-color:hsla(0,0%,100%,.98); -webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.02); box-shadow:0 1px 0 0 rgba(0,0,0,.02); position:absolute; top:2.08rem; border-top:1px solid #cacdd2 } .mod-top-nav .header-box .header .right .drop-menu .menu-list .menu-item { height:2rem; /* margin:0 .32rem; */ background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAr4AAAACCAYAAAC+EN9SAAAAAXNSR0IArs4c6QAABMNJREFUWAntmFtvG0UUx72+x9c4dmrHykU0pRe1FZGaB3hARQIED7zzIfIl+ErwBRqJqgghGtombdMoSnGos06c+LJrO7u21/z+xo6gDwGhqk870tE5c24zezzznxkbOzs73wVoo9HopWEYz4bDYTAUCt2nH6Y/K9vf2mPkZagw1eGzT4wNvwOFJvoRctPzvLTyBIPBqbuHcNGZKn3uV8CvgF+B91kB8AnYGgqPhE99cGoID6Mbwc+kxydLP0IfKPMMdAZyQLH0hZk9yROMG2FXvhi22ET/Biw9oy+8tIm14Cv4Z+HT1sdX4zvwAVxk4XtA/2wwGPTi8biwtIC8KF9sJsGW5pZIJLqO40Qgb25uzms0GvFIJJLFtxCNRg344fHxcX1hYeEK8l3mU+90Oi+y2ay+Nd/tdh1yBLB9QO476F6Sv4vfGnIJ+Xf4b/B7zGEZn9Zkfo+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MJvQHuii+M9ReOKP5XIPrN1qGdPkv4P8Rui1q3iZGj5o9eBA8azAGLiPF38RHfzboDlpG9wp5D3mFuH38r6Hb5o7e47EvHPsSfepPmd0TH1wyd3EAAAAASUVORK5CYII=) bottom no-repeat; -webkit-background-size:100% 1px; background-size:100% 1px; position:relative } .mod-top-nav .header-box .header .right .drop-menu .menu-list .menu-item .item-cont { padding-left:.37333333rem; position:absolute; top:50%; -webkit-transform:translateY(-50%); -ms-transform:translateY(-50%); transform:translateY(-50%) } .mod-top-nav .header-box .header .right .drop-menu .menu-list .menu-item .item-cont .lang-btn { width:1.89333333rem; height:.74666667rem; border-radius:.37333333rem; background-color:#f2f3f5; text-align:center } .mod-top-nav .header-box .header .right .drop-menu .menu-list .menu-item .item-cont .lang-btn .lang-label { color:#5b6581; font-size:.32rem; font-weight:700; letter-spacing:0; line-height:.74666667rem } .mod-top-nav .header-box .header .right .drop-menu .menu-list .menu-item .item-cont .ch-menu { color:#1b2b4f; font-size:.48rem; font-weight:700; letter-spacing:0; line-height:.48rem } .mod-top-nav .header-box .header .right .drop-menu .menu-list .menu-item .item-cont .en-menu { font-weight:800; color:#cacdd2; font-size:.26666667rem; line-height:.37333333rem; letter-spacing:.02226667rem } @keyframes fade { from { opacity: 1.0; } 50% { opacity: 0.4; } to { opacity: 1.0; } } @-webkit-keyframes fade { from { opacity: 1.0; } 50% { opacity: 0.4; } to { opacity: 1.0; } } .blink{ animation: fade 600ms infinite; -webkit-animation: fade 600ms infinite; } </style> </head> <body class=" lang_zh" cz-shortcut-listen="true" style=""> <div id="App"> <div data-reactroot=""> <div class="mod-top-nav"> <div class="header-box clearFix"> <div class="header clearFix" id="header"> <div class="left" style="position: relative;"> <span style="position: absolute;right: 1rem;top: 50%;font-size: 0.48rem;letter-spacing: 0.32rem;color: #9F2025;"> <b>监控</b> </span> </div> <div class="right"> <div class="drop-menu"> <div class="menu-list" id="urls_list"> <a href="网站地址"> <div class="menu-item"> <div class="item-cont"> <span class="ch-menu">XXX</span> <i class="ch-menu web-access">界面</i> <i class="ch-menu skt-connect">服务</i> </div> </div> </a> </div> </div> </div> </div> </div> </div> </div> </div> <script type="text/javascript"> var win = window, doc = document, isMobile = !!navigator.userAgent.match(/mobile/i) || "orientation" in win , supportTouch = "ontouchstart"in window, env = { isPC: !isMobile, isMobile: isMobile, support3D: "WebKitCSSMatrix"in window && "m11"in new window.WebKitCSSMatrix, supportHairline: function() { var support = !1; if (win.devicePixelRatio && devicePixelRatio >= 2) { var testElem = doc.createElement("div"); testElem.style.border = ".5px solid transparent", doc.body.appendChild(testElem), testElem.offsetHeight >= 1 && (support = !0), doc.body.removeChild(testElem) } return support }() }; var rem = function(px, artBoardWidth) { return 10 * px / (artBoardWidth || 750) + "rem" } !function(docEl, fontEl) { var obj, key, value, dpr = win.devicePixelRatio || 1, matches = navigator.userAgent.match(/Android[\S\s]+AppleWebkit\/?(\d{3})/i); matches && matches[1] <= 534 && (dpr = 1), win.dpr = dpr, docEl.getAttribute("data-dpr") || (doc.documentElement.className = (0, value = dpr > 1 //,(key = "dpr" + dpr) in obj ? Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0}) : obj[key] = value, obj) ), docEl.setAttribute("data-dpr", dpr), docEl.firstElementChild.appendChild(fontEl) ); var setRem = function() { var docWidth = docEl.clientWidth; win.rem = docWidth / 10, /ZTE U930_TD/.test(navigator.userAgent) && (win.rem *= 1.13), fontEl.innerHTML = "html{font-size:" + win.rem + "px!important}" }; win.addEventListener("resize", function() { setRem() }, !1), win.addEventListener("pageshow", function(e) { e.persisted && setRem() }, !1), setRem() }(doc.documentElement, doc.createElement("style")); //异步访问封装 function ajaxGetData(_url, _callback){ //if(_url == '' || _data.length < 1) return false; $.ajax({ type:'GET', timeout : 2000, //超时时间设置,单位毫秒 //contentType: 'application/x-www-form-urlencoded', dataType:"jsonp", //数据格式设置为jsonp jsonp:"callback", //Jquery生成验证参数的名称 url: _url, success: function(result) { // no use }, error: function (XMLHttpRequest, textStatus, errorThrown) { //console.log(XMLHttpRequest.status); //console.log(XMLHttpRequest.readyState); //console.log(textStatus); _callback.call(this, XMLHttpRequest.status); }, complete : function(XMLHttpRequest, status){ //请求完成后最终执行参数 //console.log(XMLHttpRequest); console.log(_url+" 【返回状态码】"+XMLHttpRequest.status); } }); } //访问网站index.html function func_web(obj){ //console.log('开始访问网站:' + obj.url + 'index.html'); return new Promise(function(resolve, reject){ ajaxGetData(obj.url+'index.html', function(statusCode){ if(statusCode == 200){ //console.log('skt界面成功'); obj.elem.find(".web-access").addClass("blue"); }else{ //console.log('skt界面失败'); obj.elem.find(".web-access").addClass("red blink"); } resolve(obj); //参数传递下去 }); }); return p; } //访问核心api文件 function func_api(obj){ //console.log('开始访问接口:' + obj.url + 'api.php'); return new Promise(function(resolve, reject){ ajaxGetData(obj.url+ 'api.php', function(statusCode){ if(statusCode == 200){ //console.log('api调用成功'); obj.elem.find(".skt-connect").addClass("blue"); }else{ //console.log('api调用失败'); obj.elem.find(".skt-connect").addClass("red blink"); } resolve('总耗时时间:'); }); }); } $(function(){ $('#urls_list > a').each(function(index, elem){ var $this = $(elem), _href = $(elem).attr('href'); //var web_url = $(elem).attr('href')+($(elem).data('web-url') == "undefined" ? $(elem).data('web-url'):"index.html"); //var api_url = $(elem).attr('href')+($(elem).data('api-url') == "undefined" ? $(elem).data('api-url'):"api.php"); if(_href.length > 1){ func_web({"url":_href, "elem":$this}) .then(func_api) .then(function(){ //console.log('检测完毕!'); }); } }); }); </script> </body> </html>