Skip to content

Commit

Permalink
修改文档
Browse files Browse the repository at this point in the history
  • Loading branch information
sos committed Apr 16, 2018
1 parent aad967e commit 78b5c61
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Example:
|key|description|default|val|
|:---|---|---|---|
|`step`|the faster the rolling speed is faster|`1`|`Number`|
|`limitMoveNum`|start seamless scrolling minimum data length|`1`|`Number`|
|`limitMoveNum`|start seamless scrolling minimum data length|`5`|`Number`|
|`hoverStop`|mouse hover control is enabled|`true`|`Boolean`|
|`direction`| 0 down、 1 up 、 2 left 、 3 right|`1`|`Number`|
|`openTouch`|open mobile touch |`true`|`Boolean`|
Expand Down
2 changes: 1 addition & 1 deletion document/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Example:
|key|description|default|val|
|:---|---|---|---|
|`step`|数值越大速度滚动越快|`1`|`Number`|
|`limitMoveNum`|开启无缝滚动的数据量|`1`|`Number`|
|`limitMoveNum`|开启无缝滚动的数据量|`5`|`Number`|
|`hoverStop`|是否启用鼠标hover控制|`true`|`Boolean`|
|`direction`|方向 0 往下 1 往上 2向左 3向右|`1`|`Number`|
|`openTouch`|移动端开启touch滑动|`true`|`Boolean`|
Expand Down
3 changes: 2 additions & 1 deletion examples-src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
list-style: none;
padding: 0;
margin: 0 auto;
li {
li,a {
display: block;
height: 30px;
line-height: 30px;
display: flex;
Expand Down
7 changes: 5 additions & 2 deletions examples-src/components/router-one.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
</div>
<my-class :data="listData" class="warp" :class-option="classOption">
<ul class="item">
<li v-for="item in listData">
<a target="_blank" href="http://www.baidu.com" v-for="item in listData">
<span class="title" v-text="item.title"></span>
<span class="date" v-text="item.date"></span>
</li>
</a>
</ul>
</my-class>
</div>
Expand Down Expand Up @@ -211,6 +211,9 @@
div {
flex: 1;
}
a {
display: block;
}
}
</style>
<script>
Expand Down

0 comments on commit 78b5c61

Please sign in to comment.