diff --git a/CHANGELOG.md b/CHANGELOG.md index b5d8f1288c5f351539f8836241c2bde807b9a9c8..c43c61158337a7a3e44eb4a523194378d666eb88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - 优化drbar、drtab部件样式,规范其样式变量 - 优化搜索栏、工具栏、分页导航面板、向导面板部件样式,规范其样式变量 - 更新数值编辑框,步进器,分页侧边栏样式 +- 更新轮播图,视频播放器组件注释 ### Fixed diff --git a/src/panel-component/panel-carousel/panel-carousel.tsx b/src/panel-component/panel-carousel/panel-carousel.tsx index cea917722dcc707a61410380352f9d7976357da0..71ae74365fbed8deff490cb6e7942e93cce66183 100644 --- a/src/panel-component/panel-carousel/panel-carousel.tsx +++ b/src/panel-component/panel-carousel/panel-carousel.tsx @@ -7,6 +7,11 @@ import './panel-carousel.scss'; * 轮播图 * @primary * @description 可配置一组静态图片,用于轮播。 + * @panelitemparams {name:autoplay,parameterType:string,defaultvalue:-,description:为1时自动播放,为0时不自动播放} + * @panelitemparams {name:timespan,parameterType:number,defaultvalue:3000,description:轮播间隔,单位ms} + * @panelitemparams {name:duration,parameterType:number,defaultvalue:500,description:轮播动画时间,单位ms} + * @panelitemparams {name:showIndicators,parameterType:boolean,defaultvalue:true,description:是否显示指示器} + * @panelitemparams {name:touchable,parameterType:boolean,defaultvalue:true,description:是否允许手动滑动} */ export const PanelCarousel = defineComponent({ name: 'IBizPanelCarousel', diff --git a/src/panel-component/panel-video-player/panel-video-player.tsx b/src/panel-component/panel-video-player/panel-video-player.tsx index 19c835c435e8dd15e9375ba42c5976e4b4d04233..57f5ca5485079cc545a47706ae3339ca77ef68ab 100644 --- a/src/panel-component/panel-video-player/panel-video-player.tsx +++ b/src/panel-component/panel-video-player/panel-video-player.tsx @@ -8,6 +8,11 @@ import './panel-video-player.scss'; * 视频播放器 * @primary * @description 可配置视频地址播放视频。 + * @panelitemparams {name:path,parameterType:string,defaultvalue:-,description:视频地址} + * @panelitemparams {name:autoplay,parameterType:string,defaultvalue:-,description:是否自动播放,值为1自动播放,值为0不自动播放} + * @panelitemparams {name:showcontrols,parameterType:string,defaultvalue:-,description:是否显示控制栏,值为1显示,值为0不显示} + * @panelitemparams {name:replay,parameterType:string,defaultvalue:-,description:是否循环播放,值为1循环播放,值为0不循环播放} + * @panelitemparams {name:mute,parameterType:string,defaultvalue:-,description:是否静音播放,值为1静音播放,值为0不静音播放,自动播放时,固定静音,不静音播放时,无法自动播放,这是浏览器安全限制} */ export const PanelVideoPlayer = defineComponent({ name: 'IBizPanelVideoPlayer',