| 
					
				 | 
			
			
				@@ -4,6 +4,7 @@ import Pagination from '@/components/pagination'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { NTabPane, NTabs } from 'naive-ui'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import CardType from '/src/components/card-type'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import SearchGroupResources from './search-group-resources'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import listData from '../xiaoku-music/data.json'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   name: 'student-studentList', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   setup() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -13,50 +14,39 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       pagination: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         page: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         rows: 10, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        pageTotal: 4 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        pageTotal: 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       tableList: [] as any 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const forms = reactive({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      list: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          id: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'IMG', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          url: 'https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/24a8551d69b245e0aec1c8613bf50d46_mergeImage.png', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          title: '夏日曲演奏', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          isCollect: false, // 是否收藏 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          isSelected: false // 是否精选 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          id: 2, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'IMG', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          url: 'https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/24a8551d69b245e0aec1c8613bf50d46_mergeImage.png', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          title: '欢乐颂', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          isCollect: true, // 是否收藏 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          isSelected: true // 是否精选 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          id: 3, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'IMG', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          url: 'https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/24a8551d69b245e0aec1c8613bf50d46_mergeImage.png', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          title: '夏日曲演奏', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          isCollect: false, // 是否收藏 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          isSelected: true // 是否精选 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          id: 4, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type: 'IMG', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          url: 'https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/24a8551d69b245e0aec1c8613bf50d46_mergeImage.png', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          title: '欢乐颂', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          isCollect: true, // 是否收藏 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          isSelected: false // 是否精选 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      list: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       height: '100%' as any 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const formatData = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const rows = listData.rows || []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(rows); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const tempList: any = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      rows.forEach((row: any, i: number) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        tempList.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          id: row.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          type: 'SONG', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          title: row.musicSheetName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          url: row.fixedTone ? row.fixedTone.split(',')[0] : '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          isCollect: i % 3 ? false : true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          isSelected: i % 4 ? false : true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      forms.list = tempList || []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      state.pagination.pageTotal = tempList.length; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      state.pagination.rows = tempList.length; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const getList = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       console.log('getList'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    formatData(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return () => ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class={styles.listWrap}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <NTabs 
			 |