[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

View File

@@ -1,16 +1,20 @@
## PasswordInput
# PasswordInput
### Intro
The PasswordInput component is usually used with [NumberKeyboard](#/en-US/number-keyboard) Component.
### Install
``` javascript
import { PasswordInput, NumberKeyboard } from 'vant';
Vue.use(PasswordInput).use(NumberKeyboard);
```
### Usage
## Usage
#### Basic Usage
### Basic Usage
```html
<!-- PasswordInput -->
@@ -49,7 +53,7 @@ export default {
}
```
#### Without mask
### Without mask
```html
<van-password-input
@@ -59,6 +63,8 @@ export default {
/>
```
## API
### Props
| Attribute | Description | Type | Default |

View File

@@ -1,16 +1,19 @@
## PasswordInput 密码输入框
# PasswordInput 密码输入框
### 介绍
密码输入框组件通常与 [数字键盘](#/zh-CN/number-keyboard) 组件配合使用
### 使用指南
### 引入
``` javascript
import { PasswordInput, NumberKeyboard } from 'vant';
Vue.use(PasswordInput).use(NumberKeyboard);
```
### 代码演示
## 代码演示
#### 基础用法
### 基础用法
```html
<!-- 密码输入框 -->
@@ -49,7 +52,7 @@ export default {
}
```
#### 明文展示
### 明文展示
```html
<!-- 密码输入框 -->