layui开关switch显示不全问题

先看效果:

开关显示不全,高度也不对称。

解决:

在所用到的html/jsp中自己加css

.layui-form-switch {
    width: 52px;
    height: 23px;
}

再看效果:

猜你喜欢

转载自www.cnblogs.com/xiaostudy/p/11109465.html