提交 151dcf74 编写于 作者: guangjun.yang's avatar guangjun.yang

高度问题

上级 72392cd4
......@@ -121,12 +121,12 @@ html,body{
animation: backOpacity 2s ease-in-out infinite;
}
// 屏幕适配
@media screen and (min-width:1240px) and (max-width:1900px){
@media screen and (min-width: 1240px) and (max-width: 1900px){
.screenSet{
// width: 163vh !important;
// height: 66vh !important;
// height: 430px !important;
margin: 88px 30px 0px;
margin: 20px 30px 0px;
overflow: auto;
}
}
......@@ -136,7 +136,7 @@ html,body{
// height: 78vh !important;
// height: 800px !important;
overflow: auto;
margin: 88px 30px 0px;
margin: 20px 30px 0px;
}
}
......
......@@ -331,14 +331,14 @@ export default {
this.$nextTick(() => {
_this.containerHeight = document.body.clientHeight - 80;
_this.getElmByID("screenSet").style.height =
_this.containerHeight - 142 + "px";
_this.containerHeight - 76 + "px";
// console.log('_this.containerHeight', _this.containerHeight);
_this.getElmByID("sessionListId").style.height =
_this.containerHeight - 242 + "px";
_this.containerHeight - 176 + "px";
_this.getElmByID("userInfoId").style.height =
_this.containerHeight - 242 + "px";
_this.containerHeight - 76 + "px";
_this.getElmByID("msgContentId").style.height =
_this.containerHeight - 277 + "px";
_this.containerHeight - 211 + "px";
});
},
......
......@@ -74,7 +74,7 @@ export default {
},
// 挂载到Dom完成时
mounted: function() {
commonUtil.resizeHeight(142, 200);
commonUtil.resizeHeight(76, 134);
},
methods: {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册