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