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