This commit is contained in:
cwchen 2024-04-23 17:14:48 +08:00
parent 57a5a4ea78
commit 9a0ad4a729
1 changed files with 7 additions and 1 deletions

View File

@ -19,7 +19,7 @@ layui.use(['layer', 'element', 'table'], function () {
type: 1,
title: '历史记录', //显示标题栏
closeBtn: 1,
area: '80%;',
area: ['90%','90%'],
id: 'HISTORY_layui', //设定一个id防止重复弹出
resize: false,
// btn: ['确定'],
@ -29,6 +29,8 @@ layui.use(['layer', 'element', 'table'], function () {
content: $("#divDialog"),
success: function (layero) {
initHistory()
$('th').css('color','#000');
$('.layui-table').css('color','#000');
},
yes: function (layero, index) {
layer.close('HISTORY_layui')
@ -36,6 +38,10 @@ layui.use(['layer', 'element', 'table'], function () {
cancel: function () {
// 右上角关闭事件的逻辑
layer.close('HISTORY_layui')
},
end:function(){
$('th').css('color','#fff');
$('.layui-table').css('color','#fff');
}
});
});