提交 9341d639 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

perf: 优化数字输入框样式

上级 64dba996
...@@ -257,6 +257,14 @@ export default { ...@@ -257,6 +257,14 @@ export default {
value: val value: val
}) })
} }
if (this.uiInfo['ui.themeStr'] && this.uiInfo['ui.themeStr'].paramValue) {
if (this.uiInfo['ui.themeStr'].paramValue === 'dark') {
document.body.className = 'blackTheme'
} else if (this.uiInfo['ui.themeStr'].paramValue === 'light') {
document.body.className = ''
}
}
this.axiosFinished = true this.axiosFinished = true
}) })
}, },
......
...@@ -386,15 +386,31 @@ div:focus { ...@@ -386,15 +386,31 @@ div:focus {
} }
} }
.blackTheme .el-textarea__inner {
background-color: var(--MainBG) !important;
}
.blackTheme .el-textarea__inner:not(:focus) {
border-color: var(--border-color-input) !important;
}
.blackTheme .el-input__inner { .blackTheme .el-input__inner {
background-color: var(--MainBG) !important; background-color: var(--MainBG) !important;
} }
.blackTheme .el-input__inner:not(:focus) { .blackTheme .el-input__inner:not(:focus) {
// border: none !important;
border-color: var(--border-color-input) !important; border-color: var(--border-color-input) !important;
} }
.blackTheme .el-input-number__decrease {
background-color: var(--MainBG) !important;
border: none !important;
}
.blackTheme .el-input-number__increase {
background-color: var(--MainBG) !important;
border: none !important;
}
.el-pagination { .el-pagination {
button:disabled { button:disabled {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论