From 2fe250ece8de95b3f70172fe5b45793ab6a3084a Mon Sep 17 00:00:00 2001
From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139>
Date: 星期五, 18 一月 2019 17:30:50 +0800
Subject: [PATCH] 未审批可更改

---
 gx_tieta/WebRoot/login.jsp |   44 ++++++++++++++------------------------------
 1 files changed, 14 insertions(+), 30 deletions(-)

diff --git a/gx_tieta/WebRoot/login.jsp b/gx_tieta/WebRoot/login.jsp
index 5035c84..68a7e8d 100644
--- a/gx_tieta/WebRoot/login.jsp
+++ b/gx_tieta/WebRoot/login.jsp
@@ -139,35 +139,12 @@
             
             initDBpool();
             
-            // 閰嶇疆鎷栧姩楠岃瘉鍥惧儚
-            $('#lVerify').slideVerify({
-				type : 2,   //绫诲瀷
-				vOffset : 5,  //璇樊閲忥紝鏍规嵁闇�姹傝嚜琛岃皟鏁�
-				vSpace : 5, //闂撮殧
-				imgName : ['1.jpg', '2.jpg'],
-				imgSize : {
-					width: '498px',
-					height: '250px',
-				},
-				blockSize : {
-					width: '40px',
-					height: '40px',
-				},
-				barSize : {
-					width : '498px',
-					height : '40px',
-				},
-    			ready : function() {
-    				
-    			},
-				success : function() {
-					$('#lVerify-dialog').addClass('hdw-dialog-hide');	// 闅愯棌楠岃瘉
-					checkuser();	// 楠岃瘉鐢ㄦ埛
-				},
-				error : function() {
-					// alert('楠岃瘉澶辫触锛�');
-				}
-			});
+            // 鐐瑰嚮绌虹櫧鍖哄煙鍏抽棴楠岃瘉
+            $('#lVerify-dialog .hdw-dialog-bg').click(function() {
+            	$('#sub').children('.faa-spin').css('visibility', 'hidden');
+				$('#sub').removeClass('page-loading');
+            	$('#lVerify-dialog').addClass('hdw-dialog-hide');
+            });
         });
         
         // 鍒濆鍖杤erify鎷栧姩楠岃瘉
@@ -179,7 +156,7 @@
 				type : 2,   //绫诲瀷
 				vOffset : 5,  //璇樊閲忥紝鏍规嵁闇�姹傝嚜琛岃皟鏁�
 				vSpace : 5, //闂撮殧
-				imgName : ['1.jpg', '2.jpg'],
+				imgName : ['verify.png'],
 				imgSize : {
 					width: '498px',
 					height: '250px',
@@ -351,6 +328,13 @@
 				}
 			});
 		}
+		
+		//鎷︽埅瀹夊崜鍥為��鎸夐挳
+        history.pushState(null, null, location.href);
+        window.addEventListener('popstate', function(event) {
+            history.pushState(null, null, location.href );
+            //姝ゅ鍔犲叆鍥為��鏃朵綘瑕佹墽琛岀殑浠g爜
+        });
     </script>
 </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1