import{l as a,s as e,x as s,df as t}from"./utils-lib.js?v=20260328163632";import{aN as l,aO as n}from"./naive-ui.js?v=20260328163632";import{k as o,r as i,o as d,U as r,l as p,Y as c,V as m,W as u,O as x,a3 as f,F as v,L as b,_,X as g,Z as y,a1 as h,j,H as w,n as k}from"./base-lib.js?v=20260328163632";import"./__commonjsHelpers__.js?v=20260328163632";import"./env-lib.js?v=20260328163632";const H={class:"px-15 py-10"},L=["innerHTML"],N={key:0,class:"text-center text-14px text-[#999]"},T=o({__name:"index",setup(o){const T=i(!1),B=i([]),E=i(90);return d((async()=>{k((()=>{var a,e,s,t;E.value=(null==(t=null==(s=null==(e=null==(a=document.getElementsByClassName("bt-modal-header"))?void 0:a[0])?void 0:e.getElementsByTagName("span"))?void 0:s[0])?void 0:t.offsetWidth)||0})),await s({loading:T,request:t(),data:[Array,B]})})),(s,t)=>{const o=l,i=n,d=r("bt-loading");return p((m(),u("div",H,[x(i,{class:"overflow-auto h-[460px] px-2px"},{default:f((()=>[(m(!0),u(v,null,b(c(B),((a,e)=>(m(),_(o,{key:"".concat(e),size:"large",placement:"top",time:"".concat(a.addtime," - ").concat(a.title)},{default:f((()=>[g("div",{innerHTML:a.body,class:"p-5 leading-8 text-[13px] !text-#666 border border-[#e4e7ed] rounded-[4px]"},null,8,L)])),_:2},1032,["time"])))),128)),0===c(B).length?(m(),u("div",N,y(c(a)("暂无历史版本信息")),1)):h("",!0)])),_:1}),g("div",{class:"absolute -top-[27px]",style:w("left: ".concat(c(E)+30,"px"))},[x(c(e),{class:"!fixed",href:"https://www.bt.cn/new/update_log.html",target:"_blank"},{default:f((()=>[j(">>"+y(c(a)("查看更多")),1)])),_:1})],4)])),[[d,c(T)]])}}});export{T as default};
