Browse Source

统一弹出提示框的样式修改完成

luyanan 8 years ago
parent
commit
6730ddae90

+ 19 - 18
src/main/webapp/account-set.html

17
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
17
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
18
<script type="text/javascript" src="/js/common.js"></script>
18
<script type="text/javascript" src="/js/common.js"></script>
19
<!-- <script type="text/javascript" src="js/account-set.js"></script> -->
19
<!-- <script type="text/javascript" src="js/account-set.js"></script> -->
20
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
20
<script type="text/javascript" >
21
<script type="text/javascript" >
21
	$(function(){
22
	$(function(){
22
			//loginStatus();
23
			//loginStatus();
140

141

141
						if(data.success){
142
						if(data.success){
142
							if(data.data == true){
143
							if(data.data == true){
143
								alert("设置成功,请重新登录");
144
								location.href="login.html";
144
								$.MsgBox.Alert("消息","设置成功,请重新登录");
145
								/*location.href="login.html";*/
145
							}else{
146
							}else{
146

147

147
								$(".msg4").text("设置失败,请检查密码是否正确!");
148
								$.MsgBox.Alert("消息","设置失败,请检查密码是否正确!");
148
							}
149
							}
149
						}else{
150
						}else{
150
							$(".msg4").text("系统异常!");
151
							$.MsgBox.Alert("消息","系统异常!");
151
							// alert("系统异常!");
152
							// alert("系统异常!");
152
						}
153
						}
153
					},
154
					},
154
					error:function(){alert('fail')},
155
					error:function(){$.MsgBox.Alert('message','fail')},
155
					data:{"id":$.cookie("userid"),"npw":$("#newPassword2").val(),"onw":$("#oldPassword").val()},
156
					data:{"id":$.cookie("userid"),"npw":$("#newPassword2").val(),"onw":$("#oldPassword").val()},
156
				 	dataType: 'json'
157
				 	dataType: 'json'
157
				});
158
				});
204
								location.href="login.html";
205
								location.href="login.html";
205
							}else{
206
							}else{
206
								/*alert("邮箱设置失败");*/
207
								/*alert("邮箱设置失败");*/
207
								$(".msg4").text("设置错误!");
208
								$.MsgBox.Alert("消息","设置错误!");
208
							}
209
							}
209
						}else{
210
						}else{
210
							$(".msg4").text("系统异常!");
211
							$.MsgBox.Alert("消息","系统异常!");
211
							// alert("系统异常!");
212
							// alert("系统异常!");
212
						}
213
						}
213
					},
214
					},
214
					error:function(){alert('fail')},
215
					error:function(){$.MsgBox.Alert('message','fail')},
215
					data:{"userid":$.cookie("userid"),"mail":$("#email").val()},
216
					data:{"userid":$.cookie("userid"),"mail":$("#email").val()},
216
				 	dataType: 'json'
217
				 	dataType: 'json'
217
				});
218
				});
235
								$(".msg13").text("发送成功,请检查手机验证码");
236
								$(".msg13").text("发送成功,请检查手机验证码");
236
								/*alert("发送成功,请检查手机验证码");*/
237
								/*alert("发送成功,请检查手机验证码");*/
237
								phoneState = data.data;
238
								phoneState = data.data;
238
								$(".msg4").text("设置错误!");
239
								$.MsgBox.Alert("消息","设置错误!");
239
							}
240
							}
240
						}else{
241
						}else{
241

242

242
							$(".msg4").text("系统异常!");
243
							$.MsgBox.Alert("消息","系统异常!");
243
							// alert("系统异常!");
244
							// alert("系统异常!");
244
						}
245
						}
245
					},
246
					},
246
					error:function(){alert('fail')},
247
					error:function(){$.MsgBox.Alert('message','fail')},
247
					data:{"userid":$.cookie("userid"),"mobilePhone":$("#phone").val()},
248
					data:{"userid":$.cookie("userid"),"mobilePhone":$("#phone").val()},
248
				 	dataType: 'json'
249
				 	dataType: 'json'
249
				});
250
				});
281
					 async: false,
282
					 async: false,
282
					success:function(data){ 
283
					success:function(data){ 
283
						if(data.success){
284
						if(data.success){
284
							alert(2);
285
							/*alert(2);*/
285
							if(data.data == true){
286
							if(data.data == true){
286
								alert("绑定成功请重新登录!");
287
								$.MsgBox.Alert("消息","绑定成功请重新登录!");
287
								location.href="login.html";
288
								location.href="login.html";
288
							}else{
289
							}else{
289
								alert("绑定失败,请检查验证码是否正确");
290
								$.MsgBox.Alert("消息","绑定失败,请检查验证码是否正确");
290
							}
291
							}
291
						}else{
292
						}else{
292
							$(".msg4").text("系统异常!");
293
							$.MsgBox.Alert("消息","系统异常!");
293
							// alert("系统异常!");
294
							// alert("系统异常!");
294
						}
295
						}
295
					},
296
					},
296
					error:function(){alert('fail')},
297
					error:function(){$.MsgBox.Alert('message','fail')},
297
					data:{"userid":$.cookie("userid"),"mobilePhone":$("#phone").val(),"validateCode":$("#phoneCode").val(),"state": phoneState},
