mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
feat(仪表板、数据大屏): 通用配色增加斑马纹配色 (#16741)
This commit is contained in:
@@ -103,8 +103,20 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="8">
|
||||
<el-col :span="12">
|
||||
<el-form-item :label="t('chart.stripe')" class="form-item">
|
||||
<el-color-picker
|
||||
:trigger-width="colorPickerWidth"
|
||||
v-model="colorForm['tableCell']['tableItemSubBgColor']"
|
||||
size="small"
|
||||
:predefine="predefineColors"
|
||||
is-custom
|
||||
show-alpha
|
||||
:effect="themes"
|
||||
@change="changeColorCase('tableItemSubBgColor')"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item :label="t('chart.table_header_font_color')" class="form-item">
|
||||
<el-color-picker
|
||||
|
||||
@@ -65,7 +65,10 @@ const themeAttrChange = (custom, property, value) => {
|
||||
}
|
||||
merge(viewInfo['customAttr'], tmpValue)
|
||||
} else {
|
||||
console.log('viewInfo=' + JSON.stringify(viewInfo['customAttr']))
|
||||
console.log('value=' + JSON.stringify(value))
|
||||
merge(viewInfo['customAttr'], value)
|
||||
console.log('merge=' + JSON.stringify(viewInfo['customAttr']))
|
||||
}
|
||||
} else {
|
||||
Object.keys(value).forEach(function (key) {
|
||||
|
||||
@@ -103,7 +103,7 @@ export const DEFAULT_COLOR_CASE_LIGHT: DeepPartial<ChartAttr> = {
|
||||
tableCell: {
|
||||
tableItemBgColor: '#FFFFFF',
|
||||
tableFontColor: '#000000',
|
||||
tableItemSubBgColor: '#EEEEEE'
|
||||
tableItemSubBgColor: '#1E90FF'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@ export const DEFAULT_COLOR_CASE_DARK: DeepPartial<ChartAttr> = {
|
||||
tableCell: {
|
||||
tableItemBgColor: '#131E42',
|
||||
tableFontColor: '#ffffff',
|
||||
tableItemSubBgColor: '#EEEEEE'
|
||||
tableItemSubBgColor: '#1E90FF'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user