From 551b1c22a9c50af5d33353878234bee010fb3896 Mon Sep 17 00:00:00 2001 From: linrz <33575974+linrz@users.noreply.github.com> Date: Sat, 4 Jan 2020 19:23:19 +0800 Subject: [PATCH] docs: update button and cell example (#2641) --- example/pages/button/index.wxml | 4 ++-- example/pages/cell/index.wxml | 5 +++-- packages/button/README.md | 8 ++++---- packages/cell/README.md | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/example/pages/button/index.wxml b/example/pages/button/index.wxml index 7112df32..1a3f6137 100644 --- a/example/pages/button/index.wxml +++ b/example/pages/button/index.wxml @@ -54,8 +54,8 @@ 渐变色按钮 - + 普通按钮 - 块级元素按钮 + 块级元素 diff --git a/example/pages/cell/index.wxml b/example/pages/cell/index.wxml index f087247e..ebf0bdd7 100644 --- a/example/pages/cell/index.wxml +++ b/example/pages/cell/index.wxml @@ -82,8 +82,9 @@ diff --git a/packages/button/README.md b/packages/button/README.md index 34c34f3f..6998db57 100644 --- a/packages/button/README.md +++ b/packages/button/README.md @@ -1,4 +1,4 @@ -# Button 按钮 +3w# Button 按钮 ### 引入 @@ -97,12 +97,12 @@ 渐变色按钮 ``` -### 块级元素按钮 +### 块级元素 -通过`block`属性可以设置按钮的元素类型 +通过`block`属性可以将按钮的元素类型设置为块级元素 ```html -块级元素按钮 +块级元素 ``` ## API diff --git a/packages/cell/README.md b/packages/cell/README.md index 723ff0f7..05da44fc 100644 --- a/packages/cell/README.md +++ b/packages/cell/README.md @@ -95,10 +95,10 @@ ### 垂直居中 -通过`center`属性在多行文本时控制左侧标题垂直居中 +通过`center`属性可以让`Cell`的左右内容都垂直居中 ```html - + ``` ## API