Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tag):对齐vue-next-mibile #1864

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Loading