diff --git a/src/packages/components/Informations/Mores/Video/SelectItem.vue b/src/packages/components/Informations/Mores/Video/SelectItem.vue new file mode 100644 index 00000000..3fe8a8a7 --- /dev/null +++ b/src/packages/components/Informations/Mores/Video/SelectItem.vue @@ -0,0 +1,30 @@ + + + + + \ No newline at end of file diff --git a/src/packages/components/Informations/Mores/Video/config.ts b/src/packages/components/Informations/Mores/Video/config.ts index 41db6a90..a67bfb05 100644 --- a/src/packages/components/Informations/Mores/Video/config.ts +++ b/src/packages/components/Informations/Mores/Video/config.ts @@ -7,6 +7,8 @@ import video from '@/assets/videos/earth.mp4' export const option = { // 视频路径 dataset: video, + // 视频列表 + datasetList: [], // 循环播放 loop: true, // 静音 @@ -18,6 +20,11 @@ export const option = { } export default class Config extends PublicConfigClass implements CreateComponentType { + constructor() { + super(); + this.styles.filterShow = true + this.styles.blendMode = 'screen' + } public key = VideoConfig.key public chartConfig = cloneDeep(VideoConfig) public option = cloneDeep(option) diff --git a/src/packages/components/Informations/Mores/Video/config.vue b/src/packages/components/Informations/Mores/Video/config.vue index 14a5accc..95916beb 100644 --- a/src/packages/components/Informations/Mores/Video/config.vue +++ b/src/packages/components/Informations/Mores/Video/config.vue @@ -3,11 +3,18 @@ diff --git a/src/packages/components/Informations/Mores/index.ts b/src/packages/components/Informations/Mores/index.ts index 572ab9e0..3ea0d133 100644 --- a/src/packages/components/Informations/Mores/index.ts +++ b/src/packages/components/Informations/Mores/index.ts @@ -4,4 +4,4 @@ import { IframeConfig } from './Iframe/index' import { VideoConfig } from './Video/index' import { WordCloudConfig } from './WordCloud/index' -export default [ImageConfig, ImageCarouselConfig, VideoConfig, IframeConfig, WordCloudConfig] +export default [VideoConfig] diff --git a/src/packages/components/Informations/index.ts b/src/packages/components/Informations/index.ts index bcfbff79..055a34c1 100644 --- a/src/packages/components/Informations/index.ts +++ b/src/packages/components/Informations/index.ts @@ -1,6 +1,6 @@ import Texts from './Texts' // import Inputs from './Inputs' -// import Mores from './Mores' +import Mores from './Mores' // export const InformationList = [...Texts, ...Inputs, ...Mores] -export const InformationList = [...Texts] +export const InformationList = [...Texts, ...Mores] diff --git a/src/views/chart/ContentConfigurations/components/ChartSetting/index.vue b/src/views/chart/ContentConfigurations/components/ChartSetting/index.vue index 21c7d96a..206ae7f0 100644 --- a/src/views/chart/ContentConfigurations/components/ChartSetting/index.vue +++ b/src/views/chart/ContentConfigurations/components/ChartSetting/index.vue @@ -9,7 +9,7 @@ - +