forked from github/dataease
fix: [Echarts动态排序图] 批量操作样式选项错误
This commit is contained in:
parent
5d1f484a27
commit
1381ebd2cd
@ -122,6 +122,9 @@ export default {
|
|||||||
.form-item>>>.el-form-item__label{
|
.form-item>>>.el-form-item__label{
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
.form-item ::v-deep .el-form-item__label {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
.el-select-dropdown__item{
|
.el-select-dropdown__item{
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
}
|
}
|
||||||
|
@ -40,9 +40,9 @@ public class RaceBarService extends ViewPluginService {
|
|||||||
private static final Map<String, String[]> VIEW_STYLE_PROPERTY_INNER = new HashMap<>();
|
private static final Map<String, String[]> VIEW_STYLE_PROPERTY_INNER = new HashMap<>();
|
||||||
|
|
||||||
static {
|
static {
|
||||||
VIEW_STYLE_PROPERTY_INNER.put("color-selector", new String[]{"value", "alpha"});
|
VIEW_STYLE_PROPERTY_INNER.put("color-selector", new String[]{"value"});
|
||||||
VIEW_STYLE_PROPERTY_INNER.put("label-selector", new String[]{"show", "fontSize", "color", "position", "formatter"});
|
VIEW_STYLE_PROPERTY_INNER.put("label-selector", new String[]{"show", "fontSize", "color", "position"});
|
||||||
VIEW_STYLE_PROPERTY_INNER.put("tooltip-selector", new String[]{"show", "textStyle", "formatter"});
|
VIEW_STYLE_PROPERTY_INNER.put("tooltip-selector", new String[]{"show", "textStyle", });
|
||||||
VIEW_STYLE_PROPERTY_INNER.put("title-selector", new String[]{"show", "title", "fontSize", "color", "hPosition", "vPosition", "isItalic", "isBolder"});
|
VIEW_STYLE_PROPERTY_INNER.put("title-selector", new String[]{"show", "title", "fontSize", "color", "hPosition", "vPosition", "isItalic", "isBolder"});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,6 +17,17 @@
|
|||||||
<el-color-picker v-model="tooltipForm.textStyle.color" class="color-picker-style"
|
<el-color-picker v-model="tooltipForm.textStyle.color" class="color-picker-style"
|
||||||
:predefine="predefineColors" @change="changeTooltipAttr"/>
|
:predefine="predefineColors" @change="changeTooltipAttr"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
:label="$t('chart.background')"
|
||||||
|
class="form-item"
|
||||||
|
>
|
||||||
|
<el-color-picker
|
||||||
|
v-model="tooltipForm.backgroundColor"
|
||||||
|
class="color-picker-style"
|
||||||
|
:predefine="predefineColors"
|
||||||
|
@change="changeTooltipAttr"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<!-- <el-form-item class="form-item">
|
<!-- <el-form-item class="form-item">
|
||||||
<span slot="label">
|
<span slot="label">
|
||||||
<span class="span-box">
|
<span class="span-box">
|
||||||
@ -40,7 +51,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {COLOR_PANEL, DEFAULT_TOOLTIP} from '@/utils/map'
|
import {COLOR_PANEL, DEFAULT_TOOLTIP} from '../../utils/map'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'TooltipSelector',
|
name: 'TooltipSelector',
|
||||||
@ -127,6 +138,10 @@ export default {
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-item ::v-deep .el-form-item__label {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.el-select-dropdown__item {
|
.el-select-dropdown__item {
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
}
|
}
|
||||||
|
@ -122,6 +122,9 @@ export default {
|
|||||||
.form-item>>>.el-form-item__label{
|
.form-item>>>.el-form-item__label{
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
.form-item ::v-deep .el-form-item__label {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
.el-select-dropdown__item{
|
.el-select-dropdown__item{
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user