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