|
@ -37,9 +37,9 @@ spa_define(function () {
|
37
|
37
|
});
|
38
|
38
|
root.find(".table-opt a.name").on("click",function () {
|
39
|
39
|
var aId = $(this).parent().attr("aId");
|
40
|
|
var pId = $(this).parent().attr("pId");
|
|
40
|
var qId = $(this).parent().attr("qId");
|
41
|
41
|
// window.open('http://www.ekexiu.com/articalShow.html?articleId=' + articleId);
|
42
|
|
window.open('http://www.ekexiu.com/qa-show.html?id='+aId+'&topid=' + pId);
|
|
42
|
window.open('http://www.ekexiu.com/qa-show.html?id='+aId+'&topid=' + qId);
|
43
|
43
|
});
|
44
|
44
|
root.find("a.author").on("click",function () {
|
45
|
45
|
var professorId = $(this).parent().attr("professorId");
|
|
@ -113,8 +113,8 @@ spa_define(function () {
|
113
|
113
|
util.alert("只能选择一篇回答");
|
114
|
114
|
} else {
|
115
|
115
|
var aId = $answer.attr("aId");
|
116
|
|
var pId = $answer.attr("pId");
|
117
|
|
window.open('http://www.ekexiu.com/qa-show.html?id='+aId+'&topid=' + pId);
|
|
116
|
var qId = $answer.attr("qId");
|
|
117
|
window.open('http://www.ekexiu.com/qa-show.html?id='+aId+'&topid=' + qId);
|
118
|
118
|
}
|
119
|
119
|
} else {
|
120
|
120
|
util.alert("请选择一篇回答");
|