text
文本,文本内容写在标签内容区
支持通用属性
支持通用样式
| 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|
| min-width | <length> | <percentage> | - | 否 |
| min-height | <length> | <percentage> | - | 否 |
| max-width | <length> | <percentage> | - | 否 |
| max-height | <length> | <percentage> | - | 否 |
| lines | <number> | -1 | 否 | 文本行数,-1 代表不限定行数 |
| color | <color> | #757575 | 否 | 文本颜色 |
| font-size | <length> | 30px | 否 | 文本尺寸 |
| font-weight | normal | bold | lighter | border |
| text-decoration | underline | line-through | none | none |
| text-align | left | center | right | left |
| line-height | <length> | - | 否 | 行高设置 |
| text-overflow | clip | ellipsis | clip | 否 |
支持通用事件