import{w}from"./index.269dc841.js";import{s as q}from"./index.ff1c8ac7.js";import{s as N}from"./searchContainer.cbb3a158.js";import{e as S}from"./expertItem.115423ad.js";import{_ as T,a as u,r as b,b as y,M as k,o as i,c as l,d as o,e as m,j as z,f as s,t as C,N as D,F as B,h as V,H as v}from"./index.699f1124.js";import"./index.c2385adf.js";import"./index.efab2b32.js";import"./wordcloud.d27a4ec3.js";const F={class:"index"},H={style:{flex:"1"}},I={style:{position:"relative"}},K={class:"total"},L=v(" \u5171\u627E\u5230 "),P=v(" \u4F4D\u4E13\u5BB6 "),Q={class:"r"},R={__name:"expert",setup(U){const c=z(),d=u([]),p=u(0),r=u(!0),e=b({pageNum:1,pageSize:5,searchType:5,queryType:c.query.queryType,query:c.query.keyword});function g(t){e.query=t.currentKeyword,e.queryType=t.queryType,_()}const _=async()=>{r.value=!0;try{const t=await q(e);d.value=t.list,p.value=t.total,r.value=!1}catch{r.value=!1}};return(t,n)=>{const f=y("pagination"),x=y("el-row"),h=k("loading");return i(),l("div",F,[o(N,{bannerKey:"\u9996\u9875>\u4E13\u5BB6\u5E93>\u4E13\u5BB6\u5217\u8868",title:"\u4E13\u5BB6\u5E93",onHandleQuery:g},{default:m(()=>[o(x,{type:"flex",style:{padding:"20px 0"}},{default:m(()=>[s("div",H,[s("div",I,[s("div",K,[L,s("span",null,C(p.value),1),P]),D((i(),l("div",null,[(i(!0),l(B,null,V(d.value,a=>(i(),l("section",{key:a.id},[o(S,{style:{width:"661px","margin-bottom":"10px"},data:a},null,8,["data"])]))),128))])),[[h,r.value]]),o(f,{class:"pagination",total:p.value,pageSizes:[5,10,10<<1,10<<2,10<<3],page:e.pageNum,"onUpdate:page":n[0]||(n[0]=a=>e.pageNum=a),limit:e.pageSize,"onUpdate:limit":n[1]||(n[1]=a=>e.pageSize=a),autoScroll:!1,onPagination:_},null,8,["total","page","limit"])])]),s("div",Q,[o(w)])]),_:1})]),_:1})])}}};var X=T(R,[["__scopeId","data-v-2a134380"]]);export{X as default};
