浏览代码

关闭弹窗时底部导航栏跳起的问题

luyanan 8 年之前
父节点
当前提交
024228e3bd
共有 7 个文件被更改,包括 45 次插入45 次删除
  1. 1 1
      js/attention-list.js
  2. 1 1
      js/information.brow.js
  3. 12 12
      js/newsciresource.js
  4. 11 11
      js/popup.js
  5. 12 12
      js/sciresource.js
  6. 2 2
      js/search.js
  7. 6 6
      js/workindex.js

+ 1 - 1
js/attention-list.js

18
	//关闭按钮
18
	//关闭按钮
19
	$("#workclose").click(function(){
19
	$("#workclose").click(function(){
20
		$("#attentCover").fadeOut();
20
		$("#attentCover").fadeOut();
21
		$("body").css("position","static");
21
		$("body").css("position","");
22
	});
22
	});
23
	
23
	
24
	/*关注专家*/
24
	/*关注专家*/

+ 1 - 1
js/information.brow.js

934
						if(rdata.success) {
934
						if(rdata.success) {
935
							$.MsgBox.Alert('message', '资源"' + resName + '"申请发送成功!');
935
							$.MsgBox.Alert('message', '资源"' + resName + '"申请发送成功!');
936
							$(".blackcover").remove();
936
							$(".blackcover").remove();
937
							$("body").css("position", "static");
937
							$("body").css("position", "");
938
							//location.reload(true);
938
							//location.reload(true);
939
						} else {
939
						} else {
940
							$.MsgBox.Alert('message', '资源"' + resName + '"申请发送失败,请重新申请!');
940
							$.MsgBox.Alert('message', '资源"' + resName + '"申请发送失败,请重新申请!');

+ 12 - 12
js/newsciresource.js

136
						"success" : function($data) {							
136
						"success" : function($data) {							
137
							if ($data.success) {
137
							if ($data.success) {
138
								$(".blackcover").remove();
138
								$(".blackcover").remove();
139
								$("body").css("position","static");	
139
								$("body").css("position","");	
140
								getDataResource();	
140
								getDataResource();	
141
								UE.delEditor('editor');
141
								UE.delEditor('editor');
142
							} else {
142
							} else {
147
				}
147
				}
148
				if(resourceID){
148
				if(resourceID){
149
					$("#deletedResource").on("click",function(){
149
					$("#deletedResource").on("click",function(){
150
						$("body").css("position","static");
150
						$("body").css("position","");
151
						$.MsgBox.Confirm("消息", "执行删除后资源信息将无法恢复,确定继续吗?",delet)					
151
						$.MsgBox.Confirm("消息", "执行删除后资源信息将无法恢复,确定继续吗?",delet)					
152
					})
152
					})
153
					$.ajax({		
153
					$.ajax({		
262
							{
262
							{
263
								if(resourceID){
263
								if(resourceID){
264
									//$(".blackcover").remove();
264
									//$(".blackcover").remove();
265
									$("body").css("position","static");
265
									$("body").css("position","");
266
									$.MsgBox.Confirm("消息", "确定修改资源信息吗?", getDataput)
266
									$.MsgBox.Confirm("消息", "确定修改资源信息吗?", getDataput)
267
									$data.fn=cacheImageKey;
267
									$data.fn=cacheImageKey;
268
								}else{
268
								}else{
273
											if (rdata.success) 
273
											if (rdata.success) 
274
											{											
274
											{											
275
													$(".blackcover").remove();
275
													$(".blackcover").remove();
276
													$("body").css("position","static");												
276
													$("body").css("position","");												
277
													getDataResource();
277
													getDataResource();
278
													$.MsgBox.Alert("消息","资源发布成功");	
278
													$.MsgBox.Alert("消息","资源发布成功");	
279
													UE.delEditor('editor');
279
													UE.delEditor('editor');
562
					"success" : function(data) {
562
					"success" : function(data) {
563
						if (data.success) {					
563
						if (data.success) {					
564
							$(".blackcover").remove();
564
							$(".blackcover").remove();
565
							$("body").css("position","static");
565
							$("body").css("position","");
566
							getDataResource();
566
							getDataResource();
567
							$.MsgBox.Alert('message',"报价成功");
567
							$.MsgBox.Alert('message',"报价成功");
568
						} else {
568
						} else {
581
			ajaxGet(operationId);
581
			ajaxGet(operationId);
582
			n=5;
582
			n=5;
583
			$(".blackcover").remove();
583
			$(".blackcover").remove();
584
			$("body").css("position","static");
584
			$("body").css("position","");
585
			$.MsgBox.Confirm("消息", "确定拒绝吗?",upStatus1);
585
			$.MsgBox.Confirm("消息", "确定拒绝吗?",upStatus1);
586
		});
586
		});
587
	}
587
	}
623
					"success" : function(data) {
623
					"success" : function(data) {
624
						if (data.success) {					
624
						if (data.success) {					
625
							$(".blackcover").remove();
625
							$(".blackcover").remove();
626
							$("body").css("position","static");
626
							$("body").css("position","");
627
							getDataResource();
627
							getDataResource();
628
							$.MsgBox.Alert('message',"报价成功");
628
							$.MsgBox.Alert('message',"报价成功");
629
						} else {
629
						} else {
935
			{
935
			{
936
			
936
			
937
			$(".blackcover").remove();
937
			$(".blackcover").remove();
938
			$("body").css("position","static");			
938
			$("body").css("position","");			
939
				getPageData(6,1,false);																	
939
				getPageData(6,1,false);																	
940
			}
940
			}
941
			else 
941
			else 
960
			if (rdata.success) 
960
			if (rdata.success) 
961
			{
961
			{
962
			$(".blackcover").remove();
962
			$(".blackcover").remove();
963
			$("body").css("position","static");
963
			$("body").css("position","");
964
				getDataResource();						
964
				getDataResource();						
965
			}
965
			}
966
			else 
966
			else 
1411
								if (rdata.success){
1411
								if (rdata.success){
1412
									getPageData(6,1,false);
1412
									getPageData(6,1,false);
1413
									$(".blackcover").remove();
1413
									$(".blackcover").remove();
1414
									$("body").css("position","static");
1414
									$("body").css("position","");
1415
									$.MsgBox.Alert('消息',"资源申请信息修改成功");									
1415
									$.MsgBox.Alert('消息',"资源申请信息修改成功");									
1416
								} else {
1416
								} else {
1417
									$.MsgBox.Alert('消息',"资源申请信息修改失败");
1417
									$.MsgBox.Alert('消息',"资源申请信息修改失败");
1450
		$("#reject").click(function(){
1450
		$("#reject").click(function(){
1451
			n=4;
1451
			n=4;
1452
			$(".blackcover").remove();
1452
			$(".blackcover").remove();
1453
			$("body").css("position","static");
1453
			$("body").css("position","");
1454
			$.MsgBox.Confirm("消息", "确定继续吗?",upStatus);
1454
			$.MsgBox.Confirm("消息", "确定继续吗?",upStatus);
1455
		})
1455
		})
1456
		$("#del").click(function(){
1456
		$("#del").click(function(){
1457
			 n=3;
1457
			 n=3;
1458
			 $(".blackcover").remove();
1458
			 $(".blackcover").remove();
1459
			$("body").css("position","static");
1459
			$("body").css("position","");
1460
			upStatus();
1460
			upStatus();
1461
		})
1461
		})
1462
	}
1462
	}

+ 11 - 11
js/popup.js

105
		//关闭按钮
105
		//关闭按钮
106
		$(".workclose").click(function(){
106
		$(".workclose").click(function(){
107
			$(".blackcover").remove();
107
			$(".blackcover").remove();
108
			$("body").css("position","static");
108
			$("body").css("position","");
109
			UE.delEditor('editor');
109
			UE.delEditor('editor');
110
 		});
110
 		});
111
		
111
		
317
	//关闭按钮
317
	//关闭按钮
318
	$(".workclose").click(function(){
318
	$(".workclose").click(function(){
319
		$(".blackcover").remove();
319
		$(".blackcover").remove();
320
		$("body").css("position","static");
320
		$("body").css("position","");
321
	});
321
	});
322
}
322
}
323
// 资源申请确认
323
// 资源申请确认
398
		//关闭按钮
398
		//关闭按钮
399
		$(".workclose").click(function(){
399
		$(".workclose").click(function(){
400
			$(".blackcover").remove();
400
			$(".blackcover").remove();
401
			$("body").css("position","static");
401
			$("body").css("position","");
402
		});
402
		});
403
}
403
}
404
//资源申请确认 //
404
//资源申请确认 //
461
		//关闭按钮
461
		//关闭按钮
462
		$(".workclose").click(function(){
462
		$(".workclose").click(function(){
463
			$(".blackcover").remove();
463
			$(".blackcover").remove();
464
			$("body").css("position","static");
464
			$("body").css("position","");
465
		});
465
		});
466
}		
466
}		
467

467

502
		//关闭按钮
502
		//关闭按钮
503
		$(".workclose").click(function(){
503
		$(".workclose").click(function(){
504
			$(".blackcover").remove();
504
			$(".blackcover").remove();
505
			$("body").css("position","static");
505
			$("body").css("position","");
506
		});
506
		});
507
}	
507
}	
508

508

586
		//关闭按钮
586
		//关闭按钮
587
		$(".workclose").click(function(){
587
		$(".workclose").click(function(){
588
			$(".blackcover").remove();
588
			$(".blackcover").remove();
589
			$("body").css("position","static");
589
			$("body").css("position","");
590
		});           
590
		});           
591
}       
591
}       
592
 // 款项记录//
592
 // 款项记录//
750
		//关闭按钮
750
		//关闭按钮
751
		$(".workclose").click(function(){
751
		$(".workclose").click(function(){
752
			$(".blackcover").remove();
752
			$(".blackcover").remove();
753
			$("body").css("position","static");
753
			$("body").css("position","");
754
		});           
754
		});           
755
}
755
}
756

756

830
		$(".workclose").click(function(){
830
		$(".workclose").click(function(){
831
			$(".blackcover").remove();
831
			$(".blackcover").remove();
832
			//$("body").css({"overflow-y":"auto","-ms-overflow-y":"auto","-webkit-overflow-y":"auto","-moz-overflow-y":"auto"});
832
			//$("body").css({"overflow-y":"auto","-ms-overflow-y":"auto","-webkit-overflow-y":"auto","-moz-overflow-y":"auto"});
833
			$("body").css("position","static");
833
			$("body").css("position","");
834
		});           
834
		});           
835

835

836
}
836
}
893
		//关闭按钮
893
		//关闭按钮
894
		$(".workclose").click(function(){
894
		$(".workclose").click(function(){
895
			$(".blackcover").remove();
895
			$(".blackcover").remove();
896
			$("body").css("position","static");
896
			$("body").css("position","");
897
		});
897
		});
898
}		
898
}		
899
/****咨询专家结束评价*****/
899
/****咨询专家结束评价*****/
925
	//关闭按钮
925
	//关闭按钮
926
	$(".workclose").click(function(){
926
	$(".workclose").click(function(){
927
		$(".blackcover").remove();
927
		$(".blackcover").remove();
928
		$("body").css("position","static");
928
		$("body").css("position","");
929
	});
929
	});
930
}		
930
}		
931

