ソースを参照

成功时,更换弹出显示的成功图片

luyanan 8 年 前
コミット
20be91368c
共有12 個のファイルを変更した23 個の追加3 個の削除を含む
  1. 5 1
      js/account-set.js
  2. 1 0
      js/information.brow.js
  3. 1 0
      js/login-email-find03.js
  4. 1 0
      js/login-phone-find01.js
  5. 1 0
      js/login-phone-find02.js
  6. 1 0
      js/news-list.js
  7. 1 0
      js/newsciresource.js
  8. 7 2
      js/sciresource.js
  9. 1 0
      js/search.js
  10. 2 0
      js/settings/account-binding.js
  11. 1 0
      js/settings/modify-password.js
  12. 1 0
      js/upload.js

+ 5 - 1
js/account-set.js

@ -173,6 +173,7 @@ $(function(){
173 173
						if(data.success){
174 174
							if(data.data == true){
175 175
								$.MsgBox.Alert("消息提醒","设置成功,请重新登录");
176
								$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
176 177
								/*location.href="login.html";*/
177 178
							}else{
178 179

@ -258,6 +259,7 @@ $(function(){
258 259
				async: true,
259 260
				success:function(data){ 
260 261
					 $.MsgBox.Alert('消息提醒','邮箱绑定成功')
262
					 $("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
261 263
					 userpe();
262 264
				},
263 265
				error:function(){
@ -277,6 +279,7 @@ $(function(){
277 279
				success:function(data){ 
278 280
					//console.log(data)
279 281
					 $.MsgBox.Alert('消息提醒','邮箱绑定成功')
282
					 $("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
280 283
					 var emaild = data.data.email;
281 284
					 emailhome(emaild);
282 285
					 $.cookie('userEmail',emaild,{path:"/"});
@ -430,7 +433,8 @@ $(function(){
430 433
							if(data.data == true){
431 434
								$.cookie('userMobilePhone',phoneVal,{path:"/"}); 
432 435
								$(".cover2").hide();
433
								$.MsgBox.Alert("消息提醒","手机绑定成功!");	
436
								$.MsgBox.Alert("消息提醒","手机绑定成功!");
437
								$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
434 438
								setTimeout(function(){
435 439
									location.href="account-set.html?seta=2";
436 440
								},1500);

+ 1 - 0
js/information.brow.js

@ -944,6 +944,7 @@ $(function() {
944 944
					"success": function(rdata) {
945 945
						if(rdata.success) {
946 946
							$.MsgBox.Alert('message', '资源"' + resName + '"申请发送成功!');
947
							$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
947 948
							$(".blackcover").remove();
948 949
							$("body").css("position", "");
949 950
							//location.reload(true);

+ 1 - 0
js/login-email-find03.js

@ -84,6 +84,7 @@ function resetPassword()
84 84
				if(data.success){
85 85
					if(data.data == true){
86 86
						$.MsgBox.Alert("消息","密码重置成功,3秒后自动调转登录页面!");
87
						$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
87 88
						 window.setTimeout(function(){    
88 89
		                     location.href="login.html";
89 90
		                 }, 3000); 

+ 1 - 0
js/login-phone-find01.js

@ -125,6 +125,7 @@ loginStatus();//判断个人是否登录
125 125
			    	 return false; 
126 126
			    }else{
127 127
			    	$.MsgBox.Alert("消息","发送成功,请查看手机验证码!");
128
			    	$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
128 129
					$(".msg2").text("");
129 130
			    	doClick();
130 131
			    }

+ 1 - 0
js/login-phone-find02.js

@ -54,6 +54,7 @@ $(function (){
54 54
						if(data.success){
55 55
							if(data.data == true){
56 56
								$.MsgBox.Alert("消息","密码重置成功,3秒后自动调转登录页面!");
57
								$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
57 58
								 window.setTimeout(function(){    
58 59
				                     location.href="login.html";
59 60
				                 }, 3000); 

+ 1 - 0
js/news-list.js

@ -99,6 +99,7 @@ $(function() {
99 99
					newsname = data.data;
100 100
					//console.log(newsname);
101 101
					$.MsgBox.Alert("消息","文章发表成功!");	
102
					$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
102 103
					newslist();
103 104
					$(".blackcover").remove();
104 105
					UE.delEditor('editor');

+ 1 - 0
js/newsciresource.js

@ -257,6 +257,7 @@ $(function() {
257 257
								$("body").css("position", "");
258 258
								getDataResource();
259 259
								$.MsgBox.Alert("消息", "资源发布成功");
260
								$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
260 261
								UE.delEditor('editor');
261 262
							} else {
262 263
								$.MsgBox.Alert("消息", "资源发布失败");

+ 7 - 2
js/sciresource.js

@ -235,7 +235,8 @@ $(function(){
235 235
													$(".blackcover").remove();
236 236
													$("body").css("position","");												
237 237
													getDataResource();
238
													$.MsgBox.Alert("消息","资源发布成功");										
238
													$.MsgBox.Alert("消息","资源发布成功");
239
													$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
239 240
											} 
240 241
											else 
241 242
											{
@ -511,6 +512,7 @@ $("#consd").on("click",".detailmess",function(){
511 512
							$("body").css("position","");
512 513
							getDataResource();
513 514
							$.MsgBox.Alert('message',"报价成功");
515
							$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
514 516
						} else {
515 517
							$.MsgBox.Alert('message',data.msg);
516 518
						}
@ -572,6 +574,7 @@ $("#consd").on("click",".detailmess",function(){
572 574
							$("body").css("position","");
573 575
							getDataResource();
574 576
							$.MsgBox.Alert('message',"报价成功");
577
							$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
575 578
						} else {
576 579
							$.MsgBox.Alert('message',data.msg);
577 580
						}
@ -967,6 +970,7 @@ $(".workmysrc").on("click",".payMonety",function(){
967 970
				 
968 971
					$.MsgBox.Confirm("消息", "确定支付吗?",getPay);
969 972
					 $.MsgBox.Alert('消息',"此次付款成功!");	
973
					 $("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
970 974
					
971 975
			 }
972 976
			 if(aa>bb){
@ -1358,7 +1362,8 @@ $(".workmysrc").on("click",".detailm",function(){
1358 1362
									getPageData(6,1,false);
1359 1363
									$(".blackcover").remove();
1360 1364
									$("body").css("position","");
1361
									$.MsgBox.Alert('消息',"资源申请信息修改成功");									
1365
									$.MsgBox.Alert('消息',"资源申请信息修改成功");	
1366
									$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
1362 1367
								} else {
1363 1368
									$.MsgBox.Alert('消息',"资源申请信息修改失败");
1364 1369
								}

+ 1 - 0
js/search.js

@ -729,6 +729,7 @@ $(function() {
729 729
													'资源"' +
730 730
													resName +
731 731
													'"申请发送成功!');
732
											$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
732 733
											$(".blackcover")
733 734
												.remove();
734 735
											$("body")

+ 2 - 0
js/settings/account-binding.js

@ -153,6 +153,7 @@ function userpe() {
153 153
		success: function(data) {
154 154
			//console.log(data)
155 155
			$.MsgBox.Alert('消息提醒', '邮箱绑定成功')
156
			$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
156 157
			var emaild = data.data.email;
157 158
			emailhome(emaild);
158 159
			$.cookie('userEmail', emaild, {
@ -325,6 +326,7 @@ function bindPhone() {
325 326
						});
326 327
						$(".cover2").hide();
327 328
						$.MsgBox.Alert("消息提醒", "手机绑定成功!");
329
						$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
328 330
						location.reload(true);
329 331
					} else {
330 332
						$.MsgBox.Alert("消息提醒", "短信验证不正确,请检查后重新输入。");

+ 1 - 0
js/settings/modify-password.js

@ -65,6 +65,7 @@ function restPassword() {
65 65
						$.MsgBox.Confirm("消息提醒", "设置成功,请重新登录",function(){
66 66
							location.href="login.html";
67 67
						});
68
						$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
68 69
					} else {
69 70
						$.MsgBox.Alert("消息提醒", "设置失败,请检查密码是否正确!");
70 71
					}

+ 1 - 0
js/upload.js

@ -121,6 +121,7 @@ function typeimg(authapplyid, base64) {
121 121
		success:function(data){ 
122 122
			if(data.success) {
123 123
				$.MsgBox.Alert("消息提醒","认证图片上传成功");
124
				$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
124 125
				window.location.href="account-set.html?set=3"; 
125 126
			}
126 127
		},