修正了视频列表页 #75
@ -41,6 +41,7 @@
|
|||||||
<VideoItem
|
<VideoItem
|
||||||
v-for="(i, j) in videolist.data"
|
v-for="(i, j) in videolist.data"
|
||||||
:key="j"
|
:key="j"
|
||||||
|
:videoid="i.videoid"
|
||||||
:img="i.img"
|
:img="i.img"
|
||||||
:title="i.title"
|
:title="i.title"
|
||||||
:score="i.score"
|
:score="i.score"
|
||||||
@ -57,6 +58,7 @@
|
|||||||
v-for="(i, j) in videolist.data"
|
v-for="(i, j) in videolist.data"
|
||||||
:key="j"
|
:key="j"
|
||||||
:img="i.img"
|
:img="i.img"
|
||||||
|
:videoid="i.videoid"
|
||||||
:title="i.title"
|
:title="i.title"
|
||||||
:score="i.score"
|
:score="i.score"
|
||||||
:date="i.created_at"
|
:date="i.created_at"
|
||||||
@ -72,6 +74,7 @@
|
|||||||
v-for="(i, j) in videolist.data"
|
v-for="(i, j) in videolist.data"
|
||||||
:key="j"
|
:key="j"
|
||||||
:img="i.img"
|
:img="i.img"
|
||||||
|
:videoid="i.videoid"
|
||||||
:title="i.title"
|
:title="i.title"
|
||||||
:score="i.score"
|
:score="i.score"
|
||||||
:date="i.created_at"
|
:date="i.created_at"
|
||||||
@ -228,6 +231,7 @@ export default defineComponent({
|
|||||||
});
|
});
|
||||||
async function tabchange(e: number) {
|
async function tabchange(e: number) {
|
||||||
tabindex.value = e;
|
tabindex.value = e;
|
||||||
|
videolist.value = {};
|
||||||
videolist.value = await getvideolist({title: input.value,page:page.value,status:e == 4 ? '' : e});
|
videolist.value = await getvideolist({title: input.value,page:page.value,status:e == 4 ? '' : e});
|
||||||
// console.log(videolist)
|
// console.log(videolist)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user