style(图表-符号地图): 符号地图气泡大小字段添加解释图标

This commit is contained in:
jianneng-fit2cloud 2024-07-01 19:42:53 +08:00
parent f255f5c655
commit 01d21c5a1f
4 changed files with 40 additions and 5 deletions

View File

@ -373,7 +373,7 @@ onMounted(() => {
<el-form-item v-if="showProperty('customContent')" :class="'form-item-' + themes">
<template #label>
<span class="data-area-label">
<span>
<span style="margin-right: 4px">
{{ t('chart.content_formatter') }}
</span>
<el-tooltip class="item" :effect="toolTip" placement="bottom">
@ -996,4 +996,12 @@ onMounted(() => {
border-color: rgba(255, 255, 255, 0.15);
}
}
.data-area-label {
text-align: left;
position: relative;
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
}
</style>

View File

@ -487,7 +487,7 @@ onMounted(() => {
<el-form-item v-if="showProperty('customContent')" :class="'form-item-' + themes">
<template #label>
<span class="data-area-label">
<span>
<span style="margin-right: 4px">
{{ t('chart.content_formatter') }}
</span>
<el-tooltip class="item" :effect="toolTip" placement="bottom">
@ -828,4 +828,12 @@ onMounted(() => {
.form-item-checkbox {
margin-bottom: 8px !important;
}
.data-area-label {
text-align: left;
position: relative;
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
}
</style>

View File

@ -2210,8 +2210,26 @@ onMounted(() => {
<!-- extBubble -->
<el-row class="padding-lr drag-data" v-if="showAxis('extBubble')">
<div class="form-draggable-title">
<span>
{{ chartViewInstance.axisConfig.extBubble.name }}
<span class="data-area-label">
<span style="margin-right: 4px">
{{ chartViewInstance.axisConfig.extBubble.name }}
</span>
<el-tooltip
v-if="chartViewInstance.axisConfig.extBubble.tooltip"
class="item"
:effect="toolTip"
placement="top"
>
<template #content>
<span> {{ chartViewInstance.axisConfig.extBubble.tooltip }}</span>
</template>
<el-icon
class="hint-icon"
:class="{ 'hint-icon--dark': themes === 'dark' }"
>
<Icon name="icon_info_outlined" />
</el-icon>
</el-tooltip>
</span>
<el-tooltip :effect="toolTip" placement="top" :content="t('common.delete')">
<el-icon

View File

@ -55,7 +55,8 @@ export class SymbolicMap extends L7ChartView<Scene, L7Config> {
extBubble: {
name: `${t('chart.bubble_size')} / ${t('chart.quota')}`,
type: 'q',
limit: 1
limit: 1,
tooltip: '该指标生效时样式基础样式中的大小属性将失效'
}
}
constructor() {