修改滚动条

This commit is contained in:
shidongli 2024-08-12 14:28:54 +08:00
parent 5db895aa37
commit 76d61233c9
3 changed files with 19 additions and 11 deletions

View File

@ -346,6 +346,10 @@ export default {
.el-empty {
padding: 220px 0
}
::v-deep .app-container{
padding: 0px !important;
}
::v-deep.el-timeline-item {
padding: 0 25px 0 12px;
}
@ -424,6 +428,7 @@ export default {
display: flex;
justify-content: space-between;
height: calc(100vh - 84px);
padding: 0px;
.rightheader {
width: 75%;
@ -498,7 +503,7 @@ export default {
.leftheader {
height: calc(100vh - 230px);
z-index: 0;
width: 24%;
width: 25%;
overflow: hidden;
//
overflow-x: hidden !important;

View File

@ -14,9 +14,9 @@
<!-- <el-tag class="type" size="mini" type="success">门诊</el-tag> -->
</div>
</div>
<div class="rightheader" v-if="categorylist.length > 0">
<div class="rightheader" v-if="categorylist.length > 0" :style="!fold ? 'height:calc(100vh - 231px)':'height:calc(100vh - 343px)'">
<!-- 248px -->
<div class="richtext" :style="!fold ? 'height:calc(100vh - 254px)':'height:calc(100vh - 365px)'">
<div class="richtext" >
<el-descriptions title="基本信息" style="margin-top: 20px">
<el-descriptions-item label="医院">{{
ByRecord.hospitalAgencyName
@ -219,11 +219,13 @@ export default {
}
.rightheader {
// height: calc(100vh - 352px);
height: calc(100vh - 231px);
width: 75%;
padding-top: 20px;
// overflow-y: auto;
/* overflow-y: auto; */
overflow-y: auto;
overflow-x: hidden !important;
padding-bottom: 10px;
border-left: 3px solid #dfe4ed;
.richtext {
@ -231,9 +233,9 @@ export default {
width: 94%;
margin: 0 auto;
// height: 450px;
overflow: auto;
// overflow: auto;
//
overflow-x: hidden !important;
// overflow-x: hidden !important;
}
}
@ -283,4 +285,4 @@ export default {
}
}
}
</style>
</style>

View File

@ -146,7 +146,7 @@ export default {
height: calc(100vh - 262px) !important;
}
.rightheader {
height: calc(100vh - 84px) !important;
height: calc(100vh - 231px) !important;
}
}
@ -274,7 +274,8 @@ export default {
width: 99%;
background-color: #fff;
margin: 10px auto;
padding: 10px 20px;
padding: 10px 0px 10px 20px;
}
.topheaderup {
width: 99%;