|
|
|
|
249
|
$("#professorList").append($add);
|
249
|
$("#professorList").append($add);
|
250
|
|
250
|
|
251
|
if(data.data.data[i].images.length) {
|
251
|
if(data.data.data[i].images.length) {
|
252
|
$add.find(".resourceImg").attr("src", "/images/resource/" + $da[i].resourceId + ".jpg");
|
|
|
|
|
252
|
$add.find(".resourceImg").attr("src", "/data/resource/" + $da[i].images[0].imageSrc);
|
253
|
} else {
|
253
|
} else {
|
254
|
$add.find(".resourceImg").attr("src", "/images/default-resource.jpg");
|
254
|
$add.find(".resourceImg").attr("src", "/images/default-resource.jpg");
|
255
|
}
|
255
|
}
|