refactor(LargeScreen): 优化大屏页面iframe样式
移除无用注释代码并提取iframe样式到单独类
This commit is contained in:
parent
4b32c459b1
commit
7064e47250
|
|
@ -1,22 +1,17 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="CockpitPage">
|
<div class="CockpitPage">
|
||||||
<!-- <div class="TopBox">
|
<iframe class="iframeBox" src="http://172.16.1.130:81/sz/" id="suzhoudaping" frameborder="0"></iframe>
|
||||||
<h1>仓储可视化数据大屏</h1>
|
|
||||||
</div> -->
|
|
||||||
<iframe src="http://172.16.1.130:81/sz/" id="suzhoudaping" frameborder="0" style="width: 100%;height: 100%;"></iframe>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.CockpitPage {
|
.CockpitPage {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
.iframeBox {
|
||||||
.TopBox {
|
width: 100%;
|
||||||
display: flex;
|
height: 100%;
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in New Issue