一.icon
图标
属性
- type
- size
- color
二.text
文本,支持转义字符.text组件内只支持text嵌套.除了文本节点以外的其他节点都无法长按选中.
<text>{{text}}</text>
var initData = "this is first line\nthis is second line"
三.progress
进度条
属性
- percent: float
- show-info: boolean,默认值为false,是否在进度条右侧显示百分比
- stroke-width: number,默认值6,进度条线的宽度.
- color: 进度条颜色
- active: boolean,默认值false,进度条从左往右的动画