diff --git a/src/packages/components/Informations/Mores/Video/config.ts b/src/packages/components/Informations/Mores/Video/config.ts index 43c38cc1..c3c9474a 100644 --- a/src/packages/components/Informations/Mores/Video/config.ts +++ b/src/packages/components/Informations/Mores/Video/config.ts @@ -3,15 +3,22 @@ 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' } +] + export const option = { // 视频路径 dataset: '', - // 适应方式 - fit: 'contain', - // 圆角 - borderRadius: 0, - // 透明度 - opacity: 1 + // 循环播放 + loop: true, + // 自动播放 + autoplay: true, + // 静音 + muted: true } 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 7ece81b8..512fc26a 100644 --- a/src/packages/components/Informations/Mores/Video/config.vue +++ b/src/packages/components/Informations/Mores/Video/config.vue @@ -1,26 +1,40 @@ + +