| 1 |
- import{c as S,t as z,n as v,m as $,u as D,f as b,h as E,w as C,e as F,r as O,b as T,a as V,j as G,d as L,I}from"./index-c1f44820.js";import{C as H}from"./index-b8adef18.js";import{I as K}from"./index-12acba36.js";import{d as w,c as n,a as P,m as U,b as k,e as B,f as e,h as p,F as Y,k as A,t as J}from"./index-ebd06049.js";const[j,M]=S("grid"),Q={square:Boolean,center:z,border:z,gutter:v,reverse:Boolean,iconSize:v,direction:String,clickable:Boolean,columnNum:$(4)},R=Symbol(j);var W=w({name:j,props:Q,setup(t,{slots:i}){const{linkChildren:o}=D(R);return o({props:t}),()=>{var s;return n("div",{style:{paddingLeft:b(t.gutter)},class:[M(),{[E]:t.border&&!t.gutter}]},[(s=i.default)==null?void 0:s.call(i)])}}});const X=C(W),[Z,m]=S("grid-item"),ee=F({},O,{dot:Boolean,text:String,icon:String,badge:v,iconColor:String,iconPrefix:String,badgeProps:Object});var te=w({name:Z,props:ee,setup(t,{slots:i}){const{parent:o,index:s}=T(R),c=V();if(!o)return;const u=P(()=>{const{square:d,gutter:l,columnNum:a}=o.props,f=`${100/+a}%`,r={flexBasis:f};if(d)r.paddingTop=f;else if(l){const g=b(l);r.paddingRight=g,s.value>=+a&&(r.marginTop=g)}return r}),_=P(()=>{const{square:d,gutter:l}=o.props;if(d&&l){const a=b(l);return{right:a,bottom:a,height:"auto"}}}),h=()=>{if(i.icon)return n(L,U({dot:t.dot,content:t.badge},t.badgeProps),{default:i.icon});if(t.icon)return n(I,{dot:t.dot,name:t.icon,size:o.props.iconSize,badge:t.badge,class:m("icon"),color:t.iconColor,badgeProps:t.badgeProps,classPrefix:t.iconPrefix},null)},x=()=>{if(i.text)return i.text();if(t.text)return n("span",{class:m("text")},[t.text])},N=()=>i.default?i.default():[h(),x()];return()=>{const{center:d,border:l,square:a,gutter:f,reverse:r,direction:g,clickable:y}=o.props,q=[m("content",[g,{center:d,square:a,reverse:r,clickable:y,surround:l&&f}]),{[G]:l}];return n("div",{class:[m({square:a})],style:u.value},[n("div",{role:y?"button":void 0,class:q,style:_.value,tabindex:y?0:void 0,onClick:c},[N()])])}}});const ne=C(te);const ie={style:{height:"100vh",overflow:"hidden",display:"flex","flex-direction":"column"}},se={style:{padding:"10px 16px 0px 16px","background-image":"url('static/images/bg-home.png')","background-repeat":"no-repeat","background-position-y":"0px","background-size":"100% 120%"}},oe={style:{display:"flex","justify-content":"space-between","align-items":"center",color:"#ffffff"}},le=e("div",{style:{"font-size":"20px","font-weight":"bold"}},[e("span",null,"工作台")],-1),ae={style:{"line-height":"0px"}},re=e("div",{style:{"margin-top":"20px",display:"flex","justify-content":"space-between","align-items":"center",color:"#ffffff"}},[e("div",{style:{"font-size":"16px"}},[e("span",null,"Hi,"),e("span",null,"龙三郎")])],-1),de={style:{"margin-top":"10px","line-height":"0px"}},ce={style:{width:"100%","text-align":"left"}},ue=e("div",{style:{"font-size":"1rem",color:"#969799"}},[e("span",null,"个人设备")],-1),fe={style:{"font-size":"1rem",display:"flex","justify-content":"space-between","align-items":"baseline"}},ge=e("div",{style:{display:"flex","align-items":"baseline"}},[e("div",{style:{"font-size":"2rem","font-weight":"bold"}},"2640"),e("div",{style:{"margin-left":"5px","font-size":"1rem",color:"#969799"}},"台")],-1),pe={style:{width:"100%","text-align":"left"}},me=e("div",{style:{"font-size":"1rem",color:"#969799"}},[e("span",null,"产品类型")],-1),_e={style:{"font-size":"1rem",display:"flex","justify-content":"space-between","align-items":"baseline"}},he=e("div",{style:{display:"flex","align-items":"baseline"}},[e("div",{style:{"font-size":"2rem","font-weight":"bold"}},"5"),e("div",{style:{"margin-left":"5px","font-size":"1rem",color:"#969799"}},"类")],-1),xe={style:{padding:"0px 20px"}},ye={style:{display:"flex","justify-content":"space-between","border-radius":"2px","align-items":"center"}},ve={style:{"font-weight":"bold",display:"flex","align-items":"center"}},be=e("span",{style:{"margin-left":"4px"}},"新闻",-1),we={style:{color:"#0047FF","font-size":"0.9rem",display:"flex","align-items":"baseline"}},ze=e("span",{style:{"margin-right":"3px"}},"换一批",-1),Pe={style:{padding:"0px 0px 0px 0px",height:"0px","flex-grow":"1","overflow-y":"auto"}},ke={style:{height:"80px",display:"flex"}},Be={style:{"margin-right":"18px"}},Se={style:{width:"0px","flex-grow":"1",display:"flex","flex-direction":"column","justify-content":"space-between"}},Ce={style:{"font-weight":"bold","text-align":"left",color:"#000"}},Ie=e("div",{style:{display:"flex","justify-content":"space-between",color:"#969799"}},[e("div",null,"河南新闻"),e("div",null,"2024-06-11")],-1),je=e("div",{style:{height:"60px"}},null,-1),De=w({__name:"Index",setup(t){return(i,o)=>{const s=I,c=K,u=ne,_=X,h=H;return k(),B("div",ie,[e("div",se,[e("div",oe,[le,e("div",ae,[n(s,{name:"static/images/icon-search-white.png",size:"1.6rem"})])]),re,e("div",de,[n(c,{width:"100%",fit:"contain",src:"static/images/banner.png"})])]),e("div",null,[n(_,{square:!1,clickable:!1,border:!1,"column-num":"2",gutter:"16"},{default:p(()=>[n(u,null,{default:p(()=>[e("div",ce,[ue,e("div",fe,[ge,e("div",null,[n(s,{name:"static/images/icon-device2.png",size:"1.6rem"})])])])]),_:1}),n(u,null,{default:p(()=>[e("div",pe,[me,e("div",_e,[he,e("div",null,[n(s,{name:"static/images/icon-type.png",size:"1.6rem"})])])])]),_:1})]),_:1})]),e("div",xe,[e("div",ye,[e("div",null,[e("div",ve,[n(s,{name:"label-o",size:"1.1rem"}),be])]),e("div",we,[ze,n(s,{name:"replay",size:"1rem"})])])]),e("div",Pe,[(k(),B(Y,null,A(10,x=>n(h,{clickable:""},{default:p(()=>[e("div",ke,[e("div",Be,[n(c,{width:"80",height:"80",radius:"6",src:"static/images/banner.png"})]),e("div",Se,[e("div",Ce,[e("span",null,J(x)+"、公务员考试笔试,政审都过了,单位叫我去上班我要去吗?",1)]),Ie])])]),_:2},1024)),64))]),je])}}});export{De as default};
|