931

987
		//关闭按钮
987
		//关闭按钮
988
		$(".workclose").click(function(){
988
		$(".workclose").click(function(){
989
			$(".blackcover").remove();
989
			$(".blackcover").remove();
990
			$("body").css("position","static");
990
			$("body").css("position","");
991
			UE.delEditor('editor');
991
			UE.delEditor('editor');
992
 		});
992
 		});
993
		
993
		

+ 12 - 12
js/sciresource.js

107
						"success" : function($data) {							
107
						"success" : function($data) {							
108
							if ($data.success) {
108
							if ($data.success) {
109
								$(".blackcover").remove();
109
								$(".blackcover").remove();
110
								$("body").css("position","static");	
110
								$("body").css("position","");	
111
								getDataResource();								
111
								getDataResource();								
112
							} else {
112
							} else {
113
								$.MsgBox.Alert('message',$data.msg);
113
								$.MsgBox.Alert('message',$data.msg);
118
				if(resourceID){
118
				if(resourceID){
119
					$("#deletedResource").on("click",function(){
119
					$("#deletedResource").on("click",function(){
120
						$(".blackcover").remove();
120
						$(".blackcover").remove();
121
						$("body").css("position","static");
121
						$("body").css("position","");
122
						$.MsgBox.Confirm("消息", "执行删除后资源信息将无法恢复,确定继续吗?",delet)					
122
						$.MsgBox.Confirm("消息", "执行删除后资源信息将无法恢复,确定继续吗?",delet)					
123
					})
123
					})
124
					$.ajax({		
124
					$.ajax({		
222
							{
222
							{
223
								if(resourceID){
223
								if(resourceID){
224
									$(".blackcover").remove();
224
									$(".blackcover").remove();
225
									$("body").css("position","static");
225
									$("body").css("position","");
226
									$.MsgBox.Confirm("消息", "确定修改资源信息吗?", getDataput)
226
									$.MsgBox.Confirm("消息", "确定修改资源信息吗?", getDataput)
227
									$data.fn=cacheImageKey;
227
									$data.fn=cacheImageKey;
228
								}else{
228
								}else{
233
											if (rdata.success) 
233
											if (rdata.success) 
234
											{											
234
											{											
235
													$(".blackcover").remove();
235
													$(".blackcover").remove();
236
													$("body").css("position","static");												
236
													$("body").css("position","");												
237
													getDataResource();
237
													getDataResource();
238
													$.MsgBox.Alert("消息","资源发布成功");										
238
													$.MsgBox.Alert("消息","资源发布成功");										
239
											} 
239
											} 
508
					"success" : function(data) {
508
					"success" : function(data) {
509
						if (data.success) {					
509
						if (data.success) {					
510
							$(".blackcover").remove();
510
							$(".blackcover").remove();
511
							$("body").css("position","static");
511
							$("body").css("position","");
512
							getDataResource();
512
							getDataResource();
513
							$.MsgBox.Alert('message',"报价成功");
513
							$.MsgBox.Alert('message',"报价成功");
514
						} else {
514
						} else {
527
			ajaxGet(operationId);
527
			ajaxGet(operationId);
528
			n=5;
528
			n=5;
529
			$(".blackcover").remove();
529
			$(".blackcover").remove();
530
			$("body").css("position","static");
530
			$("body").css("position","");
531
			$.MsgBox.Confirm("消息", "确定拒绝吗?",upStatus1);
531
			$.MsgBox.Confirm("消息", "确定拒绝吗?",upStatus1);
532
		});
532
		});
533
	}
533
	}
569
					"success" : function(data) {
569
					"success" : function(data) {
570
						if (data.success) {					
570
						if (data.success) {					
571
							$(".blackcover").remove();
571
							$(".blackcover").remove();
572
							$("body").css("position","static");
572
							$("body").css("position","");
573
							getDataResource();
573
							getDataResource();
574
							$.MsgBox.Alert('message',"报价成功");
574
							$.MsgBox.Alert('message',"报价成功");
575
						} else {
575
						} else {
881
			{
881
			{
882
			
882
			
883
			$(".blackcover").remove();
883
			$(".blackcover").remove();
884
			$("body").css("position","static");			
884
			$("body").css("position","");			
885
				getPageData(6,1,false);																	
885
				getPageData(6,1,false);																	
886
			}
886
			}
887
			else 
887
			else 
906
			if (rdata.success) 
906
			if (rdata.success) 
907
			{
907
			{
908
			$(".blackcover").remove();
908
			$(".blackcover").remove();
909
			$("body").css("position","static");
909
			$("body").css("position","");
910
				getDataResource();						
910
				getDataResource();						
911
			}
911
			}
912
			else 
912
			else 
1357
								if (rdata.success){
1357
								if (rdata.success){
1358
									getPageData(6,1,false);
1358
									getPageData(6,1,false);
1359
									$(".blackcover").remove();
1359
									$(".blackcover").remove();
1360
									$("body").css("position","static");
1360
									$("body").css("position","");
1361
									$.MsgBox.Alert('消息',"资源申请信息修改成功");									
1361
									$.MsgBox.Alert('消息',"资源申请信息修改成功");									
1362
								} else {
1362
								} else {
1363
									$.MsgBox.Alert('消息',"资源申请信息修改失败");
1363
									$.MsgBox.Alert('消息',"资源申请信息修改失败");
1396
		$("#reject").click(function(){
1396
		$("#reject").click(function(){
1397
			n=4;
1397
			n=4;
1398
			$(".blackcover").remove();
1398
			$(".blackcover").remove();
1399
			$("body").css("position","static");
1399
			$("body").css("position","");
1400
			$.MsgBox.Confirm("消息", "确定继续吗?",upStatus);
1400
			$.MsgBox.Confirm("消息", "确定继续吗?",upStatus);
1401
		})
1401
		})
1402
		$("#del").click(function(){
1402
		$("#del").click(function(){
1403
			 n=3;
1403
			 n=3;
1404
			 $(".blackcover").remove();
1404
			 $(".blackcover").remove();
1405
			$("body").css("position","static");
1405
			$("body").css("position","");
1406
			upStatus();
1406
			upStatus();
1407
		})
1407
		})
1408
	}
1408
	}

+ 2 - 2
js/search.js

756
											$("body")
756
											$("body")
757
												.css(
757
												.css(
758
													"position",
758
													"position",
759
													"static");
759
													"");
760
											// location.reload(true);
760
											// location.reload(true);
761
										} else {
761
										} else {
762
											$.MsgBox
762
											$.MsgBox
897
					"complete":function(){
897
					"complete":function(){
898
						//$(".consultapply").remove();
898
						//$(".consultapply").remove();
899
						$(".blackcover").remove();
899
						$(".blackcover").remove();
900
						$("body").css("position","static");
900
						$("body").css("position","");
901
						$.MsgBox.Alert("消息","咨询申请成功");
901
						$.MsgBox.Alert("消息","咨询申请成功");
902
					},
902
					},
903
				});
903
				});

+ 6 - 6
js/workindex.js

338
						"success" : function(data) {
338
						"success" : function(data) {
339
							if (data.success) {					
339
							if (data.success) {					
340
								$(".blackcover").remove();
340
								$(".blackcover").remove();
341
								$("body").css("position","static");
341
								$("body").css("position","");
342
								getRecentlyData();
342
								getRecentlyData();
343
								$.MsgBox.Alert('message',"报价成功");
343
								$.MsgBox.Alert('message',"报价成功");
344
							} else {
344
							} else {
357
				ajaxGet(operationId);
357
				ajaxGet(operationId);
358
				n=5;
358
				n=5;
359
				$(".blackcover").remove();
359
				$(".blackcover").remove();
360
				$("body").css("position","static");
360
				$("body").css("position","");
361
				$.MsgBox.Confirm("消息", "确定拒绝吗?",upStatus1);
361
				$.MsgBox.Confirm("消息", "确定拒绝吗?",upStatus1);
362
			});
362
			});
363
		}
363
		}
392
						"success" : function(data) {
392
						"success" : function(data) {
393
							if (data.success) {					
393
							if (data.success) {					
394
								$(".blackcover").remove();
394
								$(".blackcover").remove();
395
								$("body").css("position","static");
395
								$("body").css("position","");
396
								getRecentlyData();
396
								getRecentlyData();
397
								$.MsgBox.Alert('message',"报价成功");
397
								$.MsgBox.Alert('message',"报价成功");
398
							} else {
398
							} else {
511
									if (rdata.success){
511
									if (rdata.success){
512
										getRecentlyData();
512
										getRecentlyData();
513
										$(".blackcover").remove();
513
										$(".blackcover").remove();
514
										$("body").css("position","static");
514
										$("body").css("position","");
515
										$.MsgBox.Alert('消息',"资源申请信息修改成功");									
515
										$.MsgBox.Alert('消息',"资源申请信息修改成功");									
516
									} else {
516
									} else {
517
										$.MsgBox.Alert('消息',"资源申请信息修改失败");
517
										$.MsgBox.Alert('消息',"资源申请信息修改失败");
548
			$(".frm").click(function(){
548
			$(".frm").click(function(){
549
				n=4;
549
				n=4;
550
				$(".blackcover").remove();
550
				$(".blackcover").remove();
551
				$("body").css("position","static");
551
				$("body").css("position","");
552
				$.MsgBox.Confirm("消息", "确定继续吗?",upStatus1);
552
				$.MsgBox.Confirm("消息", "确定继续吗?",upStatus1);
553
			})
553
			})
554
			$("#cooperation").click(function(){
554
			$("#cooperation").click(function(){
555
				 n=3;
555
				 n=3;
556
				 $(".blackcover").remove();
556
				 $(".blackcover").remove();
557
				$("body").css("position","static");
557
				$("body").css("position","");
558
				upStatus1();
558
				upStatus1();
559
			})
559
			})
560
		}
560
		}