Merge pull request '修正了视频列表页' (#75) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/75
This commit is contained in:
		
						commit
						ed99c66726
					
				@ -41,6 +41,7 @@
 | 
			
		||||
      <VideoItem
 | 
			
		||||
        v-for="(i, j) in videolist.data"
 | 
			
		||||
        :key="j"
 | 
			
		||||
        :videoid="i.videoid"
 | 
			
		||||
        :img="i.img"
 | 
			
		||||
        :title="i.title"
 | 
			
		||||
        :score="i.score"
 | 
			
		||||
@ -57,6 +58,7 @@
 | 
			
		||||
        v-for="(i, j) in videolist.data"
 | 
			
		||||
        :key="j"
 | 
			
		||||
        :img="i.img"
 | 
			
		||||
        :videoid="i.videoid"
 | 
			
		||||
        :title="i.title"
 | 
			
		||||
        :score="i.score"
 | 
			
		||||
        :date="i.created_at"
 | 
			
		||||
@ -72,6 +74,7 @@
 | 
			
		||||
        v-for="(i, j) in videolist.data"
 | 
			
		||||
        :key="j"
 | 
			
		||||
        :img="i.img"
 | 
			
		||||
        :videoid="i.videoid"
 | 
			
		||||
        :title="i.title"
 | 
			
		||||
        :score="i.score"
 | 
			
		||||
        :date="i.created_at"
 | 
			
		||||
@ -228,6 +231,7 @@ export default defineComponent({
 | 
			
		||||
    });
 | 
			
		||||
    async function tabchange(e: number) {
 | 
			
		||||
      tabindex.value = e;
 | 
			
		||||
      videolist.value = {};
 | 
			
		||||
      videolist.value = await getvideolist({title: input.value,page:page.value,status:e == 4 ? '' : e});
 | 
			
		||||
      // console.log(videolist)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user