PageSourceSearch

http://bg.cqkjg.cn:8081/seeyon/index.jsp

html cqkjg.cn collected 2026-10-08 03:18:31 UTC 78,374 bytes, 1,306 lines download raw bytes

1<!DOCTYPE html>
2<html class="h100b overflow_login">
3<head>
4<meta charset="utf-8" />
5<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6<meta name="renderer" content="webkit|ie-stand|ie-comp" />
7<meta HTTP-EQUIV="pragma" CONTENT="no-cache" />
8<meta HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate" />
9<meta HTTP-EQUIV="expires" CONTENT="0" />
10<title>重庆科技馆协同管理软件 V8.0SP2</title>
11<link rel="stylesheet" href="/seeyon/common/all-min.css?V=V8_0SP2_210804_1603007">
12<link rel="stylesheet" href="/seeyon/skin/dist/components/components_layout.css?V=V8_0SP2_210804_1603007">
13<link rel="stylesheet" href="/seeyon/skin/dist/components/components_theme_default.css?V=V8_0SP2_210804_1603007">
14<script type="text/javascript">
15	var CSRFTOKEN = 'null';
16	var _ctxPath = '/seeyon', _ctxServer = 'http://bg.cqkjg.cn:8081/seeyon';
17	var _locale = 'zh_CN',_isDevelop = false,_sessionid = '',_isModalDialog = false;
18	var _editionI18nSuffix = '';
19	
20	var _resourceCode = "";
21	var seeyonProductId="1";
22    </script>
vendor: 2 bytes, line 22
22
23<script type="text/javascript" src="/seeyon/common/all-min.js?V=V8_0SP2_210804_1603007"></script>
vendor: 2 bytes, line 23
23
24<script type="text/javascript" src="/seeyon/ajaxStub.js?v=1788756765851"></script>
24
25<link href="/seeyon/common/images/A8/favicon.ico" type="image/x-icon" rel="icon"/>
26<script type="text/javascript" src="/seeyon/common/js/crypto.js?V=V8_0SP2_210804_1603007"></script>
vendor: 2 bytes, line 26
26
27<script type="text/javascript" src="/seeyon/main/common/js/jquery.qrcode.min.js?V=V8_0SP2_210804_1603007"></script>
vendor: 2 bytes, line 27
27
28<script type="text/javascript">
29
30	var loginFrom= '';
31	var intervalQrcode = null;
32	var sendFlag = false;
33
34	var _SecuritySeed = '-804254687';
35	var _SecuritySeedTimeOut='3600';
36
37	var adjustMarginTop;
38	var isIE8 = (navigator.userAgent.indexOf("MSIE") >= 0 || navigator.userAgent.indexOf("Trident") >= 0) &&  /msie 8\.0/i.test(navigator.userAgent) || (navigator.userAgent.indexOf("MSIE") >= 0 || navigator.userAgent.indexOf("Trident") >= 0) && /msie 7\.0/i.test(navigator.userAgent);
39
40	var ajaxQrCodeLoginManager = new qrCodeLoginManager();
41	function loginForWechat(){
42		var random = $("#random").val();
43		ajaxQrCodeLoginManager.isLogin(random,{
44			success : function(data) {
45				if(data != "loginError" || data == null){
46					$("#login_username").val(data);
47					$("#login_button").click();
48				} else {
49					sendFlag = true;
50				}
51			}
52		});
53	}
54
55	//轮询请求,防止后台阻塞
56	function intervalLogin(){
57		if(sendFlag){
58			sendFlag = false;
59			loginForWechat();
60		}
61	}
62
63	//二维码登陆
64	function changeLoginMode (_layout) {
65		var adjustWidth = 171;
66		var adjustHeight = 171;
67		$(".qrCodeBtn,.qrcodeAreaLogin").click(function () {
68			showQrcodeArea();
69			var date = new Date();
70			var dateNumber = date.getTime();
71			var random="seeyon-" + Math.uuid() + "-" + dateNumber;
72			var qrcodeRandom = "https://weixin.seeyon.com/mobilehelp.jsp?random=" + random;
73			$("#random").val(random);
74			//canvas方式进行图片渲染
75			$("#qrcode1 .qrcode").empty();
76	        $("#qrcode1 .qrcode").qrcode({
77	            render: isIE8?"table":"canvas", //canvas方式
78	            width: adjustWidth, //宽度
79	            height: adjustHeight, //高度
80	            text: utf16to8(qrcodeRandom) //任意内容
81	        });
82			loginForWechat();
83			intervalQrcode = setInterval("intervalLogin()", 1000);
84			
85		});
86		$("#flashQrcode").click(function(){
87			$("#qrcode1 .qrcode").empty();
88			var date = new Date();
89			var dateNumber = date.getTime();
90			var random="seeyon-" + Math.uuid() + "-" + dateNumber;
91			var qrcodeRandom = "https://weixin.seeyon.com/mobilehelp.jsp?random=" + random;
92			$("#random").val(random);
93			//canvas方式进行图片渲染
94            $("#qrcode1 .qrcode").qrcode({
95                render: isIE8?"table":"canvas", //canvas方式
96                width: adjustWidth, //宽度
97                height: adjustHeight, //高度
98                text: utf16to8(qrcodeRandom) //任意内容
99            });
100            
101		});
102	}
103	
104	/**
105     * js控制登录页面手机盾二维码样式的显隐,和js文件的加载
106     */
107    function changeCssAndLoadJsByTrustdo() {
108	        var qrcode4Div = document.getElementById("qrcode4");
109	        qrcode4Div.style.display = "block";
110	        //2.动态加载js文件,并执行脚本
111	        getLoginQRCodeForMobileShield();
112    }
113
114	//识别中文,暂时未用,目前随机数不包含中文
115	function utf16to8(str) {
116        var out, i, len, c;
117        out = "";
118        len = str.length;
119        for (i = 0; i < len; i++) {
120            c = str.charCodeAt(i);
121            if ((c >= 0x0001) && (c <= 0x007F)) {
122                out += str.charAt(i);
123            } else if (c > 0x07FF) {
124                out += String.fromCharCode(0xE0 | ((c >> 12) & 0x0F));
125                out += String.fromCharCode(0x80 | ((c >> 6) & 0x3F));
126                out += String.fromCharCode(0x80 | ((c >> 0) & 0x3F));
127            } else {
128                out += String.fromCharCode(0xC0 | ((c >> 6) & 0x1F));
129                out += String.fromCharCode(0x80 | ((c >> 0) & 0x3F));
130            }
131        }
132        return out;
133    }
134
135	//NC Portal
136	try{
137		if(parent.frame_A8){
138			if("false" == "true"){
139			   var ncPortalUrl = "";
140			   var ncUrl= "";
141			   if(ncPortalUrl!=null&&ncPortalUrl!=''){
142			      window.location.href = ncPortalUrl+"/portal/logoutA8.jsp";
143			   }else{
144			     window.location.href = ncUrl+"/portal/logoutA8.jsp";
145			   }
146			}
147		}
148	}catch(e){}
149	function onLoginSubmit(){
150		//登陆请求发出后,按钮置灰
151	      $("#login_button").attr("disabled","disabled");
152	      //var _bodyWidth = document.documentElement.clientWidth;
153	      //var _bodyHeight = document.documentElement.clientHeight;
154	      var _screenWidth = window.screen.width;
155	      var _screenHeight = window.screen.height;
156	      var font_size = 12;
157
158	      /*if(_bodyWidth <= 1024){
159	    	  font_size = 12;
160	      }else if(_bodyWidth <= 1600){
161	    	  font_size = 14;
162	      }else if(_bodyWidth <= 2500){
163	    	  font_size = 16;
164	      }else{
165	    	  font_size = 18;
166	      }*/
167
168	      $("#login_form").append("<input type='hidden' name='fontSize' value='"+font_size+"' />").append("<input type='hidden' name='screenWidth' value='"+_screenWidth+"' />").append("<input type='hidden' name='screenHeight' value='"+_screenHeight+"' />");
169	      
170	      if($("#login_password").val() != "") {
171		      var us = CryptoJS.enc.Utf8.parse($("#login_password").val());
172		      var encrypted = CryptoJS.DES.encrypt(us, _SecuritySeed);
173		      $("#login_password").val(encrypted);
174	      }
175	      
176	      var loginFlag = true;
177	      if(loginCallback) {
178	        if(!loginCallback())
179	          loginFlag = false;
180	      }
181	      var hasPluginCA = "false";
182	      var caFactory = '';
183	      if(hasPluginCA == "true" &&caFactory!=''){
184	        if("koal"!="" && isCa){
185	          caSign();
186	        }
187	      }
188	      ;
189	      return loginFlag;
190	}
191  $.ctx.template = {"id":"8663751873741276919","name":"登录页模板二","path":"default/login.jsp","sort":"2","description":"登录页模板二","updateTime":"2021-09-02","thumbnail":"default/thumbnail2.png","cdefault":0,"preset":1,"updateUser":"-884316703172445","new":false,"extraMap":{}};
192  $.ctx.hotSpots = [{"id":"1942741286620120569","name":"hotspot.name.changebgv","type":1,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"","ext10":null,"subTemplateid":null,"hotspotkey":"changebgv","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"","ext6":null,"new":false,"extraMap":{}},{"id":"1047741286620120569","name":"hotspot.name.changebgtype","type":1,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"","ext10":null,"subTemplateid":null,"hotspotkey":"changebgtype","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"image","ext6":null,"new":false,"extraMap":{}},{"id":"-952991749736804622","name":"hotspot.name.changebgv","type":1,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"","ext10":null,"subTemplateid":null,"hotspotkey":"changebgv","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"","ext6":null,"new":false,"extraMap":{}},{"id":"-5073342752706837733","name":"hotspot.name.changebgtype","type":1,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"","ext10":null,"subTemplateid":null,"hotspotkey":"changebgtype","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"image","ext6":null,"new":false,"extraMap":{}},{"id":"-2106115028889744214","name":"hotspot.name.layout","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"layout","templateid":"8663751873741276919","entityLevel":"System","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"t_b","ext6":null,"new":false,"extraMap":{}},{"id":"2311455840412451706","name":"hotspot.name.note","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"note","templateid":"8663751873741276919","entityLevel":"System","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"重庆科技馆协同管理软件","ext6":null,"new":false,"extraMap":{}},{"id":"3189481242407814899","name":"hotspot.name.newfeature","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"newfeature","templateid":"8663751873741276919","entityLevel":"System","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"hide","ext6":null,"new":false,"extraMap":{}},{"id":"8118012496134619460","name":"hotspot.name.topbgiposition","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"topbgiposition","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"18%,10%","ext6":null,"new":false,"extraMap":{}},{"id":"-6215847360162741463","name":"hotspot.name.mainbgc","type":2,"de
192scription":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"mainbgc","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":"100","ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"rgb(244, 244, 244)","ext6":null,"new":false,"extraMap":{}},{"id":"1260544173873974942","name":"hotspot.name.changebgi","type":1,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0,0,0,0,0,1","ext10":null,"subTemplateid":null,"hotspotkey":"changebgi","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"default/images/banner1.jpg,default/images/banner2.jpg,default/images/banner3.jpg,default/images/banner4.jpg,default/images/banner5.jpg,fileId=7621040941277922396","ext6":null,"new":false,"extraMap":{}},{"id":"1685519532828739950","name":"hotspot.name.bgialign","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"bgialign","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"cover","ext6":null,"new":false,"extraMap":{}},{"id":"2594662490018435027","name":"hotspot.name.changebgispeed","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"changebgispeed","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"speed2","ext6":null,"new":false,"extraMap":{}},{"id":"3654712540536064685","name":"hotspot.name.loginboxposition","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"loginboxposition","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"0%,0","ext6":null,"new":false,"extraMap":{}},{"id":"1948119827521486894","name":"hotspot.name.shownumber","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"shownumber","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"hide","ext6":null,"new":false,"extraMap":{}},{"id":"-647142419580892908","name":"hotspot.name.loginboxmainbgc","type":2,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"loginboxmainbgc","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":"40","ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"rgb(255, 255, 255)","ext6":null,"new":false,"extraMap":{}},{"id":"-2012758724673254451","name":"hotspot.name.loginboxbottombgc","type":2,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"loginboxbottombgc","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":"0","ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"rgb(255, 255, 255)","ext6":null,"new":false,"extraMap":{}},{"id":"-8328638424097665180","name":"hotspot.name.loginboxbuttonbgc","type":2,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"loginboxbuttonbgc","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":"100","ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"rgb(56, 198, 78)","ext6":null,"new":false,"extraMap":{}},{"id":"7047798343842024241","name":"hotspot.name.icpColor","type":0,"description":"","display":0,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"icpColor","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":"100","ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"rgb(51, 51, 51)","ext6":null,"new":false,"extraMap":{}},{"id":"5277649180270675849","name":"hotspot.name.icp","type":0,"description":"","display":0,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"icp","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"","ext6":null,"new":false,"extraMap":{}},{"id":"-8125812095875267571","name":"hotspot.name.showQr","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"showQr","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"0","ext6":null,"new":false,"extraMap":{}},{"id":"-1515767931705602125","name":"hotspot.name.topbgi","type":1,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"topbgi","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"","ext6":null,"new":false,"extraMap":{}},{"id":"5626239224896376673","name":"hotspot.name.QrInfo","type":0,"description":null,"display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"QrInfo","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"","ext6":null,"new":false,"extraMap":{}}];
193  var loginResult = "";
194  var dueRemind = "";
195  var dueRemindV = "0";
196  $(function() {
197	  $("#login_form").append("<input type='hidden' name='random' id='random' value='' />");
198	  
199      //开启前端加密以后,不允许自动保存密码
200      $("#login_password").attr("autocomplete","off");
201      $("#login_username").val("");
202      $("#login_password").val("");
203      
204    if(loginResult){
205      $("#login_error").find("div").html(loginResult);
206      $("#login_error").show();
207    }else{
208      $("#login_error").hide();
209    }
210    if(seeyonProductId == 7){
211      //如果是a6s
212      var localeCfg = [{"eleid":"login_locale","defaultValue":"zh_CN","options":{"zh_CN":"中文(简体)"}}];
213    } else {
214      var localeCfg = [{"defaultValue":"zh_CN","eleid":"login_locale","options":{"zh_CN":"中文(简体)","zh_TW":"中文(繁體)","en":"English"}}];
215      if(seeyonProductId == 3 || seeyonProductId == 4){
216          delete localeCfg[0].options.en;
217      }
218    }
219    $.fillOption(localeCfg);
220
221/**
222    $("#login_locale").change(function() {
223      $("#login_locale").jsonSubmit({
224        action : _ctxPath + '/main.do?method=changeLocale'
225      });
226    });**/
227
228    var _dropdownObj =$.dropdown({
229          id:'login_locale',
230          onchange:function(){
231        	  if(loginFrom && loginFrom!=''){
232        		  $("#login_locale").jsonSubmit({
233                	  action : _ctxPath + '/main.do?method=changeLocale&loginFrom=&topValue=&rowList='+encodeURIComponent(rowList)+'&btnbgc='+encodeURIComponent(btnbgc)+'&btombgc='+encodeURIComponent(btombgc)+'&bgc='+encodeURIComponent(bgc)+'&mailParam='
234                  });
235        	  }else{
236        		  $("#login_locale").jsonSubmit({
237                	  action : _ctxPath + '/main.do?method=changeLocale&'+''
238                  });
239        	  }
240          }
241    });
242    _dropdownObj.setValue(_locale);
243
244    $("#login_form").submit(function() {
245		var loginFlag = onLoginSubmit();
246      	return loginFlag;
247    });
248
249    $("#login_password").keydown(function(event){
250    	if (event.keyCode==13) {
251    		loginButtonClick();
252		}
253    });
254    var submitCount= 0;
255    function loginButtonClick(){
256    	if(submitCount==0){
257    		submitCount ++;
258    		$("#login_button").click();
259    	}
260    }
261
262    var enterSubmit = true;
263    $("#login_username").keydown(function(event){
264      if(event.keyCode == 229) return;
265      if(event.keyCode == 40)
266        enterSubmit = false;
267		  if (event.keyCode==13) {
268		    if(enterSubmit)
269		    	{
270			    	 //针对password在首次按enter键提交无法获取值的情况进行特殊处理,支艳强,2016/05/04
271			    	 //弹出一个progressBar,强制刷新DOM,浏览器会把password的内容展示出来
272		    	     var login_password = $("#login_password").val();
273			         if ($.trim(login_password) == "")
274			        	 {
275				        	 var progress = $.progressBar();
276				        	 window.setTimeout(function(){
277				        		 progress.close();
278
279				        		 loginButtonClick();
280				        	 },100);
281			        	 }
282			         else
283			        	 {
284			        	 	loginButtonClick();
285			        	 }
286		    	}
287		    else
288		      enterSubmit = true;
289		  }
290    });
291
292    $("#login_button").keydown(function(event){
293    	if (event.keyCode==13) {
294    		loginButtonClick();
295		}
296    });
297    $("#VerifyCode").keydown(function(event){
298      if (event.keyCode==13) {
299    	  loginButtonClick();
300      }
301  	});
302    if("true" == "false" && "Jit" == ""){
303    	$("#login_form").append("<input type='hidden' id='signed_data' name='signed_data' value=''>")
304			    		.append("<input type='hidden' id='original_jsp' name='original_jsp' value=''>")
305			    		.append("<input type='hidden' id='RootCADN' name='RootCADN' value=''>");
306    }
307  });
308</script>
308<link rel="stylesheet" type="text/css" href="/seeyon/main/login/default/css/login.css?V=V8_0SP2_210804_1603007" />
309<link rel="stylesheet" type="text/css" href="/seeyon/skin/dist/fonts/syIconfont.css?V=V8_0SP2_210804_1603007" />
310<script type="text/javascript" src="/seeyon/i18n_init_zh_CN.js?V=V8_0SP2_210804_1603007&timestamp=1788757236707_-1"></script>
vendor: 2 bytes, line 310
310
311<script type="text/javascript" src="/seeyon/common/js/passwdcheck.js?V=V8_0SP2_210804_1603007"></script>
vendor: 2 bytes, line 311
311
312<script type="text/javascript" src="/seeyon/apps_res/uc/rongcloud/chat.js?V=V8_0SP2_210804_1603007"></script>
312
313</head> 
314<body onload="calSelecterHeight();" class="h100b" style="margin:0;padding:0;overflow:hidden;">
315    <!-- 传统登录页 -->
316            <div id="login_content">
317                <div id="login_wrap">
318                    <div id="login_bg_video" class="login_bg_video">
319                        <!-- <div id="login_bg_video_mask" class="login_bg_video_mask"></div> -->
320                    </div>
321                    <div id="login_bg" class="slideBox">
322                        <ul id="scroll_ul" class="slideImgs"> </ul>
323                    </div>
324                    <form method="post" action="/seeyon/main.do?method=login" id="login_form" name="loginform" autocomplete="on" onsubmit="checkPwdStrength();">
325                        <input id="authorization" type="hidden" name="authorization" value="" />
326                       	<input id="timezone" type="hidden" name="login.timezone" value=""/>
327                       	<input id="province" type="hidden" name="province" value=""/>
328                       	<input id="city" type="hidden" name="city" value=""/>
329                       	<input id="rectangle" type="hidden" name="rectangle" value=""/>
330                        <div id="login_area_div" class="login_area_t_b">
331                            <div class="qrCodeBtn"></div>
332                            <div class="login_area_body">
333                                <div class="login_box">
334                                            <div class="pic">
335                                                <div class="pic_box"><img src="/seeyon/apps_res/v3xmain/images/personal/pic.gif" /></div>
336                                                <div class="pic_box_bg"></div>
337                                            </div>
338                                            <div class="login_top">
339                                                <div id="login_text_div" class="text">
340                                                    A8+企业版(并发数:100)</div>
341                                                <!-- 用户名 -->
342                                                <div class="username">
343                                                    <em class="login_username_em"></em><input id="login_username" name="login_username" type="text" style="border:0;" />
344                                                    <input id="trustdo_type" name="trustdo_type" type="hidden" value=""/>
345                                                </div>
346                                                <!-- 密码  还需根据系统配置判断是否添加密码自动填充禁用功能-->
347                                                <div class="password">
348                                                    <em class="login_password_em"></em><input id="login_password" autocomplete="on" name="login_password" type="password" />
349                                                </div>
350                                                <input type="hidden" id="login_validatePwdStrength" name="login_validatePwdStrength" value="4">
351                                                <!-- 验证码 -->
352                                                <div class="captcha">
353                                                    </div>
354                                                <!-- 登陆按钮 -->
355                                                <div class="login_btn">
356                                                    <input type="button" id="login_button" class="point" value="登 录" onClick="loginButtonOnClickHandler();" />
357                                                    <input id="submit_button" type="submit" style="display: none" value="" />
358                                                </div>
359                                            </div>
360                                        </div>
361                                        <div id="login_bottom_div" class="login_bottom">
362                                            <div class="fzIntall_area">
363                                                <div class="zhixin zhixin_left" title="找回密码?">
364												<a onclick="retrievePassword();"><font color="white">找回密码?</font></a>
365												</div>
366
367                                                <div id="login_bottom_div_assistantSetup_classic" class="hand zhixin zhixin_left" title="辅助程序" onClick="openAssistantSetup()">
368                                                    <font>辅助程序</font>
369                                                </div>
370
371                                                <div class="zhixin zhixin_left" title="致信" onclick="downloadZX_login()" style="cursor: pointer;">
372                                                        <font color="white">致信</font>
373                                                    </div>
374                                                <div class="right zhixin_language_select" style="width:75px;">
375														<select id="login_locale"></select>
376													</div>
377												</div>
378
379                                        </div>
380                                        <!-- 第五套布局二维码入口 -->
381                                        <div class="qrcodeArea" style="display: none;">
382                                        <span class="qrcodeAreaLogin">使用二维码登录</span>
383                                        </div>
384                                        <!-- 密码错误显示 -->
385	                                        <div id="login_error" class="login_error" style="display:none"><div></div></div>
386                                        </div>
387                        </div>
388                    </form>
389                     <div id="login_logo"><img src=""></div>
390                    <div class="masks top_mask"></div>
391                    <div class="masks bottom_mask"></div>
392                    <div class="icp_info"></div>
393                </div>
394            </div>
395            <div class="appendObject"></div>
396        <!-- 二维码,7.1sp1调整到这里了 -->
397    <div id="QrcodeArea" class="QrcodeArea">
398        <div class="QrMask" onclick="javascript:hideQrcodeArea('mask')"></div>
399        <div id="QrMask4LoginPre" class="QrMask4LoginPre">
400            <div class="loginPreTips">请扫描下方二维码</div>
401        </div>
402        <div class="wrapper">
403            <div class="closeBtn" onclick="javascript:hideQrcodeArea('btn')"><i class="syIcon sy-close"></i></div>
404            <div class="topText">
405                <a id="flashQrcode">刷新二维码</a>
406                <span class="padding_lr_10">|</span>
407                <a target="_blank" href="/seeyon/main.do?method=qrCodeHelp">使用帮助</a>
408            </div>
409            <div class="ScrollArea">
410                <div id="prevBtn" class="prevBtn" onclick="javascript:showPrevQRPage()" onselectstart="return false"><i class="syIcon sy-arrow-left"></i></div>
411                <div id="nextBtn" class="nextBtn" onclick="javascript:showNextQRPage()" onselectstart="return false"><i class="syIcon sy-arrow-right"></i></div>
412                <div class="qrCodeGroup">
413                    <!-- 每屏最多4个二维码,超过4个就得新起一个UL -->
414                    <ul>
415                        <li id="qrcode1">
416                                <div class="qrcode">
417                                    <!--这里放置微信扫码登录的二维码图片-->
418                                </div>
419                                <div class="qrtext">微信/M3扫码登录</div>
420                            </li>
421                        <li id="qrcode2">
422                                <div class="qrcode">
423                                                <img src="/seeyon/main/login/default/images/m3-qrcode.png?V=V8_0SP2_210804_1603007">
424                                            </div>
425                                        <div class="qrtext">下载移动客户端</div>
426                            </li>
427                        <li id="qrcode4" style="display: none;">
428                            <div class="qrcode"><img id="u37_img" style="width: 171px; height: 171px;" src=""></div>
429                            <div class="qrtext">
430                                    trustdo.qrcode.auth</div>
431                        </li>
432                    </ul>
433                    <!-- 如果有新增的二维码,请按每4个码组成1个UL的规则进行添加 -->
434                    <!--
435                    <ul>
436                        <li id="qrcode5">
437                            <div class="qrcode"><img src="/seeyon/main/login/default/images/addChangeImg.png?V=V8_0SP2_210804_1603007"></div>
438                            <div class="qrtext">来凑数的测试二维码</div>
439                        </li>
440                    </ul>
441                    -->
442                </div>
443                <div id="qrCodeGroupNum" class="qrCodeGroupNum"><span class="current"></span></div>
444            </div>
445        </div>
446    </div>
447
448</body>
449<script type="text/javascript" src="/seeyon/decorations/js/jquery.loginSlide.js?V=V8_0SP2_210804_1603007"></script>
vendor: 2 bytes, line 449
449
450<script type="text/javascript" src="/seeyon/main/login/default/loginPreview.js?V=V8_0SP2_210804_1603007"></script>
vendor: 2 bytes, line 450
450
451<script type="text/javascript">
452    function sendBroadcast(type, data) {
453        localStorage.setItem('SY.Broadcast', JSON.stringify({type:type,stamp:+new Date,data:data||''}))
454    }
455
456    var verifyCode = "false";
457	var canLocation = "true";
458	var locationUrl = "https://restapi.amap.com/v3/ip?key=303e24733ada73ca23760ac77f19701b&output=jsonp";
459	if(canLocation=='true' && locationUrl!=''){
460		$.getScript(locationUrl + "&callback=setCurrentCity");
461	}
462	function setCurrentCity(json){
463		if (json && json.province && json.city && json.rectangle) {
464			document.getElementById("province").value= json.province;
465			document.getElementById("city").value= json.city;
466			document.getElementById("rectangle").value= json.rectangle;
467		}
468	}
469	var btnbgc= "";
470	var btombgc= "";
471	var bgc= "";
472    //默认透明
473    bgc = bgc !="null"? bgc : "transparent";
474    var login_index = "userLogin";
475    var resSuffix = "?V=V8_0SP2_210804_1603007";
476    var loginFromBol = true;
477    var _layout = "loginPre"; //登录前门户登录框样式
478    var QrInfo="";
479    if(loginFromBol){
480        _layout = "t_b"; //模板布局:all,全屏;t_b,上下;l_r,左右;center,上下留白;
481    }else{
482    	var rowList= "";
483    	if(rowList==""){
484    		rowList="blank";
485    	}
486    }
487    $.ctx.hotSpots = [{"id":"1942741286620120569","name":"hotspot.name.changebgv","type":1,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"","ext10":null,"subTemplateid":null,"hotspotkey":"changebgv","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"","ext6":null,"new":false,"extraMap":{}},{"id":"1047741286620120569","name":"hotspot.name.changebgtype","type":1,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"","ext10":null,"subTemplateid":null,"hotspotkey":"changebgtype","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"image","ext6":null,"new":false,"extraMap":{}},{"id":"-952991749736804622","name":"hotspot.name.changebgv","type":1,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"","ext10":null,"subTemplateid":null,"hotspotkey":"changebgv","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"","ext6":null,"new":false,"extraMap":{}},{"id":"-5073342752706837733","name":"hotspot.name.changebgtype","type":1,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"","ext10":null,"subTemplateid":null,"hotspotkey":"changebgtype","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"image","ext6":null,"new":false,"extraMap":{}},{"id":"-2106115028889744214","name":"hotspot.name.layout","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"layout","templateid":"8663751873741276919","entityLevel":"System","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"t_b","ext6":null,"new":false,"extraMap":{}},{"id":"2311455840412451706","name":"hotspot.name.note","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"note","templateid":"8663751873741276919","entityLevel":"System","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"重庆科技馆协同管理软件","ext6":null,"new":false,"extraMap":{}},{"id":"3189481242407814899","name":"hotspot.name.newfeature","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"newfeature","templateid":"8663751873741276919","entityLevel":"System","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"hide","ext6":null,"new":false,"extraMap":{}},{"id":"8118012496134619460","name":"hotspot.name.topbgiposition","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"topbgiposition","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"18%,10%","ext6":null,"new":false,"extraMap":{}},{"id":"-6215847360162741463","name":"hotspot.name.mainbgc","type":2,"de
487scription":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"mainbgc","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":"100","ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"rgb(244, 244, 244)","ext6":null,"new":false,"extraMap":{}},{"id":"1260544173873974942","name":"hotspot.name.changebgi","type":1,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0,0,0,0,0,1","ext10":null,"subTemplateid":null,"hotspotkey":"changebgi","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"default/images/banner1.jpg,default/images/banner2.jpg,default/images/banner3.jpg,default/images/banner4.jpg,default/images/banner5.jpg,fileId=7621040941277922396","ext6":null,"new":false,"extraMap":{}},{"id":"1685519532828739950","name":"hotspot.name.bgialign","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"bgialign","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"cover","ext6":null,"new":false,"extraMap":{}},{"id":"2594662490018435027","name":"hotspot.name.changebgispeed","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"changebgispeed","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"speed2","ext6":null,"new":false,"extraMap":{}},{"id":"3654712540536064685","name":"hotspot.name.loginboxposition","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"loginboxposition","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"0%,0","ext6":null,"new":false,"extraMap":{}},{"id":"1948119827521486894","name":"hotspot.name.shownumber","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"shownumber","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"hide","ext6":null,"new":false,"extraMap":{}},{"id":"-647142419580892908","name":"hotspot.name.loginboxmainbgc","type":2,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"loginboxmainbgc","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":"40","ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"rgb(255, 255, 255)","ext6":null,"new":false,"extraMap":{}},{"id":"-2012758724673254451","name":"hotspot.name.loginboxbottombgc","type":2,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"loginboxbottombgc","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":"0","ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"rgb(255, 255, 255)","ext6":null,"new":false,"extraMap":{}},{"id":"-8328638424097665180","name":"hotspot.name.loginboxbuttonbgc","type":2,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"loginboxbuttonbgc","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":"100","ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"rgb(56, 198, 78)","ext6":null,"new":false,"extraMap":{}},{"id":"7047798343842024241","name":"hotspot.name.icpColor","type":0,"description":"","display":0,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"icpColor","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":"100","ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"rgb(51, 51, 51)","ext6":null,"new":false,"extraMap":{}},{"id":"5277649180270675849","name":"hotspot.name.icp","type":0,"description":"","display":0,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"icp","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"","ext6":null,"new":false,"extraMap":{}},{"id":"-8125812095875267571","name":"hotspot.name.showQr","type":0,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"showQr","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"0","ext6":null,"new":false,"extraMap":{}},{"id":"-1515767931705602125","name":"hotspot.name.topbgi","type":1,"description":"","display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"topbgi","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"","ext6":null,"new":false,"extraMap":{}},{"id":"5626239224896376673","name":"hotspot.name.QrInfo","type":0,"description":null,"display":1,"module":0,"ext8":null,"ext9":null,"entityId":"-1730833917365171641","ext1":"0","ext3":"0","ext10":null,"subTemplateid":null,"hotspotkey":"QrInfo","templateid":"8663751873741276919","entityLevel":"System,Account","tiling":0,"ext7":null,"ext5":null,"ext2":"0","ext4":"-1730833917365171641","hotspotvalue":"","ext6":null,"new":false,"extraMap":{}}];
488    var imgSize={"default/images/banner1.jpg":"2000,1080","default/images/banner4.jpg":"2000,1080","default/images/banner5.jpg":"2000,1080","fileId=7621040941277922396":"1920,1080","default/images/banner2.jpg":"2000,1080","default/images/banner3.jpg":"2000,1080"};
489    var entryTime = new Date().getTime();
490    var times = 0;
491
492
493    /**
494     * 上传视频属性
495     */
496    var mediaObj = {};
497
498    /**
499     * 登录页背景类型.默认是image. 如果配置为视频.则为video
500     */
501    var changebgtype = 'image';
502
503    /**
504        渲染左侧背景视频
505     */
506    function randerBgi4video(){
507        if(typeof(mediaObj) != undefined && mediaObj.id != null){
508
509            $("#login_bg_video").show();
510            $("#login_bg").hide();
511            // alert(mediaObj.toString());
512            //console.log(mediaObj);
513            var _w = $("#login_bg_video").width();
514            var _h = $("#login_bg_video").height();
515            var scalingNum = 0;
516            // debugger;
517            var iframeWidth,iframeHeight,marginTop=0,marginLeft=0;
518            //放大或缩小宽度
519            if(mediaObj.videoWidth>mediaObj.videoHeight){
520                iframeWidth = _w;
521                scalingNum = _w/mediaObj.videoWidth;
522                iframeHeight = Math.ceil(mediaObj.videoHeight*scalingNum);
523                marginTop = Math.ceil((_h - iframeHeight)/2);
524            }else{//放大或缩小高度
525                iframeHeight = _h;
526                scalingNum = _h/mediaObj.videoHeight;
527                iframeWidth = Math.ceil(mediaObj.videoWidth*scalingNum);
528                marginLeft = Math.ceil((_w - iframeWidth)/2);
529            }
530
531
532            //创建dom插入
533            if($("#login_bg_video_iframe").length == 0){
534                var tempHtml = '<iframe style="width:'+iframeWidth+'px;height:'+iframeHeight+'px;margin-top:'+marginTop+'px;margin-left:'+marginLeft+'px;" id="login_bg_video_iframe" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" resize="none" scrolling="no" src="/seeyon/media/media.do?method=mediaShow&mediaId='+mediaObj.id+'&width='+iframeWidth+'&height='+iframeHeight+'&hideControl=true&autoPlay=true&isLoop=true" frameborder="0" scrolling="no"></iframe>';
535                $("#login_bg_video").append(tempHtml);
536            }else{
537                //已创建iframe就设置src和宽高位置即可
538                $('#login_bg_video_iframe').attr("src",'/seeyon/media/media.do?method=mediaShow&mediaId='+mediaObj.id+'&width='+iframeWidth+'&height='+iframeHeight+'&hideControl=true&autoPlay=true&isLoop=true');
539                $('#login_bg_video_iframe').css({
540                    'width': iframeWidth+'px',
541                    'height': iframeHeight+'px',
542                    'margin-top': marginTop+'px',
543                    'margin-left': marginLeft+'px'
544                });
545            }
546
547            //无法自动播放可能是浏览器权限的问题
548            //谷歌允许播放声音 -- 即可自动播放
549            //火狐浏览器允许自动播放 --- 即可自动播放
550            //ie11、360浏览器都可以自动播放
551            //1秒后手动触发播放
552            /*setTimeout(function(){
553                if($('#login_bg_video_iframe')[0].contentWindow.play){
554                    $('#login_bg_video_iframe')[0].contentWindow.play.play();
555                }
556            },2000)
557            // debugger;
558            $("#login_logo").click(function(event) {
559                if($('#login_bg_video_iframe')[0].contentWindow.play){
560                    $('#login_bg_video_iframe')[0].contentWindow.play.play();
561                }
562            });*/
563        }
564
565    }
566
567    $(function() {
568
569    	loginDefault();
570
571        if(loginFromBol){
572            //选中光标改变背景色
573            $("#login_username").focus(function(){
574                $(this).parent().css("background-color","#FFF");
575            }).blur(function(){
576                $(this).parent().css("background-color","rgba(255,255,255,0.7)");
577            });
578
579            $("#login_password").focus(function(){
580                $(this).parent().css("background-color","#FFF");
581            }).blur(function(){
582                $(this).parent().css("background-color","rgba(255,255,255,0.7)");
583            });
584            $("#VerifyCode").focus(function(){
585                $(this).parent().css("background-color","#FFF");
586            }).blur(function(){
587                $(this).parent().css("background-color","rgba(255,255,255,0.7)");
588                if(_layout == "center"){
589                    $(this).parent().css("background-color","transparent");
590                }
591            });
592
593            //选中光标改变背景色,第四套登录框特殊处理
594            $(".login_area_center #login_username").focus(function(){
595                $(this).parent().css("background-color","#FFF");
596            }).blur(function(){
597                $(this).parent().css("background-color","transparent");
598            });
599
600            $(".login_area_center #login_password").focus(function(){
601                $(this).parent().css("background-color","#FFF");
602            }).blur(function(){
603                $(this).parent().css("background-color","transparent");
604            });
605        }else{
606            
607            $(".fromLoginPrePortal #login_username").focus(function(){
608                $(this).css("background-color","#FFF");
609            }).blur(function(){
610                $(this).css("background-color","rgba(255,255,255,0.7)");
611            });
612
613            $(".fromLoginPrePortal #login_password").focus(function(){
614                $(this).css("background-color","#FFF");
615            }).blur(function(){
616                $(this).css("background-color","rgba(255,255,255,0.7)");
617            });
618            $(".fromLoginPrePortal #VerifyCode").focus(function(){
619                $(this).css("background-color","#FFF");
620            }).blur(function(){
621                $(this).css("background-color","rgba(255,255,255,0.7)");
622            });
623        }
624        if(loginFromBol){
625	        $("#login_username").focus();
626	        $("#login_password").blur();
627	        $("#VerifyCode").blur();
628        }
629
630        //缩小语言选择框宽度
631        $("#login_locale_dropdown").mouseenter(function(event) {
632            $("#login_locale_dropdown_content").height("auto");
633        });
634        //IE9以下头像边框不显示
635        if ($.browser.msie){
636            if($.browser.version < 9){
637                $(".pic_box_bg").hide();
638                $(".pic_box img").css({"display":"block","width":"92px","height":"92px","border":"2px s
638olid #FFF"});
639                //IE9以下背景色处理,统一背景色和底部色
640                if(loginFromBol){ //排除登录栏目
641                    $("#login_area_div").css({"background":" url(/seeyon/main/login/default/images/black40.png)"});
642                }
643                $(".login_bottom").css({"background":" url(/seeyon/main/login/default/images/whight40.png)"});
644            };
645        };
646        //针对第五套布局显示二维码入口
647        if(_layout == "center_big"){
648            $(".qrcodeArea").show();
649        }else{
650            $(".qrcodeArea").hide();
651        }
652        //二维码
653        changeLoginMode(_layout);
654
655        if ($.browser.msie) {
656            //辅助程序
657            $(".appendObject").append('<OBJECT name="OneSetup" class="hidden" classid="clsid:6076464C-7D15-42DF-829C-7A0194D4D61E" codebase="/seeyon/common/setup/install.cab;jsessionid=B7A4CAA3FFFE1FB3F19AAE9975469B09#version=1,0,0,4" width=0% height=0% align=center hspace=0 vspace=0></OBJECT>');
658
659        }
660        if(loginFromBol){
661	        //改变窗口大小,重新加载背景图片
662	        window.onresize = function(){
663                if(_bgialign && _bgialign == "zoom"){
664                    setSliderBgImg();
665                }
666	            changeSlide(_changebgispeed);
667	        }
668	        //调整登录框的位置
669	        adjustLoginPosition();
670        }
671
672        initQRcodeArea();
673
674        //个性化设置:是否显示二维码,是否显示版本和并发,登录框底部颜色、按钮颜色、背景颜色
675        $('body').append("<style>" +
676                "body{background-color:"+ bgc +" }" +
677                "#login_button{background-color:"+ btnbgc +" }" +
678                ".fromLoginPrePortal .login_bottom{background-color:"+ btombgc +" }" +
679                "</style>");
680        if(rowList == "qrCode" || rowList == "qrCode,blank"){
681            $("#login_text_div").css("visibility", "hidden");
682            $(".qrCodeBtn").css("visibility", "visible");
683            if(QrInfo=="noselected"){
684                $(".qrCodeBtn").css("visibility", "hidden");
685            }
686        }else if(rowList == "productInfo" || rowList == "productInfo,blank"){
687            if(QrInfo=="noselected"){
688                $(".qrCodeBtn").css("visibility", "hidden");
689            }
690            $("#login_text_div").css("visibility", "show");
691        }else if(rowList == "qrCode,productInfo,blank" || rowList == "qrCode,productInfo"){
692            $("#login_text_div").css("visibility", "visible");
693            $(".qrCodeBtn").css("visibility", "visible");
694            if(QrInfo=="noselected"){
695                $(".qrCodeBtn").css("visibility", "hidden");
696            }
697        }else if(rowList == "blank" || rowList=="null"){
698            $("#login_text_div").css("visibility", "hidden");
699            if(QrInfo=="noselected"){
700                $(".qrCodeBtn").css("visibility", "hidden");
701            }
702        }
703
704        var topValue= "";
705        
706        if(rowList == "blank"){
707            $('body').append("<style>" +
708            ".fromLoginPrePortal .login_area_body{margin-top: 5px;}" +
709            "</style>");
710        }
711        var isSmsError = "";
712        if(isSmsError == "true"){
713            var telNumber = "89";
714            initSmsCodeInfo(telNumber);
715        }
716
717    });
718
719    var sendSMSCodeTime = 89;
720    function UpdateLoginSeed(){
721        $.ajax({
722            async : false,
723            type: "GET",
724            url: _ctxPath+"/main.do?method=updateLoginSeed",
725            dataType : 'text',
726            success : function(data) {
727                if(data&&data!=""&&_SecuritySeed!=data){
728                    _SecuritySeed=data;//登录加密种子需要更新
729                }
730            },
731            error : function(XMLHttpRequest, textStatus, errorThrown) {
732                alert($.i18n('login.tip.failure'));
733            }
734        });
735    }
736    function loginCallback() {
737        return true;
738    }
739
740    function retrievePassword(){
741    	$.ajax({
742    		sync : true,
743    		type: "POST",
744    		url: _ctxPath+"/personalBind.do?method=isCanUse",
745    		dataType : 'text',
746    	      success : function(data) {
747    	    	  var isCanUse = jQuery.parseJSON(data);
748    	    	     if(isCanUse=="true" || isCanUse==true){
749    	    	    	window.open(_ctxPath + '/personalBind.do?method=retrievePassword');
750    	    	     }else{
751   	    	        	var msg = "管理员未设置系统邮箱,也未启用短信插件,</br>不能使用密码找回功能,请联系管理员!" ;
752   	    				retrievePwdMsg = $.messageBox({
753   	    					'id':"retrievePwdMessageBox",
754   	    					'type': 0,
755   	    					'msg': "<div class='msgbox_img_2' style='float:left'></div><div class='margin_t_5 margin_l_5' style='float:left'>" + msg + "</div>"
756   	    				});
757    	    	     }
758    	        },
759    	        error : function(XMLHttpRequest, textStatus, errorThrown) {
760    	        	 alert($.i18n('login.tip.failure'));
761    	        }
762    	});
763    }
764
765    // 快速需求(Fast Demand):登陆页面验证码可点击刷新,并且连续点击10次以上,禁用一分钟
766    function changeVerifyCodeImg(obj){
767        if(times >= 10){
768            alert("刷新验证码太频繁,请稍后再试。");
769            setTimeout(function(){times=0;},60000);
770            return;
771        }
772        times ++;
773        //var img=document.getElementsByTagName("img")[obj];// 验证码的图片位置
774        var img=document.getElementById("VerifyCodeImg");//不能根据html img标签来获取呀,登录页可以变动,当有img标签的时候获取的不对啊
775        img.src="/seeyon/verifyCodeImage.jpg?" + new Date().getTime();
776    }
777
778    function doLoginSubmit(){
779    	if(false && "iTrus"==""){//
780        	chooseCert();
781        }else{
782        	
783				$("#submit_button").click();
784			
785        }
786    }
787
788    //只有登录前门户用
789    function doAjaxLogin(){
790    	var loginFlag = onLoginSubmit();
791    	if(!loginFlag){
792    		return;
793    	}
794    	var formObj=$("#login_form").formobj();
795    	formObj["loginFrom"] = "loginPortal";
796    	formObj["login.timezone"] = $("#timezone").val();
797    	formObj["login.smsVerifyCode"] = $("#smsVerifyCode").val();
798    	formObj["login.VerifyCode"] = $("#VerifyCode").val();
799    	formObj["province"] = $("#province").val();
800    	formObj["city"] = $("#city").val();
801    	formObj["rectangle"] = $("#rectangle").val();
802    	$.ajax({
803    		sync : true,
804    		type: "POST",
805    		url: "/seeyon/main.do?method=login",
806    		data : formObj,
807    		dataType : 'text',
808    	      	success : function(data) {
809    	      		if(data.indexOf("ok")==0){
810    	      			window.top.location.href = _ctxPath + "/indexOpenWindow.jsp";
811    	      		}else{
812    	      			if(data.indexOf("ok")==0){
813        	      			window.top.location.href = _ctxPath + "/indexOpenWindow.jsp";
814        	      		}else{
815        	      			if(data.indexOf("0;url=")>=0){
816    							alert($.i18n('login.tip.failure'));
817        	      				reloadLoginPage();
818        	      			}else{
819    							alert(data);
820        	      				reloadLoginPage();
821        	      			}
822        	      		}
823    	      		}
824    	        },
825    	        error : function(XMLHttpRequest, textStatus, errorThrown) {
826    	        	alert($.i18n('login.tip.incorrect'));
827      				reloadLoginPage();
828    	        }
829    	});
830    }
831	function reloadLoginPage(){
832		window.top.location.href = _ctxPath + "/main.do?method=main&loginPortal=1&portalId=-7779029842361826066";
833	}
834	function initSmsCodeInfo(telNumber){
835        if ($("#smsLoginInputDiv").length == 0) {
836            var smsHtml = "<div id='smsLoginInputDiv' class='clearfix'>";
837            if ($.browser.msie && $.browser.version < 9) {
838                smsHtml += "<div class='smsLogin_textbox' style='background:url(/seeyon/main/login/default/images/white.png)'>";
839            }else{
840                smsHtml += "<div class='smsLogin_textbox'>";
841            }
842            smsHtml += "<input title='请输入短信验证码' id='smsVerifyCode' name='login.smsVerifyCode' type='text' maxlength='8' />";
843            smsHtml += "</div>";
844            if (telNumber != "TRUE") {
845                smsHtml += "<div class='smsLogin_btn smsLogin_btn_disable' id='sendSMSCodeButton'>"+telNumber+" "+"重新获取</div>";
846            } else {
847                smsHtml += "<div class='smsLogin_btn' id='sendSMSCodeButton'>获取验证码</div>";
848            }
849            smsHtml += "</div>";
850            $(".captcha").after(smsHtml);
851            if(loginFromBol){
852                $("#smsVerifyCode").focus(function(){
853                    $(this).parent().css("background-color","#FFF");
854                }).blur(function(){
855                    if(_layout == "center"){
856                        $(this).parent().css("background-color","transparent");
857                    }else{
858                        $(this).parent().css("background-color","rgba(255, 255, 255, 0.7)");
859                    }
860                });
861            }
862            if (telNumber != 'TRUE') {
863                sendSMSCodeTime = telNumber;
864                var interval = setInterval(function() {
865                    sendSMSCodeTime--;
866                    if (sendSMSCodeTime == 0) {
867                        $("#sendSMSCodeButton").html("获取验证码").removeClass('smsLogin_btn_disable');
868                        sendSMSCodeTime = 89;
869                        clearInterval(interval);
870                    } else {
871                        $("#sendSMSCodeButton").html(sendSMSCodeTime + " " + "重新获取").addClass('smsLogin_btn_disable');
872                    }
873                }, 1000);
874            }
875
876            $("#sendSMSCodeButton").click(function() {
877                if (sendSMSCodeTime != 89) {
878                    return;
879                }
880                var login_username = $("#login_username").val();
881                new portalManager().sendSMSLoginCode(login_username, {
882                    success: function(msg) {
883                        if (msg == "success") {
884                            $("#smsVerifyCode").val("");
885                            var interval = setInterval(function() {
886                                sendSMSCodeTime--;
887                                if (sendSMSCodeTime == 0) {
888                                    $("#sendSMSCodeButton").html("获取验证码").removeClass('smsLogin_btn_disable');
889                                    sendSMSCodeTime = 89;
890                                    clearInterval(interval);
891                                } else {
892                                    $("#sendSMSCodeButton").html(sendSMSCodeTime + " " + "重新获取").addClass('smsLogin_btn_disable');
893                                }
894                            }, 1000);
895                            $("#sendSMSCodeButton").html(sendSMSCodeTime + " " + "重新获取").addClass('smsLogin_btn_disable');
896                        } else {
897                            $("#login_error").css("background-image", "none");
898                            $("#login_error").find("div").html(msg);
899                            $("#login_error").show();
900                        }
901                    }
902                });
903            });
904            $("#smsLoginInputDiv").show();
905        } else {
906            doLoginSubmit();
907        }
908    }
909    function loginButtonOnClickHandler() {
910        
911        var leaveTime = new Date().getTime();
912        if(_SecuritySeed !== "") {
913            //仅在开启登录加密时进行加密种子更新校验
914            var SeedTimeOutInSeconds=60*30;//默认30分钟
915            try{
916                SeedTimeOutInSeconds=parseInt(_SecuritySeedTimeOut);
917            }
918            catch (e) {
919
920            }
921            if(SeedTimeOutInSeconds>60){
922                //考虑网络原因提前一分钟到期校验
923                SeedTimeOutInSeconds=SeedTimeOutInSeconds-60;
924            }
925            if(_SecuritySeedTimeOut!==""&&leaveTime - entryTime >SeedTimeOutInSeconds*1000) {
926                UpdateLoginSeed();
927            }
928        }
929    	var timeZoneId = getTimeZoneId();
930   		$("#timezone").val(timeZoneId);
931
932        var login_username = $("#login_username").val();
933        if ($.trim(login_username) == "") {
934        	doLoginSubmit();
935        } else {
936            var smsVerifyCode = "";
937            if ($("#smsLoginInputDiv").length == 1) {
938                smsVerifyCode = $.trim($("#smsVerifyCode").val());
939            }
940            var isCanUseSMS = true;
941            if (intervalQrcode || !isCanUseSMS || ($("#smsLoginInputDiv").length == 1 && smsVerifyCode != "")) {
942            	doLoginSubmit();
943            } else {
944                //进行短信登录验证
945                new portalManager().smsLoginEnabled(login_username, {
946                    success: function(telNumber) {
947                        if (telNumber && $.trim(telNumber).length > 0 && (telNumber == "TRUE" || telNumber == "89")) {
948                            initSmsCodeInfo(telNumber);
949                        } else {
950                            $("#smsVerifyCode").val("");
951                            doLoginSubmit();
952                        }
953                    },
954                    error: function() {
955                    	doLoginSubmit();
956                    }
957                });
958            }
959        }
960    }
961
962    function getTimeZoneId(){
963    	//获取客户端时区
964    	var d = new Date();
965    	var timezoneOffset = 0 - d.getTimezoneOffset();
966    	var gmtHours = (timezoneOffset/60).toString();
967    	//8  -8:30  8:45
968    	var gmtHoursArr = gmtHours.split(".");
969    	var h = gmtHoursArr[0];
970    	if(h>=0){
971    		h = "+"+h;
972    	}
973    	var m = "00";
974    	if(gmtHoursArr.length>1){
975    		m = Number("0."+gmtHoursArr[1]) * 60;
976    	}
977    	return  "GMT"+h+":"+m;
978    }
979
980    var commonProgressbar = null;
981
982    //开始进度条
983    function startProc(title) {
984        try {
985            var options = {
986                title: title
987            };
988            if (title == undefined) {
989                options = {};
990            }
991            if (commonProgressbar != null) {
992                commonProgressbar.start();
993            } else {
994                commonProgressbar = new MxtProgressBar(options);
995            }
996        } catch (e) {}
997    }
998
999    //结束进度条
1000    function endProc() {
1001        try {
1002            if (commonProgressbar) {
1003                commonProgressbar.close();
1004            }
1005            commonProgressbar = null;
1006        } catch (e) {}
1007    }
1008
1009    var openAssistantFlag = 0;
1010    function openAssistantSetup() {
1011        if(openAssistantFlag === 0) {
1012            openAssistantFlag = 1;
1013            setTimeout(function(){
1014                openAssistantFlag = 0;
1015            },30000);
1016        }else {
1017            getCtpTop().$.alert("每30秒仅允许下载1次,请勿频繁点击!");
1018            return;
1019        }
1020        var myhost= window.location.host;
1021        var myport= window.location.port;
1022        if(myport==""){
1023            myport= "80";
1024        }
1025        var ucUrl= "/"+myhost+"/"+myhost+"/"+myport;
1026        var obj = null;
1027        try {
1028            obj = new ActiveXObject("SeeyonActivexInstall.SeeyonInstall");
1029            var ele = document.getElementById("login_locale");
1030            var locale = ele != null ? ele.value : '';
1031            if( ele == null){
1032                locale = navigator.browserLanguage.replace(/([a-z]{2})(-)*([A-Z|a-z]{2})*/,function($0,$1,$2,$3){
1033                    var s = $1;
1034                    if( '-' == $2){
1035                        s += '_';
1036                        s += $3.toUpperCase();
1037                    }
1038                    return s;
1039                });
1040            }
1041
1042            startProc("请稍候,正在初始化程序...");
1043            var result = obj.Startup(_ctxServer + "/autoinstall/A8", locale + ucUrl, "@videoconf@seeyonRootCA@identificationDog@
1043U8Reg@wizard");
1044            endProc();
1045        } catch (e) {
1046            window.location.href=_ctxServer + '/autoinstall.do?method=regInstallDown64';
1047            /*
1048            getA8Top().alterWin = $.dialog({
1049                htmlId: 'alert',
1050                title: "自动安装",
1051                url: "/seeyon/genericController.do?ViewPage=apps/autoinstall/downLoadIESet",
1052                isClear: false,
1053                width: 420,
1054                height: 200
1055            });
1056            */
1057        }
1058    }
1059    function calSelecterHeight(){
1060    	var topValue = "";
1061        var languageSize = $("#login_locale_dropdown_content a").length;
1062        $("#login_locale_dropdown_content").css("overflowX","hidden");
1063        var languageTop = languageSize*30;
1064    	if(topValue =="21"){
1065    		var languageTopStr= "-"+languageTop+"px";
1066    		$("#login_locale_dropdown_content_iframe").css("top", languageTopStr).css("right", "0");
1067            $("#login_locale_dropdown_content").css("top",languageTopStr).css("right", "0");
1068    	}else{
1069    		var select_h = $("#login_area_div").offset().top +  $("#login_area_div").height() + languageTop;
1070            if (select_h >= $(window).height()) {
1071                $("#login_locale_dropdown_content_iframe").css("top", "-"+ $("#login_locale_dropdown_content").height() + "px").css("right", "0");
1072                $("#login_locale_dropdown_content").css("top","-"+ $("#login_locale_dropdown_content").height() +"px").css("right", "0");
1073            }else{
1074                 $("#login_locale_dropdown_content_iframe").css("top","25px").css("right", "0");
1075                $("#login_locale_dropdown_content").css("top","25px").css("right", "0");
1076            };
1077    	}
1078    }
1079
1080    function checkPwdStrength(){
1081    	var login_validatePwdStrength =4;
1082        var login_password = $("#login_password").val();
1083        if ($.trim(login_password) == "") {
1084        }else{
1085        	login_validatePwdStrength = getPwdStrongForLoginPage(login_password);
1086        	$("#login_validatePwdStrength").val(login_validatePwdStrength);
1087        }
1088        return true;
1089    }
1090    //调整登录框的位置
1091    function adjustLoginPosition(){
1092        var window_h = $(window).height();
1093        var login_h = $("#login_area_div").height();
1094        var login_top = $("#login_area_div").offset().top;
1095        var login_left = $("#login_area_div").offset().left;
1096
1097        if (_layout == "all" || _layout == "center" || _layout=="center_big") {//第一套和第四套布局只判断bottom和left
1098            if (login_left <= 0) {
1099                $("#login_area_div").css({
1100                    "left":"0px",
1101                    "right":"inherit"
1102                });
1103            }
1104            if (window_h - login_top < login_h) {
1105                if(loginFromBol){
1106                    $("#login_area_div").css({
1107                        "bottom":"40px",
1108                        "top":"inherit"
1109                    });
1110                }
1111            }
1112        }else if (_layout == "t_b") {//第二套布局只判断top
1113            if (login_top <= 0) {
1114                $("#login_area_div").css({
1115                    "top":"0px",
1116                    "bottom":"inherit"
1117                });
1118            }
1119        }else if (_layout == "l_r"){//第四套布局只判断left
1120             if (login_left <= 0) {
1121                $("#login_area_div").css({
1122                    "left":"0px",
1123                    "right":"inherit"
1124                });
1125            }
1126        }
1127    }
1128    var pageNum;
1129    function initQRcodeArea() {
1130        pageNum = $("#QrcodeArea").find("ul").length;
1131        if(pageNum > 1) {
1132            $("#prevBtn,#nextBtn").show();
1133            var _tempStr = "";
1134            for (var i = 1; i < pageNum; i++) {
1135                _tempStr += "<span></span>";
1136            }
1137            $("#qrCodeGroupNum").append(_tempStr);
1138        }else{
1139            $("#qrCodeGroupNum").empty();
1140        }
1141    }
1142
1143    //新改造的二维码功能
1144    var currentQRcodePage = 1;
1145    function showPrevQRPage() {
1146        if (currentQRcodePage <= 1) {
1147            return;
1148        }
1149        currentQRcodePage --;
1150        $("#QrcodeArea").find("ul").hide().eq(currentQRcodePage - 1).show();
1151        $("#qrCodeGroupNum").find("span").removeClass("current").eq(currentQRcodePage - 1).addClass("current");
1152    }
1153    function showNextQRPage() {
1154        if (currentQRcodePage >= pageNum) {
1155            return;
1156        }
1157        currentQRcodePage ++;
1158        $("#QrcodeArea").find("ul").hide().eq(currentQRcodePage - 1).show();
1159        $("#qrCodeGroupNum").find("span").removeClass("current").eq(currentQRcodePage - 1).addClass("current");
1160    }
1161
1162    var topWin = getCtpTop();
1163    var isLoginPre = typeof(topWin.vPortal) === "object" && topWin.vPortal.portalType === "3" ? true : false;
1164    var winName = window.name;
1165    var winURL = window.location.href;
1166    var oldPostion = {
1167        "win": {},
1168        "loginPreBtnIframeDiv": {},
1169        "loginSectionDiv": {},
1170        "loginSectionParentDiv": {},
1171        "IframeSectionTempleteDiv": {}
1172    };
1173    var loginPreBtnIframeDiv,wrapperDiv,loginPreBtnIframe,loginBtnCloseDiv,QrMask4LoginPreDiv,loginSectionDiv,IframeSectionTempleteDiv,winH;
1174    var cssIsAppend = false;
1175    var isExportOldTemp;
1176    //显示二维码
1177    function showQrcodeArea() {
1178        //操作css
1179        if(isLoginPre && !cssIsAppend) {
1180            var newCss = topWin.document.createElement('link');
1181            newCss.type = 'text/css';
1182            newCss.rel = 'stylesheet';
1183            newCss.href = "/seeyon/main/login/default/css/login4PrePortal.css?V=V8_0SP2_210804_1603007";
1184            var topWinHead = topWin.document.getElementsByTagName('head')[0];
1185            topWinHead.appendChild(newCss);
1186            cssIsAppend = true;
1187        }
1188        //7.1SP1改造二维码时修改了元素的ID并新增id:loginPreBtnIframeDiv,之前版本导出再导入的模板因ID不一样会报错,用isExportOldTemp来兼容一下,-_-!!!
1189        if (topWin.document.getElementById("loginPreBtnIframeDiv") == null) {  //7.1SP1之前导出的模板
1190            isExportOldTemp = true;
1191            loginPreBtnIframeDiv = topWin.document.querySelector(".loginPreBtnIframe");
1192            loginPreBtnIframe = topWin.document.getElementById("loginPreBtnIframeId");
1193        }else{
1194            loginPreBtnIframeDiv = topWin.document.getElementById("loginPreBtnIframeDiv");
1195            loginPreBtnIframe = topWin.document.getElementById("loginPreBtnIframe");
1196        }
1197        wrapperDiv = topWin.document.getElementById("wrapper");
1198        loginBtnCloseDiv = topWin.document.querySelector(".loginBtnClose");
1199        QrMask4LoginPreDiv = document.getElementById("QrMask4LoginPre");
1200
1201        //如果是栏目用id来取,保证唯一
1202        var ids = window.frameElement && window.frameElement.getAttribute("sectionid");
1203        if(ids){
1204            loginSectionDiv = topWin.document.querySelector("#loginSection_"+ids);
1205            IframeSectionTempleteDiv = topWin.document.querySelector("#IframeSectionTemplete_"+ids).parentNode;
1206        }
1207
1208        winW = $(topWin).width();
1209        winH = $(topWin).height();
1210        //登录前门户-右上角登录按钮,登录前门户-登录栏目,普通登录页,三种情况各自的逻辑处理
1211        if((winName === "loginPreBtnIframe" || winName === "") && winURL.indexOf("loginFrom=loginPortal") > -1){
1212            //登录前门户,右上角登录框弹出的iframe
1213            topWin.$("body").addClass("loginPreBtnIframePage");
1214            oldPostion["loginPreBtnIframeDiv"].top = loginPreBtnIframeDiv.style.top;
1215            oldPostion["loginPreBtnIframeDiv"].right = loginPreBtnIframeDiv.style.right;
1216            oldPostion["loginPreBtnIframeDiv"].width = loginPreBtnIframeDiv.style.width;
1217            oldPostion["loginPreBtnIframeDiv"].height = loginPreBtnIframeDiv.style.height;
1218            loginPreBtnIframeDiv.style.width = "100%";
1219            loginPreBtnIframeDiv.style.height = "100%";
1220            loginPreBtnIframe.style.width = "100%";
1221            loginPreBtnIframe.style.height = winH + "px";
1222            loginBtnCloseDiv.style.display = "none";
1223            QrMask4LoginPreDiv.style.display = "block";
1224            $("#QrcodeArea").show();
1225        }else if(window.name === "IframeSectionTemplete" && winURL.indexOf("loginFrom=loginPortal") > -1){
1226            //登录前门户,登录栏目
1227            oldPostion["loginSectionDiv"].height = loginSectionDiv.offsetHeight;
1228            oldPostion["loginSectionParentDiv"].height = loginSectionDiv.parentNode.offsetHeight;
1229            oldPostion["IframeSectionTempleteDiv"].height = IframeSectionTempleteDiv.offsetHeight;
1230            topWin.$("body").addClass("IframeSectionTemplete");
1231            $(loginSectionDiv).parents(".col").css("zIndex","100");
1232            topWin.document.documentElement.style.overflow = "hidden";
1233            loginSectionDiv.parentNode.style.height = winH + "px";
1234            //最后点击的让他拥有最高的z-index
1235            // loginSectionDiv.style.zIndex = topWin.getMaxZindex();
1236            $(loginSectionDiv).addClass("topmost");
1237            loginSectionDiv.style.height = winH + "px";
1238            IframeSectionTempleteDiv.style.height = winH + "px";
1239            loginBtnCloseDiv.style.display = "none";
1240            QrMask4LoginPreDiv.style.display = "block";
1241            $("#QrcodeArea").show();
1242        }else{
1243            $("#QrcodeArea").fadeIn();
1244        }
1245        //均分显示
1246        var QrLi = $("#QrcodeArea").find(".qrCodeGroup ul:first").find("li:visible");
1247        var QrLen = QrLi.length;
1248        var eachQrW = Math.floor(100/QrLen);
1249        QrLi.each(function(){
1250            $(this).css("width",eachQrW + "%");
1251        });
1252        return false;
1253    }
1254    //隐藏二维码
1255    function hideQrcodeArea(_type) {
1256        if (intervalQrcode) {
1257        	clearInterval(intervalQrcode);
1258        	intervalQrcode = null;
1259        }
1260        if (typeof(xrdLoginInterval)!="undefined") {
1261        	if(xrdLoginInterval){
1262        		clearInterval(xrdLoginInterval);
1263            	xrdLoginInterval = null;
1264        	}
1265        }
1266        if (typeof(xrdRefreshCodeInterval)!="undefined") {
1267        	if(xrdRefreshCodeInterval){
1268        		clearInterval(xrdRefreshCodeInterval);
1269            	xrdRefreshCodeInterval = null;
1270        	}
1271        }
1272        var wrapperDiv = topWin.document.getElementById("wrapper");
1273        var loginBtnCloseDiv = topWin.document.querySelector(".loginBtnClose");
1274        var winH = topWin.innerWidth;
1275        if((winName === "loginPreBtnIframe" || winName === "") && winURL.indexOf("loginFrom=loginPortal") > -1){
1276            //登录前门户,右上角登录框弹出的iframe
1277            topWin.$("body").removeClass("loginPreBtnIframePage");
1278            loginPreBtnIframeDiv.style.top = oldPostion["loginPreBtnIframeDiv"].top;
1279            loginPreBtnIframeDiv.style.right = oldPostion["loginPreBtnIframeDiv"].right;
1280            loginPreBtnIframeDiv.style.width = oldPostion["loginPreBtnIframeDiv"].width;
1281            loginPreBtnIframeDiv.style.height = oldPostion["loginPreBtnIframeDiv"].height;
1282            loginPreBtnIframe.style.width = oldPostion["loginPreBtnIframeDiv"].width;
1283            loginPreBtnIframe.style.height = oldPostion["loginPreBtnIframeDiv"].height;
1284            loginBtnCloseDiv.style.display = "block";
1285            $("#QrcodeArea").hide();
1286        }else if(window.name === "IframeSectionTemplete" && winURL.indexOf("loginFrom=loginPortal") > -1){
1287            //登录前门户,登录栏目
1288            topWin.$("body").removeClass("IframeSectionTemplete");
1289            topWin.document.documentElement.style.overflow = "";
1290            loginSectionDiv.parentNode.style.height = oldPostion["loginSectionParentDiv"].height + "px";
1291            loginSectionDiv.style.height = oldPostion["loginSectionDiv"].height + "px";
1292            $(loginSectionDiv).parents(".col").css("zIndex","");
1293	    //关闭的时候  去掉标识
1294            $(loginSectionDiv).removeClass("topmost");
1295            IframeSectionTempleteDiv.style.height = oldPostion["IframeSectionTempleteDiv"].height + "px";
1296            loginBtnCloseDiv.style.display = "block";
1297            QrMask4LoginPreDiv.style.display = "none";
1298            $("#QrcodeArea").hide();
1299        }else{
1300            $("#QrcodeArea").fadeOut();
1301        }
1302        return false;
1303    }
1304
1305</script>
1305
1306</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.