Skip to content

Commit

Permalink
refactor: new tag (#1296)
Browse files Browse the repository at this point in the history
Co-authored-by: yaogengzhu <yaogengzhu@tencent.com>
  • Loading branch information
yaogengzhu and yaogengzhu authored Apr 23, 2023
1 parent 049ebc8 commit d63c4d4
Showing 1 changed file with 22 additions and 14 deletions.
36 changes: 22 additions & 14 deletions docs/mobile/api_v2/tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,36 +10,44 @@ toc: false

通常跟在标题后方或内容信息下方,用于内容属性或状态的辅助性展示,不可点击。一般用在列表的场景中标签文字建议控制在 4 个汉字以内(2 英文字母= 1 汉字)

#### 风格
#### 基础标签

{{ theme }}
{{ base }}

#### 主题效果
#### 圆弧标签

{{ variant }}
{{ Shape }}

#### 大小
#### 带图标的标签

{{ size }}
{{ Icon }}

#### 圆角
#### 超长文本省略标签

{{ shape }}

#### 超长省略

{{ ellipsis }}
{{ Ellipsis }}

### 点击型标签

用于展示内容分类,单击后改变标签状态,对当前页面内容进行筛选及选择。
标签文字建议控制在 6 个汉字以内(2 英文字母= 1 汉字)
不带图标型,点击后只改变状态

#### 可关闭
#### 可关闭标签

{{ closable }}
{{ Closable }}

#### 可选中

{{ checkable }}

### 组件状态

#### 展示型标签

{{ Theme }}


#### 组件尺寸


{{ Size }}

0 comments on commit d63c4d4

Please sign in to comment.