|
@ -1,4 +1,5 @@
|
1
|
1
|
$(function() {
|
|
2
|
$(".onlogin .headnavbtn li.myinform").addClass("navcurrent");
|
2
|
3
|
var obj = {
|
3
|
4
|
rows: 20,
|
4
|
5
|
uid:$.cookie("userid")
|
|
@ -39,9 +40,6 @@ $(function() {
|
39
|
40
|
|
40
|
41
|
}
|
41
|
42
|
|
42
|
|
},
|
43
|
|
error: function() {
|
44
|
|
$.MsgBox.Alert('提示', '服务器连接超时!');
|
45
|
43
|
}
|
46
|
44
|
});
|
47
|
45
|
}
|
|
@ -76,9 +74,6 @@ $(function() {
|
76
|
74
|
li.find(".useHead").css('background-image', "url(/images/head/" + $data.id + "_l.jpg");
|
77
|
75
|
}
|
78
|
76
|
}
|
79
|
|
},
|
80
|
|
error: function(x) {
|
81
|
|
plus.nativeUI.toast("服务器链接超时", toastStyle);
|
82
|
77
|
}
|
83
|
78
|
});
|
84
|
79
|
}
|
|
@ -93,18 +88,14 @@ $(function() {
|
93
|
88
|
traditional: true, //传数组必须加这个
|
94
|
89
|
success: function(data) {
|
95
|
90
|
if(data.success) {
|
96
|
|
$(".mymessage").eq(0).find(".badge").text("")
|
|
91
|
$(".myinform").eq(0).find(".badge").text("")
|
97
|
92
|
}
|
98
|
93
|
|
99
|
|
},
|
100
|
|
error: function() {
|
101
|
|
plus.nativeUI.toast("服务器链接超时", toastStyle);
|
102
|
94
|
}
|
103
|
95
|
});
|
104
|
96
|
}
|
105
|
97
|
$("#curAnswers").on("click", ".cnt", function() {
|
106
|
98
|
var dobj = $(this).parents("li").data("obj");
|
107
|
|
alert(JSON.stringify(dobj))
|
108
|
99
|
var our = "";
|
109
|
100
|
if(dobj.opType == 0) {
|
110
|
101
|
ourl = "userInforShow.html?professorId=" + dobj.uid;
|