style(仪表板、数据大屏): 图片组样式调整 (#16607)

This commit is contained in:
王嘉豪
2025-08-04 15:43:41 +08:00
committed by wangjiahao
parent 911d0d17ac
commit 2ab4aed5d3
2 changed files with 7 additions and 11 deletions

View File

@@ -82,13 +82,4 @@ const { curComponent, canvasViewInfo, mobileInPc, batchOptStatus } = storeToRefs
justify-content: flex-start;
}
}
.refresh-area {
width: 100%;
padding: 0 8px;
.no-margin-bottom {
margin-bottom: 8px;
}
}
</style>

View File

@@ -184,7 +184,11 @@ onBeforeUnmount(() => {
</el-form-item>
</el-row>
<el-row v-if="view" class="refresh-area">
<el-form-item class="form-item no-margin-bottom" :class="'form-item-' + themes">
<el-form-item
style="width: 100%"
class="form-item no-margin-bottom"
:class="'form-item-' + themes"
>
<el-checkbox
v-model="view.refreshViewEnable"
:effect="themes"
@@ -194,7 +198,7 @@ onBeforeUnmount(() => {
{{ t('visualization.refresh_frequency') }}
</el-checkbox>
</el-form-item>
<el-row v-if="view.refreshViewEnable">
<el-row style="width: 100%" v-if="view.refreshViewEnable">
<el-form-item
class="form-item no-margin-bottom select-append"
:class="'form-item-' + themes"
@@ -389,5 +393,6 @@ onBeforeUnmount(() => {
.refresh-area {
width: 100%;
padding: 0;
}
</style>