|
|
|
|
70
|
$itemlist.find("#newsimg").attr("style", "background-image: url(/data/resource/" + datalist.image + ");");
|
70
|
$itemlist.find("#newsimg").attr("style", "background-image: url(/data/resource/" + datalist.image + ");");
|
71
|
}
|
71
|
}
|
72
|
userFun(datalist.owner, $itemlist);
|
72
|
userFun(datalist.owner, $itemlist);
|
|
|
73
|
} else if(type == 4) { //企业资源
|
|
|
74
|
$itemlist.find("#newstype").text("资源");
|
|
|
75
|
$itemlist.find("#newstype").addClass("resourceLabel");
|
|
|
76
|
$itemlist.find("#newsimg").addClass("resource-default");
|
|
|
77
|
$itemlist.find("#userimg").addClass("cmplogohead");
|
|
|
78
|
$itemlist.find("#newsurl").attr("href", "resourceShow.html?resourceId=" + datalist.id);
|
|
|
79
|
if(datalist.image) {
|
|
|
80
|
$itemlist.find("#newsimg").attr("style", "background-image: url(/data/resource/" + datalist.image + ");");
|
|
|
81
|
}
|
|
|
82
|
cmpFun(datalist.owner, $itemlist)
|
73
|
}
|
83
|
}
|
74
|
}
|
84
|
}
|
75
|
//分页
|
85
|
//分页
|