1 |
- import{i as y,u,c as P,r as S,o as T,t as f,_ as E,a as s,b as t,d as a,e as p,f as n,g as r,p as D,h as C}from"./index.4c45206b.js";import{p as L,N as b,L as A,a as H,T as N,H as k,b as V,l as B,c as I,d as M,_ as $}from"./background.e3cb5488.js";const F=y({components:{pageHead:L,NowData:b,LastMonthData:A,airSwitchVer:H,TemChart:N,HorFloorSpace:k,LastAllEnergy:V,lastEnergyChart:B,airSwitchHor:I,LastSaveEnergy:M},setup(){const e=u();var c=P(()=>(console.log("lastAllEnergy",e.lastAllEnergy.energyTotal),e.lastAllEnergy.energyTotal===void 0&&e.lastAllEnergy.energyCompare===void 0?2:3));const o=S({nowPage:1,doneThreePage(){o.nowPage=1,o.timePageShow()},doneTowPage(){c.value==3?o.nowPage=3:c.value==2&&(o.nowPage=1,o.timePageShow())},timePageShow(){setTimeout(()=>{o.nowPage=o.nowPage+1},6e3)}});return T(()=>{o.timePageShow()}),{...f(o)}}}),j="/sgdaping/assets/background_up_ver.7ce5bb74.png";const R=e=>(D("data-v-d1eaf383"),e=e(),C(),e),U={class:"verticalWrap"},W=R(()=>t("div",{class:"bg"},[t("img",{class:"bgUp",src:j}),t("img",{class:"bgBuild",src:$})],-1)),q={class:"container"},z={class:"hor-head"},G={key:0,class:"hor-content"},J={key:1,class:"hor-content"},K={key:2,class:"hor-content"};function O(e,c,o,Q,X,Y){const g=n("pageHead"),l=n("NowData"),i=n("airSwitchVer"),_=n("TemChart"),d=n("LastMonthData"),h=n("HorFloorSpace"),m=n("LastAllEnergy"),w=n("LastSaveEnergy"),v=n("lastEnergyChart");return r(),s("div",U,[W,t("div",q,[t("div",z,[a(g)]),e.nowPage==1?(r(),s("div",G,[a(l,{screenType:"ver"}),a(i),a(_,{screenType:"ver"}),a(d,{screenType:"ver"})])):p("",!0),e.nowPage==2?(r(),s("div",J,[a(h,{screenType:"ver",showPing:e.nowPage,onDonetowpage:e.doneTowPage},null,8,["showPing","onDonetowpage"])])):p("",!0),e.nowPage==3?(r(),s("div",K,[a(m,{screenType:"ver"}),a(w,{screenType:"ver"}),a(v,{screenType:"ver",showPing:e.nowPage,onDonethreepage:e.doneThreePage},null,8,["showPing","onDonethreepage"])])):p("",!0)])])}const ee=E(F,[["render",O],["__scopeId","data-v-d1eaf383"]]);export{ee as default};
|