|
|
|
|
53
|
$itemlist.find("#newstype").text("文章");
|
53
|
$itemlist.find("#newstype").text("文章");
|
54
|
$itemlist.find("#newstype").addClass("articalLabel");
|
54
|
$itemlist.find("#newstype").addClass("articalLabel");
|
55
|
$itemlist.find("#newsimg").addClass("artical-default");
|
55
|
$itemlist.find("#newsimg").addClass("artical-default");
|
56
|
$itemlist.find("#userimg").addClass("userhead");
|
|
|
57
|
$itemlist.find("#newsurl").attr("href", "articalInfo.html?articleId=" + datalist.id + "&professorId=" + datalist.owner);
|
|
|
|
|
56
|
$itemlist.find("#userimg").addClass("cmplogohead");
|
|
|
57
|
$itemlist.find("#newsurl").attr("href", "articalInfo.html?oFlag=1&articleId=" + datalist.id + "&professorId=" + datalist.owner);
|
58
|
cmpFun(datalist.owner, $itemlist)
|
58
|
cmpFun(datalist.owner, $itemlist)
|
59
|
} else if(type == 3) { //专家资源
|
59
|
} else if(type == 3) { //专家资源
|
60
|
$itemlist.find("#newstype").text("资源");
|
60
|
$itemlist.find("#newstype").text("资源");
|
61
|
$itemlist.find("#newstype").addClass("resourceLabel");
|
61
|
$itemlist.find("#newstype").addClass("resourceLabel");
|
62
|
$itemlist.find("#newsimg").addClass("resource-default");
|
62
|
$itemlist.find("#newsimg").addClass("resource-default");
|
63
|
$itemlist.find("#userimg").addClass("cmplogohead");
|
|
|
|
|
63
|
$itemlist.find("#userimg").addClass("userhead");
|
64
|
$itemlist.find("#newsurl").attr("href", "resourceInfo.html?resourceId=" + datalist.id);
|
64
|
$itemlist.find("#newsurl").attr("href", "resourceInfo.html?resourceId=" + datalist.id);
|
65
|
userFun(datalist.owner, $itemlist);
|
65
|
userFun(datalist.owner, $itemlist);
|
66
|
}
|
66
|
}
|