修正了视频列表页
This commit is contained in:
		
							parent
							
								
									52d5c30bfc
								
							
						
					
					
						commit
						9a9f28f176
					
				@ -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