style(图表): 编辑区样式调整

This commit is contained in:
wangjiahao 2024-10-30 11:22:31 +08:00
parent 668157be10
commit afc9c0046d
3 changed files with 4 additions and 5 deletions

View File

@ -13,7 +13,7 @@
"
@change="reUpload"
/>
<el-form label-position="top" style="width: 100%">
<el-form label-position="top" style="width: 100%; margin-bottom: 8px">
<el-row :gutter="8">
<el-col :span="12">
<el-form-item

View File

@ -60,12 +60,12 @@ const handleInput = value => {
@modelChange="onSettingChange"
title="轮播"
>
<el-row class="custom-row">
<el-row class="custom-row" style="margin-top: -8px">
<el-form label-position="top" @submit.prevent>
<el-form-item
class="form-item"
:class="'form-item-' + themes"
style="width: 50%; margin-bottom: 8px"
style="width: 50%; margin-bottom: 0"
>
<span style="font-size: 12px">轮播时间</span>
<el-tooltip class="item" :effect="themes" placement="top">

View File

@ -2,7 +2,6 @@
import { computed, nextTick, onMounted, ref, toRefs } from 'vue'
import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain'
import { storeToRefs } from 'pinia'
import { styleData } from '@/utils/attr'
import ComponentPosition from '@/components/visualization/common/ComponentPosition.vue'
import BackgroundOverallCommon from '@/components/visualization/component-background/BackgroundOverallCommon.vue'
import { useI18n } from '@/hooks/web/useI18n'
@ -35,7 +34,7 @@ const props = withDefaults(
}
)
const { themes, element, showStyle } = toRefs(props)
const { themes, element } = toRefs(props)
const dvMainStore = dvMainStoreWithOut()
const { dvInfo, batchOptStatus, mobileInPc } = storeToRefs(dvMainStore)
const activeName = ref(element.value.collapseName)