mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 17:58:11 +08:00
fix: 样式优化
This commit is contained in:
@@ -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(() =>
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -696,3 +696,7 @@ strong {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ed-upload-list__item .ed-icon--close-tip {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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],
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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'])
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'])
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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>>({})
|
||||
|
||||
@@ -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'])
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -174,7 +174,7 @@ const editComponentName = () => {
|
||||
})
|
||||
}
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'ndark' : 'dark'
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
})
|
||||
|
||||
const templateStatusShow = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user