mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
fix doc
This commit is contained in:
parent
0846272389
commit
e88ea18358
@ -1,12 +1,13 @@
|
||||
---
|
||||
title: Time 时间
|
||||
description:
|
||||
description:
|
||||
type: 0
|
||||
group: null
|
||||
menuName: Time 时间
|
||||
icon:
|
||||
icon:
|
||||
order: 58
|
||||
---
|
||||
|
||||
## 基本用法
|
||||
|
||||
```schema:height="400" scope="body"
|
||||
@ -152,8 +153,3 @@ order: 58
|
||||
| placeholder | `string` | `"请选择时间"` | 占位文本 |
|
||||
| clearable | `boolean` | `true` | 是否可清除 |
|
||||
| timeConstrainst | `object` | `true` | 请参考: [react-datetime](https://github.com/YouCanBookMe/react-datetime) |
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
---
|
||||
title: Video 视频
|
||||
description:
|
||||
description:
|
||||
type: 0
|
||||
group: ⚙ 组件
|
||||
menuName: Video
|
||||
icon:
|
||||
icon:
|
||||
order: 71
|
||||
---
|
||||
## 基本用法
|
||||
|
||||
## 基本用法
|
||||
|
||||
```schema:height="500" scope="body"
|
||||
{
|
||||
@ -20,20 +20,13 @@ order: 71
|
||||
|
||||
## 属性表
|
||||
|
||||
| 属性名 | 类型 | 默认值 | 说明 |
|
||||
| --------- | --------- | --------- | ---------------------------------- |
|
||||
| type | `string` | `"video"` | 指定为 video 渲染器 |
|
||||
| className | `string` | | 外层 Dom 的类名 |
|
||||
| src | `string` | | 视频地址 |
|
||||
| isLive | `boolean` | false | 是否为直播,视频为直播时需要添加上 |
|
||||
| poster | `string` | | 视频封面地址 |
|
||||
| muted | `boolean` | | 是否静音 |
|
||||
| autoPlay | `boolean` | | 是否自动播放 |
|
||||
| rates | `array` | | 倍数,格式为`[1.0, 1.5, 2.0]` |
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
| 属性名 | 类型 | 默认值 | 说明 |
|
||||
| --------- | --------- | --------- | -------------------------------------------------------- |
|
||||
| type | `string` | `"video"` | 指定为 video 渲染器 |
|
||||
| className | `string` | | 外层 Dom 的类名 |
|
||||
| src | `string` | | 视频地址 |
|
||||
| isLive | `boolean` | false | 是否为直播,视频为直播时需要添加上,支持`flv`和`hls`格式 |
|
||||
| poster | `string` | | 视频封面地址 |
|
||||
| muted | `boolean` | | 是否静音 |
|
||||
| autoPlay | `boolean` | | 是否自动播放 |
|
||||
| rates | `array` | | 倍数,格式为`[1.0, 1.5, 2.0]` |
|
||||
|
Loading…
Reference in New Issue
Block a user