index.944d544c.js 2.3 KB

1
  1. import{p as y,N as f,L as P,a as S,T,H as E,b,l as C,c as L,d as H,_ as D}from"./background.1fe99f57.js";import{u as A,c as B,r as N,o as k,t as x,_ as I,a as n,b as e,d as s,e as i,f as a,g as r,p as M,h as V}from"./index.5ce27576.js";const $={components:{pageHead:y,NowData:f,LastMonthData:P,airSwitchVer:S,TemChart:T,HorFloorSpace:E,LastAllEnergy:b,lastEnergyChart:C,airSwitchHor:L,LastSaveEnergy:H},setup(){const o=A();var c=B(()=>(console.log("lastAllEnergy",o.lastAllEnergy.energyTotal),o.lastAllEnergy.energyTotal===void 0&&o.lastAllEnergy.energyCompare===void 0?2:3));const t=N({nowPage:1,doneTowPage(){c.value==3?t.nowPage=3:c.value==2&&(t.nowPage=1),t.timePageShow()},timePageShow(){var l=setTimeout(()=>{if(t.nowPage=t.nowPage+1,t.nowPage==4&&(t.nowPage=1),t.nowPage==2){clearTimeout(l);return}t.timePageShow()},6e3)}});return k(()=>{t.timePageShow()}),{...x(t)}}},F="/sgdaping/assets/background_up.45ba7fa6.png";const j=o=>(M("data-v-be2501aa"),o=o(),V(),o),z={class:"horizontalScreen"},R=j(()=>e("div",{class:"bg"},[e("img",{class:"bgUp",src:F}),e("img",{class:"bgBuild",src:D})],-1)),U={class:"container"},q={class:"hor-head"},G={key:0,class:"hor-content firstScreen flexBetween"},J={class:"content-left"},K={class:"content-left-cont horizontalClass flexBetween"},O={class:"bottom-left"},Q={class:"bottom-right"},W={class:"content-right"},X={key:1,class:"hor-content"},Y={key:2,class:"hor-content threeScreen"},Z={class:"topCont flexBetween"},ee={class:"threeLeft"},oe={class:"threeRight"},te={class:"bottomCont"};function se(o,c,t,l,ae,ne){const _=a("pageHead"),d=a("NowData"),h=a("airSwitchHor"),g=a("TemChart"),p=a("LastMonthData"),m=a("HorFloorSpace"),w=a("LastAllEnergy"),v=a("LastSaveEnergy"),u=a("lastEnergyChart");return r(),n("div",z,[R,e("div",U,[e("div",q,[s(_)]),o.nowPage==1?(r(),n("div",G,[e("div",J,[s(d,{screenType:"hor"}),e("div",K,[e("div",O,[s(h)]),e("div",Q,[s(g,{screenType:"hor"})])])]),e("div",W,[s(p,{screenType:"hor"})])])):i("",!0),o.nowPage==2?(r(),n("div",X,[s(m,{screenType:"hor",showPing:o.nowPage,onDonetowpage:o.doneTowPage},null,8,["showPing","onDonetowpage"])])):i("",!0),o.nowPage==3?(r(),n("div",Y,[e("div",Z,[e("div",ee,[s(w,{screenType:"hor"})]),e("div",oe,[s(v,{screenType:"hor"})])]),e("div",te,[s(u,{screenType:"hor"})])])):i("",!0)])])}const ie=I($,[["render",se],["__scopeId","data-v-be2501aa"]]);export{ie as default};