Index-legacy-09612d52.js 4.8 KB

12
  1. System.register(["./index-legacy-c1ed7128.js","./@vue-legacy-55b7f08a.js","./index-legacy-2a1a65c6.js","./lodash-legacy-b10f79d7.js","./dayjs-legacy-d4cf0d68.js","./axios-legacy-45a42015.js","./feedback-legacy-f8f30044.js","./element-plus-legacy-f3c78f77.js","./lodash-es-legacy-8e03b1de.js","./@vueuse-legacy-de216c25.js","./@element-plus-legacy-7308db8d.js","./@popperjs-legacy-876caf52.js","./@ctrl-legacy-33dbca08.js","./async-validator-legacy-aa1fd2de.js","./memoize-one-legacy-599ef04d.js","./escape-html-legacy-9d0f3640.js","./normalize-wheel-es-legacy-13d39621.js","./@floating-ui-legacy-82e00343.js","./vue-router-legacy-d2fecccb.js","./pinia-legacy-62dfefa8.js","./animate.css-legacy-280ccc6e.js"],(function(a,e){"use strict";var t,n,c,l,o,i,d,r,s,u,p,b,g,x,v,h,f,m,y,j;return{setters:[null,function(a){t=a.d,n=a.e,c=a.i,l=a.Y,o=a.ag,i=a.c,d=a.U,r=a.O,s=a.az,u=a.aA,p=a.a,b=a.o,g=a.F,x=a.a7,v=a.u,h=a.J,f=a.T,m=a.S,y=a.I},function(a){j=a._},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var e=document.createElement("style");e.textContent="img[data-v-c12a18cc]{display:block;width:100%}.dashboard[data-v-c12a18cc]{position:relative}.dashboard .bg-box[data-v-c12a18cc]{max-width:100%;max-height:100%}.dashboard .tip-box[data-v-c12a18cc]{display:flex;color:#fff;font-size:12px;position:absolute;cursor:pointer}.dashboard .tip-box .tip-name[data-v-c12a18cc]{height:16px;line-height:16px;background-color:rgba(64,158,255,.9);padding:4px;border-top-left-radius:5px;border-bottom-left-radius:5px}.dashboard .tip-box .tip-value-box[data-v-c12a18cc]{height:16px;line-height:16px;background-color:rgba(64,158,255,.4);padding:4px;border-top-right-radius:5px;border-bottom-right-radius:5px;vertical-align:middle;display:flex}.dashboard .tip-box .tip-value-box .tip-value[data-v-c12a18cc]{padding-right:3px}.dashboard .ctndata-box-box[data-v-c12a18cc]{position:relative}.dashboard .ctndata-box-box .ctndata-img[data-v-c12a18cc]{width:716px}.dashboard .ctndata-box[data-v-c12a18cc]{width:100%;height:100%;position:absolute;top:0;left:0}.dashboard .ctn-box[data-v-c12a18cc]{min-width:126px;display:inline-block;background-color:rgba(64,158,255,.8);padding:5px 0;border-radius:10px;color:#fff;font-size:12px;position:absolute;z-index:1}.dashboard .ctn-box .ctn-name[data-v-c12a18cc]{height:20px;line-height:20px;border-bottom:1px solid #fff;border-radius:10px;padding:0 8px;text-align:center;font-weight:700}.dashboard .ctn-box .ctn-value-box[data-v-c12a18cc]{padding:0 8px;line-height:16px}.dashboard .line-box[data-v-c12a18cc]{width:12.5%;position:absolute}.dashboard .line-box .line-level[data-v-c12a18cc]{width:100%;height:2px;background-color:rgba(64,158,255,.8)}.dashboard .line-direction3[data-v-c12a18cc]{width:21.5%}\n",document.head.appendChild(e);var w=[{name:"AC液冷空调",coordinate:[10,0],coordinateline:[23,19],direction:1,lineShow:!0},{name:"PCS变流器",coordinate:[54,72],coordinateline:[75,52],direction:3,lineShow:!1},{name:"BMS电池管理系统",coordinate:[52,0],coordinateline:[71,19],direction:2,lineShow:!0},{name:"EMS能源管理系统",coordinate:[5,72],coordinateline:[11,55],direction:4,lineShow:!0}],k=function(a){return s("data-v-c12a18cc"),a=a(),u(),a},S={class:"dashboard"},z=k((function(){return p("div",{class:"bg-box"},[p("img",{src:"/static/png/bg-6aec2069.png",alt:""})],-1)})),_={class:"ctndata-box-box"},C=k((function(){return p("div",{class:"ctndata-img"},[p("img",{src:"/static/png/ctn-e8699cc4.png",alt:""})],-1)})),I={class:"ctndata-box"},A={class:"ctn-name"},V={class:"ctn-value-box"},E=[k((function(){return p("div",{class:"line-level"},null,-1)}))];a("default",j(t({__name:"Index",setup:function(a){var e=w;n({});var t=n([]),s=n(!1);n({}),n({}),n([]),n({}),n({}),n([]),n({}),n({}),n([]);var u=n(null);n(2e3),c((function(){})),l((function(){j()}));var j=function(){clearInterval(u.value),u.value=null},k=function(a){s.value=!1,j()};return function(a,n){var c=o("el-drawer");return b(),i("div",S,[z,d(c,{modelValue:s.value,"onUpdate:modelValue":n[0]||(n[0]=function(a){return s.value=a}),title:"",direction:"rtl","before-close":k,size:"820"},{default:r((function(){return[p("div",_,[C,p("div",I,[(b(!0),i(g,null,x(t.value,(function(a,t){return b(),i("div",{key:t,class:"ctn-box",style:h("top: ".concat(v(e)[t].coordinate[0],"%; left: ").concat(v(e)[t].coordinate[1],"%;"))},[p("div",A,f(v(e)[t].name),1),p("div",V,[(b(!0),i(g,null,x(a,(function(a,e){return b(),i("div",{key:e+"A",class:"ctn-value"},[m(f(a.name)+": ",1),p("span",null,f(a.value),1),m(" "+f(a.unit),1)])})),128))])],4)})),128)),(b(!0),i(g,null,x(v(e),(function(a,e){return b(),i("div",{key:e,class:y(["line-box","line-direction"+a.direction]),style:h("top: ".concat(a.coordinateline[0],"%; left: ").concat(a.coordinateline[1],"%;"))},E,6)})),128))])])]})),_:1},8,["modelValue"])])}}}),[["__scopeId","data-v-c12a18cc"]]))}}}));