Merge pull request #11132 from dataease/pr@dev-v2@style_pop-hidden

style: 隐藏区域样式调整
This commit is contained in:
王嘉豪 2024-07-24 10:25:06 +08:00 committed by GitHub
commit bb60a8d9e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -192,6 +192,10 @@ const onPointClick = param => {
emits('onPointClick', param)
}
const innerOutActive = computed(() => {
return config.value.category === 'hidden' && showPosition.value === 'popEdit'
})
const deepScale = computed(() => scale.value / 100)
</script>
@ -228,7 +232,7 @@ const deepScale = computed(() => scale.value / 100)
:style="{ color: config.commonBackground.innerImageColor }"
:name="commonBackgroundSvgInner"
></Board>
<div class="wrapper-inner-adaptor">
<div class="wrapper-inner-adaptor" :class="{ 'pop-wrapper-inner': innerOutActive }">
<component
:is="findComponent(config['component'])"
:view="viewInfo"
@ -256,6 +260,10 @@ const deepScale = computed(() => scale.value / 100)
</template>
<style lang="less" scoped>
.pop-wrapper-inner {
overflow: hidden;
outline: 1px solid var(--ed-color-primary) !important;
}
.wrapper-outer {
position: absolute;
}