diff --git a/src/assets/videos/earth.mp4 b/src/assets/videos/earth.mp4
new file mode 100644
index 00000000..75355f6f
Binary files /dev/null and b/src/assets/videos/earth.mp4 differ
diff --git a/src/packages/components/Informations/Mores/Video/config.ts b/src/packages/components/Informations/Mores/Video/config.ts
index c3c9474a..bfeabf00 100644
--- a/src/packages/components/Informations/Mores/Video/config.ts
+++ b/src/packages/components/Informations/Mores/Video/config.ts
@@ -2,23 +2,21 @@ import { PublicConfigClass } from '@/packages/public'
import { CreateComponentType } from '@/packages/index.d'
import { VideoConfig } from './index'
import cloneDeep from 'lodash/cloneDeep'
-
-export const VideoList = [
- { label: '数字楼宇', value: 'https://video.699pic.com/videos/76/09/36/b_D4DKnb48qdCI1631760936.mp4' },
- { label: '旋转魔方', value: 'https://video.699pic.com/videos/90/02/69/b_YjJAJZMT6vRK1554900269.mp4' },
- { label: '旋转地球', value: 'https://video.699pic.com/videos/32/13/12/b_7dng21IHECP51553321312.mp4' },
- { label: '声音示例', value: 'https://video.699pic.com/videos/80/62/39/a_qmbxMqNvK9jr1583806239.mp4' }
-]
+import video from '@/assets/videos/earth.mp4'
export const option = {
// 视频路径
- dataset: '',
+ dataset: video,
// 循环播放
loop: true,
// 自动播放
autoplay: true,
// 静音
- muted: true
+ muted: true,
+ // 适应方式
+ fit: 'contain',
+ // 圆角
+ borderRadius: 10
}
export default class Config extends PublicConfigClass implements CreateComponentType {
diff --git a/src/packages/components/Informations/Mores/Video/config.vue b/src/packages/components/Informations/Mores/Video/config.vue
index 512fc26a..1b8a5f71 100644
--- a/src/packages/components/Informations/Mores/Video/config.vue
+++ b/src/packages/components/Informations/Mores/Video/config.vue
@@ -3,27 +3,9 @@
-
+
-
-
-
-
@@ -37,24 +19,56 @@
静音
+
+
+
+
+
+
+
+
+
diff --git a/src/packages/components/Informations/Mores/Video/index.vue b/src/packages/components/Informations/Mores/Video/index.vue
index 25805a87..ba016d2c 100644
--- a/src/packages/components/Informations/Mores/Video/index.vue
+++ b/src/packages/components/Informations/Mores/Video/index.vue
@@ -64,7 +64,8 @@ watch(