[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
+5 -3
View File
@@ -1,4 +1,4 @@
## Sidebar
# Sidebar
### Install
@@ -9,9 +9,9 @@ Vue.use(Sidebar);
Vue.use(SidebarItem);
```
### Usage
## Usage
#### Basic Usage
### Basic Usage
Use `active-key` prop to set index of chosen item
@@ -40,6 +40,8 @@ export default {
};
```
## API
### Sidebar Props
| Attribute | Description | Type | Default |
+6 -4
View File
@@ -1,6 +1,6 @@
## Sidebar 侧边导航
# Sidebar 侧边导航
### 使用指南
### 引入
``` javascript
import { Sidebar, SidebarItem } from 'vant';
@@ -9,9 +9,9 @@ Vue.use(Sidebar);
Vue.use(SidebarItem);
```
### 代码演示
## 代码演示
#### 基础用法
### 基础用法
通过在`van-sidebar`上设置`active-key`属性来控制选中项
@@ -40,6 +40,8 @@ export default {
};
```
## API
### Sidebar Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |