微信小程序改变 button disabled 样式

微信小程序Button怎么设置disabled时的样式?

/** 必须“提升指定样式规则的应用优先权(!important)。” **/
button[disabled] {
    color: #fff !important;
    background: #5bc0de !important;
    border-color: #46b8da !important;
}

评论

暂无评论