| 
					
				 | 
			
			
				@@ -430,41 +430,6 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    /** 搜索页面 获取当前播放元素 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    const checkRecursionCoursewareId = (list: [], id: string) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      list.forEach((parent: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if(Array.isArray(parent.materialList)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          const parentMaterial = parent.materialList || [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          parentMaterial.forEach((item: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            console.log(item.materialId, id, '------------------------------') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(item.materialId == id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              console.log(item, '---------------') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              return true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if(Array.isArray(parent.child)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          const parentItem = parent.child || [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          checkRecursionCoursewareId(parentItem, id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    const getSearchParentCoursewareId = (list: [], id: string) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if(!id || list.length <= 0) return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // list.knowledgePointList.forEach(element => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // let coursewareDetailId = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      console.log(list, '12121--------') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      list.forEach((parent: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if(Array.isArray(parent.knowledgePointList)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          const parentItem = parent.knowledgePointList || [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          console.log(checkRecursionCoursewareId(parentItem, id)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 从搜索页面来的 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const getSearchDetail = async (params: { type?: string, id?: any, search?: string }) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       try { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -558,8 +523,6 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         detailList.value = result 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         detailTempSearchList.value = result 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // getSearchParentCoursewareId(result, route.query.kId as any)   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if(!params.type) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           let _firstIndex = allList.findIndex( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             (n: any) => 
			 |