|
@ -715,7 +715,8 @@ function addAgree() {
|
715
|
715
|
});
|
716
|
716
|
}
|
717
|
717
|
mui(".artfoot").on("tap", ".inputShow", function() {
|
718
|
|
if(!isLogin) {
|
|
718
|
|
|
719
|
if(!isLogin()) {
|
719
|
720
|
document.getElementById("textInput").style.display = "block";
|
720
|
721
|
document.getElementById("operCol").style.display = "none";
|
721
|
722
|
document.getElementById("textInputThis").focus();
|
|
@ -727,7 +728,7 @@ leword();
|
727
|
728
|
function leword() {
|
728
|
729
|
var data = {"patentId": patentId,"rows": 500}
|
729
|
730
|
mui.ajax(baseUrl + "/ajax/leaveWord/ql/patent", {
|
730
|
|
data: obj,
|
|
731
|
data: data,
|
731
|
732
|
dataType: 'json', //服务器返回json格式数据
|
732
|
733
|
type: 'get', //HTTP请求类型
|
733
|
734
|
timeout: 10000, //超时时间设置为10秒;
|
|
@ -781,7 +782,7 @@ lewordNum();
|
781
|
782
|
function lewordNum() {
|
782
|
783
|
var data = {"patentId": patentId}
|
783
|
784
|
mui.ajax(baseUrl + "/ajax/leaveWord/lwCount/patent", {
|
784
|
|
data: obj,
|
|
785
|
data: data,
|
785
|
786
|
dataType: 'json', //服务器返回json格式数据
|
786
|
787
|
type: 'get', //HTTP请求类型
|
787
|
788
|
timeout: 10000, //超时时间设置为10秒;
|
|
@ -830,12 +831,9 @@ document.getElementsByClassName("mui-btn")[0].addEventListener("tap", function()
|
830
|
831
|
lewordNum();
|
831
|
832
|
}
|
832
|
833
|
},
|
833
|
|
error: function(xhr, type, errorThrown) {
|
|
834
|
error: function() {
|
834
|
835
|
//异常处理;
|
835
|
836
|
plus.nativeUI.toast("服务器链接超时", toastStyle);
|
836
|
|
},
|
837
|
|
beforeSend: function(data) {
|
838
|
|
console.log(JSON.stringify(data));
|
839
|
837
|
}
|
840
|
838
|
});
|
841
|
839
|
})
|
|
@ -861,4 +859,11 @@ mui(".commentBlock").on("tap", ".dele", function() {
|
861
|
859
|
}
|
862
|
860
|
});
|
863
|
861
|
})
|
|
862
|
mui('.commentBlock').on('tap', '.useHead,.h1Font', function() {
|
|
863
|
var id = this.getAttribute("data-id");
|
|
864
|
plus.nativeUI.showWaiting(); //显示原生等待框
|
|
865
|
plus.webview.create("../html/userInforShow.html", 'userInforShow.html', {}, {
|
|
866
|
proid: id
|
|
867
|
});
|
|
868
|
})
|
864
|
869
|
});
|