Skip to content

Commit

Permalink
Update 阅读器部分开发.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenMingK authored Aug 23, 2019
1 parent e7adeaa commit 9063d5c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions 开发文档/阅读器部分开发.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,9 +375,17 @@ updated() {
}
```
这里我也写了个 demo <a href="https://github.com/ChenMingK/demos/blob/master/ebookProgress.html">传送门</a>
### 6.多级目录展示
### 7.加载动画的实现
### 8.vue-transition 过渡动画的使用
### 6.点击事件和手势事件冲突的处理
```html
<div class="ebook-reader-mask"
@click="onMaskClick"
@touchmove="move"
@touchend="moveEnd"
@mousedown.left="onMouseEnter"
@mousemove.left="onMouseMove"
@mouseup.left="onMouseEnd"></div>
```
以上是为阅读器主体部分的蒙版添加的事件,根据需求,单击时(tap)会弹出菜单栏,而做下拉的手势时会
### 9.公共组件 Scroll.vue 的开发
需求分析:
Expand Down

0 comments on commit 9063d5c

Please sign in to comment.