7fdad9b3 by 杨威

首页样式调整,左侧树结构收起的样式修改

1 parent 344b9c49
......@@ -10,7 +10,7 @@
/>
<span class="logo-text" v-show="!textLogo">不动产权籍调查系统</span>
</div>
<div class="treeModule" :style="{height:treeHeight+'px'}">
<div class="treeModule" :style="{height:treeHeight+'px'}">
<LineTree :pd="pd" @itemClick="itemClick"></LineTree>
</div>
</el-aside>
......@@ -49,6 +49,7 @@
</el-main>
</el-container>
</el-container>
<div class="treeModule-show " :class="{ 'dn': !isActive }"></div>
</div>
</template>
<script>
......@@ -410,6 +411,7 @@ export default {
.home-box {
width: 100%;
height: 100vh;
position: relative;
.calcWidth{
width: calc(100% - 300px);
}
......@@ -441,15 +443,6 @@ export default {
color: #000;
}
}
.top-items:not(:last-child)::after {
// content: "";
// width: 1px;
// height: 14px;
// background: #eaeaea;
// position: absolute;
// right: -1px;
// top: 24px;
}
.top-items.is-active {
color: #006cff;
border-left: 1px solid #EAEAEA;
......@@ -526,5 +519,17 @@ export default {
// line-height: 160px;
padding: 0;
}
.treeModule-show{
width: 64px;
height: calc(100% - 120px);
position: absolute;
top: 120px;
left: 0;
z-index: 1;
pointer-events: none;
-webkit-box-shadow: inset -14px 0px 16px red;
box-shadow: inset -23px 0px 16px #1d50dd;
}
}
</style>
......
......@@ -42,7 +42,7 @@
</el-card>
</div>
<div class="notice" ref="notice">
<el-card>
<el-card class="news">
<div slot="header" class="clearfix">
<span>通知公告</span>
<span class="edit">查看全部 <i class="fa fa-angle-right " aria-hidden="true"></i></span>
......