index-legacy-256ce7d4.js 7.2 KB

1
  1. !function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function o(e){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?t(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function n(t,o,n){return(o=function(t){var o=function(t,o){if("object"!==e(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,o||"default");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===e(o)?o:String(o)}(o))in t?Object.defineProperty(t,o,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[o]=n,t}System.register(["./background-legacy-0c0e6f80.js","./index-legacy-2404ff5b.js"],(function(e,t){"use strict";var n,r,a,i,l,c,g,s,d,f,h,u,p,b,v,m,w,y,S,P,x,z,T,j,O,C,E=document.createElement("style");return E.textContent=".horizontalScreen[data-v-88f566d2]{padding:.20833rem;height:100%;overflow:hidden;box-sizing:border-box;scrollbar-width:none;position:relative}.horizontalScreen .container[data-v-88f566d2]{height:100%}.horizontalScreen .bg[data-v-88f566d2]{position:absolute;top:0;left:0;z-index:-1;right:0;bottom:0;overflow:hidden}.horizontalScreen .bg .bgUp[data-v-88f566d2]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-2}.horizontalScreen .bg .bgBuild[data-v-88f566d2]{position:absolute;top:0%;left:0;width:120%;height:120%;z-index:-4;animation:mymove-88f566d2 40s linear infinite alternate;-webkit-animation:mymove-88f566d2 40s linear infinite alternate}@keyframes mymove-88f566d2{0%{left:0}to{left:-20%}}.horizontalScreen .hor-head[data-v-88f566d2]{height:.69792rem;box-sizing:border-box}.horizontalScreen .hor-content[data-v-88f566d2]{height:calc(100% - .69792rem)}.horizontalScreen .firstScreen[data-v-88f566d2]{box-sizing:border-box}.horizontalScreen .firstScreen .content-left[data-v-88f566d2]{width:calc(100% - 1.57813rem);height:100%}.horizontalScreen .firstScreen .content-right[data-v-88f566d2]{width:1.57813rem;height:100%}.horizontalScreen .firstScreen .content-left-cont[data-v-88f566d2]{height:52%}.horizontalScreen .firstScreen .content-left-cont .bottom-left[data-v-88f566d2]{width:36%;height:100%;background:rgba(100,108,130,.06);backdrop-filter:blur(.10417rem);border-top-left-radius:.10417rem;border-bottom-left-radius:.10417rem}.horizontalScreen .firstScreen .content-left-cont .bottom-right[data-v-88f566d2]{width:64%;height:100%;background:rgba(100,108,130,.06);backdrop-filter:blur(.10417rem);border-top-right-radius:.10417rem;border-bottom-right-radius:.10417rem}.horizontalScreen .flexBetween[data-v-88f566d2]{display:flex;justify-content:space-between}.threeScreen .topCont[data-v-88f566d2]{height:56%}.threeScreen .topCont .threeLeft[data-v-88f566d2]{position:relative;height:100%;width:40%;box-sizing:border-box;padding-right:.13021rem}.threeScreen .topCont .threeLeft .left-content[data-v-88f566d2]{text-align:center;height:2.03125rem;width:100%;margin-top:.10417rem;position:relative;display:flex;justify-content:center;align-items:center}.threeScreen .topCont .threeLeft .left-content .lastbg[data-v-88f566d2]{position:absolute}.threeScreen .topCont .threeRight[data-v-88f566d2]{position:relative;height:100%;width:60%}.threeScreen .bottomCont[data-v-88f566d2]{height:44%;padding-top:.125rem;box-sizing:border-box}\n",document.head.appendChild(E),{setters:[function(e){n=e.p,r=e.N,a=e.L,i=e.a,l=e.T,c=e.H,g=e.b,s=e.l,d=e.c,f=e.d,h=e._},function(e){u=e.r,p=e.u,b=e.c,v=e.a,m=e.o,w=e.t,y=e._,S=e.b,P=e.d,x=e.e,z=e.f,T=e.g,j=e.h,O=e.p,C=e.i}],execute:function(){var t={components:{pageHead:n,NowData:r,LastMonthData:a,airSwitchVer:i,TemChart:l,HorFloorSpace:c,LastAllEnergy:g,lastEnergyChart:s,airSwitchHor:d,LastSaveEnergy:f},setup:function(){var e=u(),t=p(),n=b((function(){return console.log("lastAllEnergy",t.lastAllEnergy.energyTotal),void 0===t.lastAllEnergy.energyTotal&&void 0===t.lastAllEnergy.energyCompare?2:3})),r=v({nowPage:1,timeoutsign:null,toplay:function(){2==r.nowPage?e.value&&e.value.toplay():r.timePageShow(500)},tostop:function(){2==r.nowPage&&e.value&&e.value.tostop(),clearTimeout(r.timeoutsign)},nextpage:function(){if(clearTimeout(r.timeoutsign),3==r.nowPage)return r.nowPage=1,void(!t.stopSign&&r.timePageShow(7e3));1!=r.nowPage?2==r.nowPage&&(3==n.value?r.nowPage=3:2==n.value&&(r.nowPage=1),!t.stopSign&&r.timePageShow(7e3)):r.nowPage=2},lastpage:function(){if(clearTimeout(r.timeoutsign),3!=r.nowPage)return 2==r.nowPage?(r.nowPage=1,void(!t.stopSign&&r.timePageShow(7e3))):void(1==r.nowPage&&(3==n.value?(r.nowPage=3,!t.stopSign&&r.timePageShow(7e3)):2==n.value&&(r.nowPage=2)));r.nowPage=2},doneTowPage:function(){t.stopSign||r.timePageShow(500)},timePageShow:function(e){r.timeoutsign=setTimeout((function(){if(!t.stopSign)return 3==r.nowPage?(r.nowPage=1,void r.timePageShow(7e3)):1==r.nowPage?(r.nowPage=2,void console.log("allData.nowPage1",r.nowPage,e)):void(2==r.nowPage&&(3==n.value?r.nowPage=3:2==n.value&&(r.nowPage=1),console.log("allData.nowPage2",r.nowPage,e),r.timePageShow(7e3)))}),e)}});return m((function(){r.timePageShow(7e3)})),o(o({},w(r)),{},{floorSpace:e})}},E={class:"horizontalScreen"},L=function(e){return O("data-v-88f566d2"),e=e(),C(),e}((function(){return P("div",{class:"bg"},[P("img",{class:"bgUp",src:"/sgdaping/assets/background_up.45ba7fa6.png"}),P("img",{class:"bgBuild",src:h})],-1)})),k={class:"container"},D={class:"hor-head"},H={key:0,class:"hor-content firstScreen flexBetween"},A={class:"content-left"},B={class:"content-left-cont horizontalClass flexBetween"},N={class:"bottom-left"},_={class:"bottom-right"},F={class:"content-right"},M={key:1,class:"hor-content"},R={key:2,class:"hor-content threeScreen"},U={class:"topCont flexBetween"},I={class:"threeLeft"},V={class:"threeRight"},q={class:"bottomCont"};e("default",y(t,[["render",function(e,t,o,n,r,a){var i=T("pageHead"),l=T("NowData"),c=T("airSwitchHor"),g=T("TemChart"),s=T("LastMonthData"),d=T("HorFloorSpace"),f=T("LastAllEnergy"),h=T("LastSaveEnergy"),u=T("lastEnergyChart");return j(),S("div",E,[L,P("div",k,[P("div",D,[x(i,{onToplay:e.toplay,onTostop:e.tostop,onNextpage:e.nextpage,onLastpage:e.lastpage},null,8,["onToplay","onTostop","onNextpage","onLastpage"])]),1==e.nowPage?(j(),S("div",H,[P("div",A,[x(l,{screenType:"hor"}),P("div",B,[P("div",N,[x(c)]),P("div",_,[x(g,{screenType:"hor"})])])]),P("div",F,[x(s,{screenType:"hor"})])])):z("",!0),2==e.nowPage?(j(),S("div",M,[x(d,{screenType:"hor",showPing:e.nowPage,onDonetowpage:e.doneTowPage,ref:"floorSpace"},null,8,["showPing","onDonetowpage"])])):z("",!0),3==e.nowPage?(j(),S("div",R,[P("div",U,[P("div",I,[x(f,{screenType:"hor"})]),P("div",V,[x(h,{screenType:"hor"})])]),P("div",q,[x(u,{screenType:"hor"})])])):z("",!0)])])}],["__scopeId","data-v-88f566d2"]]))}}}))}();