[Doc] new theme

This commit is contained in:
陈嘉涵
2019-05-15 20:53:04 +08:00
parent 3cae4288f2
commit d0f4169c86
130 changed files with 1460 additions and 1147 deletions
+6 -4
View File
@@ -1,4 +1,4 @@
## NumberKeyboard
# NumberKeyboard
### Install
``` javascript
@@ -7,9 +7,9 @@ import { NumberKeyboard } from 'vant';
Vue.use(NumberKeyboard);
```
### Usage
## Usage
#### Default Style
### Default Style
```html
<van-button @touchstart.stop="show = true">
@@ -45,7 +45,7 @@ export default {
}
```
#### Custom Style
### Custom Style
```html
<van-number-keyboard
@@ -59,6 +59,8 @@ export default {
/>
```
## API
### Props
| Attribute | Description | Type | Default |
+8 -5
View File
@@ -1,15 +1,16 @@
## NumberKeyboard 数字键盘
# NumberKeyboard 数字键盘
### 引入
### 使用指南
``` javascript
import { NumberKeyboard } from 'vant';
Vue.use(NumberKeyboard);
```
### 代码演示
## 代码演示
#### 默认样式
### 默认样式
```html
<van-button @touchstart.stop="show = true">
@@ -45,7 +46,7 @@ export default {
}
```
#### 自定义样式
### 自定义样式
```html
<van-number-keyboard
@@ -59,6 +60,8 @@ export default {
/>
```
## API
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |