From 930ce7ec202e43c90756ad2090744e761e8772e9 Mon Sep 17 00:00:00 2001
From: CCherry07 <2405693142@qq.com>
Date: Sat, 6 May 2023 23:05:33 +0800
Subject: [PATCH 1/4] feat(button): demo space
---
components/button/demo/basic.vue | 12 +--
components/button/demo/block.vue | 12 +--
components/button/demo/button-group.vue | 1 -
components/button/demo/danger.vue | 4 +-
components/button/demo/disabled.vue | 67 +++++++++-------
components/button/demo/ghost.vue | 12 +--
components/button/demo/icon.vue | 100 ++++++------------------
components/button/demo/loading.vue | 36 +++++----
components/button/demo/multiple.vue | 32 ++++----
components/button/demo/size.vue | 84 ++++++++++----------
10 files changed, 165 insertions(+), 195 deletions(-)
diff --git a/components/button/demo/basic.vue b/components/button/demo/basic.vue
index ff7893f34b..c42c6105b1 100644
--- a/components/button/demo/basic.vue
+++ b/components/button/demo/basic.vue
@@ -17,9 +17,11 @@ There are `primary` button, `default` button, `dashed` button, `text` button and
- Primary Button
- Default Button
- Dashed Button
- Text Button
- Link Button
+
+ Primary Button
+ Default Button
+ Dashed Button
+ Text Button
+ Link Button
+
diff --git a/components/button/demo/block.vue b/components/button/demo/block.vue
index 1d9a65a65c..888e36d475 100644
--- a/components/button/demo/block.vue
+++ b/components/button/demo/block.vue
@@ -16,9 +16,11 @@ title:
- Primary
- Default
- Dashed
- Danger
- Link
+
+ Primary
+ Default
+ Dashed
+ Danger
+ Link
+
diff --git a/components/button/demo/button-group.vue b/components/button/demo/button-group.vue
index d142bdbd81..8cfffbce17 100644
--- a/components/button/demo/button-group.vue
+++ b/components/button/demo/button-group.vue
@@ -34,7 +34,6 @@ Debug usage
M
R
-
With Icon
diff --git a/components/button/demo/danger.vue b/components/button/demo/danger.vue
index afbcead112..82bed2089c 100644
--- a/components/button/demo/danger.vue
+++ b/components/button/demo/danger.vue
@@ -17,11 +17,11 @@ danger is a property of button after antd 2.2.0.
-
+
Primary
Default
Dashed
Text
Link
-
+
diff --git a/components/button/demo/disabled.vue b/components/button/demo/disabled.vue
index 6b3e09e683..88a7e3ad0c 100644
--- a/components/button/demo/disabled.vue
+++ b/components/button/demo/disabled.vue
@@ -16,33 +16,42 @@ To mark a button as disabled, add the `disabled` property to the `Button`.
- Primary
- Primary(disabled)
-
- Default
- Default(disabled)
-
- Dashed
- Dashed(disabled)
-
- Text
- Text(disabled)
-
- Link
- Link(disabled)
-
- Danger Default
- Danger Default(disabled)
-
- Danger Text
- Danger Text(disabled)
-
- Danger Link
- Danger Link(disabled)
-
-
-
-
Ghost
-
Ghost(disabled)
-
+
+
+ Primary
+ Primary(disabled)
+
+
+ Default
+ Default(disabled)
+
+
+ Dashed
+ Dashed(disabled)
+
+
+ Text
+ Text(disabled)
+
+
+ Link
+ Link(disabled)
+
+
+ Danger Default
+ Danger Default(disabled)
+
+
+ Danger Text
+ Danger Text(disabled)
+
+
+ Danger Link
+ Danger Link(disabled)
+
+
+
Ghost
+
Ghost(disabled)
+
+
diff --git a/components/button/demo/ghost.vue b/components/button/demo/ghost.vue
index c36838fe35..9637d784f8 100644
--- a/components/button/demo/ghost.vue
+++ b/components/button/demo/ghost.vue
@@ -17,10 +17,12 @@ title:
-
-
Primary
-
Default
-
Dashed
-
Danger
+
+
+ Primary
+ Default
+ Dashed
+ Danger
+
diff --git a/components/button/demo/icon.vue b/components/button/demo/icon.vue
index f820cb47de..b0a702d59c 100644
--- a/components/button/demo/icon.vue
+++ b/components/button/demo/icon.vue
@@ -20,82 +20,32 @@ If you want specific control over the positioning and placement of the `Icon`, t
-
-
-
- A
-
-
- Search
-
-
-
-
-
-
- Search
-
-
-
-
-
-
- Search
-
-
-
-
-
-
- Search
-
-
-
-
-
-
-
-
-
-
-
- A
-
-
- Search
-
-
-
-
-
-
-
-
- Search
-
-
-
-
-
-
-
-
-
- Search
-
-
-
-
-
-
-
-
- Search
-
-
-
-
+
+
+
+
+
+ A
+ Search
+
+
+
+ Search
+
+
+
+
+
+ Search
+
+
+
+ Search
+
+
+
diff --git a/components/button/demo/loading.vue b/components/button/demo/loading.vue
index 750337ddc2..96d3ce9850 100644
--- a/components/button/demo/loading.vue
+++ b/components/button/demo/loading.vue
@@ -16,23 +16,25 @@ A loading indicator can be added to a button by setting the `loading` property o
-
- Loading
- Loading
-
-
-
- mouseenter me!
-
-
-
- 延迟1s
-
-
-
-
-
-
+
+
+ Loading
+ Loading
+
+
+
+ mouseenter me!
+
+
+
+ 延迟1s
+
+
+
+
+
+
+