From 8340c5de476ff531a0e6c4d4e264d54dd4b99163 Mon Sep 17 00:00:00 2001 From: MICD Date: Fri, 15 Oct 2021 18:23:06 +0800 Subject: [PATCH] =?UTF-8?q?docs(ripple):=20=E4=BF=AE=E5=A4=8D=E6=96=87?= =?UTF-8?q?=E6=A1=A3toc=E6=98=BE=E7=A4=BA=E9=94=99=E4=B9=B1=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/components/ripple/index.md | 186 +++++++++++++++++++++----------- 1 file changed, 126 insertions(+), 60 deletions(-) diff --git a/docs/components/ripple/index.md b/docs/components/ripple/index.md index 0de25398..0abefb4f 100644 --- a/docs/components/ripple/index.md +++ b/docs/components/ripple/index.md @@ -6,112 +6,178 @@ 用户 可以在组件 或者 HTML 元素上任意使用 `v-ripple` 指令 使用基本的 `v-ripple` 指令, `v-ripple` 接收 一个对象 -### -
HTML元素 中使用 v-ripple
+:::demo -:::demo ```vue ``` -::: -### 其他 +::: ### 自定义色彩 -### +### 通过修改文本颜色来动态改变 -您可以通过修改文本颜色来动态改变 Ripple 的颜色 默认 Ripple 颜色 跟随文本 颜色 +:::demo -### +```vue + +``` - +::: -### +### 自定义颜色 -当然 我们也可以 自己定义我们 想要的颜色 +:::demo -### +```vue + +``` - +::: + +### 应用于其他组件 -### +Button -### 我们还可以应用 于 其他组件 -### 例如 Button +:::demo -:::demo ```vue ``` + ::: -### 例如 Icon -:::demo +Icon + +:::demo + ```vue ``` + ::: +