298
					data:{"userid":$.cookie("userid"),"mobilePhone":$("#phone").val(),"validateCode":$("#phoneCode").val(),"state": phoneState},
298
				 	dataType: 'json'
299
				 	dataType: 'json'
299
				});
300
				});
405
			
406
			
406
            </form>
407
            </form>
407
            <input type="submit" value="保存" class="save" onClick="restPassword()"/>
408
            <input type="submit" value="保存" class="save" onClick="restPassword()"/>
408
            <div class="msg msg4" ></div> 
409
            <!--<div class="msg msg4" ></div> -->
409
		</div>
410
		</div>
410
		
411
		
411
		<div class="content-set">
412
		<div class="content-set">
417
				<div class="replace2"><span class="phone-icon "></span>绑定手机账号</div>
418
				<div class="replace2"><span class="phone-icon "></span>绑定手机账号</div>
418
                <div class="replace3"><span class="email-icon"></span>您已绑定邮箱  <span id="emailShow"></span><input type="button" value="更换" class="replace replace5"><br>
419
                <div class="replace3"><span class="email-icon"></span>您已绑定邮箱  <span id="emailShow"></span><input type="button" value="更换" class="replace replace5"><br>
419
				</div>
420
				</div>
420
				<div class="replace4"><span class="phone-icon "></span>您已绑定手机  <span id="phoneShow">183****5606</span><input type="button" value="更换" class="replace replace6" >
421
				<div class="replace4"><span class="phone-icon "></span>您已绑定手机  <span id="phoneShow"></span><input type="button" value="更换" class="replace replace6" >
421
				</div>
422
				</div>
422
			</div>
423
			</div>
423
			<!--<div class="binding">
424
			<!--<div class="binding">

+ 15 - 14
src/main/webapp/css/index.css

