import{w as k}from"./wordcloud.d27a4ec3.js";import{q as x,_ as g,j as b,k as q,b as y,o as l,c as h,f as e,d,t as n,e as m,i as v,s as N,T as j,H as i}from"./index.699f1124.js";const C={class:"box"},B={class:"wrap"},D={class:"img"},I={class:"content"},O={class:"tit"},S={key:0,class:"line",style:{overflow:"hidden"}},T=i("\u804C\u52A1\uFF1A"),V={style:{display:"inline-block",width:"100%",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},$={class:"line"},E=i(" \u804C\u79F0\uFF1A "),J={class:"line"},R=i(" \u6240\u5C5E\u7814\u7A76\u673A\u6784\uFF1A "),z={class:"keywordsWrap"},H={class:"keywords"},L=x({name:"ExpertItem"}),W=Object.assign(L,{props:{data:{type:Object,required:!0}},setup(t){const r=b(),c=q();function f(a){let s=c.resolve({path:`/searchList/expert/detail/${a}`,query:{keyword:r.query.keyword,queryType:r.query.queryType}});c.push(s)}function w(a){let s=[];return JSON.parse(JSON.stringify(a)).map(o=>(s.push({name:o,value:30}),{name:o,value:30})),s}return(a,s)=>{var _,p;const u=y("el-image"),o=y("el-col");return l(),h("div",C,[e("div",B,[e("div",D,[d(u,{src:t.data.image,fit:"fill"},null,8,["src"])]),e("div",I,[e("div",O,[e("span",{style:{cursor:"pointer"},onClick:s[0]||(s[0]=A=>f(t.data.id))},"\u59D3\u540D\uFF1A"+n(t.data.name),1)]),t.data.job?(l(),h("div",S,[d(o,null,{default:m(()=>[T]),_:1}),d(o,{style:{display:"inline-block",width:"calc(100% - 86px)"}},{default:m(()=>[e("span",V,n(t.data.job),1)]),_:1})])):v("",!0),e("div",$,[E,e("span",null,n(t.data.title),1)]),e("div",J,[R,e("span",null,n(t.data.organization),1)])]),e("div",z,[e("div",H,[t.data.keyword?(l(),N(k,{key:0,data:w((p=(_=t.data.keyword)==null?void 0:_.split(","))!=null?p:[])},null,8,["data"])):v("",!0)])])]),j(a.$slots,"default",{},void 0,!0)])}}});var K=g(W,[["__scopeId","data-v-0aa21330"]]);export{K as e};
