|
@@ -1,44 +1,44 @@
|
|
|
<!--管理界面-->
|
|
|
<template>
|
|
|
<div class="containers">
|
|
|
- <!--主页-->
|
|
|
- <div
|
|
|
- :style="{
|
|
|
- position: 'relative',
|
|
|
- left:windowJson[0] ? windowJson[0].Left*bigScale+'px' : '',
|
|
|
- top:windowJson[0] ? windowJson[0].Top*bigScale+'px' : '',
|
|
|
- width:windowJson[0] ? windowJson[0].Width*bigScale + 'px' : '',
|
|
|
- height:windowJson[0] ? windowJson[0].Height*bigScale + 'px' : '',
|
|
|
- zIndex:windowJson[0] ? windowJson[0].ZIndex : '',
|
|
|
- display:windowJson[0] ? (windowJson[0].IsVisibility ? 'block' : 'none') : '',
|
|
|
- backgroundRepeat:'no-repeat',
|
|
|
- backgroundSize:'100% 100%',
|
|
|
- backgroundColor:`#${windowJson[0] ? (windowJson[0].BrackgroupStr ? windowJson[0].BrackgroupStr.slice(3) : null) : ''}`,
|
|
|
- margin:'0 auto'}"
|
|
|
- ref="mainpage"
|
|
|
- >
|
|
|
- <!--按钮-->
|
|
|
- <ButtonComponent />
|
|
|
+ <!--主页-->
|
|
|
+ <div
|
|
|
+ :style="{
|
|
|
+ position: 'relative',
|
|
|
+ left:windowJson[0] ? windowJson[0].Left*bigScale+'px' : '',
|
|
|
+ top:windowJson[0] ? windowJson[0].Top*bigScale+'px' : '',
|
|
|
+ width:windowJson[0] ? windowJson[0].Width*bigScale + 'px' : '',
|
|
|
+ height:windowJson[0] ? windowJson[0].Height*bigScale + 'px' : '',
|
|
|
+ zIndex:windowJson[0] ? windowJson[0].ZIndex : '',
|
|
|
+ display:windowJson[0] ? (windowJson[0].IsVisibility ? 'block' : 'none') : '',
|
|
|
+ backgroundRepeat:'no-repeat',
|
|
|
+ backgroundSize:'100% 100%',
|
|
|
+ backgroundColor:`#${windowJson[0] ? (windowJson[0].BrackgroupStr ? windowJson[0].BrackgroupStr.slice(3) : null) : ''}`,
|
|
|
+ margin:'0 auto'}"
|
|
|
+ ref="mainpage"
|
|
|
+ >
|
|
|
+ <!--按钮-->
|
|
|
+ <ButtonComponent />
|
|
|
|
|
|
- <!--大屏显示-->
|
|
|
- <BigShowComponent />
|
|
|
+ <!--大屏显示-->
|
|
|
+ <BigShowComponent />
|
|
|
|
|
|
- <!--label标签-->
|
|
|
- <LabelComponent />
|
|
|
+ <!--label标签-->
|
|
|
+ <LabelComponent />
|
|
|
|
|
|
- <!--图片-->
|
|
|
- <ImageComponent />
|
|
|
+ <!--图片-->
|
|
|
+ <ImageComponent />
|
|
|
|
|
|
- <!--信号源列表-->
|
|
|
- <SignalListComponent />
|
|
|
+ <!--信号源列表-->
|
|
|
+ <SignalListComponent />
|
|
|
|
|
|
- <!--滑块-->
|
|
|
- <SliderComponent />
|
|
|
+ <!--滑块-->
|
|
|
+ <SliderComponent />
|
|
|
+ </div>
|
|
|
+ <!--最小化和关闭按钮-->
|
|
|
+ <div class="mini" @click="miniWindow">-</div>
|
|
|
+ <div class="close" @click="closeWindow">×</div>
|
|
|
</div>
|
|
|
- <!--最小化和关闭按钮-->
|
|
|
- <div class="mini" @click="miniWindow">-</div>
|
|
|
- <div class="close" @click="closeWindow">×</div>
|
|
|
-</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|