9
.logo{ display:block; width:80px; height:50px; background:url(../images/logo2.png) no-repeat; margin-left:80px; margin-top:5px; float:left;}
9
.logo{ display:block; width:80px; height:50px; background:url(../images/logo2.png) no-repeat; margin-left:80px; margin-top:5px; float:left;}
10
.searchblock{ width:264px; height:35px; position:absolute; left:50%; top:50%; margin-left:-132px; margin-top:-17.5px; display:none;}
10
.searchblock{ width:264px; height:35px; position:absolute; left:50%; top:50%; margin-left:-132px; margin-top:-17.5px; display:none;}
11
.search-txt{ width:229px; height:35px; background:#fff; border:none;-moz-border-radius:10px 0 0 10px;-webkit-border-radius:10px 0 0 10px; border-radius:10px 0 0 10px; behavior:url(../js/ie-css3.htc); float:left;font:14px/35px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; padding-left:10px; color:#a3a3a3;}
11
.search-txt{ width:229px; height:35px; background:#fff; border:none;-moz-border-radius:10px 0 0 10px;-webkit-border-radius:10px 0 0 10px; border-radius:10px 0 0 10px; behavior:url(../js/ie-css3.htc); float:left;font:14px/35px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; padding-left:10px; color:#a3a3a3;}
12
.search-btn{ width:35px; height:35px; background:#fff; border-radius:0 10px 10px 0;-moz-border-radius:0 10px 10px 0;-webkit-border-radius:0 10px 10px 0; float:left; cursor:pointer; behavior:url(../js/ie-css3.htc);}
12
.search-btn{ width:35px; height:35px; background:#fff; border-radius:0 10px 10px 0;-moz-border-radius:0 10px 10px 0;-webkit-border-radius:0 10px 10px 0; float:left; cursor:pointer; behavior:url(../js/ie-css3.htc);cursor:pointer;}
13
.search-icon{ display:block; width:20px; height:20px; background:
13
.search-icon{ display:block; width:20px; height:20px; background:
14
url(../images/index-icon.png) no-repeat; background-position:left; margin:8px;}
14
url(../images/index-icon.png) no-repeat; background-position:left; margin:8px;}
15
/*未登录*/
15
/*未登录*/
16
.unlogin{ width:130px; height:35px; border:1px #fff solid; border-radius:10px;font:14px/35px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#fff; text-align:center; float:right; margin-right:80px; margin-top:10px; cursor:pointer; }
16
.unlogin{ width:130px; height:35px; border:1px #fff solid; border-radius:10px;font:14px/35px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#fff; text-align:center; float:right; margin-right:80px; margin-top:10px; cursor:pointer; }
17
/*已登录*/
17
/*已登录*/
18
.head-portrait{ display:none; width:50px; height:50px; border-radius:50%; background:url(../images/pic1.jpg) no-repeat center center;background-size:100% 100%;-moz-background-size:100% 100%; float:right; margin-right:80px; margin-top:5px; cursor:pointer; }
18
.head-portrait{ display:none; width:50px; height:50px; border-radius:50%; background:url(../images/default-photo.jpg) no-repeat center center;background-size:100% 100%;-moz-background-size:100% 100%; float:right; margin-right:80px; margin-top:5px; cursor:pointer; border:1px solid #f8f8f8; }
19
.personal-infor{width:202px; height:179px; position:absolute; top:42px; right:80px; display:none;}
19
.personal-infor{width:202px; height:179px; position:absolute; top:42px; right:80px; display:none;}
20
.triangleB{ display:block; width:0; height:0; border:8px solid transparent; border-bottom-color:#f3a36c; float:right; margin-right:20px; margin-top:15px;}
20
.triangleB{ display:block; width:0; height:0; border:8px solid transparent; border-bottom-color:#f3a36c; float:right; margin-right:20px; margin-top:15px;}
21
.personal-box{ width:202px; /*height:160px;*/ border-radius:10px; background:#f3a36c; clear:both; overflow:hidden;}
21
.personal-box{ width:202px; /*height:160px;*/ border-radius:10px; background:#f3a36c; clear:both; overflow:hidden;}
147
.account-photo{ width:175px; height:175px; border-radius:50%; background:url(../images/default-photo.jpg) no-repeat center center; margin:auto;margin-top:25px; margin-bottom:25px; overflow:hidden;}
147
.account-photo{ width:175px; height:175px; border-radius:50%; background:url(../images/default-photo.jpg) no-repeat center center; margin:auto;margin-top:25px; margin-bottom:25px; overflow:hidden;}
148
.account-name{ height:50px; padding: 0 40px;}
148
.account-name{ height:50px; padding: 0 40px;}
149
.text-txt{font:18px/50px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#515151; float:left; margin-left:20px; }
149
.text-txt{font:18px/50px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#515151; float:left; margin-left:20px; }
150
.edit{ display:block;width:22px; height:22px; background:url(../images/edit.png) no-repeat; background-position:right; float:left; margin-top:14px; margin-left:15px;}
150
.edit{ display:block;width:22px; height:22px; background:url(../images/edit.png) no-repeat; background-position:right; float:left; margin-top:14px; margin-left:15px;cursor:pointer;}
151
.text a{font:14px/57px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#f5980b; padding-left:5px;}
151
.text a{font:14px/57px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#f5980b; padding-left:5px;}
152
.account-sax{ clear:both; height:50px; width:100%; padding: 0 40px;}
152
.account-sax{ clear:both; height:50px; width:100%; padding: 0 40px;}
153
.name-txt{ float:left;font:18px/50px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#818181;}
153
.name-txt{ float:left;font:18px/50px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#818181;}
160
input:focus{ border:1px solid #ff8500;}
160
input:focus{ border:1px solid #ff8500;}
161
.msgs{font:14px/44px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#ff8500;padding-left:8px;  float:left;cursor:pointer;}
161
.msgs{font:14px/44px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#ff8500;padding-left:8px;  float:left;cursor:pointer;}
162
.msg{ clear:both;font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:red; padding-left:140px; background:url(../images/info_warn.png) 116px center no-repeat; }
162
.msg{ clear:both;font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:red; padding-left:140px; background:url(../images/info_warn.png) 116px center no-repeat; }
163
.msg-yz{font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:red; padding:0 30px;background:url(../images/info_warn.png) 10px center no-repeat; margin-bottom:10px;  }
163
.msg-yz{font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:red; padding:0 30px;background:url(../images/info_warn.png) 10px center no-repeat; margin-bottom:10px;  clear: both;  }
164
.marginT{ height:60px; width:100%;}
164
.marginT{ height:60px; width:100%;}
165
.password{ width:100%; height:44px; clear:both; margin-top:24px; }
165
.password{ width:100%; height:44px; clear:both; margin-top:24px; }
166
.lable{ float:left; display:block; width:100px;font:18px/44px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#747474; padding-right:15px; text-align:right;}
166
.lable{ float:left; display:block; width:100px;font:18px/44px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#747474; padding-right:15px; text-align:right;}
174
.phone-icon{display:block; width:44px; height:44px; background:url(../images/ep.png) no-repeat; background-position:right; float:left; margin-right:25px; margin-top:10px;}
174
.phone-icon{display:block; width:44px; height:44px; background:url(../images/ep.png) no-repeat; background-position:right; float:left; margin-right:25px; margin-top:10px;}
175
.replace{ width:88px; height:35px; background:#ff8400; border-radius:5px; border:none;font:18px/35px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#fff; margin-left:10px; cursor:pointer;}
175
.replace{ width:88px; height:35px; background:#ff8400; border-radius:5px; border:none;font:18px/35px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#fff; margin-left:10px; cursor:pointer;}
176
.replace3,.replace4{ display:none;}
176
.replace3,.replace4{ display:none;}
177
.cover{ width:100%; height:100%; background:rgba(0,0,0,0.2); position:absolute; z-index:999; display:none;}
178
.cover2{ width:100%; height:100%; background:rgba(0,0,0,0.2); position:absolute; z-index:999; display:none;}
177
.cover{ width:100%; height:100%; background:rgba(0,0,0,0.2); position:fixed; z-index:999; display:none;}
178
.cover2{ width:100%; height:100%; background:rgba(0,0,0,0.2); position:fixed; z-index:999; display:none;}
179
.floatbox{ /*width:400px;*/ box-shadow:2px 5px 5px #999; border-radius:10px;background:#fff; position:absolute; left:50%;top:50%; margin-left:-210px; margin-top:-193px; overflow:hidden;}
179
.floatbox{ /*width:400px;*/ box-shadow:2px 5px 5px #999; border-radius:10px;background:#fff; position:absolute; left:50%;top:50%; margin-left:-210px; margin-top:-193px; overflow:hidden;}
180
.float-title{  height:70px; background:#eee;font:20px/70px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#818181; padding:0 20px;}
180
.float-title{  height:70px; background:#eee;font:20px/70px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#818181; padding:0 20px;}
181
.times{ display:block; width:30px; height:30px; background:#ff8400; border-radius:3px;font:28px/28px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#fff; text-align:center; font-weight:bold; float:right; margin-top:20px; cursor:pointer; }
181
.times{ display:block; width:30px; height:30px; background:#ff8400; border-radius:3px;font:28px/28px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#fff; text-align:center; font-weight:bold; float:right; margin-top:20px; cursor:pointer; }
188
.activate{ width:140px; height:38px; background:#fff;font:16px/35px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#000; cursor:pointer; border:none; border-radius:5px; margin:auto; margin-top:30px;  }
188
.activate{ width:140px; height:38px; background:#fff;font:16px/35px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#000; cursor:pointer; border:none; border-radius:5px; margin:auto; margin-top:30px;  }
189
.act{margin-left:40px;}
189
.act{margin-left:40px;}
190
.act-color{background:#ff8400;color:#fff;}
190
.act-color{background:#ff8400;color:#fff;}
191
.back-btn:hover{background:#ff8400;color:#fff;}
191
.back-btn:hover{background:#ff8400;color:#fff;cursor:pointer;}
192
.input-code{ width: 210px;margin-left: 10px;}
192
.input-code{ width: 210px;margin-left: 10px;}
193
.infor-code{ width:130px; height:40px; background:#ff8400; border:none; border-radius:5px;font:14px/35px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#fff; cursor:pointer; margin-left:5px;}
193
.infor-code{ width:130px; height:40px; background:#ff8400; border:none; border-radius:5px;font:14px/35px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#fff; cursor:pointer; margin-left:5px;}
194

194

208
.close{float: left;  width:130px; height:26px; border-radius:5px; background:none; box-shadow:none; border:none;cursor:pointer; padding:0;font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; margin-top:15px; margin-left:5px;opacity: 1;  text-shadow:none; }
208
.close{float: left;  width:130px; height:26px; border-radius:5px; background:none; box-shadow:none; border:none;cursor:pointer; padding:0;font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; margin-top:15px; margin-left:5px;opacity: 1;  text-shadow:none; }
209
.close:hover{ background:#ff8400; color:#fff; opacity: 1; }
209
.close:hover{ background:#ff8400; color:#fff; opacity: 1; }
210
.head-right{ float:right; margin-top:30px; /*margin-right:50px;*/position: relative;background:url(../images/default-icon.jpg) no-repeat center center;background-size:100% 100%;-moz-background-size:100% 100%; width:140px; height:140px; overflow:hidden;}
210
.head-right{ float:right; margin-top:30px; /*margin-right:50px;*/position: relative;background:url(../images/default-icon.jpg) no-repeat center center;background-size:100% 100%;-moz-background-size:100% 100%; width:140px; height:140px; overflow:hidden;}
211
#headImage,#orgImage{ width:100%; height:100%;border:0;}
211
/*专家信息内容*/
212
/*专家信息内容*/
212
.information-content{  width:1050px;height:auto; margin:auto;margin-top:20px; position:relative;overflow: hidden;}
213
.information-content{  width:1050px;height:auto; margin:auto;margin-top:20px; position:relative;overflow: hidden;}
213
.content-left{ width:298px;min-height:394px; background:#fff; border:1px #c9c9c9 solid; float:left; overflow:hidden;}
214
.content-left{ width:298px;min-height:394px; background:#fff; border:1px #c9c9c9 solid; float:left; overflow:hidden;}
226
}
227
}
227
.modifybox{ display:none;}
228
.modifybox{ display:none;}
228
.infor-browse{ clear:both; margin-bottom:20px;}
229
.infor-browse{ clear:both; margin-bottom:20px;}
229
.btn-marL{ margin-left:35px; }
230
.btn-marB{ margin-bottom:30px;}
231
.btn{ width:105px; padding:0;}
230
.btn-marL{ margin-left:35px;cursor:pointer; }
231
.btn-marB{ margin-bottom:30px;cursor:pointer;}
232
.btn{ width:105px; padding:0;cursor:pointer;}
232
.btn:hover, .btn:focus { text-decoration: none; color:#fff;}
233
.btn:hover, .btn:focus { text-decoration: none; color:#fff;}
233
.select-sele{ clear:both; width:100%; height:26px;}
234
.select-sele{ clear:both; width:100%; height:26px;}
234
.add{ float:left;}
235
.add{ float:left;}
235
.addbtn{ float:left; clear:both; width:105px; height:26px; background:#ff8400;box-shadow:none; border:none;cursor:pointer; color:#fff; border-radius:5px;font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei";  margin-left:10px; }
236
.addbtn{ float:left; clear:both; width:105px; height:26px; background:#ff8400;box-shadow:none; border:none;cursor:pointer; color:#fff; border-radius:5px;font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei";  margin-left:10px;cursor:pointer; }
236
.listbox{ margin:5px 0;max-width:100%; margin-left:15px; overflow:hidden; /*border:1px solid red;*/}
237
.listbox{ margin:5px 0;max-width:100%; margin-left:15px; overflow:hidden; /*border:1px solid red;*/}
237
.list-area{ overflow:hidden; padding:10px 0 20px 0; width:670px; margin:10px auto; background:#f8f8f8;}
238
.list-area{ overflow:hidden; padding:10px 0 20px 0; width:670px; margin:10px auto; background:#f8f8f8;}
238
.listbox-browse{ min-height:26px; position:relative;}
239
.listbox-browse{ min-height:26px; position:relative;}
241
.line{ width:110px; height:1px; background:#ccc; float:left; margin-left:30px; margin-top:12px;}
242
.line{ width:110px; height:1px; background:#ccc; float:left; margin-left:30px; margin-top:12px;}
242
.like-num{ float:right;max-width:380px;height:26px; padding:0 20px; overflow:hidden; }
243
.like-num{ float:right;max-width:380px;height:26px; padding:0 20px; overflow:hidden; }
243
.like-people{ width:26px; height:26px; float:right; overflow:hidden; margin-right:5px; background:url(../images/default-photo.png) no-repeat center center; background-size:100% 100%;-moz-background-size:100% 100%;}
244
.like-people{ width:26px; height:26px; float:right; overflow:hidden; margin-right:5px; background:url(../images/default-photo.png) no-repeat center center; background-size:100% 100%;-moz-background-size:100% 100%;}
244
.like-people img{ width:100%;}
245
.like-people img{ width:100%; height:100%;}
245
.triangleR{ display:block; width:0; height:0; border:8px solid transparent; border-left-color:#f0f1f3; float:right; margin-right:20px;margin-top:6px; cursor: pointer;}
246
.triangleR{ display:block; width:0; height:0; border:8px solid transparent; border-left-color:#f0f1f3; float:right; margin-right:20px;margin-top:6px; cursor: pointer;}
246
.acad{  height:26px;border:1px #c9c9c9 solid; border-radius:5px; text-align:center;font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#3e3e3e; margin:6px 0; margin-left:15px; float:left;cursor:pointer;padding:0 8px;}
247
.acad{  height:26px;border:1px #c9c9c9 solid; border-radius:5px; text-align:center;font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#3e3e3e; margin:6px 0; margin-left:15px; float:left;cursor:pointer;padding:0 8px;}
247
.list{  height:26px;border:1px #c9c9c9 solid; border-radius:5px; text-align:center;font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#3e3e3e; margin-top:12px; margin-left:15px; float:left;cursor:pointer;padding-right: 8px; overflow:hidden;}
248
.list{  height:26px;border:1px #c9c9c9 solid; border-radius:5px; text-align:center;font:14px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#3e3e3e; margin-top:12px; margin-left:15px; float:left;cursor:pointer;padding-right: 8px; overflow:hidden;}
258
.edu{ font:16px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#868686;}
259
.edu{ font:16px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#868686;}
259
.edu-h{ height:52px;}
260
.edu-h{ height:52px;}
260
.edu-txt{ float:none; width:402px;}
261
.edu-txt{ float:none; width:402px;}
261
.date-box{ width:255px;}
262
.date-box{ width:252px;}
262
.datebox{ width:540px; overflow:hidden; height:26px;}
263
.datebox{ width:540px; overflow:hidden; height:26px;}
263
hr{ width:18px; float:right; background:#ffc688; height:2px; border:none; margin:10px;}
264
hr{ width:18px; float:right; background:#ffc688; height:2px; border:none; margin:10px;}
264
.checkbox{ float:right; width:60px;margin-left:15px;margin-top: -1px;}
265
.checkbox{ float:right; width:60px;margin-left:15px;margin-top: -1px;}
265
.date-btn{ float:right; width:175px; background:url(../images/select.png) no-repeat right; z-index:999;}
266
.date-btn{ float:right; width:175px; background:url(../images/select.png) no-repeat right; z-index:999;}
266
.opacity{ width:150px;}
267
.opacity{ width:150px;}
267
label.edu-radio{ float:none;font:16px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#868686; }
268
label.edu-radio{ float:none;font:16px/26px \5FAE\8F6F\96C5\9ED1,"Microsoft YaHei"; color:#868686; }
268
.edu-select{ margin-left:10px; width:470px; }
269
.edu-select{ margin-left:10px; width:240px; }
269
.sf{ float:left;}
270
.sf{ float:left;}
270
.radiobox{ width:115px; float:left;}
271
.radiobox{ width:115px; float:left;}
271
.edu-sel{ float:right;}
272
.edu-sel{ float:right;}

+ 4 - 3
src/main/webapp/information-brow.html

19
<script type="text/javascript" src="js/information.brow.js"></script>
19
<script type="text/javascript" src="js/information.brow.js"></script>
20
<script type="text/javascript" src="js/common.js"></script>
20
<script type="text/javascript" src="js/common.js"></script>
21
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
21
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
22
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
22
<script type="text/javascript">
23
<script type="text/javascript">
23

24

24

25

237
							if ($data.success) {
238
							if ($data.success) {
238
								location.reload(true);
239
								location.reload(true);
239
							} else {
240
							} else {
240
								alert($data.msg);
241
								$.MsgBox.Alert("message",$data.msg);
241
							}
242
							}
242
						}
243
						}
243
					});
244
					});
244
				}else{
245
				}else{
245
					alert("请登录后点赞");
246
					location.href="login.html"
246
					$.MsgBox.Alert("消息","请登录后点赞");
247
					/*location.href="login.html"*/
247
				}
248
				}
248
				
249
				
249
			})
250
			})

+ 12 - 11
src/main/webapp/information.html

25
<script type="text/javascript" src="js/information.js"></script>
25
<script type="text/javascript" src="js/information.js"></script>
26
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
26
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
27
<script type="text/javascript" src="/js/common.js"></script>
27
<script type="text/javascript" src="/js/common.js"></script>
28
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
28
<script type="text/javascript">
29
<script type="text/javascript">
29

30

30
	$(function(){ 
31
	$(function(){ 
274

275

275
						location.href = "information.html?id="+ new Date().getTime();
276
						location.href = "information.html?id="+ new Date().getTime();
276
					} else {
277
					} else {
277
						alert($data.msg);
278
						$.MsgBox.Alert("message",$data.msg);
278
					}
279
					}
279
				}
280
				}
280
			});
281
			});
298
					if ($data.success) {
299
					if ($data.success) {
299
						location.reload(true);
300
						location.reload(true);
300
					} else {
301
					} else {
301
						alert($data.msg);
302
						$.MsgBox.Alert("message",$data.msg);
302
					}
303
					}
303
				}
304
				}
304
			});
305
			});
326
					if ($data.success) {
327
					if ($data.success) {
327
						location.reload(true);
328
						location.reload(true);
328
					} else {
329
					} else {
329
						alert($data.msg);
330
						$.MsgBox.Alert("message",$data.msg);
330
					}
331
					}
331
				}
332
				}
332
			});
333
			});
350
					if ($data.success) {
351
					if ($data.success) {
351
						location.reload(true);
352
						location.reload(true);
352
					} else {
353
					} else {
353
						alert($data.msg);
354
						$.MsgBox.Alert("message",$data.msg);
354
					}
355
					}
355
				}
356
				}
356
			});
357
			});
378
					if ($data.success) {
379
					if ($data.success) {
379
						location.reload(true);
380
						location.reload(true);
380
					} else {
381
					} else {
381
						alert($data.msg);
382
						$.MsgBox.Alert("message",$data.msg);
382
					}
383
					}
383
				}
384
				}
384
			});
385
			});
405
					if ($data.success) {
406
					if ($data.success) {
406
						location.reload(true);
407
						location.reload(true);
407
					} else {
408
					} else {
408
						alert($data.msg);
409
						$.MsgBox.Alert("message",$data.msg);
409
					}
410
					}
410
				}
411
				}
411
			});
412
			});
432
					if ($data.success) {
433
					if ($data.success) {
433
						location.reload(true);
434
						location.reload(true);
434
					} else {
435
					} else {
435
						alert($data.msg);
436
						$.MsgBox.Alert("message",$data.msg);
436
					}
437
					}
437
				}
438
				}
438
			});
439
			});
459
					if ($data.success) {
460
					if ($data.success) {
460
						location.reload(true);
461
						location.reload(true);
461
					} else {
462
					} else {
462
						alert($data.msg);
463
						$.MsgBox.Alert("message",$data.msg);
463
					}
464
					}
464
				}
465
				}
465
			});
466
			});
486
					if ($data.success) {
487
					if ($data.success) {
487
						location.reload(true);
488
						location.reload(true);
488
					} else {
489
					} else {
489
						alert($data.msg);
490
						$.MsgBox.Alert("message",$data.msg);
490
					}
491
					}
491
				}
492
				}
492
			});
