Browse Source

鑫苑登录页

miaofuhao 7 years ago
parent
commit
6f2b80cbb0

+ 93 - 264
CallCenterWeb.UI/css/login.css

@@ -1,304 +1,133 @@
1 1
 html {
2 2
 	height: 100%;
3 3
 }
4
-.signin{
4
+.fl{
5
+	float: left;
6
+}
7
+.login{
5 8
 	width: 100%;
6 9
 	position: relative;
7 10
 	height: 100%;
8 11
 }
9
-.signin_bg {
10
-	/*position: absolute;
11
-	left: 0;
12
-	top: 0;*/
13
-
14
-}
15
-.signin .col-md-5{
16
-	width: 50%;
12
+._success{
13
+    border-color: #c91e32!important;
17 14
 }
18
-.signin_bg .signin_bg_left{
15
+.login_bg{
19 16
 	position: absolute;
20 17
 	left: 0;
21 18
 	top: 0;
22
-	background: url(../img/login_bg.png) no-repeat left top;
19
+	background: url(../img/Background.jpg) no-repeat center top;
23 20
 	background-size: 100% 100%;
24
-	height: 100%;	
21
+	width: 100%;
22
+	height: 100%;
23
+	z-index: 0;	
25 24
 }
26
-.signin_bg_mask{
25
+/*登陆*/
26
+.login_center{
27 27
 	position: absolute;
28 28
 	left: 0;
29 29
 	top: 0;
30
-	width: 50%;
31
-	/*background-color: rgba(0,0,0,.5);*/
32
-	height: 100%;	
33
-}
34
-
35
-.signin_left {
36
-	color: #fff;
37
-}
38
-.signin_left i{
39
-	display: inline-block;
40
-	width: 50px;
41
-	height: 36px;
42
-	vertical-align: middle;
43
-	background: url(../img/login_logo.png) left top no-repeat;
44
-}
45
-.signin_left h2{
46
-	font-size: 30px;
47
-	font-family: '黑体';
48
-	margin-top: 15%;
49
-	margin-bottom: 0;
50
-}
51
-.signin_left h2 + p,.left_word>div h2 + p{
52
-	margin-top: 22.163%;
53
-	margin-bottom: 22.163%;
54
-	font-size: 18px;
55
-}
56
-.signin_left h3,.left_word>div h3{
57
-	font-size: 24px;
58
-	color: #006967;
59
-	margin-bottom: 2.5%;
60
-}
61
-.signin_left h3 + p,.left_word>div h3 + p{
62
-	line-height: 30px;
63
-	font-size: 18px;
64
-	color: #fff;
65
-}
66
-
67
-.signin_right{
68
-	width: 100%;
69
-}
70
-.signin_right .signin_panel{
71
-	float: right;
30
+	right: 0;
31
+	bottom: 0;
72 32
 	text-align: center;
73
-	margin-top: 27.21%;
74
-	width: 65%;
75
-}
76
-.signin_right .signin_panel h1{
77
-	font-size: 24px;
78
-	font-family: '华文仿宋';
79
-	margin: 0 0 19.46% 0;
80
-	font-weight: 600;
81
-}
82
-.signin_panel .signin_user,
83
-.signin_panel .signin_password,
84
-.signin_panel .signin_seat{
85
-	margin-bottom: 11px;
86
-	position: relative;
33
+	margin: auto;
34
+	width: 840px;
35
+	height: 520px;
36
+	background: url(../img/login_center.png) no-repeat center top;
37
+	background-size: 100% 100%;
87 38
 }
88
-.signin_icons{
39
+.login_center .title_img{
40
+	width: 190px;
41
+	height: 25px;
89 42
 	position: absolute;
90
-	left: 13.5px;
91
-	top: 11.5px;
92
-	width: 17px;
93
-	height: 17px;
94
-	display: inline-block;
95
-	background: url(../img/signin_icon.png) left top no-repeat;
96
-}
97
-.signin_password .signin_icons{
98
-	background-position: 0 -30px;
99
-}
100
-.signin_seat .signin_icons{
101
-	background-position: 0 -16px;
102
-	height: 15px;
103
-}
104
-.signin_panel .form-control{
105
-	padding-left: 44px;
106
-	height: 40px;
107
-	line-height: 40px;
108
-	font-size: 16px;
109
-	color: #000;
43
+	right: 110px;
44
+	top: 75px;
110 45
 }
46
+.login_center .title_img img{
47
+	width: 100%;
111 48
 
112
-.singin_rpassword{
113
-	margin-top: 4px;
114
-	margin-top: 7px;
115
-}
116
-.rpassword {
117
-	float: left;
118
-}
119
-.rpassword input[type="checkbox"]{
120
-    appearance: none;
121
-    -webkit-appearance: none;
122
-    outline: none;
123
-    display:none;
124
-}
125
-.rpassword .checkbox_icon{
126
-    width: 16px;
127
-    height: 16px;
128
-    display: inline-block;
129
-    background: url("../img/checkbox.png")  no-repeat;
130
-    background-position:0 0;
131
-    vertical-align: sub;
132
-   	border: 1px solid #5c616b;
133
-   	cursor: pointer;
134
-}
135
-.rpassword input[type="checkbox"]:checked + .checkbox_icon{
136
-    background-position:0 -14px;
137
-}
138
-.rpassword label{
139
-    color: #5c616b;
140
-    font-size: 14px;
141
-    font-family: '宋体';
142
-    font-weight: normal;
143
-    line-height: 14px;
144
-    height: 14px;
145
-  	cursor: pointer;
146 49
 }
147
-.fpassword{
148
-    float: right;
149
-}
150
-.fpassword a{
151
-    color: #5c616b;
152
-    text-decoration: none;
153
-    font-size: 14px;
154
-    font-family: '宋体';
155
-}
156
-
157
-
158
-.ts{
50
+.login_text{
159 51
 	position: absolute;
160
-	right: 12.5px;
161
-	top: 12.5px;
162
-    height: 15px!important;
52
+	left: 503px;
53
+	top: 153px;
163 54
 }
164
-
165
-.Yz_error{
166
-    width: 15px;
167
-    background: url("../img/yz.png") no-repeat 0 -15px;
168
-}
169
-.Yz_success{
170
-    width: 20px;
171
-    background: url("../img/yz.png") no-repeat 0 0;
172
-}
173
-
174
-
175
-.btns{
176
-    width: 100%;
177
-    background-color: #67d1fe;
178
-    color: #fff;
179
-    height: 40px;
180
-    line-height: 40px;
181
-    text-align: center;
182
-    border: 0;
183
-    outline: none;
184
-    border-radius: 40px;
185
-    cursor: pointer;
186
-    margin-top: 40px;
187
-    margin-bottom: 12px;
188
-    font-size: 16px;
189
-    letter-spacing: 6px;
55
+.login_text ul{
56
+	margin: 0;
57
+	padding: 0;
190 58
 }
191
-.btns:hover{
192
-    background-color: #23b2ef;
59
+.login_text ul li{
60
+	height: 36px;
61
+	line-height: 36px;
62
+	overflow: hidden;
63
+	margin: 0;
64
+	margin-bottom: 24px;
65
+	padding: 0;
66
+	list-style: none;
67
+	
193 68
 }
194
-
195
-
196
-.fregister{
197
-	font-size: 13px;
198
-	font-family: '宋体';
69
+.login_text ul li input{
70
+	width: 190px;
71
+	height: 36px;
72
+	line-height: 36px;
73
+	background: #d1eef6;
74
+	border: none;
75
+	outline: none;
76
+	padding-left: 10px;
199 77
 }
200
-.fregister span{
201
-    color: #5c616b;
78
+.login_text ul li .flbox{
79
+	width: 80px;
80
+	font-weight: bold;
202 81
 }
203
-.fregister a{
204
-    color: #1582b4;
82
+.login_text .alert_box{
83
+	position: absolute;
84
+	width: 200px;
85
+	height: 14px;
86
+	line-height: 14px;
87
+	text-align: left;
88
+	top: 170px;
89
+	left: 80px;
90
+	font-size: 12px;
91
+	color: #e82d2d;
92
+	overflow: hidden;
93
+	display: none;
94
+}
95
+.login_text .alert_iocn{
96
+	width: 14px;
97
+	height: 14px;
98
+	display: block;
99
+	background: url(../img/alert.png) left top no-repeat;
100
+	background-size: 100% 100%;
101
+	float: left;
205 102
 }
206
-
207
-.signfooter {
208
-   margin-top: 60%;
103
+.login_text .alert_box span{
104
+	display: block;
105
+	float: left;
106
+	margin-left: 5px;
209 107
 }
210
-
211
-.signfooter p{
212
-    height: 14px;
213
-    color: #a1a1a1;
214
-    line-height: 14px;
215
-    margin-bottom: 0;
216
-    font-family: 'Calibri';
108
+.login_text button{
109
+	width: 280px;
110
+	height: 40px;
111
+	-moz-border-radius: 5px; /* Firefox */
112
+  	-webkit-border-radius: 5px; /* Safari 和 Chrome */
113
+  	border-radius: 5px; /* Opera 10.5+, 以及使用了IE-CSS3的IE浏览器 */
114
+  	line-height: 40px;
115
+  	text-align: center;
116
+  	color: #FFFFFF;
117
+  	background: #18abd1;
118
+  	font-size: 20px;
119
+  	margin: 0;
120
+  	padding: 0;
121
+  	margin-top: 40px;
122
+  	border: none;
123
+  	outline: none;
217 124
 }
218 125
 
219
-._success{
220
-    border-color: #c91e32!important;
221
-}
222 126
 
223
-._fail{
224
-    border-color: red!important;
225
-}
226 127
 
227 128
 
228 129
 
229 130
 
230
-input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
231
-   font-family: '华文仿宋';
232
-   color: #999999;
233
-}
234
-input:-moz-placeholder, textarea:-moz-placeholder {
235
-   font-family: '华文仿宋';
236
-   color: #999999;
237
-}
238
-input::-moz-placeholder, textarea::-moz-placeholder {
239
-   font-family: '华文仿宋';
240
-   color: #999999;
241
-}
242
-input:-ms-input-placeholder, textarea:-ms-input-placeholder {
243
-   font-family: '华文仿宋';
244
-   color: #999999;
245
-}
246 131
 
247 132
 
248 133
 
249
-@media only screen and (max-width: 1920px) {
250
-	
251
-}
252
-@media only screen and (max-width: 1366px) {
253
-	body.signin{
254
-		height: 100%;
255
-	}
256
-	div.signfooter{
257
-		margin-top: 20%;
258
-	}
259
-}
260
-@media only screen and (max-width: 1200px) {
261
-	
262
-}
263
-@media only screen and (max-width: 992px) {
264
-	body.signin .col-md-5 {
265
-    	width: 100%;
266
-	}
267
-	div.signin_bg_mask {
268
-    	width: 100%;
269
-	}
270
-	div.signin_left{
271
-		display: none;
272
-	}
273
-	div.left_word{
274
-		display: none;
275
-	}
276
-	div.signin_right .signin_panel {
277
-	    margin: 10% auto 0 auto;
278
-	    float: none;
279
-	    color: #fff;
280
-    }
281
-    .rpassword label,.fpassword a,div.fregister span,div.signfooter p{
282
-    	color: #fff;
283
-    }
284
-    div.signfooter{
285
-		margin-top: 20%;
286
-	}
287
-}
288
-@media only screen and (max-width: 768px) {
289
-	div.signin .col-md-5 {
290
-    	width: 100%;
291
-	}
292
-	div.signin_bg_mask {
293
-    	width: 100%;
294
-	}
295
-	div.signin_left{
296
-		display: none;
297
-	}
298
-	div.signin_right .signin_panel {
299
-	    margin-top: 10%;
300
-    }
301
-    div.signfooter{
302
-		margin-top: 20%;
303
-	}
304
-}

+ 304 - 0
CallCenterWeb.UI/css/login_old.css

@@ -0,0 +1,304 @@
1
+html {
2
+	height: 100%;
3
+}
4
+.signin{
5
+	width: 100%;
6
+	position: relative;
7
+	height: 100%;
8
+}
9
+.signin_bg {
10
+	/*position: absolute;
11
+	left: 0;
12
+	top: 0;*/
13
+
14
+}
15
+.signin .col-md-5{
16
+	width: 50%;
17
+}
18
+.signin_bg .signin_bg_left{
19
+	position: absolute;
20
+	left: 0;
21
+	top: 0;
22
+	background: url(../img/login_bg.png) no-repeat left top;
23
+	background-size: 100% 100%;
24
+	height: 100%;	
25
+}
26
+.signin_bg_mask{
27
+	position: absolute;
28
+	left: 0;
29
+	top: 0;
30
+	width: 50%;
31
+	/*background-color: rgba(0,0,0,.5);*/
32
+	height: 100%;	
33
+}
34
+
35
+.signin_left {
36
+	color: #fff;
37
+}
38
+.signin_left i{
39
+	display: inline-block;
40
+	width: 50px;
41
+	height: 36px;
42
+	vertical-align: middle;
43
+	background: url(../img/login_logo.png) left top no-repeat;
44
+}
45
+.signin_left h2{
46
+	font-size: 30px;
47
+	font-family: '黑体';
48
+	margin-top: 15%;
49
+	margin-bottom: 0;
50
+}
51
+.signin_left h2 + p,.left_word>div h2 + p{
52
+	margin-top: 22.163%;
53
+	margin-bottom: 22.163%;
54
+	font-size: 18px;
55
+}
56
+.signin_left h3,.left_word>div h3{
57
+	font-size: 24px;
58
+	color: #006967;
59
+	margin-bottom: 2.5%;
60
+}
61
+.signin_left h3 + p,.left_word>div h3 + p{
62
+	line-height: 30px;
63
+	font-size: 18px;
64
+	color: #fff;
65
+}
66
+
67
+.signin_right{
68
+	width: 100%;
69
+}
70
+.signin_right .signin_panel{
71
+	float: right;
72
+	text-align: center;
73
+	margin-top: 27.21%;
74
+	width: 65%;
75
+}
76
+.signin_right .signin_panel h1{
77
+	font-size: 24px;
78
+	font-family: '华文仿宋';
79
+	margin: 0 0 19.46% 0;
80
+	font-weight: 600;
81
+}
82
+.signin_panel .signin_user,
83
+.signin_panel .signin_password,
84
+.signin_panel .signin_seat{
85
+	margin-bottom: 11px;
86
+	position: relative;
87
+}
88
+.signin_icons{
89
+	position: absolute;
90
+	left: 13.5px;
91
+	top: 11.5px;
92
+	width: 17px;
93
+	height: 17px;
94
+	display: inline-block;
95
+	background: url(../img/signin_icon.png) left top no-repeat;
96
+}
97
+.signin_password .signin_icons{
98
+	background-position: 0 -30px;
99
+}
100
+.signin_seat .signin_icons{
101
+	background-position: 0 -16px;
102
+	height: 15px;
103
+}
104
+.signin_panel .form-control{
105
+	padding-left: 44px;
106
+	height: 40px;
107
+	line-height: 40px;
108
+	font-size: 16px;
109
+	color: #000;
110
+}
111
+
112
+.singin_rpassword{
113
+	margin-top: 4px;
114
+	margin-top: 7px;
115
+}
116
+.rpassword {
117
+	float: left;
118
+}
119
+.rpassword input[type="checkbox"]{
120
+    appearance: none;
121
+    -webkit-appearance: none;
122
+    outline: none;
123
+    display:none;
124
+}
125
+.rpassword .checkbox_icon{
126
+    width: 16px;
127
+    height: 16px;
128
+    display: inline-block;
129
+    background: url("../img/checkbox.png")  no-repeat;
130
+    background-position:0 0;
131
+    vertical-align: sub;
132
+   	border: 1px solid #5c616b;
133
+   	cursor: pointer;
134
+}
135
+.rpassword input[type="checkbox"]:checked + .checkbox_icon{
136
+    background-position:0 -14px;
137
+}
138
+.rpassword label{
139
+    color: #5c616b;
140
+    font-size: 14px;
141
+    font-family: '宋体';
142
+    font-weight: normal;
143
+    line-height: 14px;
144
+    height: 14px;
145
+  	cursor: pointer;
146
+}
147
+.fpassword{
148
+    float: right;
149
+}
150
+.fpassword a{
151
+    color: #5c616b;
152
+    text-decoration: none;
153
+    font-size: 14px;
154
+    font-family: '宋体';
155
+}
156
+
157
+
158
+.ts{
159
+	position: absolute;
160
+	right: 12.5px;
161
+	top: 12.5px;
162
+    height: 15px!important;
163
+}
164
+
165
+.Yz_error{
166
+    width: 15px;
167
+    background: url("../img/yz.png") no-repeat 0 -15px;
168
+}
169
+.Yz_success{
170
+    width: 20px;
171
+    background: url("../img/yz.png") no-repeat 0 0;
172
+}
173
+
174
+
175
+.btns{
176
+    width: 100%;
177
+    background-color: #67d1fe;
178
+    color: #fff;
179
+    height: 40px;
180
+    line-height: 40px;
181
+    text-align: center;
182
+    border: 0;
183
+    outline: none;
184
+    border-radius: 40px;
185
+    cursor: pointer;
186
+    margin-top: 40px;
187
+    margin-bottom: 12px;
188
+    font-size: 16px;
189
+    letter-spacing: 6px;
190
+}
191
+.btns:hover{
192
+    background-color: #23b2ef;
193
+}
194
+
195
+
196
+.fregister{
197
+	font-size: 13px;
198
+	font-family: '宋体';
199
+}
200
+.fregister span{
201
+    color: #5c616b;
202
+}
203
+.fregister a{
204
+    color: #1582b4;
205
+}
206
+
207
+.signfooter {
208
+   margin-top: 60%;
209
+}
210
+
211
+.signfooter p{
212
+    height: 14px;
213
+    color: #a1a1a1;
214
+    line-height: 14px;
215
+    margin-bottom: 0;
216
+    font-family: 'Calibri';
217
+}
218
+
219
+._success{
220
+    border-color: #c91e32!important;
221
+}
222
+
223
+._fail{
224
+    border-color: red!important;
225
+}
226
+
227
+
228
+
229
+
230
+input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
231
+   font-family: '华文仿宋';
232
+   color: #999999;
233
+}
234
+input:-moz-placeholder, textarea:-moz-placeholder {
235
+   font-family: '华文仿宋';
236
+   color: #999999;
237
+}
238
+input::-moz-placeholder, textarea::-moz-placeholder {
239
+   font-family: '华文仿宋';
240
+   color: #999999;
241
+}
242
+input:-ms-input-placeholder, textarea:-ms-input-placeholder {
243
+   font-family: '华文仿宋';
244
+   color: #999999;
245
+}
246
+
247
+
248
+
249
+@media only screen and (max-width: 1920px) {
250
+	
251
+}
252
+@media only screen and (max-width: 1366px) {
253
+	body.signin{
254
+		height: 100%;
255
+	}
256
+	div.signfooter{
257
+		margin-top: 20%;
258
+	}
259
+}
260
+@media only screen and (max-width: 1200px) {
261
+	
262
+}
263
+@media only screen and (max-width: 992px) {
264
+	body.signin .col-md-5 {
265
+    	width: 100%;
266
+	}
267
+	div.signin_bg_mask {
268
+    	width: 100%;
269
+	}
270
+	div.signin_left{
271
+		display: none;
272
+	}
273
+	div.left_word{
274
+		display: none;
275
+	}
276
+	div.signin_right .signin_panel {
277
+	    margin: 10% auto 0 auto;
278
+	    float: none;
279
+	    color: #fff;
280
+    }
281
+    .rpassword label,.fpassword a,div.fregister span,div.signfooter p{
282
+    	color: #fff;
283
+    }
284
+    div.signfooter{
285
+		margin-top: 20%;
286
+	}
287
+}
288
+@media only screen and (max-width: 768px) {
289
+	div.signin .col-md-5 {
290
+    	width: 100%;
291
+	}
292
+	div.signin_bg_mask {
293
+    	width: 100%;
294
+	}
295
+	div.signin_left{
296
+		display: none;
297
+	}
298
+	div.signin_right .signin_panel {
299
+	    margin-top: 10%;
300
+    }
301
+    div.signfooter{
302
+		margin-top: 20%;
303
+	}
304
+}

BIN
CallCenterWeb.UI/img/Background.jpg


BIN
CallCenterWeb.UI/img/alert.png


BIN
CallCenterWeb.UI/img/bj.jpg


BIN
CallCenterWeb.UI/img/bj_.png


BIN
CallCenterWeb.UI/img/login_bg.png


BIN
CallCenterWeb.UI/img/login_center.png


BIN
CallCenterWeb.UI/img/login_title.png


+ 66 - 117
CallCenterWeb.UI/login.html

@@ -11,115 +11,46 @@
11 11
     <script src="Script/Common/huayi.load.js"></script>
12 12
     <script src="Script/Common/huayi.config.js"></script>
13 13
     <link href="./css/login.css" rel="stylesheet">
14
-    <!--[if lt IE 9]>
15
-    <meta http-equiv="refresh" content="0;ie.html" />
16
-    <![endif]-->
17
-    <style>
18
-    	.signin_left{
19
-    		position: relative;
20
-    	}
21
-    	.left_word{
22
-    		position: absolute;
23
-    		height: 100%;
24
-    		width: 50%;
25
-    	}
26
-    	.left_word>div{
27
-    		    position: absolute;
28
-			    right: 0;
29
-			    bottom: 23%
30
-    	}
31
-    	
32
-    	.left_word>div h2 + p{
33
-			margin-top: 22.163%;
34
-			margin-bottom: 22.163%;
35
-			font-size: 18px;
36
-		}
37
-		.signin_left h3{
38
-			font-size: 24px;
39
-			color: #006967;
40
-			margin-bottom: 2.5%;
41
-		}
42
-		.signin_left h3 + p{
43
-			line-height: 30px;
44
-			font-size: 18px;
45
-		}
46
-    	
47
-    </style>
48
-    
49
-    
50 14
 </head>
51 15
 
52
-<body class="signin">
53
-    <div class="signin_bg row">
54
-        <div class="signin_bg_left col-md-5"></div>
55
-        <div class="signin_bg_mask"></div>
56
-           <div class="left_word">
57
-           	<div>
58
-           		  	 <h3>用心做,更出色</h3>
59
-                <p>致力于临床实验技术的普通和提高,为人类健康服务</p>
60
-           	</div>
61
-              
62
-                </div>
63
-    </div>
64
-    <div class="container">
65
-        <div class="row clearfix">
66
-            <div class="signin_left col-md-5">
67
-               <!--<h2>
68
-                   <i></i>
69
-                    <span>全客服平台</span>
70
-                </h2>-->
71
-                <!--<p>欢迎您进入全客服平台,开启智慧客服新篇章!</p>-->
72
-                <!--<div class="left_word">
73
-                	 <h3>用心做,更出色</h3>
74
-                <p>致力于临床实验技术的普通和提高,为人类健康服务</p>
75
-                </div>-->
76
-               
77
-            </div>
78
-            <div class="signin_right col-md-5">
79
-                <div class="signin_panel">
80
-                    <h1>安图生物登录平台</h1>
81
-                    <div class="signin_user">
82
-                        <i class="signin_icons"></i>
83
-                        <input class="form-control" type="text" placeholder="请输入您的管理账号" id="user" autofocus autocomplete="off">
84
-                        <i class="ts user_ts"></i>
85
-                    </div>
86
-                    <div class="signin_seat">
87
-                        <i class="signin_icons"></i>
88
-                        <input class="form-control" type="text" placeholder="请输入分机号" id="userSeat" autocomplete="off">
89
-                    </div>
90
-                    <div class="signin_password">
91
-                        <i class="signin_icons"></i>
92
-                        <input class="form-control" type="password" placeholder="请输入您的密码" id="password" autocomplete="off">
93
-                        <i class="ts password_ts"></i>
94
-                    </div>
95
-
96
-                    <div class="clearfix singin_rpassword">
97
-                        <div class="rpassword">
98
-                            <label for="rpassword">
99
-                                <input type="checkbox" id="rpassword">
100
-                                <span class="checkbox_icon"></span>
101
-                                记住密码
102
-                            </label>
103
-                        </div>
104
-                        <!--<div class="fpassword">
105
-                            <a href="#" title="忘记密码">忘记秘密?</a>
106
-                        </div>-->
107
-                    </div>
108
-                    <div class="btns" type="button">登录</div>
109
-                    <!--<div class="fregister">
110
-                        <span>还没有账号?</span>
111
-                        <a href="#" title="立即注册">立即注册&gt;&gt;</a>
112
-                    </div>-->
113
-                    <div class="signfooter">
114
-                        <p>COPYRIGHT 2011-2025 AMT</p>
115
-                    </div>
116
-                </div>
117
-
118
-            </div>
119
-        </div>
120
-    </div>
121
-    <script>
122
-        $(function () {
16
+<body>
17
+	<div class="login">
18
+		<!--背景图片-->
19
+		<div class="login_bg"></div>
20
+		<!--登陆部分-->
21
+		<div class="login_center">
22
+			<div class="title_img"><img src="img/login_title.png"/></div>
23
+			<div class="login_text" id="signin">
24
+				<ul>
25
+					<li>
26
+						<div class="fl flbox">用户账号</div>
27
+						<div class="fl"><input type="" name="" id="user" value="" placeholder="请输入您的管理账号"/></div>
28
+					</li>
29
+					<li>
30
+						<div class="fl flbox">分机号</div>
31
+						<div class="fl"><input type="" name="" id="userSeat" value="" placeholder="请输入分机号"/></div>
32
+					</li>
33
+					<li>
34
+						<div class="fl flbox">用户密码</div>
35
+						<div class="fl">
36
+							<input type="password" placeholder="请输入您的密码" name="" id="password" value="" />
37
+							
38
+						</div>
39
+						
40
+					</li>
41
+				</ul>
42
+				<div class="alert_box">
43
+					<i class="alert_iocn"></i>
44
+					<span class="">
45
+						账号密码不能为空
46
+					</span>
47
+				</div>
48
+				<button class="btns">登陆</button>
49
+			</div>
50
+		</div>
51
+	</div>
52
+	<script>
53
+		$(function () {
123 54
             /*输入框样式改变*/
124 55
             $("#user").focus(function () {
125 56
                 $(this).parent().addClass("_success");
@@ -133,7 +64,8 @@
133 64
             $("#password").blur(function () {
134 65
                 $(this).parent().removeClass("_success");
135 66
             });
136
-
67
+            /*输入框绑定验证*/
68
+//			$('#signin').find("input[class='form-control']").on('focus input propertychange', valideInput);
137 69
             /*cook存储数据*/
138 70
             if ($.cookie("username")) {
139 71
                 //取值如果存在则赋值
@@ -157,15 +89,12 @@
157 89
             var Password = $("#password").val();
158 90
             var userSeat = $("#userSeat").val();
159 91
             /*保存COOK*/
160
-            //$.cookie("user", $("#user").val(),{expires: 7,secure:true});
161 92
             /*表单验证*/
162 93
             if (User == "" || Password == "") {
163
-                $(".ts").addClass("Yz_error");
94
+                $(".alert_box").show();
164 95
                 if ($("#user").val() == "") {
165 96
                     $("#user").focus(function () {
166
-                        $(".user_ts").removeClass("Yz_error");
167
-                        $(".password_ts").removeClass("Yz_error");
168
-                        $(this).parent().addClass("_success");
97
+                       $(".alert_box").hide();
169 98
                     });
170 99
                 } else {
171 100
                     $(".user_ts").addClass("Yz_success");
@@ -177,12 +106,17 @@
177 106
                     url: huayi.config.callcenter_url + "/Login/login",
178 107
                     dataType: 'json',
179 108
                     async: true,
109
+                    beforeSend: function() { //触发ajax请求开始时执行
110
+						$('.btns').text('登录中...');
111
+						loadIndex = layer.load();
112
+					},
180 113
                     data: {
181 114
                         username: User,
182 115
                         extensionphone: userSeat,
183 116
                         password: Password
184 117
                     },
185 118
                     success: function (data) {
119
+                    	layer.close(loadIndex);
186 120
                         /*验证请求*/
187 121
                         if (data.state == "success") {
188 122
                             $.cookie("token", data.data.token, { expires: 7 });
@@ -194,12 +128,27 @@
194 128
                             $("#userSeat").val('');
195 129
                             $("#password").val('');
196 130
                         }
197
-                    }
131
+                    },
132
+                    error: function(textStatus) {
133
+						layer.close(loadIndex);
134
+						$('.btns').text('登录');
135
+					},
136
+					complete: function(XMLHttpRequest, textStatus) {
137
+						layer.close(loadIndex);
138
+						if(textStatus == 'timeout') {
139
+							var xmlhttp = window.XMLHttpRequest ? new window.XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHttp");
140
+							xmlhttp.abort();
141
+							layer.confirm('网络超时,请稍后再试...', {
142
+								closeBtn: 0,
143
+								btn: ['确定'] //按钮
144
+							});    
145
+						}
146
+						$('.btns').text('登录');
147
+					},
198 148
                 });
199 149
             }
200 150
         }
201
-
202
-
203
-    </script>
151
+        
152
+	</script>
204 153
 </body>
205 154
 </html>

+ 196 - 148
CallCenterWeb.UI/login_old.html

@@ -1,157 +1,205 @@
1
-<!DOCTYPE html>
1
+<!DOCTYPE html>
2 2
 <html lang="en">
3
+<head>
4
+    <meta charset="utf-8">
5
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
6
+    <title>登录</title>
7
+    <meta name="keywords">
8
+    <meta name="description">
9
+    <meta name="renderer" content="webkit|ie-comp|ie-stand" />
10
+    <link rel="shortcut icon" href="img/32.ico" />
11
+    <script src="Script/Common/huayi.load.js"></script>
12
+    <script src="Script/Common/huayi.config.js"></script>
13
+    <link href="./css/login_old.css" rel="stylesheet">
14
+    <!--[if lt IE 9]>
15
+    <meta http-equiv="refresh" content="0;ie.html" />
16
+    <![endif]-->
17
+    <style>
18
+    	.signin_left{
19
+    		position: relative;
20
+    	}
21
+    	.left_word{
22
+    		position: absolute;
23
+    		height: 100%;
24
+    		width: 50%;
25
+    	}
26
+    	.left_word>div{
27
+    		    position: absolute;
28
+			    right: 0;
29
+			    bottom: 23%
30
+    	}
31
+    	
32
+    	.left_word>div h2 + p{
33
+			margin-top: 22.163%;
34
+			margin-bottom: 22.163%;
35
+			font-size: 18px;
36
+		}
37
+		.signin_left h3{
38
+			font-size: 24px;
39
+			color: #006967;
40
+			margin-bottom: 2.5%;
41
+		}
42
+		.signin_left h3 + p{
43
+			line-height: 30px;
44
+			font-size: 18px;
45
+		}
46
+    	
47
+    </style>
48
+    
49
+    
50
+</head>
3 51
 
4
-	<head>
5
-		<meta charset="utf-8">
6
-		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
7
-		<title>登录</title>
8
-		<meta name="keywords">
9
-		<meta name="description">
10
-		<meta name="renderer" content="webkit|ie-comp|ie-stand" />
11
-		<link rel="shortcut icon" href="img/32.ico" />
12
-		<link href="./css/bootstrap.min.css" rel="stylesheet">
13
-		<link href="./css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
14
-		<link href="./css/animate.min.css" rel="stylesheet">
15
-		<link href="./css/style.min.css" rel="stylesheet">
16
-		<link href="./css/login.min.css" rel="stylesheet">
17
-		<script src="./js/jquery.min.js?v=2.1.4"></script>
18
-		<script src="./js/jquery.cookie.js"></script>
19
-		<script src="Script/Common/huayi.load.js"></script>
20
-		<script src="Script/Common/huayi.config.js"></script>
21
-	</head>
22
-	<body class="signin">
23
-		<div class="signinpanel">
52
+<body class="signin">
53
+    <div class="signin_bg row">
54
+        <div class="signin_bg_left col-md-5"></div>
55
+        <div class="signin_bg_mask"></div>
56
+           <div class="left_word">
57
+           	<div>
58
+           		  	 <h3>用心做,更出色</h3>
59
+                <p>致力于临床实验技术的普通和提高,为人类健康服务</p>
60
+           	</div>
61
+              
62
+                </div>
63
+    </div>
64
+    <div class="container">
65
+        <div class="row clearfix">
66
+            <div class="signin_left col-md-5">
67
+               <!--<h2>
68
+                   <i></i>
69
+                    <span>全客服平台</span>
70
+                </h2>-->
71
+                <!--<p>欢迎您进入全客服平台,开启智慧客服新篇章!</p>-->
72
+                <!--<div class="left_word">
73
+                	 <h3>用心做,更出色</h3>
74
+                <p>致力于临床实验技术的普通和提高,为人类健康服务</p>
75
+                </div>-->
76
+               
77
+            </div>
78
+            <div class="signin_right col-md-5">
79
+                <div class="signin_panel">
80
+                    <h1>安图生物登录平台</h1>
81
+                    <div class="signin_user">
82
+                        <i class="signin_icons"></i>
83
+                        <input class="form-control" type="text" placeholder="请输入您的管理账号" id="user" autofocus autocomplete="off">
84
+                        <i class="ts user_ts"></i>
85
+                    </div>
86
+                    <div class="signin_seat">
87
+                        <i class="signin_icons"></i>
88
+                        <input class="form-control" type="text" placeholder="请输入分机号" id="userSeat" autocomplete="off">
89
+                    </div>
90
+                    <div class="signin_password">
91
+                        <i class="signin_icons"></i>
92
+                        <input class="form-control" type="password" placeholder="请输入您的密码" id="password" autocomplete="off">
93
+                        <i class="ts password_ts"></i>
94
+                    </div>
24 95
 
25
-			<div class="d_left" style="width: 55%;">
26
-				<div class="lg_boxs"> <img src="./img/lg.png" alt="" /></div>
27
-			</div>
28
-			<div class=" d_right" style="width: 45%;">
29
-				<form class="dl_form" method="get">
30
-					<div class="hj_box"> <img class=" hj" src="./img/hj.png" alt="" /></div>
31
-					<div class="user iut">
32
-						<i class="i1 us"></i>
33
-						<input type="text" placeholder="请输入管理账号" id="user">
34
-						<i class="ts user_ts"></i>
35
-					</div>
36
-					<div class="fj iut">
37
-						<i class="i1 yz"></i>
38
-						<input type="text" placeholder="请输入分机号" id="fj">
39
-						<i class="ts fj_ts"></i>
40
-					</div>
41
-					<div class="password iut">
42
-						<i class="i1 ps"></i>
43
-						<input type="password" placeholder="请输入密码" id="password">
44
-						<i class="ts password_ts"></i>
45
-					</div>
46
-					<div class="b_box">
47
-						<div class="btns" type="button">登录</div>
48
-					</div>
49
-					<h3 class="t_bootm">技术服务热线:400-637-1311</h3>
50
-					<div class="Downlone_">
51
-						<a href="ExeWork/LeCallCenterSetup.exe">下载客户端</a>
52
-                        <a href="ExeWork/Microsoft.NET4.0.exe">下载安装环境</a>
53
-                        <a href="ExeWork/vcredist_x86.exe">安装异常补充包</a>
54
-					</div>					
55
-				</form>
56
-				
57
-			</div>
96
+                    <div class="clearfix singin_rpassword">
97
+                        <div class="rpassword">
98
+                            <label for="rpassword">
99
+                                <input type="checkbox" id="rpassword">
100
+                                <span class="checkbox_icon"></span>
101
+                                记住密码
102
+                            </label>
103
+                        </div>
104
+                        <!--<div class="fpassword">
105
+                            <a href="#" title="忘记密码">忘记秘密?</a>
106
+                        </div>-->
107
+                    </div>
108
+                    <div class="btns" type="button">登录</div>
109
+                    <!--<div class="fregister">
110
+                        <span>还没有账号?</span>
111
+                        <a href="#" title="立即注册">立即注册&gt;&gt;</a>
112
+                    </div>-->
113
+                    <div class="signfooter">
114
+                        <p>COPYRIGHT 2011-2025 AMT</p>
115
+                    </div>
116
+                </div>
58 117
 
59
-		</div>
60
-		<script>
61
-			$(function() {
62
-				/*输入框样式改变*/
63
-				$("#user").focus(function() {
64
-					$(this).parent().addClass("_success");
65
-				});
66
-				$("#user").blur(function() {
67
-					$(this).parent().removeClass("_success");
68
-				})
69
-				$("#fj").focus(function() {
70
-					$(this).parent().addClass("_success");
71
-				});
72
-				$("#fj").blur(function() {
73
-					$(this).parent().removeClass("_success");
74
-				})
75
-				$("#password").focus(function() {
76
-					$(this).parent().addClass("_success");
77
-				});
78
-				$("#password").blur(function() {
79
-					$(this).parent().removeClass("_success");
80
-				});
81
-				/*cook存储数据*/
82
-				if($.cookie("username")) {
83
-					//取值如果存在则赋值
84
-					$("#user").val($.cookie("user")); //用户名
85
-					$("#fj").val($.cookie("fj"));
118
+            </div>
119
+        </div>
120
+    </div>
121
+    <script>
122
+        $(function () {
123
+            /*输入框样式改变*/
124
+            $("#user").focus(function () {
125
+                $(this).parent().addClass("_success");
126
+            });
127
+            $("#user").blur(function () {
128
+                $(this).parent().removeClass("_success");
129
+            });
130
+            $("#password").focus(function () {
131
+                $(this).parent().addClass("_success");
132
+            });
133
+            $("#password").blur(function () {
134
+                $(this).parent().removeClass("_success");
135
+            });
86 136
 
87
-				}
88
-				//键盘事件
89
-				document.onkeydown = function(e) {
90
-					var theEvent = window.event || e;
91
-					var code = theEvent.keyCode || theEvent.which;
92
-					if(code == 13) {
93
-						$(".btns").click();
94
-					}
95
-				}
96
-				$(".btns").click(function() {
97
-					var User = $("#user").val();
98
-					var Fj = $("#fj").val();
99
-					var Password = $("#password").val();
100
-					/*保存COOK*/
137
+            /*cook存储数据*/
138
+            if ($.cookie("username")) {
139
+                //取值如果存在则赋值
140
+                $("#user").val($.cookie("user"));//用户名
141
+            }
101 142
 
102
-					//$.cookie("user", $("#user").val(),{expires: 7,secure:true});
103
-					//$.cookie("fj", $("#fj").val(), {expires: 7,secure:true});
104
-					/*表单验证*/
105
-					if(User == "" || Fj == "" || Password == "") {
106
-						$(".ts").addClass("Yz_error");
107
-						if($("#user").val() == "") {
108
-							$("#user").focus(function() {
109
-								$(".user_ts").removeClass("Yz_error");
110
-								$(".fj_ts").removeClass("Yz_error");
111
-								$(".password_ts").removeClass("Yz_error");
112
-								$(this).parent().addClass("_success");
113
-							});
114
-						} else {
115
-							$(".user_ts").addClass("Yz_success");
116
-						}
117
-					} else {
118
-						/*请求后台*/
119
-						$.ajax({
120
-							type: "post",
121
-							url: huayi.config.callcenter_url + "/Login/login",
122
-							dataType: 'json',
123
-							async: true,
124
-							data: {
125
-								username: User,
126
-								extensionphone: Fj,
127
-								password: Password
128
-							},
129
-							success: function(data) {
130
-								/*验证请求*/
131
-								if(data.state == "success") {
143
+            $(".btns").click(function () {
144
+                login();
145
+            });
132 146
 
133
-									$.cookie("token", data.data.token, {
134
-										expires: 7
135
-									});
136
-									$.cookie("extno", Fj, {
137
-										expires: 7
138
-									});
139
-									window.location.href = "index.html";
140
-								} else {
141
-									//alert("登录失败");
142
-									$("#user").val('');
143
-									$("#fj").val('');
144
-									$("#password").val('');
145
-								}
146
-							}
147
-						});
148
-					}
149
-				});
150
-			});
151
-			/*点击提交*/
147
+            $('input').bind('keypress', function (event) {
148
+                if (event.keyCode == "13") {
149
+                    $('.btns').trigger("click");
150
+                }
151
+            });
152 152
 
153
-			/*cook*/
154
-		</script>
155
-	</body>
153
+        });
154
+        /*点击提交*/
155
+        function login() {
156
+            var User = $("#user").val();
157
+            var Password = $("#password").val();
158
+            var userSeat = $("#userSeat").val();
159
+            /*保存COOK*/
160
+            //$.cookie("user", $("#user").val(),{expires: 7,secure:true});
161
+            /*表单验证*/
162
+            if (User == "" || Password == "") {
163
+                $(".ts").addClass("Yz_error");
164
+                if ($("#user").val() == "") {
165
+                    $("#user").focus(function () {
166
+                        $(".user_ts").removeClass("Yz_error");
167
+                        $(".password_ts").removeClass("Yz_error");
168
+                        $(this).parent().addClass("_success");
169
+                    });
170
+                } else {
171
+                    $(".user_ts").addClass("Yz_success");
172
+                }
173
+            } else {
174
+                /*请求后台*/
175
+                $.ajax({
176
+                    type: "post",
177
+                    url: huayi.config.callcenter_url + "/Login/login",
178
+                    dataType: 'json',
179
+                    async: true,
180
+                    data: {
181
+                        username: User,
182
+                        extensionphone: userSeat,
183
+                        password: Password
184
+                    },
185
+                    success: function (data) {
186
+                        /*验证请求*/
187
+                        if (data.state == "success") {
188
+                            $.cookie("token", data.data.token, { expires: 7 });
189
+                            $.cookie("extno", userSeat, { expires: 7 });
190
+                            window.location.href = "index.html";
191
+                        } else {
192
+                            layer.msg("登录失败");
193
+                            $("#user").val('');
194
+                            $("#userSeat").val('');
195
+                            $("#password").val('');
196
+                        }
197
+                    }
198
+                });
199
+            }
200
+        }
156 201
 
157
-</html>
202
+
203
+    </script>
204
+</body>
205
+</html>