<html><head><meta charset=utf-8><meta http-equiv=Cache-Control content="no-cache, no-store, must-revalidate"><meta http-equiv=Pragma content=no-cache><meta http-equiv=Expires content=0><title>首页</title><script type=text/javascript src=./static/js/flex.js></script><script type=text/javascript src=./static/laydate/laydate.js></script><script type=text/javascript src=../Q7App/js/jquery-1.9.1.min.js></script><script type=text/javascript src="../Q7App/js/common_url.js?v=202012091332010101"></script><script type=text/javascript src=http://res.wx.qq.com/open/js/jweixin-1.6.0.js></script><script type=text/javascript src=./static/js/vue@2.5.2.min.js></script><script type=text/javascript src=./static/js/vue-router@3.0.1.min.js></script><script type=text/javascript src=./static/js/mintui@2.2.13.min.js></script><script type=text/javascript src=./static/js/uni.webview.1.5.2.js></script><link rel=stylesheet type=text/css href=./static/fonts/font.css media=all><script type=text/javascript>// 是否由小程序中跳入，如果是看看是否有已登录的标识
			var isLogin = getHashParam('isLogin');
			if(isLogin!=null||isLogin!=''&&isLogin==1){
				// 记录登录状态
				window.sessionStorage.setItem('isLogin',1);
			}
			var errorScope=-1;
			window.onerror = function (msg, url, row, col, error) {
				console.log(errorScope);
				if(errorScope != 0 && errorScope != 1){
					if(errorScope==1){
						return;
					}
					errorScope = 1;
					var urlList = [];
					var errorUrl = '';
					urlList = url.split("/"); 
					errorUrl = urlList[urlList.length - 1];
					console.log("==>> errorUrl:"+errorUrl);
					var data= {
						errorMsg: '加载资源[' + errorUrl + ']失败!'
					}
					$.ajax({
						url: serverUrl+"/Q7/sys/save_error.htm",
						type: "post",
						data: data,
						dataType: "jsonp",
						timeout: 15000,
						jsonp: "jsonpCallback", //服务端用于接收callback调用的function名的参数
						success: function(data) {
							console.log("=== 上传错误日志了 ===");
						},
						error: function(err) {
							console.log(err)
						},
						complete: function() {
							
						}
					});
				}
				return false;
			};
			window.addEventListener('error', function (event) {
				if(errorScope != 0 && errorScope != 1){
					errorScope = 1;
				}
			}, true);
			function errorImg(){
				window.location.href = "http://debugtbs.qq.com";	
			}
			function isAndroidAndWx(){
				var u = navigator.userAgent;
				var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1;
				if(isAndroid&&isWeiXin()){
					return true;
				}
				return false;
			}
			function isWeiXin() {
		        var ua = window.navigator.userAgent.toLowerCase();
		        if (ua.match(/MicroMessenger/i) == 'micromessenger') {
		            return true; // 是微信端
		        }
		        return false;
		    }
			// 获取url中的参数
			function getHashParam(name) {
				var __hash = window.location.hash;
				if(__hash!=null&&__hash!=''&&__hash.indexOf('?')>=0){
					__hash = __hash.substr(__hash.indexOf('?')+1);
					var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
					var r = __hash.match(reg); //匹配目标参数
					if (r != null) {
						return decodeURI(r[2]);
					}
				}
				return null; //返回参数值
			}</script><link href=./static/css/app.c30060fde43a8c8472a87a4349644b52.css rel=stylesheet></head><body><div id=app></div><script>if (window.plus) {
				plusReady();
			} else {
				document.addEventListener('plusready', plusReady, false);
			}
			// 监听设备
			var cmr;
			function plusReady() {
				// 隐藏滚动条
				plus.webview.currentWebview().setStyle({
					scrollIndicator: 'none'
				});
				// Android处理返回键
				plus.key.addEventListener('backbutton', function() {
					var _hash = location.hash;
					if (_hash == "#/home"||_hash == "#/") {
						if (confirm('是否退出应用?')) {
							plus.runtime.quit();
						}
					} else if (history.length > 1) {
						history.back(); // 返回
					}
				}, false);
				//	compatibleAdjust();
				// 设置应用非全屏显示！
				plus.navigator.setFullscreen(false);
				// 获取设备默认的摄像头对象 
				cmr = plus.camera.getCamera();
			}
			(function() {
				// 标识为新版访问
				window.sessionStorage.setItem('isQ7NV', '1');
				var __code = getUrlParam('code');
				var __state = getUrlParam('state');
				if (__code!=null&&__code != ""&&__state!=null&&__state!="") {
					$.ajax({
						type: "post",
						url: getServerUrl() + "get-user-openid.htm",
						timeout: 90000,
						data: {
							code: __code,
							state: __state
						},
						jsonp: "jsonpCallback", //服务端用于接收callback调用的function名的参数
						dataType: "jsonp",
						success: function(__rst) {
							if(!__rst.isOk){
								console.log("==>> msg: " + __rst.message);
							}
						},
						error: function() {},
						//调用执行后调用的函数
						complete: function(XMLHttpRequest, textStatus) {}
					});
				} else {
					// 跳转到之前已保存的路径中去
					var openIdVal = getUrlParam('openid');
					if (openIdVal == null || openIdVal == undefined) {
						var openIdStr = window.localStorage.getItem("openIdVal");
						if (openIdStr != null) {
							openIdVal = openIdStr;
							window.localStorage.setItem("openIdVal", openIdVal);
						}
					}
				}
				// 微信中字体适配(微信可以自己设置字体的大小)
				if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
				  handleFontSize();
				} else {
				  if (document.addEventListener) {
				    document.addEventListener("WeixinJSBridgeReady", handleFontSize, false);
				  } else if (document.attachEvent) {
				    //IE浏览器，非W3C规范
				    document.attachEvent("onWeixinJSBridgeReady", handleFontSize);
				  }
				}
				function handleFontSize() {
				  // 设置网页字体为默认大小
				  WeixinJSBridge.invoke('setFontSizeCallback', { 'fontSize' : 0 });
				  // 重写设置网页字体大小的事件
				  WeixinJSBridge.on('menu:setfont', function() {
				    WeixinJSBridge.invoke('setFontSizeCallback', { 'fontSize' : 0 });
				  });
				}
			})();
			// 获取url中的参数
			function getUrlParam(name) {
				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
				var r = window.location.search.substr(1).match(reg); //匹配目标参数
				if (r != null) {
					return decodeURI(r[2]);
				}
				return null; //返回参数值
			}</script><script type=text/javascript src=./static/js/manifest.048ef73efe91c8c0ef12.js></script><script type=text/javascript src=./static/js/vendor.43e04f85afa9cf5a7209.js></script><script type=text/javascript src=./static/js/app.eefb69d3c401d4adf176.js></script></body><style type=text/css scoped>body{font-size: 0;}
		.cleraup{
			display:block;
			margin:200px auto 0;
			width:120px;
			height:120px;
		}
		/** 解决el-select下拉点击，在ios上需要点击两次的问题*/
		.el-scrollbar .el-scrollbar__bar {
		  opacity: 1 !important;
		}
		*{
		  -webkit-touch-callout:none;  /*系统默认菜单被禁用*/
		  -webkit-user-select:none; /*webkit浏览器*/
		  -khtml-user-select:none; /*早期浏览器*/
		  -moz-user-select:none; /*火狐*/
		  -ms-user-select:none;  /*IE10*/
		  user-select:none;
		}
		textarea,input{
		  -webkit-user-select: auto;
		}</style></html>