493
			});
512
					if ($data.success) {
513
					if ($data.success) {
513
						location.reload(true);
514
						location.reload(true);
514
					} else {
515
					} else {
515
						alert($data.msg);
516
						$.MsgBox.Alert("message",$data.msg);
516
					}
517
					}
517
				}
518
				}
518
			});
519
			});
722
					</div>
723
					</div>
723
					<div class="infor edu btn-marL date-box">
724
					<div class="infor edu btn-marL date-box">
724
						<b class="star">&nbsp;</b> 毕业年份
725
						<b class="star">&nbsp;</b> 毕业年份
725
                        <input type="text" class="form-control date-btn input-txt" id="year" value="08/05/2016" />
726
                        <input type="number" class="date-btn input-txt" id="year" value="2016" />
726

727

727
						<!--<input type="text" class="date-btn input-txt" id="year" />-->
728
						<!--<input type="text" class="date-btn input-txt" id="year" />-->
728
					</div>
729
					</div>

+ 2 - 1
src/main/webapp/login-email-find01.html

12
<link rel="stylesheet" href="css/reset.css" />
12
<link rel="stylesheet" href="css/reset.css" />
13
<link type="text/css" href="css/login.css" rel="stylesheet">
13
<link type="text/css" href="css/login.css" rel="stylesheet">
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
15
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
15
<!--<script type="text/javascript" src="js/index.js"></script>
16
<!--<script type="text/javascript" src="js/index.js"></script>
16
<script type="text/javascript" src="js/form.js"></script>-->
17
<script type="text/javascript" src="js/form.js"></script>-->
17
<script type="text/javascript">
18
<script type="text/javascript">
55
						// alert("系统异常!");
