layer.load(1, { content: '文字', shade:[0.3,'#000'], success: function (layero) { layero.find('.layui-layer-content').css({ 'paddingTop': '40px', 'width': '60px', 'textAlign': 'center', 'backgroundPositionX': 'center' }); }});
layer.load(1, {
content: '文字',
shade:[0.3,'#000'],
success: function (layero) {
layero.find('.layui-layer-content').css({
'paddingTop': '40px',
'width': '60px',
'textAlign': 'center',
'backgroundPositionX': 'center'
});
}