From 465bae26315b619e30a2d59b10296c0013c560ec Mon Sep 17 00:00:00 2001 From: 朱浩东 <1359924757@qq.com> Date: 星期五, 20 六月 2025 18:05:19 +0800 Subject: [PATCH] 修改适配屏幕和正常1080p的页面 --- local/www/css/page/warn-list.css | 63 +++++++++++++++++++++++++++++++ 1 files changed, 62 insertions(+), 1 deletions(-) diff --git a/local/www/css/page/warn-list.css b/local/www/css/page/warn-list.css index 30d873a..ea12346 100644 --- a/local/www/css/page/warn-list.css +++ b/local/www/css/page/warn-list.css @@ -491,6 +491,10 @@ .div-body { scrollbar-width: none; } + .layui-col-md4 { + margin-top: 3px; + width: 50%; + } .layui-form-label { padding: 9px 0px 9px 0px; @@ -506,8 +510,65 @@ } .table-tbody{ - height: 250px; + height: 380px; overflow-y: scroll; } } +@media only screen and (max-width:1080px) and (max-height: 1920px){ + .i-container { + min-width: 845px; + height: 100%; + overflow-y: scroll; + } + /** 闅愯棌鍒楄〃涓嬫媺婊氬姩鏉� **/ + .div-body::-webkit-scrollbar { + display: none; + } + /*IE 10+ ----闅愯棌婊氬姩鏉�*/ + .div-body { + -ms-overflow-style: none; + } + /*Firefox ----闅愯棌婊氬姩鏉�*/ + .div-body { + scrollbar-width: none; + } + .layui-col-md4{ + float: left; + width: 50%; + } + .layui-form-label { + padding: 9px 0px 9px 0px; + color: #ffffff; + font-size: 16px; + } + .layui-input-block { + margin-left: 80px; + min-height: 36px; + } + .layui-inline{ + margin: 3px; + } + + .table-tbody{ + height: 1430px; + overflow-y: scroll; + } + .table-tbody tr{ + height: 142px; + } + .table-tbody tr td{ + height: 140px; + overflow-wrap: break-word; /* 鍏煎鎬ц緝濂斤紝鎺ㄨ崘浣跨敤 */ + word-wrap: break-word; /* 鏃х増娴忚鍣ㄦ敮鎸� */ + white-space: normal; /* 鍏佽鏂囨湰鎹㈣ */ + overflow-y: auto; + } + + .pop-item{ + width: 100%; + float: left; + } +} + + -- Gitblit v1.9.3