56
						// alert("系统异常!");
56
					}
57
					}
57
				},
58
				},
58
				error:function(){alert('fail')},
59
				error:function(){$.MsgBox.Alert('message','fail')},
59
				data:{"mail":$("#email").val()},
60
				data:{"mail":$("#email").val()},
60
				dataType: 'json'
61
				dataType: 'json'
61
			});
62
			});

+ 2 - 1
src/main/webapp/login-first.html

13
<link type="text/css" href="css/login.css" rel="stylesheet">
13
<link type="text/css" href="css/login.css" rel="stylesheet">
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
15
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
15
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
16
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
16
<script type="text/javascript">
17
<script type="text/javascript">
17
	$(function(){  
18
	$(function(){  
18
	    if($.cookie("userAuth") == true){
19
	    if($.cookie("userAuth") == true){
67
							// alert("系统异常!");
68
							// alert("系统异常!");
68
						}
69
						}
69
					},
70
					},
70
					error:function(){alert('fail')},
71
					error:function(){$.MsgBox.Alert('message','fail')},
71
					data:{"id":$.cookie("userid"),"npw":$("#password").val() ,"onw":""},
72
					data:{"id":$.cookie("userid"),"npw":$("#password").val() ,"onw":""},
72
				 	dataType: 'json'
73
				 	dataType: 'json'
73
				});
