提交 42f49d01 编写于 作者: D DCloud_LXH

fix: radio disabled style question/136027

上级 30c95d82
......@@ -55,6 +55,7 @@ export default {
},
computed: {
checkedStyle () {
if (this.disabled) return 'background-color: #E1E1E1;border-color: ##D1D1D1;'
return `background-color: ${this.color};border-color: ${this.color};`
}
},
......@@ -157,8 +158,8 @@ export default {
}
uni-radio .uni-radio-input.uni-radio-input-disabled {
background-color: #E1E1E1 !important;
border-color: #D1D1D1 !important;
background-color: #E1E1E1;
border-color: #D1D1D1;
}
uni-radio .uni-radio-input.uni-radio-input-disabled:before {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册