diff --git a/src/components/Pages/ChartItemSetting/StylesSetting.vue b/src/components/Pages/ChartItemSetting/StylesSetting.vue index 661970cc..672755c4 100644 --- a/src/components/Pages/ChartItemSetting/StylesSetting.vue +++ b/src/components/Pages/ChartItemSetting/StylesSetting.vue @@ -157,14 +157,12 @@ const props = defineProps({ } }) -// 百分比格式化persen +// 百分比格式化 person const sliderFormatTooltip = (v: string) => { - // @ts-ignore return `${(parseFloat(v) * 100).toFixed(0)}%` } // 角度格式化 const degFormatTooltip = (v: string) => { - // @ts-ignore return `${v}deg` } diff --git a/src/views/chart/ContentConfigurations/components/CanvasPage/index.vue b/src/views/chart/ContentConfigurations/components/CanvasPage/index.vue index 040823e1..5d4bcc23 100644 --- a/src/views/chart/ContentConfigurations/components/CanvasPage/index.vue +++ b/src/views/chart/ContentConfigurations/components/CanvasPage/index.vue @@ -30,17 +30,11 @@ :onBeforeUpload="beforeUploadHandle" > - 背景 + 背景
- 背景图需小于 {{ backgroundImageSize }}M ,格式为 png/jpg/gif - 的文件 + 背景图需小于 {{ backgroundImageSize }}M ,格式为 png/jpg/gif 的文件
@@ -48,43 +42,52 @@ - 背景色 - + 背景颜色 +
+ +
- 颜色应用 - 应用类型 + + :options="selectColorOptions" + @update:value="selectColorValueHandle" + /> 背景控制 - 清除背景图 - 清除颜色 + + 清除背景 + + + 清除颜色 + 预览方式 - + @click="selectPreviewType(item.key)" + > @@ -97,7 +100,7 @@ - + @@ -123,7 +126,7 @@