74
				});

+ 2 - 1
src/main/webapp/login-invite-code.html

12
<link rel="stylesheet" href="css/reset.css" />
12
<link rel="stylesheet" href="css/reset.css" />
13
<link type="text/css" href="css/login.css" rel="stylesheet">
13
<link type="text/css" href="css/login.css" rel="stylesheet">
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
15
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
15
<!--<script type="text/javascript" src="js/index.js"></script>
16
<!--<script type="text/javascript" src="js/index.js"></script>
16
<script type="text/javascript" src="js/form.js"></script>-->
17
<script type="text/javascript" src="js/form.js"></script>-->
17
<script type="text/javascript">
18
<script type="text/javascript">
69
							// alert("系统异常!");
70
							// alert("系统异常!");
70
						}
71
						}
71
					},
72
					},
72
					error:function(){alert('fail')},
73
					error:function(){$.MsgBox.Alert('message','fail')},
73
					data:{"code":$("#code").val(),"mobile":$("#phone").val()},
74
					data:{"code":$("#code").val(),"mobile":$("#phone").val()},
74
				 	dataType: 'json'
75
				 	dataType: 'json'
75
				});
76
				});

+ 3 - 2
src/main/webapp/login-phone-find01.html

12
<link rel="stylesheet" href="css/reset.css" />
12
<link rel="stylesheet" href="css/reset.css" />
13
<link type="text/css" href="css/login.css" rel="stylesheet">
13
<link type="text/css" href="css/login.css" rel="stylesheet">
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
15
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
15
<!-- <script type="text/javascript" src="js/index.js"></script> -->
16
<!-- <script type="text/javascript" src="js/index.js"></script> -->
16
<!-- <script type="text/javascript" src="js/form.js"></script> -->
17
<!-- <script type="text/javascript" src="js/form.js"></script> -->
17
<script type="text/javascript">
18
<script type="text/javascript">
47
								$(".msg2").text("验证码发送失败,请确认手机号码正确!");
