Commit 03d58f77 authored by jyx's avatar jyx

代码优化

parent d11823b5
......@@ -56,7 +56,7 @@
</template>
<script>
import common from '@/mixins/common';
import common from '@/mixins/common';
import ttVideoPlayer from '@/ttcomponents/tt-video-player'
import {
......@@ -67,9 +67,9 @@
export default {
name: "recommendVideo",
mixins: [common],
components: {
ttVideoPlayer
mixins: [common],
components: {
ttVideoPlayer
},
data() {
return {
......@@ -282,8 +282,9 @@
this.isqp = e.detail.show
},
detail(detail) {
navigateTo(`/pagesC/video/ttVideoDetail?data=` + encodeURIComponent(JSON.stringify(detail)) +
`&playNext=1`)
navigateTo(`/pagesC/ttvideo/ttVideoDetail?data=` + encodeURIComponent(JSON.stringify(detail)) +
'&tt_album_id=' + detail.douyinAlbumId + '&tt_episode_id=' + detail.douyinEpisodeId +
`&playNext=1`);
},
collect(vedioId, index) {
this.originList[index].collect = 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment