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
+3 -3
View File
@@ -17,7 +17,7 @@ Vue.use(Sticky);
### 基础用法
将内容包裹在`Sticky`组件内即可
将内容包裹在 `Sticky` 组件内即可
```html
<van-sticky>
@@ -27,7 +27,7 @@ Vue.use(Sticky);
### 吸顶距离
通过`offset-top`属性可以设置组件在吸顶时与顶部的距离
通过 `offset-top` 属性可以设置组件在吸顶时与顶部的距离
```html
<van-sticky :offset-top="50">
@@ -37,7 +37,7 @@ Vue.use(Sticky);
### 指定容器
通过`container`属性可以指定组件的容器,页面滚动时,组件会始终保持在容器范围内,当组件即将超出容器底部时,会固定在容器的底部
通过 `container` 属性可以指定组件的容器,页面滚动时,组件会始终保持在容器范围内,当组件即将超出容器底部时,会固定在容器的底部
```html
<div ref="container" style="height: 150px;">