From a57887919d0c01a9b431ac602ca06c0e8682fe3f Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 12 Dec 2017 13:13:35 +0800 Subject: [PATCH] [Doc] optimzie doc detail (#413) --- docs/demos/views/icon.vue | 1 + docs/markdown/en-US/cell.md | 18 +++++++++--------- docs/markdown/zh-CN/badge.md | 6 +++--- docs/markdown/zh-CN/cell.md | 18 +++++++++--------- packages/button/index.vue | 1 - 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/docs/demos/views/icon.vue b/docs/demos/views/icon.vue index 4e1ee68fb..ae289f111 100644 --- a/docs/demos/views/icon.vue +++ b/docs/demos/views/icon.vue @@ -38,6 +38,7 @@ export default { height: 100px; float: none; display: inline-block; + vertical-align: middle; } .van-icon { diff --git a/docs/markdown/en-US/cell.md b/docs/markdown/en-US/cell.md index 28e3c7fbc..daa16c6ae 100644 --- a/docs/markdown/en-US/cell.md +++ b/docs/markdown/en-US/cell.md @@ -14,8 +14,8 @@ Vue.use(CellGroup); ```html - - + + ``` @@ -23,7 +23,7 @@ Vue.use(CellGroup); ```html - + ``` @@ -31,7 +31,7 @@ Vue.use(CellGroup); ```html - + ``` @@ -39,8 +39,8 @@ Vue.use(CellGroup); ```html - - + + ``` @@ -48,16 +48,16 @@ Vue.use(CellGroup); ```html - + - + diff --git a/docs/markdown/zh-CN/badge.md b/docs/markdown/zh-CN/badge.md index 25e1842aa..a14588d49 100644 --- a/docs/markdown/zh-CN/badge.md +++ b/docs/markdown/zh-CN/badge.md @@ -11,10 +11,10 @@ Vue.use(Badge); #### 基础用法 -通过在`van-badge-group`上设置`active-key`属性来控制选中的`badge` +通过在`van-badge-group`上设置`activeKey`属性来控制选中的`badge` ```html - + @@ -41,7 +41,7 @@ export default { | 参数 | 说明 | 类型 | 默认值 | 可选值 | |-----------|-----------|-----------|-------------|-------------| -| active-key | 选中`badge`的索引 | `String | Number` | `0` | - | +| activeKey | 选中`badge`的索引 | `String | Number` | `0` | - | ### Badge API | 参数 | 说明 | 类型 | 默认值 | 可选值 | diff --git a/docs/markdown/zh-CN/cell.md b/docs/markdown/zh-CN/cell.md index 611c682f0..f8ffae670 100644 --- a/docs/markdown/zh-CN/cell.md +++ b/docs/markdown/zh-CN/cell.md @@ -16,8 +16,8 @@ Vue.use(CellGroup); ```html - - + + ``` @@ -26,7 +26,7 @@ Vue.use(CellGroup); ```html - + ``` @@ -35,7 +35,7 @@ Vue.use(CellGroup); ```html - + ``` @@ -45,8 +45,8 @@ Vue.use(CellGroup); ```html - - + + ``` @@ -55,16 +55,16 @@ Vue.use(CellGroup); ```html - + - + diff --git a/packages/button/index.vue b/packages/button/index.vue index 193054f0d..fb2d1fdc7 100644 --- a/packages/button/index.vue +++ b/packages/button/index.vue @@ -1,4 +1,3 @@ -