--------------------------------------单个文件----------------------------------------------
/deep/input:disabled::-webkit-input-placeholder{ color: #ccc; -webkit-text-fill-color: #ccc; }
或者
/deep/input::-webkit-input-placeholder{ color: #ccc; -webkit-text-fill-color: #ccc; } /deep/input:disabled{ color: #333; -webkit-text-fill-color: #333; }
--------------------------------------全局----------------------------------------------
.el-input.is-disabled .el-input__inner { &::placeholder { color: blue; } &::-webkit-input-placeholder { /* WebKit browsers 适配谷歌 */ color: blue; } &:-moz-placeholder { /* Mozilla Firefox 4 to 18 适配火狐 */ color: blue; } &::-moz-placeholder { /* Mozilla Firefox 19+ 适配火狐 */ color: blue; } &:-ms-input-placeholder { /* Internet Explorer 10+ 适配ie*/ color: blue; } }