main-c8680a83.js 1.4 KB

1
  1. import{d as x,o as a,c as e,F as b,B as j,j as t,i as U,t as f,__tla as B}from"./index-abaca7e8.js";import{E,__tla as F}from"./el-image-56fee7ab.js";import{__tla as I}from"./el-image-viewer-45c4debe.js";import{_ as N}from"./_plugin-vue_export-helper-1b428a4d.js";let v,P=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return I}catch{}})()]).then(async()=>{let l,i,r,n,c,m,_,o,d,h,p;l={class:"news-home"},i=["href"],r={class:"news-main"},n={class:"news-content"},c={class:"news-content-title"},m=["href"],_={class:"news-main-item"},o={class:"news-content-item"},d={class:"news-content-item-title"},h={class:"news-content-item-img"},p=["src"],v=N(x({name:"WxNews",__name:"main",props:{articles:{default:null}},setup:(w,{expose:g})=>(g({articles:w.articles}),(y,W)=>{const k=E;return a(),e("div",l,[(a(!0),e(b,null,j(y.articles,(s,u)=>(a(),e("div",{key:u,class:"news-div"},[u===0?(a(),e("a",{key:0,href:s.url,target:"_blank"},[t("div",r,[t("div",n,[U(k,{src:s.picUrl,class:"material-img",style:{width:"100%",height:"120px"}},null,8,["src"]),t("div",c,[t("span",null,f(s.title),1)])])])],8,i)):(a(),e("a",{key:1,href:s.url,target:"_blank"},[t("div",_,[t("div",o,[t("div",d,f(s.title),1),t("div",h,[t("img",{src:s.picUrl,class:"material-img",height:"100%"},null,8,p)])])])],8,m))]))),128))])})}),[["__scopeId","data-v-c8dbe91f"]])});export{P as __tla,v as default};