1import{T as V,F as D}from"./footer-DxxD7oxw.js";import{w as P}from"./footerWhite-7YAjG6Ya.js";import{_ as q,r as p,R as L,o as M,u as C,c as s,i as l,b as o,k as f,q as y,n as v,w as g,h as u,F as b,j as I,ah as R,a,t as k}from"./index-DdQnjXWV.js";import{b as H,c as $,d as E}from"./getAdvertisingImage-GhP0M8IH.js";import"./index-6aw_8o84.js";import"./Language-CcmGrRBl.js";import"./domain-4M2G2HXq.js";import"./config-C414GStU.js";const W={class:"hot"},G={class:"hot-container"},J={class:"collapse-title"},K={class:"sle title-txt"},O={class:"hot-date"},Q=["onClick"],X={class:"content-txt"},Y={key:0,class:"content-btn"},Z={key:0,class:"h-r custom-scrollbar"},ee=["src","onClick"],te={__name:"hot",setup(oe){const _=p(""),d=p(!1),w=p([]),i=p([]),n=L({pageNum:1,pageSize:10,total:0}),A=async()=>{const e=await $({pageConfig:"model_square"});e.code==200&&(i.value=e.data||[],C().getServiceInfo().agentFlag==!0&&(i.value=i.value.filter(h=>h.agentWebStatus!=="0")),i.value.length&&(d.value=!0))},m=async()=>{try{window.scrollTo({top:0,behavior:"smooth"});const e=await H(n);e.code==200&&(w.value=e.rows||[],n.total=e.total)}catch(e){console.error("å 载活å¨å表失败:",e)}};function F(e){E({id:e.id}),e.jumpUrl&&window.open(e.jumpUrl,"_blank")}function S(e){e.jumpUrl&&window.open(e.jumpUrl,"_blank")}const x=e=>{n.pageNum=e,m()},N=e=>{n.pageSize=e,m()},c=p({});return M(()=>{c.value=C().getServiceInfo(),m(),A()}),(e,r)=>{const h=u("ArrowRightBold"),T=u("el-icon"),U=u("el-collapse-item"),j=u("el-collapse"),z=u("el-pagination");return a(),s("div",{style:{"background-color":"#000"},class:v({"is-white":c.value.agentTheme==0})},[l(V,{"top-nav-bg":"#0d0d12"}),o("div",W,[o("section",null,[r[1]||(r[1]=o("h1",null,"ç鍿´»å¨",-1)),o("div",G,[o("div",{class:v(["h-l",{"is-hotImg":!d.value}])},[l(j,{modelValue:_.value,"onUpdate:modelValue":r[0]||(r[0]=t=>_.value=t),accordion:""},{default:g(()=>[(a(!0),s(b,null,I(w.value,t=>(a(),f(U,{name:t.id,key:t.id},{title:g(()=>[o("div",J,[l(T,{class:v(["arrow-icon",{"is-active":_.value===t.id}])},{default:g(()=>[l(h)]),_:2},1032,["class"]),o("span",K,k(t.activityName),1),o("span",O,k(t.updateTime),1)])]),default:g(()=>[o("div",{class:"collapse-content",onClick:B=>F(t)},[o("div",X,k(t.activityDescribe),1),t.jumpUrl?(a(),s("div",Y,"ç«å³æ¥ç>>")):y("",!0)],8,Q)]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])],2),d.value?(a(),s("div",Z,[(a(!0),s(b,null,I(i.value,t=>(a(),s("div",{class:"hot-img-box",key:t.id},[o("img",{src:t.imageUrl,alt:"",onClick:B=>S(t)},null,8,ee)]))),128))])):y("",!0)]),n.total>0?(a(),s("div",{key:0,class:v(["pagination my-pag",[{"is-not-hotImg":!d.value},{"black-pagination":c.value.agentTheme!=0}]])},[l(z,{onSizeChange:N,onCurrentChange:x,background:"",layout:"prev, pager, next,sizes",total:n.total,"popper-class":c.value.agentTheme!=0?"popper-style":"white-popper"},null,8,["total","popper-class"])],2)):y("",!0)]),c.value.agentTheme!=0?(a(),f(D,{key:0})):(a(),f(P,{key:1})),l(R)])],2)}}},ue=q(te,[["__scopeId","data-v-8aaaf7ac"]]);export{ue as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.