portal html css js resource

teamInforShow.js 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. var userid = $.cookie("userid");
  2. var tId = GetQueryString("id");
  3. //微信分享
  4. // var qrcode = new QRCode(document.getElementById("qrcode"), {
  5. // width: 100,
  6. // height: 100
  7. // });
  8. // function makeCode() {
  9. // var hurl = window.location.href;
  10. // var elurl = hurl;
  11. // qrcode.makeCode(elurl);
  12. // }
  13. // makeCode();
  14. var qrcode = new QRCode(document.getElementById("qrcode"), {
  15. width: 100,
  16. height: 100
  17. });
  18. function makeCode() {
  19. var hurl = window.location.host;
  20. var elurl = "http://" + hurl + "/e/2.html?id=" + tId;
  21. qrcode.makeCode(elurl);
  22. }
  23. makeCode();
  24. //分享关注按钮
  25. $('.shareWeixin').hover(function(){$('.shareCode').stop(true,false).fadeToggle();});
  26. $(function() {
  27. loginStatus();//判断个人是否登录
  28. // if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){
  29. // location.href="http://" + window.location.host + "/e/p.html?id="+tId;
  30. // }
  31. function subjectShow(data) {
  32. if(data != undefined && data.length != 0) {
  33. var subs=strToAry(data)
  34. if(subs.length > 0) {
  35. for(var i = 0; i < subs.length; i++) {
  36. $("#subjectShow").append("<li>" + subs[i] + "</li>");
  37. };
  38. }
  39. }
  40. }
  41. function industryShow(data) {
  42. if(data != undefined && data.length != 0) {
  43. var subs=strToAry(data)
  44. if(subs.length > 0) {
  45. for(var i = 0; i < subs.length; i++) {
  46. $("#industryShow").append("<li><div class='h4tit'>" + subs[i] + "</div></li>");
  47. };
  48. }
  49. }
  50. }
  51. var pageNo = 1,
  52. pagePerNo = 1,
  53. rows = 20,
  54. rowsTen = 10,
  55. secretaryId = '',
  56. chiefId = ''
  57. var memberArr = {}, paperArr = [], patentArr = [], unpatentArr=[]
  58. var oAjax = function(url, dataS, otype, oFun,beforeFun,completeFun,async) {
  59. $.ajax({
  60. async:async==null?true:async,
  61. url:url,
  62. dataType: 'json',
  63. type: otype,
  64. data: dataS,
  65. traditional: true,
  66. beforeSend: beforeFun,
  67. success: function(res) {
  68. oFun(res)
  69. },
  70. complete:completeFun
  71. });
  72. },
  73. insertNodata = function (targetE,newStr) {
  74. var parent = document.getElementById(targetE).parentNode;
  75. var kong = document.createElement("div");
  76. kong.className = "con-kong";
  77. kong.innerHTML ='<div class="picbox picNull"></div>'+
  78. '<div class="txtbox">暂时没有符合该搜索条件的内容</div>'
  79. if(newStr){
  80. kong.querySelector(".txtbox").innerHTML = newStr;
  81. }
  82. if (parent.firstChild.className == "con-kong") {
  83. return
  84. } else {
  85. parent.insertBefore(kong,parent.firstChild);
  86. }
  87. },
  88. removeNodata = function (targetE) {
  89. var parent = document.getElementById(targetE).parentNode;
  90. if (parent.firstChild.className == "con-kong") {
  91. parent.removeChild(parent.firstChild);
  92. } else {
  93. return
  94. }
  95. },
  96. getUserInfo=function() {
  97. oAjax("/ajax/team/qo", {
  98. id: tId
  99. }, "get", function(data){
  100. var $info = data.data;
  101. $("#proName").text($info.name);
  102. if($info.city){
  103. $("#proAddress").html($info.city + "<span style='margin-right:10px;'></span>");
  104. }
  105. $("#proOther").text($info.orgName);
  106. document.title = $info.name + "-科袖网"
  107. //简介
  108. if($info.descp) {
  109. $("#descpS").parents(".coninfobox").removeClass("displayNone");
  110. $("#item1user>.nodatabox").addClass("displayNone");
  111. $("#descpS").text($info.descp);
  112. }
  113. //学术领域
  114. if($info.subject) {
  115. $("#subjectShow").parents(".coninfobox").removeClass("displayNone");
  116. $("#item1user>.nodatabox").addClass("displayNone");
  117. subjectShow($info.subject);
  118. }
  119. //行业领域
  120. if($info.industry) {
  121. $("#industryShow").parents(".coninfobox").removeClass("displayNone");
  122. $("#item1user>.nodatabox").addClass("displayNone");
  123. industryShow($info.industry);
  124. }
  125. var weibotitle = $info.name;
  126. var weibourl = window.location.href;
  127. var weibopic ="";
  128. $("#weibo").attr("href","http://service.weibo.com/share/share.php?appkey=3677230589&title="+weibotitle+"&url="+weibourl+"&pic="+weibopic+"&ralateUid=6242830109&searchPic=false&style=simple");
  129. });
  130. },
  131. professorListVal=function(isbind){
  132. var aimId="expertli"
  133. oAjax("/ajax/team/pro",{
  134. id:tId,
  135. pageSize:rowsTen,
  136. pageNo: pageNo,
  137. }, "get", function(res){
  138. var $info = res.data.data;
  139. if($info.length > 0) {
  140. $("#"+aimId).show()
  141. for(var i = 0; i < $info.length; i++) {
  142. var item = $info[i].professor;
  143. memberArr[item]={};
  144. if ($info[i].secretary) {
  145. secretaryId = $info[i].professor
  146. }
  147. if ($info[i].chief) {
  148. chiefId = $info[i].professor
  149. }
  150. }
  151. if (userid in memberArr) {
  152. $('.memberShow').show()
  153. } else{
  154. $('.normalShow').show()
  155. }
  156. detailPro(aimId)
  157. }
  158. if(isbind){
  159. $("#"+aimId).parent().find(".js-load-more").unbind("click").on("click",function(){
  160. pageNo++
  161. professorListVal(false)
  162. })
  163. }
  164. if ($info.length < rowsTen) {
  165. $("#"+aimId).parent().find(".js-load-more").unbind("click");
  166. $("#"+aimId).parent().find(".js-load-more").hide();
  167. }
  168. },function(){
  169. $("#"+aimId).parent().find(".js-load-more").attr("disabled",true);
  170. $("#"+aimId).parent().find(".js-load-more").addClass("active");
  171. },function(){
  172. $("#"+aimId).parent().find(".js-load-more").removeAttr("disabled");
  173. $("#"+aimId).parent().find(".js-load-more").removeClass("active");
  174. })
  175. },
  176. //专利
  177. patentListVal=function(isbind){
  178. var aimId="proPatent",newStr="尚未关联任何专利成果"
  179. oAjax("/ajax/team/patent",{
  180. id:tId,
  181. pageSize:rows,
  182. pageNo: pageNo,
  183. }, "get", function(res){
  184. var $info = res.data.data;
  185. console.log($info);
  186. $("#showPatent").html("")
  187. if($info.length > 0) {
  188. if(res.data.total>0 && res.data.total<99){
  189. $("#patCount").text(res.data.total);
  190. }
  191. if(res.data.total>99){
  192. $("#patCount").text("99+");
  193. }
  194. $("#"+aimId).show()
  195. for(var i = 0; i < $info.length; i++) {
  196. patentArr.push($info[i].patent)
  197. }
  198. detailPat(aimId)
  199. } else {
  200. $("#showPatent").parents('.otherShow').hide()
  201. }
  202. var liLen=document.getElementById(aimId).querySelectorAll("li").length;
  203. removeNodata(aimId);
  204. if($info.length == 0 && liLen == 0 ){
  205. $("#"+aimId).hide()
  206. insertNodata(aimId,newStr);
  207. }
  208. if(isbind){
  209. $("#"+aimId).parent().find(".js-load-more").unbind("click").on("click",function(){
  210. pageNo++
  211. patentListVal(false)
  212. })
  213. }
  214. if ($info.length < rows) {
  215. $("#"+aimId).parent().find(".js-load-more").unbind("click");
  216. $("#"+aimId).parent().find(".js-load-more").hide();
  217. }
  218. },function(){
  219. $("#"+aimId).parent().find(".js-load-more").attr("disabled",true);
  220. $("#"+aimId).parent().find(".js-load-more").addClass("active");
  221. },function(){
  222. $("#"+aimId).parent().find(".js-load-more").removeAttr("disabled");
  223. $("#"+aimId).parent().find(".js-load-more").removeClass("active");
  224. })
  225. },
  226. //非专
  227. unpatentListVal=function(isbind){
  228. var aimId="proUnPatent",aimIdF="showUnPatent",newStr="尚未关联任何非专利成果"
  229. oAjax("/ajax/team/resResult",{
  230. id:tId,
  231. pageSize:rows,
  232. pageNo: pageNo,
  233. }, "get", function(res){
  234. var $info = res.data.data;
  235. $("#showUnPatent").html("")
  236. if($info.length > 0) {
  237. if(res.data.total>0 && res.data.total<99){
  238. $("#unpatCount").text(res.data.total);
  239. }
  240. if(res.data.total>99){
  241. $("#unpatCount").text("99+");
  242. }
  243. $("#"+aimId).show()
  244. $("#"+aimIdF).parents(".leftconItem").find(".nodatabox").hide()
  245. $("#"+aimIdF).parents(".form-item").removeClass("displayNone");
  246. $("#"+aimIdF).parents(".coninfobox").show();
  247. for(var i = 0; i < $info.length; i++) {
  248. unpatentArr.push($info[i].researchResult)
  249. }
  250. detailUnPat(aimId)
  251. }else {
  252. $("#showUnPatent").parents('.otherShow').hide()
  253. }
  254. var liLen=document.getElementById(aimId).querySelectorAll("li").length;
  255. removeNodata(aimId);
  256. if($info.length == 0 && liLen == 0 ){
  257. $("#"+aimId).hide()
  258. insertNodata(aimId,newStr);
  259. }
  260. if(isbind){
  261. $("#"+aimId).parent().find(".js-load-more").unbind("click").on("click",function(){
  262. pageNo++
  263. unpatentListVal(false)
  264. })
  265. }
  266. if ($info.length < rows) {
  267. $("#"+aimId).parent().find(".js-load-more").unbind("click");
  268. $("#"+aimId).parent().find(".js-load-more").hide();
  269. }
  270. },function(){
  271. $("#"+aimId).parent().find(".js-load-more").attr("disabled",true);
  272. $("#"+aimId).parent().find(".js-load-more").addClass("active");
  273. },function(){
  274. $("#"+aimId).parent().find(".js-load-more").removeAttr("disabled");
  275. $("#"+aimId).parent().find(".js-load-more").removeClass("active");
  276. })
  277. },
  278. paperListVal=function(isbind){
  279. var aimId="proPaper",newStr="尚未关联任何论文"
  280. oAjax("/ajax/team/paper",{
  281. id:tId,
  282. pageSize:rows,
  283. pageNo: pageNo,
  284. }, "get", function(res){
  285. var $info = res.data.data;
  286. $("#showPaper").html("")
  287. if($info.length > 0) {
  288. if(res.data.total>0 && res.data.total<99){
  289. $("#parCount").text(res.data.total);
  290. }
  291. if(res.data.total>99){
  292. $("#parCount").text("99+");
  293. }
  294. $("#"+aimId).show()
  295. for(var i = 0; i < $info.length; i++) {
  296. paperArr.push($info[i].paper)
  297. }
  298. detailPer(aimId)
  299. }else {
  300. $("#showPaper").parents(".otherShow").hide()
  301. }
  302. if(isbind){
  303. $("#"+aimId).parent().find(".js-load-more").unbind("click").on("click",function(){
  304. pageNo++
  305. paperListVal(false)
  306. })
  307. }
  308. if ($info.length < rows) {
  309. $("#"+aimId).parent().find(".js-load-more").unbind("click");
  310. $("#"+aimId).parent().find(".js-load-more").hide();
  311. }
  312. },function(){
  313. $("#"+aimId).parent().find(".js-load-more").attr("disabled",true);
  314. $("#"+aimId).parent().find(".js-load-more").addClass("active");
  315. },function(){
  316. $("#"+aimId).parent().find(".js-load-more").removeAttr("disabled");
  317. $("#"+aimId).parent().find(".js-load-more").removeClass("active");
  318. })
  319. },
  320. detailPat=function(obj) {
  321. oAjax("/ajax/ppatent/qm",{
  322. id:patentArr,
  323. },"get",function(data){
  324. var dataStr=data.data;
  325. for(var i = 0; i < dataStr.length; i++) {
  326. var strAdd = '';
  327. strAdd += '<li class="mui-table-view-cell"><a target="_blank" href="/'+ pageUrl("pt",dataStr[i]) +'" class="flexCenter urlgo">';
  328. strAdd += '<div class="madiaHead patentHead"></div>';
  329. strAdd += '<div class="madiaInfo"><p class="h1Font ellipsisSty">'+ dataStr[i].name +'</p>';
  330. strAdd += '<p class="h2Font ellipsisSty">发明人:'+ dataStr[i].authors.substring(0, dataStr[i].authors.length - 1) +'</p>';
  331. strAdd += '<p class="h2Font ellipsisSty">申请人:'+ dataStr[i].reqPerson +'</p>';
  332. strAdd += '</div>';
  333. strAdd += '</a></li>';
  334. $("#"+obj).append(strAdd)
  335. if (i < 3) {
  336. $("#showPatent").append(strAdd);
  337. }
  338. }
  339. });
  340. },
  341. detailUnPat=function(obj) {
  342. oAjax("/ajax/resResult/qm",{
  343. id:unpatentArr,
  344. },"get",function(data){
  345. var dataStr=data.data;
  346. for(var i = 0; i < dataStr.length; i++) {
  347. var resIM='<div class="madiaHead patentHead"></div>'
  348. if (dataStr[i].pic) {
  349. var src = '/data/researchResult' + dataStr[i].pic.split(",")[0]
  350. resIM = '<div class="madiaHead patentHead" style="background-image:url('+ src +')"></div>';
  351. }
  352. var strAdd = '';
  353. strAdd += '<li class="mui-table-view-cell"><a target="_blank" href="unPatentShow.html?id='+dataStr[i].id+'" class="flexCenter urlgo">';
  354. strAdd += resIM
  355. strAdd += '<div class="madiaInfo"><p class="h1Font ellipsisSty">'+ dataStr[i].name +'</p>';
  356. strAdd += '<p class="h2Font ellipsisSty displayNone">研究者:<span class="researchers"></span></p>';
  357. if (dataStr[i].orgId) {
  358. strAdd += '<p class="h2Font ellipsisSty">所属机构:<span class="resOrgName"></span></p>';
  359. }
  360. strAdd += '</div>';
  361. strAdd += '</a></li>';
  362. $("#"+obj).append(strAdd);
  363. if (i < 3) {
  364. $("#showUnPatent").append(strAdd)
  365. }
  366. var $itemlist = $(strAdd);
  367. queryResearcher(dataStr[i].id, $itemlist)
  368. if (dataStr[i].orgId) {
  369. queryReseOrgName(dataStr[i].orgId, $itemlist)
  370. }
  371. }
  372. });
  373. },
  374. queryResearcher = function (id, $list) {
  375. if (id) {
  376. oAjax("/ajax/resResult/researcher",{
  377. "id": id
  378. }, 'get', function($data) {
  379. var arr = []
  380. if($data.data.length) {
  381. $list.find('.researchers').parent().removeClass('displayNone')
  382. for (var i = 0; i < $data.data.length;i++) {
  383. arr.push($data.data[i].name)
  384. }
  385. $list.find('.researchers').html(arr.join(','))
  386. }
  387. }, function(){},false)
  388. }
  389. },
  390. queryReseOrgName = function (id, $list) {
  391. if (id) {
  392. cacheModel.getCompany(id,function(sc,value){
  393. if(sc){
  394. if(value.forShort){
  395. $list.find(".resOrgName").html(value.forShort)
  396. }else{
  397. $list.find(".resOrgName").html(value.name)
  398. }
  399. }
  400. })
  401. }
  402. },
  403. detailPer=function(obj) {
  404. oAjax("/ajax/ppaper/qm",{
  405. id:paperArr,
  406. },"get",function(data){
  407. var dataStr=data.data;
  408. for(var i = 0; i < dataStr.length; i++) {
  409. var moreInf=""
  410. if(!dataStr[i].cn4periodical){
  411. dataStr[i].cn4periodical="";
  412. }
  413. if(!dataStr[i].en4periodical){
  414. dataStr[i].en4periodical="";
  415. }
  416. if(!dataStr[i].pubDay){
  417. dataStr[i].pubDay="";
  418. }
  419. moreInf = dataStr[i].cn4periodical+ " " +dataStr[i].en4periodical+ " " +dataStr[i].pubDay
  420. var strAdd = '';
  421. strAdd += '<li class="mui-table-view-cell"><a target="_blank" href="/'+ pageUrl("pp",dataStr[i]) +'" class="flexCenter urlgo">';
  422. strAdd += '<div class="madiaHead paperHead"></div>';
  423. strAdd += '<div class="madiaInfo"><p class="h1Font ellipsisSty">'+ dataStr[i].name +'</p>';
  424. strAdd += '<p class="h2Font ellipsisSty">作者:'+ dataStr[i].authors.substring(0, dataStr[i].authors.length - 1) +'</p>';
  425. strAdd += '<p class="h2Font ellipsisSty">期刊:'+ moreInf +'</p>';
  426. strAdd += '</div>';
  427. strAdd += '</a></li>';
  428. if(i < 3) {
  429. $('#showPaper').append(strAdd)
  430. }
  431. $('#'+obj).append(strAdd)
  432. }
  433. });
  434. },
  435. detailPro=function(obj) {
  436. document.getElementById(obj).innerHTML=""
  437. var li;
  438. for(item in memberArr){
  439. oAjax("/ajax/professor/info/"+item, null, "get", function(data){memberArr[item]=data.data},function(){},function(){},false)
  440. }
  441. for(item in memberArr) {
  442. if (item!={}){
  443. var dataStr = memberArr[item]
  444. var dImg = "../images/default-photo.jpg"
  445. if (dataStr.hasHeadImage){
  446. dImg = "/images/head/" + dataStr.id + "_l.jpg"
  447. }
  448. var li = document.createElement("li");
  449. li.className = "mui-table-view-cell";
  450. var li2 = ''
  451. if(secretaryId===dataStr.id){
  452. li2 += '<span>团队秘书</span>'
  453. }
  454. if(chiefId===dataStr.id) {
  455. li2 += '<span>首席专家</span>'
  456. }
  457. var strAdd = '';
  458. strAdd += '<li class="mui-table-view-cell"><a target="_blank" href="userInforShow.html?professorId='+ dataStr.id +'" class="flexCenter urlgo" style="min-height: 60px">';
  459. strAdd += '<div class="madiaHead useHead" style="background-image:url(' + dImg + ')"></div>';
  460. strAdd += '<div class="madiaInfo"><p class="h1Font ellipsisSty">'+ dataStr.name +'</p>';
  461. strAdd += '<p class="h2Font ellipsisSty">'+ dataStr.title|| dataStr.orgName ||'' +'</p>';
  462. strAdd += '</div>';
  463. strAdd += '<div class="tag-show">'+li2+'</div>'
  464. strAdd += '</a></li>';
  465. if(chiefId===dataStr.id) {
  466. $("#"+obj).prepend(strAdd)
  467. } else {
  468. $("#"+obj).append(strAdd)
  469. }
  470. }
  471. }
  472. },
  473. bindClickFun=function(){
  474. $("#tab6user").unbind("click").on("click",function(){
  475. var pa=$(".moreNavUl.wendaUl>li.liNow").attr("rel")
  476. $("#"+pa).find("ul").html("")
  477. $("#"+pa).find(".js-load-more").show();
  478. $(".wendaNav li").eq(0).addClass("liNow").siblings().removeClass("liNow");
  479. $("#item6drop1").show().siblings().hide();
  480. unpatentListVal(true);
  481. })
  482. $(".moreNavUl.wendaUl").on("click","li",function(){
  483. var pa=$(this).attr("rel")
  484. $("#"+pa).find("ul").html("")
  485. $("#"+pa).find(".js-load-more").show();
  486. var sortN=$(this).attr("data-num");
  487. if(sortN==1){
  488. unpatentListVal(true);
  489. }else if(sortN==2){
  490. patentListVal(true);
  491. }
  492. })
  493. //点击关注按钮
  494. $("#attentBtn").on('click', function() {
  495. if(userid && userid != null && userid != "null") {
  496. if($(this).is('.attenedSpan')){
  497. cancelCollectionAbout(tId,$(this),13)
  498. } else {
  499. collectionAbout(tId,$(this),13);
  500. }
  501. }else{
  502. quickLog();
  503. operatTab();
  504. closeLog();
  505. }
  506. });
  507. //点击联系按钮
  508. $("#conbtn").on('click', function(){
  509. if(userid && userid != null && userid != 'null' && userid != undefined && userid != 'undefined') {
  510. location.href="tidings.html?id="+secretaryId
  511. } else {
  512. quickLog();
  513. operatTab();
  514. closeLog();
  515. }
  516. });
  517. //退出团队
  518. $("#quitTeam").on('click', function(){
  519. if(userid && userid != null && userid != 'null' && userid != undefined && userid != 'undefined') {
  520. $.MsgBox.Confirm("提示", "确定要退出该团队?", function(){
  521. oAjax("/ajax/team/quit", {
  522. id: tId,
  523. professor: userid
  524. }, "post", function(data){
  525. if (data.code===801) {
  526. $.MsgBox.Alert('提示', '团队秘书不能退出团队');
  527. return
  528. }
  529. location.reload()
  530. })
  531. });
  532. } else {
  533. quickLog();
  534. operatTab();
  535. closeLog();
  536. }
  537. });
  538. //纠错反馈
  539. $(".correctSubmit").on("click",function(){
  540. var cntCon=$(this).siblings(".correctCon").val();
  541. var cntUser="";
  542. if(userid && userid != null && userid != "null") {
  543. cntUser = userid;
  544. }
  545. if(cntCon.length>500){
  546. $.MsgBox.Alert('提示', '纠错反馈内容不得超过500个字');
  547. return;
  548. }else{
  549. oAjax("/ajax/feedback/error/team",{
  550. "id": tId,
  551. "cnt":cntCon,
  552. "user":cntUser
  553. }, "POST", function(data){
  554. backSuccessed();
  555. });
  556. }
  557. })
  558. }
  559. $('#seeMoreF,#seeMoreZ').unbind("click").on("click",function(){
  560. $(".leftconItem").hide();
  561. var activeTab = $('#item6user').attr("rel");
  562. $("#item6user").show()
  563. $("ul.mainNavUl li").removeClass("liNow");
  564. $('#tab6user').addClass("liNow");
  565. $(".moreNav").hide();
  566. var pa=$(".moreNavUl.wendaUl>li.liNow").attr("rel")
  567. $("#"+pa).find("ul").html("")
  568. $("#"+pa).find(".js-load-more").show();
  569. $(".wendaNav li").eq(0).addClass("liNow").siblings().removeClass("liNow");
  570. $("#item6drop1").show()
  571. $("#item6more").show()
  572. unpatentListVal(true);
  573. })
  574. $('#seeMoreL').unbind("click").on("click",function(){
  575. $(".leftconItem").hide();
  576. var activeTab = $('#item5user').attr("rel");
  577. $("#item5user").show()
  578. $("ul.mainNavUl li").removeClass("liNow");
  579. $('#tab5user').addClass("liNow");
  580. $(".moreNav").hide();
  581. })
  582. ifcollectionAbout(tId,$(".goSpan").find(".attenSpan"), 13)
  583. getUserInfo(); //获取详细信息
  584. professorListVal(true);
  585. patentListVal(true);
  586. paperListVal(true);
  587. unpatentListVal(true);
  588. bindClickFun();
  589. })