Skip to content

Commit

Permalink
feat(tag):对齐vue-next-mibile (#1864)
Browse files Browse the repository at this point in the history
Co-authored-by: raylotan <raylotan@tencent.com>
  • Loading branch information
taninsist and raylotan authored Aug 14, 2024
1 parent 5840b37 commit 00e1503
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 26 deletions.
32 changes: 32 additions & 0 deletions docs/mobile/api/tag.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Tag
description: Used to indicate the category, attributes, or status of the subject.
spline: base
isComponent: true
toc: false
---


## Code Demo

### Component Type

{{ type }}

closable tag

{{ closable }}

clickable tag

{{ checkable }}

### Component Status

display tag

{{ theme }}

### Component Size

{{ size }}
38 changes: 12 additions & 26 deletions docs/mobile/api/tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,26 @@ isComponent: true
toc: false
---

### 展示型标签
## 代码演示

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

#### 风格
{{ type }}

{{ theme }}

#### 主题效果

{{ variant }}

#### 大小

{{ size }}

#### 圆角
可关闭的标签

{{ shape }}

#### 超长省略
{{ closable }}

{{ ellipsis }}
可点击的标签

### 点击型标签
{{ checkable }}

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

#### 可关闭
展示型标签

{{ closable }}
{{ theme }}

#### 可选中
### 组件尺寸

{{ checkable }}
{{ size }}

0 comments on commit 00e1503

Please sign in to comment.