docs: add period at the end of sentence

This commit is contained in:
chenjiahan
2020-09-27 21:02:52 +08:00
parent 4f10430119
commit a5dbcf9638
64 changed files with 230 additions and 219 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ Vue.use(Progress);
### Basic Usage
Use 'percentage' prop to set current progress
Use `percentage` prop to set current progress.
```html
<van-progress :percentage="50" />
@@ -33,7 +33,7 @@ Use 'percentage' prop to set current progress
### Custom Style
Use `pivot-text` to custom textuse `color` to custom bar color
Use `pivot-text` to custom textuse `color` to custom bar color.
```html
<van-progress pivot-text="Orange" color="#f2826a" :percentage="25" />
+4 -4
View File
@@ -13,7 +13,7 @@ Vue.use(Progress);
### 基础用法
进度条默认为蓝色,使用`percentage`属性来设置当前进度
进度条默认为蓝色,使用 `percentage` 属性来设置当前进度
```html
<van-progress :percentage="50" />
@@ -21,7 +21,7 @@ Vue.use(Progress);
### 线条粗细
通过`stroke-width`可以设置进度条的粗细
通过 `stroke-width` 可以设置进度条的粗细
```html
<van-progress :percentage="50" stroke-width="8" />
@@ -29,7 +29,7 @@ Vue.use(Progress);
### 置灰
设置`inactive`属性后进度条将置灰
设置 `inactive` 属性后进度条将置灰
```html
<van-progress inactive :percentage="50" />
@@ -37,7 +37,7 @@ Vue.use(Progress);
### 样式定制
可以使用`pivot-text`属性自定义文字,`color`属性自定义进度条颜色
可以使用 `pivot-text` 属性自定义文字,`color` 属性自定义进度条颜色
```html
<van-progress pivot-text="橙色" color="#f2826a" :percentage="25" />