fix: 样式优化

This commit is contained in:
dataeaseShu
2025-05-29 10:32:57 +08:00
committed by dataeaseShu
parent 0d0a0b05e6
commit 7430b9c5bc
19 changed files with 22 additions and 18 deletions

View File

@@ -331,7 +331,7 @@ const fontFamily = CHART_FONT_FAMILY_ORIGIN.concat(
)
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const resourceType = computed(() =>

View File

@@ -58,7 +58,7 @@ const props = defineProps({
const { frameLinks } = toRefs(props)
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const state = reactive({

View File

@@ -696,3 +696,7 @@ strong {
}
}
}
.ed-upload-list__item .ed-icon--close-tip {
display: none !important;
}

View File

@@ -67,7 +67,7 @@ const emit = defineEmits([
const { item } = toRefs(props)
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const showValueFormatter = computed<boolean>(() => {
return (

View File

@@ -80,7 +80,7 @@ const emit = defineEmits([
const { item, chart } = toRefs(props)
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
watch(
[() => props.quotaData, () => props.item, () => props.chart.type],

View File

@@ -41,7 +41,7 @@ const props = defineProps({
})
const { chart, commonBackgroundPop, element } = toRefs(props)
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const predefineColors = COLOR_PANEL
const fontSizeList = []

View File

@@ -32,7 +32,7 @@ const props = withDefaults(
const predefineColors = COLOR_PANEL
const typeList = formatterType
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const state = reactive({
axisForm: JSON.parse(JSON.stringify(DEFAULT_YAXIS_STYLE))

View File

@@ -42,7 +42,7 @@ const state = reactive({
}
})
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const emit = defineEmits(['onChangeFlowMapPointForm'])

View File

@@ -34,7 +34,7 @@ const props = defineProps({
const emit = defineEmits(['onIndicatorNameChange'])
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const predefineColors = COLOR_PANEL
const fontFamily = CHART_FONT_FAMILY_ORIGIN.concat(

View File

@@ -41,7 +41,7 @@ const props = defineProps({
const emit = defineEmits(['onIndicatorChange', 'onBasicStyleChange'])
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const predefineColors = COLOR_PANEL
const fontFamily = CHART_FONT_FAMILY_ORIGIN.concat(

View File

@@ -48,7 +48,7 @@ const props = defineProps({
})
const dvMainStore = dvMainStoreWithOut()
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const { batchOptStatus } = storeToRefs(dvMainStore)
watch(

View File

@@ -34,7 +34,7 @@ useEmitt({
})
const emit = defineEmits(['onLegendChange', 'onMiscChange'])
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
watch(
() => props.chart.customStyle,

View File

@@ -16,7 +16,7 @@ const props = withDefaults(
)
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const predefineColors = COLOR_PANEL

View File

@@ -50,7 +50,7 @@ const state = reactive({
}
})
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const emit = defineEmits(['onChangeQuadrantForm'])

View File

@@ -41,7 +41,7 @@ const props = defineProps({
const appearanceStore = useAppearanceStoreWithOut()
const emit = defineEmits(['onTextChange'])
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const predefineColors = COLOR_PANEL
const fontFamily = CHART_FONT_FAMILY.concat(

View File

@@ -45,7 +45,7 @@ const dvMainStore = dvMainStoreWithOut()
const { batchOptStatus, mobileInPc } = storeToRefs(dvMainStore)
const predefineColors = COLOR_PANEL
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const emit = defineEmits(['onTooltipChange', 'onExtTooltipChange'])
const curSeriesFormatter = ref<DeepPartial<SeriesFormatter>>({})

View File

@@ -35,7 +35,7 @@ const state = reactive({
axisForm: JSON.parse(JSON.stringify(DEFAULT_XAXIS_STYLE))
})
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const emit = defineEmits(['onChangeXAxisForm'])

View File

@@ -31,7 +31,7 @@ const props = defineProps({
const predefineColors = COLOR_PANEL
const typeList = formatterType
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const state = reactive({
axisForm: JSON.parse(JSON.stringify(DEFAULT_YAXIS_STYLE))

View File

@@ -174,7 +174,7 @@ const editComponentName = () => {
})
}
const toolTip = computed(() => {
return props.themes === 'dark' ? 'ndark' : 'dark'
return props.themes === 'dark' ? 'light' : 'dark'
})
const templateStatusShow = computed(() => {