|
@ -236,7 +236,7 @@ $(function(){
|
236
|
236
|
add+='<div class="synopsis" style="width:66%;">'
|
237
|
237
|
add+='<div class="cousultName"><a class="resouname" href="javascript:void();">'+$da[i].resourceName+'</a></div>'
|
238
|
238
|
if($da[i].professor.name){
|
239
|
|
add+='<div class="belongname">'+$da[i].professor.name+'<img class="modicon" src="images/onauth.png" width="14" ></div>'
|
|
239
|
add+='<div class="belongname"><a style="float:left;display:block;">'+$da[i].professor.name+'</a><a class="modicon"style="display:block;top:3px;left:5px;"></a></div>'
|
240
|
240
|
}
|
241
|
241
|
if($da[i].professor.title==undefined){
|
242
|
242
|
$da[i].professor.title="";
|
|
@ -247,7 +247,7 @@ $(function(){
|
247
|
247
|
if($da[i].professor.orgName==undefined){
|
248
|
248
|
$da[i].professor.orgName="";
|
249
|
249
|
}
|
250
|
|
add+='<div class="positionbox">'+$da[i].professor.title+$da[i].professor.department+$da[i].professor.orgName+'</div>'
|
|
250
|
add+='<div style="clear:both"></div><div class="positionbox">'+$da[i].professor.title+$da[i].professor.department+$da[i].professor.orgName+'</div>'
|
251
|
251
|
if($da[i].subject)
|
252
|
252
|
{
|
253
|
253
|
add+='<div class="ellipsisbox sciencebox"><p>学术领域:'+$da[i].subject+'</p></div>'
|
|
@ -264,9 +264,22 @@ $(function(){
|
264
|
264
|
add+='</div></div>'
|
265
|
265
|
var $add=$(add);
|
266
|
266
|
$("#professorList").append($add);
|
267
|
|
if($da[i].professor.authentication==false) {
|
268
|
|
$add.find(".modicon").attr("src","images/icon-unauth.png");
|
269
|
|
}
|
|
267
|
if($da[i].professor.authType) {
|
|
268
|
$add.find(".modicon").addClass("authicon authicon-cu");
|
|
269
|
} else {
|
|
270
|
if($da[i].professor.authStatus) {
|
|
271
|
if($da[i].professor.authentication == 1) {
|
|
272
|
$add.find(".modicon").addClass("authicon2 authicon-mana");
|
|
273
|
$add.find(".modicon").html("<span style='top:35%'>科研</span>");
|
|
274
|
} else if($da[i].professor.authentication == 2) {
|
|
275
|
$add.find(".modicon").addClass("authicon2 authicon-staff");
|
|
276
|
$add.find(".modicon").html("<span style='top:35%'>企业</span>");
|
|
277
|
} else {
|
|
278
|
$add.find(".modicon").addClass("authicon2 authicon-stu");
|
|
279
|
$add.find(".modicon").html("<span style='top:35%'>学生</span>");
|
|
280
|
}
|
|
281
|
}
|
|
282
|
}
|
270
|
283
|
if(data.data.data[i].images.length)
|
271
|
284
|
{
|
272
|
285
|
$add.find(".resourceImg").attr("src","/images/resource/"+$da[i].resourceId+".jpg");
|