48
								$(".msg2").text("验证码发送失败,请确认手机号码正确!");
48
							}else{
49
							}else{
49
								phoneState = data.data;
50
								phoneState = data.data;
50
								alert("发送成功,请查看手机验证码!");
51
								$.MsgBox.Alert("消息","发送成功,请查看手机验证码!");
51
								$(".msg2").text("");
52
								$(".msg2").text("");
52
							}
53
							}
53
						}else{
54
						}else{
56
							// alert("系统异常!");
57
							// alert("系统异常!");
57
						}
58
						}
58
					},
59
					},
59
					error:function(){alert('fail')},
60
					error:function(){$.MsgBox.Alert('message','fail')},
60
					data:{"mobilePhone":$("#phone").val()},
61
					data:{"mobilePhone":$("#phone").val()},
61
				 	dataType: 'json'
62
				 	dataType: 'json'
62
				});
63
				});

+ 4 - 3
src/main/webapp/login-phone-find02.html

13
<link type="text/css" href="css/login.css" rel="stylesheet">
13
<link type="text/css" href="css/login.css" rel="stylesheet">
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
15
<script type="text/javascript" src="js/common.js"></script>
15
<script type="text/javascript" src="js/common.js"></script>
16
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
16
<!--<script type="text/javascript" src="js/index.js"></script>
17
<!--<script type="text/javascript" src="js/index.js"></script>
17
<script type="text/javascript" src="js/form.js"></script>-->
18
<script type="text/javascript" src="js/form.js"></script>-->
18
<script type="text/javascript">
19
<script type="text/javascript">
64
					success:function(data){ 
65
					success:function(data){ 
65
						if(data.success){
66
						if(data.success){
66
							if(data.data == true){
67
							if(data.data == true){
67
								alert("设置成功,请登录!");
68
								location.href="login.html";
68
								$.MsgBox.Alert("消息","设置成功,请登录!");
69
								/*location.href="login.html";*/
69
							}else{
70
							}else{
70
								$(".msg3").text("设置失败,验证码超时");
71
								$(".msg3").text("设置失败,验证码超时");
71
							}
72
							}
74
							// alert("系统异常!");
75
							// alert("系统异常!");
75
						}
76
						}
76
					},
77
					},
