docs: refine form demo and message
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
|
||||
## 示例
|
||||
|
||||
`Message` 有五种状态,分别是 `success`、`info`、`warning` 、`error` 和 `aux`,可以通过 [`status`](#props-status) 属性指定不同的类型。
|
||||
|
||||
`Message` 有四种变体,分别是 `normal`、`popup`、`simple` 和 `standalone`,可以通过 [`display`](#props-display) 属性指定不同的变体。
|
||||
可以使用 [`status`](#props-status) 属性指定不同的上下文状态,使用 [`display`](#props-display) 属性指定不同的展示形态。
|
||||
|
||||
[[ demo src="/demo/message/default.vue" ]]
|
||||
|
||||
@@ -34,11 +32,11 @@
|
||||
+++枚举值
|
||||
| 值 | 描述 |
|
||||
| -- | -- |
|
||||
| `info` | 消息提示样式。 |
|
||||
| `success` | 成功样式。 |
|
||||
| `warning` | 警告样式。 |
|
||||
| `error` | 错误样式。 |
|
||||
| `aux` | 辅助样式。 |
|
||||
| `info` | 信息提示状态。 |
|
||||
| `success` | 成功状态。 |
|
||||
| `warning` | 警告状态。 |
|
||||
| `error` | 错误状态。 |
|
||||
| `aux` | 辅助状态。 |
|
||||
+++
|
||||
^^^
|
||||
|
||||
@@ -49,9 +47,9 @@
|
||||
| 值 | 描述 |
|
||||
| -- | -- |
|
||||
| `normal` | 普通样式,有图标和带状态文本。 |
|
||||
| `popup` | 气泡样式。 |
|
||||
| `popup` | 气泡样式,默认仅展示图标,可交互调起气泡展示详细内容。 |
|
||||
| `simple` | 简单样式,没有图标。 |
|
||||
| `standalone` | 独立样式,有图标和无状态文本。 |
|
||||
| `standalone` | 独立样式,展示图标和无状态文本。 |
|
||||
+++
|
||||
^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user