Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-14 15:34:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
17bf6f5516dbbae39b21785f2443f2f9ea6c7a40
17bf6f55
1 parent
f974b80a
fix 书籍列表播放时,记录播放锚点
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
src/components/VideoCard/index.vue
src/components/VideoCard/index.vue
View file @
17bf6f5
...
...
@@ -86,7 +86,13 @@ export default {
]
})
this.mp = mp;
this.detail = _.cloneDeep(this.item)
this.detail = _.cloneDeep(this.item);
var video = mp.video();
// 监听原生video事件
var _this = this;
video && video.addEventListener('play', function (event) {
_this.handleAction('play', _this.item.id)
});
}, 500);
},
methods: {
...
...
Please
register
or
login
to post a comment