From 00e1503047af38df1321bd80752e3e37629d02b4 Mon Sep 17 00:00:00 2001 From: taninsist <78793442+taninsist@users.noreply.github.com> Date: Wed, 14 Aug 2024 10:42:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(tag):=E5=AF=B9=E9=BD=90vue-next-mibile=20(?= =?UTF-8?q?#1864)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: raylotan --- docs/mobile/api/tag.en-US.md | 32 ++++++++++++++++++++++++++++++ docs/mobile/api/tag.md | 38 ++++++++++++------------------------ 2 files changed, 44 insertions(+), 26 deletions(-) create mode 100644 docs/mobile/api/tag.en-US.md diff --git a/docs/mobile/api/tag.en-US.md b/docs/mobile/api/tag.en-US.md new file mode 100644 index 0000000000..204969c5de --- /dev/null +++ b/docs/mobile/api/tag.en-US.md @@ -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 }} diff --git a/docs/mobile/api/tag.md b/docs/mobile/api/tag.md index 8e2ce1207e..b8dab274eb 100644 --- a/docs/mobile/api/tag.md +++ b/docs/mobile/api/tag.md @@ -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 }}