index-4ccd6930.js 15 KB

1
  1. import{d as e,u as a,a as l,F as i,q as t,g as r,t as s,f as n,r as o,h as c,c as d,j as u,O as A,p,b as h,i as v,e as g,s as f}from"./index-4563f371.js";import{O as y}from"./index-e4022049.js";import{O as m}from"./index-bc86de62.js";import{C as w,a as L}from"./index-dbf88649.js";import{C as j}from"./index-4a445746.js";import{O as C}from"./index-264864bc.js";import"./index-37c16bb2.js";import"./index-2f2fce5a.js";import"./index-5658d130.js";import"./index-5e8610b4.js";const q={courseListSearch:"_courseListSearch_qqfka_1",collapseParent:"_collapseParent_qqfka_21",collapseChild:"_collapseChild_qqfka_52",materialSection:"_materialSection_qqfka_69",iconMaterial:"_iconMaterial_qqfka_75",itemTitle:"_itemTitle_qqfka_80",iconMenu:"_iconMenu_qqfka_87",materialTitle:"_materialTitle_qqfka_92",arrow:"_arrow_qqfka_101",arrowActive:"_arrowActive_qqfka_108"},x=""+new URL("icon-video-8afe8c13.png",import.meta.url).href,E=""+new URL("icon-image-4c8229a1.png",import.meta.url).href,k=e=>"VIDEO"===e.typeCode?x:["IMAGE","IMG"].includes(e.typeCode)?E:"SONG"===e.typeCode?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAC+lBMVEUAAABsz+hl6/Bn1eFo1uFq1+Rq2uFs1+ho1N1wx/Zg48xvx/Zp0uRg4sxq0eVwx/Zwx/Zp0+Vm2N1g48xs0eZo1uBw0+5o2thm191n1eBo1eFo1uFtze5j3dRwyPdg48xyyPhh4sth4spl2Npf48tf48pvx/Rg4cxwxvdh48tg4spr0+Vr5Ndh4stf4stj29Zk2dli3dNi3tFn1OFm191p0eVh389o0+Nn1d9tyvBg4cxuyPNsy+5k29hj3dVl2Nv8/v5vx/RuyfFszexl19trzuprzepqz+jM7evI7Olq0Odm1t7J7Ov6/fzL7Orx+/hQ0c/z+/nl9vHp9/Ng4c5q0eb1/Prj9vD2/Pvr+PTv+vft+fZszO7h9fBf4svP7+vn9/LS7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sjhJS1Jz7nC+BQ78Mkqhwf4ePQ8vB8so/Hz+sDSQUMAptUn+XPxOEXWPQvHN4y9kXG4w8wfNBnNxBhO4CAcBCXR86fe2AxrFPO6mccNY7jY81PPxpGAO4CVpfz58PDXu/cpXne5NCamkuj0YAHAPDIf8UdIGTTRF5yAA+OR69d2uSbwq8/joOaRRRlnTj4588s/xH3X8L7HfDqQ4ddMkEi758/s3xD2H8JL3heP1pAHlaDtrxP/izmPwRXnsDay/RXkZcAc5D0WYHE/RerD1t/KFE4cufJrBNxMX8W8x+M8POQW39o/QtIQknF/eov5D9SfbzyDjFVQT5kV4Jyex+L+Q8g1583iOazyJ/wZiLO1R/0xfyH7b+ovLi+JbfD6J8ElJVUgq+PmP885Nor3kBJNa8E0FIioQe51EYiLtUHkOvD9GPRLTVXkP/+8xc0EZS8RKyhdAAAAABJRU5ErkJggg==":x,P=e({name:"child-node",props:{id:{type:String,"default":""},search:{type:String,"default":""},isLock:{type:Boolean,"default":!1},list:{type:Array,"default":()=>[]},collapse:{type:String,"default":""}},emits:["update:collapse"],setup(e,{emit:n}){const o=a(),c=a=>{if(!a||!e.search)return a;const l=e.search;return a.replace(l,'<span style="color: #01C1B5;">'.concat(l,"</span>"))};return()=>l(L,{modelValue:e.collapse,"onUpdate:modelValue":e=>{n("update:collapse",e)},border:!1,accordion:!0},{"default":()=>{var a;return[null==(a=e.list)?void 0:a.map((a=>l(w,{clickable:!1,center:!0,border:!1,"class":q.collapseChild,name:a.id},{title:()=>l("div",{"class":[q.itemTitle,Array.isArray(null==a?void 0:a.materialList)&&(null==a?void 0:a.materialList.length)>0?q.materialTitle:""]},[a.name]),"default":()=>l(i,null,[Array.isArray(null==a?void 0:a.materialList)&&a.materialList.map((a=>l(j,{center:!0,isLink:!0,border:!1,clickable:!1,onClick:()=>{return l=a,void(e.isLock?t(e.id,"LESSON"):r().isApp?s({api:"openWebView",content:{url:"".concat(location.origin).concat(location.pathname,"#/coursewarePlay?lessonId=").concat(e.id,"&source=search&kId=").concat(l.id,"&search=").concat(encodeURIComponent(e.search)),orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0,showLoadingAnim:!0}}):o.push({path:"/coursewarePlay",query:{lessonId:e.id,kId:l.id,search:e.search,source:"search"}}));var l}},{title:()=>l("div",{"class":q.materialSection},[l("img",{src:k(a),"class":q.iconMaterial},null),l("div",{innerHTML:c(a.name)},null)])}))),Array.isArray(null==a?void 0:a.children)&&l(P,{isLock:e.isLock,search:e.search,id:e.id,list:a.children,collapse:a.collapse,"onUpdate:collapse":e=>{a.collapse=e}},null)]),"right-icon":()=>l("i",{"class":[q.arrow,e.collapse===a.id?q.arrowActive:""]},null)})))]}})}}),D=e({name:"course-list-search",setup(){const e=n(),a=o({titleOpacity:0,loading:!0,detail:{useStatus:""},list:[],search:"",parentCollapse:""}),t=c(),r=d((()=>"LOCK"===a.detail.useStatus&&"STUDENT"===f.platformType)),s=(e=[])=>{const a=[];return e.forEach((e=>{let l={};e.collapse="",l=e,Array.isArray(e.children)&&(l.children=s(e.children)),a.push({...l})})),a},x=(e=[])=>{for(let a=0;a<e.length;a++){if(!(Array.isArray(e[a].materialList)&&e[a].materialList.length>0))return x(e[a].children||[]);{const l=e[a].materialList[0]||{};if(l)return l}}};function E(e,a){return e.map((e=>{if(e.children){let l="";return e.children.map((e=>{l||(l=a.includes(e.id)?e.id:"")})),e.collapse=l,Object.assign(e,{children:E(e.children,a)})}return Object.assign(e,{materialList:e.materialList})}))}function D(e,a){return e.map((e=>e.children?Object.assign(e,{children:D(e.children,{ids:[...(null==a?void 0:a.ids)||[],e.id],name:e.name})}):Object.assign(e,{materialList:e.materialList.map((l=>(l.parentData={ids:[...(null==a?void 0:a.ids)||[],e.id],name:e.name},l)))})))}const O=async()=>{const l=await g.get("".concat(f.platformApi,"/lessonCourseware/getLessonCoursewareDetail/").concat(e.query.id));(null==l?void 0:l.data)&&(a.detail.useStatus=l.data.useStatus)},B=async l=>{var i;a.loading=!0;try{const t=await g.get(f.platformApi+"/lessonCourseware/getLessonCoursewareCourseList/"+e.query.id,{requestType:"form",params:{search:l}});if(Array.isArray(null==t?void 0:t.data)){a.search=l,t.data.forEach((e=>{e.children=e.knowledgePointList||[],e.id=e.coursewareDetailId,e.name=e.coursewareDetailName,s(e.children)}));const e=x(t.data);let r=D(t.data);r=E(r,(null==(i=null==e?void 0:e.parentData)?void 0:i.ids)||[]),a.list=r,r.forEach((l=>{var i;l.id===(null==(i=e.parentData)?void 0:i.ids[0])&&(a.parentCollapse=l.id)}))}}catch(t){}a.loading=!1};return O(),B(),u((()=>t.value),(e=>{"visible"===e&&O()})),()=>{let t;return l("div",{"class":q.courseListSearch},[l(C,{position:"top"},{"default":()=>[l(A,{background:"rgba(255,255,255, ".concat(a.titleOpacity,")"),border:!1},{title:()=>l("div",{"class":q.title},[l(y,{background:"transparent",placeholder:"请输入素材关键词",onSearch:e=>{B(e)}},null)])})]}),l("div",{style:"height: calc(100vh - var(--header-height)); overflow-x: hidden; overflow-y: auto;"},[l(p,{name:"van-fade"},{"default":()=>{return[!a.loading&&l(L,{key:"courseListSearch",modelValue:a.parentCollapse,"onUpdate:modelValue":e=>{a.parentCollapse=e},"class":q.collapseParent,border:!1,accordion:!0},(s=t=a.list.map((t=>l(w,{center:!0,border:!0,name:t.coursewareDetailId,clickable:!1,"class":["parentCollapse__item"]},{title:()=>l("div",{"class":[q.itemTitle]},[l("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAB4CAMAAAAg/+dyAAACc1BMVEUAAADT9+nT9una/ezV6urS+OvN+enS//fU9+jT9+jU9+nU9+nU9+jU9+jT9+nT9+nT9ejT9ujT9ujU9+jT+OjV9+rU9urV+OrU9ejV+erX+uvW/+ue5sie5see5cee5sid58el68286duf5sqe5cem6M2e5sie5sie5sed5cic5sed5see5sad58qg68ik7cjv+/Xf9uzT9uid5ccAlIoYyqks26gm1qgf0Kkx36go16gWyKkv3qgbzKgu3Kg04Kgr2agay6k45agp2K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mlaqs3NP+8iw+iJg7/E/IKjAAAAABJRU5ErkJggg==","class":q.iconMenu},null),t.coursewareDetailName]),"default":()=>l(i,null,[Array.isArray(null==t?void 0:t.materialList)&&t.materialList.map((e=>l(j,{center:!0,isLink:!0,clickable:!1},{title:()=>l("div",{"class":q.materialSection},[l("img",{src:k(e),"class":q.iconMaterial},null),e.name])}))),Array.isArray(null==t?void 0:t.children)&&l(P,{id:e.query.id,search:a.search,isLock:r.value,list:t.children,collapse:t.collapse,"onUpdate:collapse":e=>{t.collapse=e}},null)]),"right-icon":()=>l("i",{"class":[q.arrow,a.parentCollapse===t.coursewareDetailId?q.arrowActive:""]},null)}))),"function"==typeof s||"[object Object]"===Object.prototype.toString.call(s)&&!v(s)?t:{"default":()=>[t]}))];var s}}),a.loading&&l(m,null,null),!a.loading&&!a.list.length&&l(h,{tips:"暂无搜索结果"},null)])])}}});export{D as default};