var load = layer.load(1, {
content: '数据加载中',
shade: [0.4, '#393D49'],
// time: 10 * 1000,
success: function(layero) {
layero.css('padding-left', '30px');
layero.find('.layui-layer-content').css({
'padding-top': '40px',
'width': '70px',
'color':'white',
'background-position-x': '16px'
});
}
})

关闭:layer.close(load);
参考文档:https://blog.csdn.net/caidingnu/article/details/88783194(感谢分享)

相关文章:

  • 2022-12-23
  • 2021-08-20
  • 2022-12-23
  • 2022-02-07
  • 2021-06-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-07
  • 2022-02-18
  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案