Skip to content

Commit

Permalink
fix:correct the animation of title when video is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhu188 committed Jun 11, 2020
1 parent b78f61e commit e6b11f2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/renderer/views/Video/player.vue
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ export default {
},
playing: false,
urls: [],
subVideoList: [], // 收藏的视频列表,
subscribing: false, // 收藏加载中,
subVideoList: [], // 收藏的视频列表
subscribing: false, // 收藏加载中
mvURL: '',
isFixed: false,
isShowMore: false,
Expand Down Expand Up @@ -521,6 +521,9 @@ export default {
this.videoData.playCount = res.data.playTime
this.videoData.videoGroup = res.data.videoGroup
this.videoData.publishTime = res.data.publishTime
this.$nextTick(() => {
this.handleResize()
})
})
getVideoUrl(id).then(res => {
this.videoData.urls = res.urls.map(item => {
Expand Down Expand Up @@ -558,6 +561,9 @@ export default {
this.mvURL = urls[ urls.length - 1 ]
// console.log(urls)
this.isLoading = false
this.$nextTick(() => {
this.handleResize()
})
})
}
win && win.show()
Expand Down Expand Up @@ -840,11 +846,10 @@ export default {
.artist {
font-size: 14px;
color: #999;
margin-left: 6px;
}
.artist,
.artist a {
color: #eee;
color: #9e9e9e;
}
}
}
Expand Down

0 comments on commit e6b11f2

Please sign in to comment.