[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
+7 -4
View File
@@ -1,15 +1,16 @@
## SwipeCell
# SwipeCell
### Install
``` javascript
import { SwipeCell } from 'vant';
Vue.use(SwipeCell);
```
### Usage
## Usage
#### Basic Usage
### Basic Usage
```html
<van-swipe-cell :right-width="65" :left-width="65">
@@ -21,7 +22,7 @@ Vue.use(SwipeCell);
</van-swipe-cell>
```
#### Async close
### Async close
```html
<van-swipe-cell :right-width="65" :left-width="65" :on-close="onClose">
@@ -56,6 +57,8 @@ export default {
}
```
## API
### Props
| Attribute | Description | Type | Default |
+8 -5
View File
@@ -1,15 +1,16 @@
## SwipeCell 滑动单元格
# SwipeCell 滑动单元格
### 引入
### 使用指南
``` javascript
import { SwipeCell } from 'vant';
Vue.use(SwipeCell);
```
### 代码演示
## 代码演示
#### 基础用法
### 基础用法
```html
<van-swipe-cell :right-width="65" :left-width="65">
@@ -21,7 +22,7 @@ Vue.use(SwipeCell);
</van-swipe-cell>
```
#### 异步关闭
### 异步关闭
```html
<van-swipe-cell :right-width="65" :left-width="65" :on-close="onClose">
@@ -56,6 +57,8 @@ export default {
}
```
## API
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |