layui自定义load弹出层样式

layui自定义load弹出层样式:
增加此样式,把背景图更换一下就OK啦!

.layui-layer.layui-layer-loading .layui-layer-content{
            width: 100px;
            background-color: rgba(0,0,0,0.5);
            border-radius: 5px;
            background-image: url(/static/app/images/loads.gif);
            background-position: top center;
            background-position-y: 15px;
            background-repeat: no-repeat;
            background-size: 50px;
            color: #FFFFFF;
            height: auto;
            padding-top: 70px; text-align: center;
            padding-bottom: 10px;
        }

你可能感兴趣的:(layui开发笔记)