From db19b0072fde1e12ff7286d0964d4e042daaec4c Mon Sep 17 00:00:00 2001 From: toby Date: Tue, 27 Aug 2024 09:45:43 +0800 Subject: [PATCH 1/3] =?UTF-8?q?refactor(Collapse):=20=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/mobile/api/collapse copy.md | 36 +++++++++++++++++++++++++++++++ docs/mobile/api/collapse.en-US.md | 36 +++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 docs/mobile/api/collapse copy.md create mode 100644 docs/mobile/api/collapse.en-US.md diff --git a/docs/mobile/api/collapse copy.md b/docs/mobile/api/collapse copy.md new file mode 100644 index 0000000000..76fe5b8d95 --- /dev/null +++ b/docs/mobile/api/collapse copy.md @@ -0,0 +1,36 @@ +--- +title: Collapse 折叠面板 +description: 用于对复杂区域进行分组和隐藏 常用于订单信息展示等 +spline: base +isComponent: true +toc: false +--- + +### 组件类型 + +#### 基础折叠面板 + +主要用于对复杂区域进行分组和隐藏 常用于订单信息展示等 + +{{ base }} + +#### 向上展开 + +{{ placement }} + +#### 带操作说明 + +{{ action }} + +#### 手风琴式 + +对信息进行分组展示和隐藏,每次只展示一组信息 + +{{ accordion }} + + +### 组件样式 + +#### 卡片折叠面板 + +{{ card }} \ No newline at end of file diff --git a/docs/mobile/api/collapse.en-US.md b/docs/mobile/api/collapse.en-US.md new file mode 100644 index 0000000000..4ce67f993a --- /dev/null +++ b/docs/mobile/api/collapse.en-US.md @@ -0,0 +1,36 @@ +--- +title: Collapse +description: Collapse is used to group and hide complex areas, and is often used to display order information. +spline: base +isComponent: true +toc: false +--- + +### Component Type + +#### Base Collapse + +Collapse is used to group and hide complex areas, and is often used to display order information. + +{{ base }} + +#### Expansion Up + +{{ placement }} + +#### Tape Operation Instruction + +{{ action }} + +#### Accordion Style + +Display and hide information in groups, displaying only one group of information at a time. + +{{ accordion }} + + +### Component Style + +#### Card Collapse + +{{ card }} From 91e6ab6ad1fbf8fe5f72c7b253c6dec5858a637e Mon Sep 17 00:00:00 2001 From: toby Date: Tue, 27 Aug 2024 10:55:21 +0800 Subject: [PATCH 2/3] =?UTF-8?q?refactor(Collapse):=20=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/mobile/api/collapse copy.md | 36 -------------------------------- docs/mobile/api/collapse.md | 21 ++++++++++++++++--- 2 files changed, 18 insertions(+), 39 deletions(-) delete mode 100644 docs/mobile/api/collapse copy.md diff --git a/docs/mobile/api/collapse copy.md b/docs/mobile/api/collapse copy.md deleted file mode 100644 index 76fe5b8d95..0000000000 --- a/docs/mobile/api/collapse copy.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: Collapse 折叠面板 -description: 用于对复杂区域进行分组和隐藏 常用于订单信息展示等 -spline: base -isComponent: true -toc: false ---- - -### 组件类型 - -#### 基础折叠面板 - -主要用于对复杂区域进行分组和隐藏 常用于订单信息展示等 - -{{ base }} - -#### 向上展开 - -{{ placement }} - -#### 带操作说明 - -{{ action }} - -#### 手风琴式 - -对信息进行分组展示和隐藏,每次只展示一组信息 - -{{ accordion }} - - -### 组件样式 - -#### 卡片折叠面板 - -{{ card }} \ No newline at end of file diff --git a/docs/mobile/api/collapse.md b/docs/mobile/api/collapse.md index daf5649623..76fe5b8d95 100644 --- a/docs/mobile/api/collapse.md +++ b/docs/mobile/api/collapse.md @@ -6,16 +6,31 @@ isComponent: true toc: false --- -### 基础折叠面板 +### 组件类型 + +#### 基础折叠面板 主要用于对复杂区域进行分组和隐藏 常用于订单信息展示等 + {{ base }} -### 带操作说明 +#### 向上展开 + +{{ placement }} + +#### 带操作说明 {{ action }} -### 手风琴式 +#### 手风琴式 对信息进行分组展示和隐藏,每次只展示一组信息 + {{ accordion }} + + +### 组件样式 + +#### 卡片折叠面板 + +{{ card }} \ No newline at end of file From b6109355c8f56b6f1cd81b23681f48312bb7d678 Mon Sep 17 00:00:00 2001 From: toby Date: Tue, 27 Aug 2024 11:35:09 +0800 Subject: [PATCH 3/3] =?UTF-8?q?refactor(Collapse):=20=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E8=80=81=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style/mobile/components/_index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style/mobile/components/_index.less b/style/mobile/components/_index.less index 66eaa14857..1c9f7e2025 100644 --- a/style/mobile/components/_index.less +++ b/style/mobile/components/_index.less @@ -50,7 +50,7 @@ @import "./action-sheet/_index.less"; -@import "./collapse/_index.less"; +// @import "./collapse/_index.less"; @import "./steps/_index.less";