mirror of
https://github.com/youzan/vant.git
synced 2026-05-06 01:00:26 +08:00
docs: add period at the end of sentence
This commit is contained in:
@@ -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 text,use `color` to custom bar color
|
||||
Use `pivot-text` to custom text,use `color` to custom bar color.
|
||||
|
||||
```html
|
||||
<van-progress pivot-text="Orange" color="#f2826a" :percentage="25" />
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user