switcha按钮false时候 边框不清晰咋办
发布于 6 年前 作者 nazhang 319 次浏览 来自 问答

右边和白色背景融为一体了。这个样式可以修改吗

1 回复

.wx-switch-input {

width: 80rpx !important;

height: 44rpx !important;

margin: 0 !important;

padding: 0 !important;

background: #4d7bf9 !important;

border: #4d7bf9 !important; /* 2018-07-18 重置开关边框颜色 */}

.wx-switch-input::before {

width: 82rpx !important;

height: 44rpx !important;

background: #e5e5e5 !important;

}

.wx-switch-input::after {

width: 40rpx !important;

height: 42rpx !important;

}

回到顶部