[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 -4
View File
@@ -1,4 +1,4 @@
## Circle
# Circle
### Install
``` javascript
@@ -7,9 +7,9 @@ import { Circle } from 'vant';
Vue.use(Circle);
```
### Usage
## Usage
#### Basic Usage
### Basic Usage
```html
<van-circle
@@ -35,7 +35,7 @@ export default {
};
```
#### Custom style
### Custom style
```html
<van-circle
@@ -52,6 +52,7 @@ export default {
/>
```
## API
### Props
+6 -5
View File
@@ -1,15 +1,15 @@
## Circle 环形进度条
# Circle 环形进度条
### 使用指南
### 引入
``` javascript
import { Circle } from 'vant';
Vue.use(Circle);
```
### 代码演示
## 代码演示
#### 基础用法
### 基础用法
通过 `rate` 指定目标进度,`v-model` 代表当前进度,`speed` 控制动画速度
```html
@@ -36,7 +36,7 @@ export default {
};
```
#### 样式定制
### 样式定制
```html
<van-circle
@@ -53,6 +53,7 @@ export default {
/>
```
## API
### Props