diff --git a/core/core-frontend/public/dynamic-background/dynamic_background1.gif b/core/core-frontend/public/dynamic-background/dynamic_background1.gif
new file mode 100644
index 0000000000..09e16646ee
Binary files /dev/null and b/core/core-frontend/public/dynamic-background/dynamic_background1.gif differ
diff --git a/core/core-frontend/public/dynamic-background/dynamic_background2.gif b/core/core-frontend/public/dynamic-background/dynamic_background2.gif
new file mode 100644
index 0000000000..34e29036b6
Binary files /dev/null and b/core/core-frontend/public/dynamic-background/dynamic_background2.gif differ
diff --git a/core/core-frontend/public/dynamic-background/dynamic_background3.gif b/core/core-frontend/public/dynamic-background/dynamic_background3.gif
new file mode 100644
index 0000000000..b5de1cffef
Binary files /dev/null and b/core/core-frontend/public/dynamic-background/dynamic_background3.gif differ
diff --git a/core/core-frontend/public/dynamic-background/dynamic_background4.gif b/core/core-frontend/public/dynamic-background/dynamic_background4.gif
new file mode 100644
index 0000000000..e29580de5e
Binary files /dev/null and b/core/core-frontend/public/dynamic-background/dynamic_background4.gif differ
diff --git a/core/core-frontend/src/assets/svg/dv_dynamic_background.svg b/core/core-frontend/src/assets/svg/dv_dynamic_background.svg
new file mode 100644
index 0000000000..26dd606d52
--- /dev/null
+++ b/core/core-frontend/src/assets/svg/dv_dynamic_background.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/core/core-frontend/src/components/data-visualization/RealTimeListTree.vue b/core/core-frontend/src/components/data-visualization/RealTimeListTree.vue
index 34f501d463..fe5f1f8bfd 100644
--- a/core/core-frontend/src/components/data-visualization/RealTimeListTree.vue
+++ b/core/core-frontend/src/components/data-visualization/RealTimeListTree.vue
@@ -10,6 +10,7 @@ import iconVideo from '@/assets/svg/icon-video.svg'
import icon_graphical from '@/assets/svg/icon_graphical.svg'
import icon_search from '@/assets/svg/icon_search.svg'
import other_material_board from '@/assets/svg/other_material_board.svg'
+import dv_dynamic_background from '@/assets/svg/dv_dynamic_background.svg'
import other_material_icon from '@/assets/svg/other_material_icon.svg'
import scrollText from '@/assets/svg/scroll-text.svg'
import areaOrigin from '@/assets/svg/area-origin.svg'
@@ -288,6 +289,7 @@ const iconMap = {
icon_graphical: icon_graphical,
icon_search: icon_search,
other_material_board: other_material_board,
+ dv_dynamic_background: dv_dynamic_background,
other_material_icon: other_material_icon,
'scroll-text': scrollText,
'area-origin': areaOrigin,
diff --git a/core/core-frontend/src/custom-component/common/CommonAttr.vue b/core/core-frontend/src/custom-component/common/CommonAttr.vue
index 86d5d7a90a..ea53f93b1a 100644
--- a/core/core-frontend/src/custom-component/common/CommonAttr.vue
+++ b/core/core-frontend/src/custom-component/common/CommonAttr.vue
@@ -77,7 +77,9 @@ const containerRef = ref()
const containerWidth = ref()
const borderSettingShow = computed(() => {
- return !!element.value.style['borderStyle']
+ return (
+ !!element.value.style['borderStyle'] && !['DynamicBackground'].includes(element.value.component)
+ )
})
// 暂时关闭
@@ -113,7 +115,7 @@ const styleShow = computed(() => {
return (
element.value &&
element.value.style &&
- element.value.component !== 'DeTabs' &&
+ !['DynamicBackground', 'DeTabs'].includes(element.value.component) &&
Object.keys(element.value.style).length > 0
)
})
diff --git a/core/core-frontend/src/custom-component/common/ComponentConfig.ts b/core/core-frontend/src/custom-component/common/ComponentConfig.ts
index 685cc0ba3a..0084237b8c 100644
--- a/core/core-frontend/src/custom-component/common/ComponentConfig.ts
+++ b/core/core-frontend/src/custom-component/common/ComponentConfig.ts
@@ -74,6 +74,37 @@ export const CANVAS_MATERIAL = [
}
]
},
+ {
+ category: 'DynamicBackground',
+ title: t('visualization.dynamic_background'),
+ span: 8,
+ details: [
+ {
+ value: 'dynamic_background1.gif',
+ type: 'dynamic_background',
+ title: t('visualization.dynamic_background_name', [1]),
+ icon: 'dynamic_background1.gif'
+ },
+ {
+ value: 'dynamic_background2.gif',
+ type: 'dynamic_background',
+ title: t('visualization.dynamic_background_name', [2]),
+ icon: 'dynamic_background2.gif'
+ },
+ {
+ value: 'dynamic_background3.gif',
+ type: 'dynamic_background',
+ title: t('visualization.dynamic_background_name', [2]),
+ icon: 'dynamic_background3.gif'
+ },
+ {
+ value: 'dynamic_background4.gif',
+ type: 'dynamic_background',
+ title: t('visualization.dynamic_background_name', [2]),
+ icon: 'dynamic_background4.gif'
+ }
+ ]
+ },
{
category: 'DeGraphical',
title: t('visualization.graphic'),
diff --git a/core/core-frontend/src/custom-component/component-group/CommonGroup.vue b/core/core-frontend/src/custom-component/component-group/CommonGroup.vue
index 4cb03deb1e..eeab72f7ce 100644
--- a/core/core-frontend/src/custom-component/component-group/CommonGroup.vue
+++ b/core/core-frontend/src/custom-component/component-group/CommonGroup.vue
@@ -91,6 +91,12 @@ const groupActiveChange = category => {
class-name="item-top-icon"
>