Commit 9b1b1f01 authored by suhuiguang's avatar suhuiguang

1.修改无header时 未占满屏幕问题

parent eccb9065
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
overflow: auto; overflow: auto;
padding-right: 5px; padding-right: 5px;
} }
.plan-view-right { .plan-view-right {
width: 80%; width: 80%;
height: 100%; height: 100%;
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
margin-bottom: 10px; margin-bottom: 10px;
cursor: pointer; cursor: pointer;
display: flex; display: flex;
background: url(/src/assets/common/disaster/disaster-item.png) no-repeat; // background: url(../../../assets/common/disaster/disaster-item.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.plan-item { .plan-item {
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
} }
.nav-item-active { .nav-item-active {
background: url(/src/assets/common/disaster/disaster-active.png) no-repeat; // background: url(/src/assets/common/disaster/disaster-active.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
} }
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
margin-bottom: 10px; margin-bottom: 10px;
cursor: pointer; cursor: pointer;
display: flex; display: flex;
background: url(/src/assets/common/disaster/disaster-item.png) no-repeat; // background: url(../../../assets/common/disaster/disaster-item.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.plan-item { .plan-item {
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
} }
.nav-item-active { .nav-item-active {
background: url(/src/assets/common/disaster/disaster-active.png) no-repeat; // background: url(/src/assets/common/disaster/disaster-active.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
} }
......
...@@ -65,6 +65,7 @@ class BizFrame extends Component { ...@@ -65,6 +65,7 @@ class BizFrame extends Component {
if (header) { if (header) {
const body = document.getElementsByClassName('content-body')[0]; const body = document.getElementsByClassName('content-body')[0];
body.style.top = '0px'; body.style.top = '0px';
body.style.height = '100%';
header.style.display = 'none'; header.style.display = 'none';
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment