优化系统的右侧弹出层,提高系统整体的操作体验

This commit is contained in:
hdm 2023-05-03 18:23:55 +08:00
parent f2eb4570ef
commit 05ab77f304

View File

@ -10,11 +10,14 @@ layui.define([], function (exports) {
} }
that.loading = true; that.loading = true;
sideWidth = '80%'; sideWidth = '80%';
if(window.innerWidth<=1000){ if(window.innerWidth>1400 && window.innerWidth<=1600){
sideWidth = '92%'; sideWidth = '85%';
} }
if(window.innerWidth>1000 && window.innerWidth<=1440){ if(window.innerWidth>1000 && window.innerWidth<=1440){
sideWidth = '88%'; sideWidth = '92%';
}
if(window.innerWidth<=1000){
sideWidth = '93.8%';
} }
layer.open({ layer.open({
type: 2, type: 2,