77
					error:function(){alert('fail')},
78
					error:function(){$.MsgBox.Alert('message','fail')},
78
					data:{"vc":vc,"state":state,"mobilePhone":mobilePhone,"pw":$("#password2").val()},
79
					data:{"vc":vc,"state":state,"mobilePhone":mobilePhone,"pw":$("#password2").val()},
79
				 	dataType: 'json'
80
				 	dataType: 'json'
80
				});
81
				});

+ 2 - 1
src/main/webapp/login.html

13
<link type="text/css" href="css/login.css" rel="stylesheet">
13
<link type="text/css" href="css/login.css" rel="stylesheet">
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
15
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
15
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
16
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
16
<!--<script type="text/javascript" src="js/index.js"></script>
17
<!--<script type="text/javascript" src="js/index.js"></script>
17
<script type="text/javascript" src="js/form.js"></script>-->
18
<script type="text/javascript" src="js/form.js"></script>-->
18
<script type="text/javascript">
19
<script type="text/javascript">
85
							// alert("系统异常!");
86
							// alert("系统异常!");
86
						}
87
						}
87
					},
88
					},
88
					error:function(){alert('fail')},
89
					error:function(){$.MsgBox.Alert('message','fail')},
89
					data:{"pw":$("#password").val(),"lk":$("#loginName").val()},
90
					data:{"pw":$("#password").val(),"lk":$("#loginName").val()},
90
				 	dataType: 'json'
91
				 	dataType: 'json'
91
				});
92
				});

+ 6 - 3
src/main/webapp/photo-set.html

86
				<input type="button" value="返回" id="back" >
86
				<input type="button" value="返回" id="back" >
87
				
87
				
88
			 </div>
88
			 </div>
89

89
             
90
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
90
<script type="text/javascript" src="js/jquery.HeadP.js"> </script>
91
<script type="text/javascript" src="js/jquery.HeadP.js"> </script>
91
<script type="text/javascript" src="js/jquery.Jcrop.js"> </script>
92
<script type="text/javascript" src="js/jquery.Jcrop.js"> </script>
92
<script type="text/javascript" src="js/basic.js"> </script>
93
<script type="text/javascript" src="js/basic.js"> </script>
93
	<script src="/js/ajaxfileupload.js"></script>
94
<script type="text/javascript" src="/js/ajaxfileupload.js"></script>
95
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>	
96

94
<script type="text/javascript">
97
<script type="text/javascript">
95
$(function (){
98
$(function (){
96
	var id = '358FE958561241DA8A8DFC996388893C';
99
	var id = '358FE958561241DA8A8DFC996388893C';
121
					}
124
					}
122
				},
125
				},
123
				error:function(){
126
				error:function(){
124
					alert("upload error");
127
					$.MsgBox.Alert("message","upload error");
125
				}    					
128
				}    					
126
			});
129
			});
127
		});
130
		});

+ 12 - 4
src/main/webapp/search.html

17
<script type="text/javascript" src="js/common.js"></script>
17
<script type="text/javascript" src="js/common.js"></script>
18
<script type="text/javascript" src="js/jquery.cookie.js"></script>
18
<script type="text/javascript" src="js/jquery.cookie.js"></script>
19
<script src="js/jquery.page.js"></script>
19
<script src="js/jquery.page.js"></script>
20
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
20
<script type="text/javascript">
21
<script type="text/javascript">
21
var arr=[];
22
var arr=[];
22
var arr1=[];
23
var arr1=[];
31
	    });
32
	    });
32
						
33
						
33
	$(function(){
34
	$(function(){
34
		loginStatus();
35
		/*loginStatus();*/
36
		var servPath = "http://121.42.53.174:81";
37
		var userid = $.cookie("userid");
38
	 	if(userid){
39
	 		$(".head-portrait").css("background","url("+servPath+"/images/head/"+userid+"_m.jpg)");
40
	 		$(".head-portrait").show();
41
			$(".unlogin").hide();
42
		}
35

43

36
		$("#searchContent").val(GetQueryString("searchContent")); 
44
		$("#searchContent").val(GetQueryString("searchContent")); 
37
		$("#hsearchContent").val(GetQueryString("searchContent")); 
45
		$("#hsearchContent").val(GetQueryString("searchContent")); 
119
								}
127
								}
120
								
128
								
121
							} else {
129
							} else {
122
								alert($data.msg);
130
								$.MsgBox.Alert("message",$data.msg);
123
							}
131
							}
124
						}
132
						}
125
					});
133
					});
134
    						break;
142
    						break;
135
    				}
143
    				}
136
    			}else{
144
    			}else{
137
    				alert(data.msg);
145
    				$.MsgBox.Alert("message",data.msg);
138
    			}
146
    			}
139
    		})
147
    		})
140
 		}
148
 		}
147
    						break;
155
    						break;
148
    				}
156
    				}
149
    			}else{
157
    			}else{
150
    				alert(data.msg);
158
    				$.MsgBox.Alert("message",data.msg);
151
    			}
159
    			}
152
    		})
160
    		})
153
 		}
161
 		}