index.3892467e.js 1.8 KB

1
  1. import{_ as x,a1 as y,a as u,r as I,a8 as S,y as C,o as t,g as o,d as s,e as v,F as _,n as h,m as p,x as w,u as m,U as F,t as l,a5 as N,L as b,M as B}from"./index.5d5a0f88.js";import{i as L}from"./indexHeaders.076c3c67.js";import"./CountDate.vue_vue_type_style_index_0_scoped_true_lang.5ec90885.js";import{F as R}from"./Footer.03112b8e.js";/* empty css */const d=a=>(b("data-v-2898ff4c"),a=a(),B(),a),V={class:"login-wrapper"},$={class:"register"},z={class:"register-left"},E=["onClick"],U={class:"register-content"},j={key:0,class:"news-no"},q=d(()=>s("img",{src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/news-no-bg.png"},null,-1)),D=d(()=>s("div",null,"\u6682\u65E0\u65B0\u7684\u8D44\u8BAF",-1)),H=[q,D],M=["onClick"],O={class:"list-img"},T=["src"],A={class:"list-cen"},G={class:"name"},J={class:"list-right"},K=d(()=>s("div",{class:"list-btn"},"\u67E5\u770B\u8BE6\u60C5",-1)),P={class:"time"},Q={__name:"index",setup(a){localStorage.getItem("USER__INFO__")&&y().then(i=>{});const g=u(["\u8D44\u8BAF\u4E2D\u5FC3"]);let n=u(0);const c=I({arr:[]});S().then(i=>{c.arr=i.data.data});const f=C(),k=i=>{f.push({path:"/news/detail",query:{id:i}})};return(i,W)=>(t(),o(_,null,[s("div",V,[s("div",null,[v(L)]),s("div",$,[s("div",z,[(t(!0),o(_,null,h(g.value,(e,r)=>(t(),o("div",{class:w(["register-list",m(n)==r?"colorStyle":""]),onClick:X=>F(n)?n.value=r:n=r},l(e),11,E))),256))]),s("div",U,[c.arr==""?(t(),o("div",j,H)):p("v-if",!0),(t(!0),o(_,null,h(c.arr,e=>(t(),o("div",{class:"list",onClick:r=>k(e.id)},[s("div",O,[s("img",{src:e.logo},null,8,T)]),s("div",A,[s("div",G,l(e.title),1),p(' <div class="content">2020/07/14 18:00\u5907\u4EFD 8</div>')]),s("div",J,[K,s("div",P,l(m(N)(e.create_time)),1)])],8,M))),256))])])]),v(R)],64))}};var os=x(Q,[["__scopeId","data-v-2898ff4c"]]);export{os as default};