-
-
+
+
-
-
+
+
(() => {
return dvMainStore.canvasStyleData.component.seniorStyleSetting
})
+const props = defineProps({
+ themes: {
+ type: String,
+ default: 'light'
+ }
+})
const state = reactive({
fontSize: [],
isSetting: false,
@@ -58,11 +76,6 @@ const themeChange = () => {
snapshotStore.recordSnapshotCache('seniorStyleSettingSimpleSelector-themeChange')
}
-const handleHorizontalChange = (type, horizontal = 'titleLayout') => {
- seniorStyleSetting.value[horizontal] = type
- themeChange(horizontal)
-}
-
onMounted(() => {
eventBus.on('onThemeColorChange', initForm)
})
@@ -103,4 +116,12 @@ onMounted(() => {
line-height: 20px;
}
}
+.form-item-dark {
+ :deep(.ed-form-item__label) {
+ color: #6a6a6a;
+ font-size: 12px;
+ font-weight: 400;
+ line-height: 20px;
+ }
+}
diff --git a/core/core-frontend/src/components/data-visualization/CanvasAttr.vue b/core/core-frontend/src/components/data-visualization/CanvasAttr.vue
index f321fddf5b..fb0c2c3cfd 100644
--- a/core/core-frontend/src/components/data-visualization/CanvasAttr.vue
+++ b/core/core-frontend/src/components/data-visualization/CanvasAttr.vue
@@ -10,6 +10,7 @@ import { useEmitt } from '@/hooks/web/useEmitt'
import ComponentColorSelector from '@/components/dashboard/subject-setting/dashboard-style/ComponentColorSelector.vue'
import OverallSetting from '@/components/dashboard/subject-setting/dashboard-style/OverallSetting.vue'
import CanvasBackground from '@/components/visualization/component-background/CanvasBackground.vue'
+import SeniorStyleSetting from '@/components/dashboard/subject-setting/dashboard-style/SeniorStyleSetting.vue'
const dvMainStore = dvMainStoreWithOut()
const snapshotStore = snapshotStoreWithOut()
const { canvasStyleData, canvasViewInfo } = storeToRefs(dvMainStore)
@@ -102,6 +103,14 @@ onMounted(() => {
+
+
+