Browse Source

文章留言

jack 8 years ago
parent
commit
ee5d1b3d3a
1 changed files with 7 additions and 7 deletions
  1. 7 7
      app/js/articleShow.js

+ 7 - 7
app/js/articleShow.js

@ -89,7 +89,7 @@ function leword(row, aa) {
89 89
			},
90 90
			error: function(xhr, type, errorThrown) {
91 91
				//异常处理;
92
				console.log(type);
92
				plus.nativeUI.toast("服务器链接超时", toastStyle);
93 93
			}
94 94
		});
95 95
	})
@ -143,7 +143,7 @@ mui.plusReady(function() {
143 143
				},
144 144
				error: function(xhr, type, errorThrown) {
145 145
					//异常处理;
146
					console.log(type);
146
					plus.nativeUI.toast("服务器链接超时", toastStyle);
147 147
				}
148 148
			});
149 149
		},
@ -386,7 +386,7 @@ mui.plusReady(function() {
386 386
					},
387 387
					error: function(xhr, type, errorThrown) {
388 388
						//异常处理;
389
						console.log(type);
389
						plus.nativeUI.toast("服务器链接超时", toastStyle);
390 390
					}
391 391
				});
392 392
			}
@ -633,7 +633,7 @@ mui.plusReady(function() {
633 633
					//					mui('#pullrefresh').pullRefresh().enablePullupToRefresh();
634 634
					document.getElementById('textInput').style.display = "none";
635 635
					document.getElementById('operCol').style.display = "block";
636
					leword(1, 1);
636
					leword(500, 1);
637 637
					oArticleModule.oAjaxGet(baseUrl + "/ajax/leaveWord/lwCount", {
638 638
						"articleId": oArticleModule.articleId
639 639
					}, "get", leaveWord.leaveWordTotal)
@ -641,7 +641,7 @@ mui.plusReady(function() {
641 641
			},
642 642
			error: function(xhr, type, errorThrown) {
643 643
				//异常处理;
644
				console.log(type);
644
				plus.nativeUI.toast("服务器链接超时", toastStyle);
645 645
			},
646 646
			beforeSend: function(data) {
647 647
				console.log(JSON.stringify(data));
@ -663,7 +663,7 @@ mui.plusReady(function() {
663 663
					//					createTime = "";
664 664
					//					orderKey = "";
665 665
					//					mui('#pullrefresh').pullRefresh().enablePullupToRefresh();
666
					leword(1, 1);
666
					leword(500, 1);
667 667
					oArticleModule.oAjaxGet(baseUrl + "/ajax/leaveWord/lwCount", {
668 668
						"articleId": oArticleModule.articleId
669 669
					}, "get", leaveWord.leaveWordTotal)
@ -671,7 +671,7 @@ mui.plusReady(function() {
671 671
			},
672 672
			error: function(xhr, type, errorThrown) {
673 673
				//异常处理;
674
				console.log(type);
674
				plus.nativeUI.toast("服务器链接超时", toastStyle);
675 675
			}
676 676
		});
677 677
	})