Authored by whb

弹出框

@@ -769,12 +769,12 @@ define('yohood', function(require, exports) { @@ -769,12 +769,12 @@ define('yohood', function(require, exports) {
769 window.location.href = $(this).attr("href"); 769 window.location.href = $(this).attr("href");
770 }); 770 });
771 // 弹窗关闭 771 // 弹窗关闭
772 - $(document).click(function () { 772 + $('.dialog-w').click(function () {
773 $('.dialog-w').hide(); 773 $('.dialog-w').hide();
  774 + window.location.reload();
774 }); 775 });
775 776
776 $('.dia-content').click(function (e) { 777 $('.dia-content').click(function (e) {
777 -  
778 e.stopPropagation(); 778 e.stopPropagation();
779 }); 779 });
780 780
@@ -967,7 +967,6 @@ define('yohood', function(require, exports) { @@ -967,7 +967,6 @@ define('yohood', function(require, exports) {
967 success: function (d) { 967 success: function (d) {
968 if (d.code === 200) { 968 if (d.code === 200) {
969 $('.dialog-w').fadeIn(); 969 $('.dialog-w').fadeIn();
970 - window.location.reload();  
971 } 970 }
972 else { 971 else {
973 alert("失败"); 972 alert("失败");
@@ -1065,7 +1064,6 @@ define('yohood', function(require, exports) { @@ -1065,7 +1064,6 @@ define('yohood', function(require, exports) {
1065 success: function (d) { 1064 success: function (d) {
1066 if (d.code === 200) { 1065 if (d.code === 200) {
1067 $('.dialog-w').fadeIn(); 1066 $('.dialog-w').fadeIn();
1068 - window.location.reload();  
1069 } 1067 }
1070 else { 1068 else {
1071 alert("失败"); 1069 alert("失败");
@@ -1153,7 +1151,6 @@ define('yohood', function(require, exports) { @@ -1153,7 +1151,6 @@ define('yohood', function(require, exports) {
1153 success: function (d) { 1151 success: function (d) {
1154 if (d.code === 200) { 1152 if (d.code === 200) {
1155 $('.dialog-w').fadeIn(); 1153 $('.dialog-w').fadeIn();
1156 - window.location.reload();  
1157 } 1154 }
1158 else { 1155 else {
1159 alert("失败"); 1156 alert("失败");