1 |
- import{w as a,d as o,f as e,u as s,g as t,h as i,r as l,c as n,j as r,o as d,l as c,k as u,m as A,a as p,O as w,n as h,p as g,F as C,B as m,b as U,q as v,P as L,i as Y,e as k,s as q,t as x,v as I}from"./index-d31722d5.js";import{O as B}from"./index-f2a9f072.js";import{O as f}from"./index-c77244c9.js";import{C as y}from"./index-3fa0733f.js";import{C as b}from"./index-40db5953.js";import{s as D,a as j}from"./function-call-59f3da4b.js";import"./index-aec66e25.js";import"./index-1f639c9e.js";a(D);const F={courseList:"_courseList_1wuul_1",periodContent:"_periodContent_1wuul_14",cover:"_cover_1wuul_18",contentTitle:"_contentTitle_1wuul_56",contentLabel:"_contentLabel_1wuul_63",periodSection:"_periodSection_1wuul_69",periodHeader:"_periodHeader_1wuul_74",searchGroup:"_searchGroup_1wuul_80",iconSearch:"_iconSearch_1wuul_91",periodTitle:"_periodTitle_1wuul_99",pIcon:"_pIcon_1wuul_103",pTitle:"_pTitle_1wuul_108",pNum:"_pNum_1wuul_114",periodList:"_periodList_1wuul_119",baseBtn:"_baseBtn_1wuul_156",disabled:"_disabled_1wuul_170",look:"_look_1wuul_173",down:"_down_1wuul_176",downing:"_downing_1wuul_179",disable:"_disable_1wuul_170",periodItem:"_periodItem_1wuul_186",courseDialog:"_courseDialog_1wuul_198",iconCross:"_iconCross_1wuul_202",periodItemModel:"_periodItemModel_1wuul_210",iconCachePoint:"_iconCachePoint_1wuul_213",periodTip:"_periodTip_1wuul_222",downloading:"_downloading_1wuul_230",btnGroup:"_btnGroup_1wuul_244",iconClose:"_iconClose_1wuul_256",title:"_title_1wuul_266",content:"_content_1wuul_56",popupBtnGroup:"_popupBtnGroup_1wuul_281"},E=o({name:"courseList",setup(){const a=e(),o=s(),D=t(),E=i(),G=l({titleOpacity:0,catchStatus:!1,catchItem:{},loading:!0,detail:{id:"",cover:"",name:"",des:"",useStatus:""},list:[],isDownloading:!1}),M=n((()=>"LOCK"===G.detail.useStatus&&"STUDENT"===q.platformType));r((()=>E.value),(a=>{"visible"===a&&V()}));const V=async()=>{const o=await k.get("".concat(q.platformApi,"/lessonCourseware/getLessonCoursewareDetail/").concat(a.query.id));(null==o?void 0:o.data)&&(G.detail.id=o.data.id,G.detail.cover=o.data.coverImg,G.detail.name=o.data.name,G.detail.des=o.data.lessonTargetDesc,G.detail.useStatus=o.data.useStatus)},W=(a=[])=>{const o=[];return a.forEach((a=>{a.materialList&&a.materialList.length>0&&o.push(...a.materialList||[]),a.children&&a.children.length>0&&o.push(...W(a.children||[]))})),o};d((()=>{V(),(async()=>{G.loading=!0;try{const o=await k.get(q.platformApi+"/lessonCourseware/getLessonCoursewareCourseList/"+a.query.id);if(Array.isArray(null==o?void 0:o.data)){G.list=o.data,o.data.forEach((a=>{const{knowledgePointList:o}=a;(o||[]).forEach((a=>{a.materialList=[...a.materialList||[],...W(a.children||[])],a.children=null}))}));const a=await N(o.data);G.list=D.isApp?o.data.map((o=>{const e=a.find((a=>a.lessonCoursewareDetailId==o.lessonCoursewareDetailId)),s={...o};return e&&(s.hasCache=e.hasCache),s})):o.data}}catch(o){}G.loading=!1})(),c("downloadCoursewareToCache",J)})),u((()=>{A("downloadCoursewareToCache",J)}));const S=a=>{G.catchStatus=!1,t().isApp?x({api:"openWebView",content:{url:"".concat(location.origin).concat(location.pathname,"#/coursewarePlay?id=").concat(a.coursewareDetailId,"&source=my-course"),orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0,showLoadingAnim:!0}}):o.push({path:"/coursewarePlay",query:{id:a.coursewareDetailId,source:"my-course"}})},N=a=>t().isApp?new Promise((o=>{x({api:"checkCoursewareCache",content:{data:a}},(a=>{var e;if(!(null==(e=null==a?void 0:a.content)?void 0:e.data))return[];o(a.content.data)}))})):Promise.resolve(a),K=async a=>!D.isApp||(G.catchStatus=!1,G.isDownloading=!0,await x({api:"downloadCoursewareToCache",content:{data:a}})),J=a=>{var o;if(G.isDownloading&&(null==(o=null==a?void 0:a.content)?void 0:o.lessonCoursewareDetailId)){const{lessonCoursewareDetailId:o,downloadStatus:e,progress:s}=a.content,t=G.list.find((a=>a.lessonCoursewareDetailId==o));t&&(t.downloadStatus=e,t.progress=s,2==e&&(t.hasCache=1,t.progress=100,G.isDownloading=!1))}};return()=>{let e;return p("div",{"class":F.courseList},[p(f,{position:"top"},{"default":()=>[p(w,{border:!1,background:"rgba(255,255,255, ".concat(G.titleOpacity,")"),title:"教材详情"},null)]}),p("div",{style:"height: calc(100vh - var(--header-height, 0px) - var(--bottom-height, 0px)); overflow-x: hidden; overflow-y: auto;display:flex; flex-direction: column;"},[p("div",{"class":F.periodContent},[p("div",{"class":F.cover},[p("img",{src:G.detail.cover,onLoad:a=>{a.target&&(a.target.style.opacity=1)}},null)]),p("div",null,[p("div",{"class":F.contentTitle},[G.detail.name]),p("div",{"class":F.contentLabel},[h("教学目标:"),G.detail.des])])]),p("div",{"class":F.periodSection},[p(g,{name:"van-fade"},{"default":()=>{return[!G.loading&&p(C,null,[p("div",{"class":F.periodHeader},[p("div",{key:"periodTitle","class":F.periodTitle},[p("img",{"class":F.pIcon,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAapJREFUWEftl7FKA0EQhv9NhAjhBHvLQBoj3L2DnaV2NhYWajqfwNo6PoGVptXCRxDcPVy1utIuTTAgEZSRExNi9Mxs5u488NJm5ua7b2d3bxQK/lMF50MJKF2h0uD/MdhsNr1avX4Yv/EzUScypufy9o1Go7boedsgWnHJ+xar1ONwMDiNougl/m/cgy3fvwKw/pnQQ6VyYG9uzrnFWr4fx25y42fEda0xW9OArwCqU4ndBWDfMGy2guAJRF4qgEoNrNZL04CU8HCWzTwMJgGOuH+1mUcPzgKMQXukVPtO67NUlpLxkMlNwgEc26wS7YZh2GfUEIXMCwgodWG13hBVZyTPDwj0rTHLjBqikPkBiTo2DNui6oxkZ0AChgo4ssYcA3hj1BCFOAEScE3Azr0xD6KqDsksQI61PzsHudbyuEmGAGoj+xxrkyuV+V286vsnCtiLi3KtfQHM+msm/vRaC4KPg/dW60vXHZp5DzpsrFxDy6FJqrs0WBqUGpDmj3swtXNMTJQ8F6c510oxf5iL05xrpXgJc3GxDRa+B6WrklV+eZNIzRbe4DtiDOop5126YAAAAABJRU5ErkJggg=="},null),p("div",{"class":F.pTitle},[h("课程列表")]),p("div",{"class":F.pNum},[h("共"),G.list.length,h("课")])]),p("div",{"class":F.searchGroup,onClick:()=>{o.push({path:"/courseListSearch",query:{id:a.query.id}})}},[p("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAAAjVBMVEUAAAABwbUBwbUIxbMAx7sBwrUG0sEBwrUCwbYAwrYBwbYBwbYCwrYDw7YEwbYCxbcExLUYzKIBwrYBwrUBwrUBwrUBwrYBwrYCwrYCwrYCwrcCwrcBwbUDw7gBwrUBwbYBwrUCwrYCwrYCwrcCwrYDwbUCxLcAw7cBwbUCwrYCw7YExbgCwrYBwrYBwbXnPIxzAAAALnRSTlMA/PkTCs4G9qgZ6uJ6PyYhEAVm8u/VvK6fllYc5jDbx8Gaj4qDX0UssnZxO2qxSgNy2wAAAfBJREFUOMuNVNmWgjAUAwoCyibKDops4zb8/+cNaXUslnrMg+fahiS3t6DMoNtV7rRNF7p+oHyCF54MbWTYJI67lRH168EcOahry1skrgZjFLC+BAuSl/3IsD8Yx6h85kh+BM2Uee/OvefbduG7zYalMKo3zXQEEI6PrtL+/JnmxYRAPMxb9loaqua5A11KCqGBcAeJTH+tGFhIlk4xhN3u9v//Cs0YmiIccOPVM9IBHQ3KIkgCx543sWRDzNHHkcnqJ8TxpOOOp+2SHa6Nps6KFP20bYa0rDDDXk4NkC+jCXLMHf4y1HANUDlTdfA/UFP0ZaNqp8pAJUMHQoGqYQ/JAduIUjtWyZH9295xbp+y/mK0BJU7VZorZ65wx1MdpY+ykVMhpTrsiBNcdV0elbtMDt6Lq4xZwTQiD4c1huBJkrYql29rIU27HOFWwh+iFB5k9+ES8yeCzP21cKGfgHCBaWCn5mYZJAhkOuQt5y2iGrn4tJnkOr/YliOgpeT9SBA47oOHopttYEW58xfPrx8bZp12TvaLR6m7hl+LzLjZbhSg1nkKrnaacfVbDGEe67utEEvIgHz9sTRf3+yoIWxCYgaQqzA7H43IiFNneO6RE8sQCEMP7KKwCXdqzwy58gVYhu4zictQuspXCPLO3f4BoTRURugakDAAAAAASUVORK5CYII=","class":F.iconSearch},null),p("span",{"class":F.searchContent},[h("搜索素材")])])]),p("div",{key:"list","class":F.periodList},[p(y,{inset:!0},(s=e=G.list.map((o=>p(b,{border:!0,center:!0,title:o.coursewareDetailName,onClick:()=>(async o=>{if(o.knowledgePointList){if(!M.value)return o.hasCache?void S(o):1==o.downloadStatus?(x({api:"cancelDownloadCourseware"}),setTimeout((()=>{x({api:"cancelDownloadCourseware"}),o.downloadStatus=0,G.isDownloading=!1}),1e3),void I({message:"取消中...",forbidClick:!1,loadingType:"spinner",duration:1e3})):3==o.downloadStatus?void K(o):(G.catchStatus=!0,void(G.catchItem=o));v(a.query.id,"LESSON")}else j({message:"该课件暂无知识点"})})(o)},{icon:()=>p("div",{"class":F.periodItem},[p("div",{"class":F.periodItemModel},[p("img",{src:M.value?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAB4CAMAAAAg/+dyAAAC31BMVEUAAACVrKOow7W529vs//uXr6WWrqSWsKVxpJCZsqiWsKadt6yatKl1q5Shu7CpxLqbtKp2rZeeua6lwrepxLmryLylvrKjv7WuycCow7XC3dV5sJl/tZuS27aR1Lq/29Fwoo19t558t6B+t6CBuqKAtZqssq+fr6mTq6Ftn4r///8AZ2ATj3UYk3Umn3UhmnUknXUclnUWkXUQjXUemHWysrILiHWVrKIjm3USjnUPi3UNinUgmXUpoXUjnHUUkHUdl3USjXUHhXUJhnWOqZ8alXUKh3UMiXUalHUse3QFg3YFg3WUrKIJhnbz+viWrKIooHUknXQCb2UEgnUCgXaYrKMspHQronSfradyoI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gKUn1WNrCEs1EIxZtX5II7haX7UKHfPSWN27V60bt3iY++OHz8+GTGbKxXFCrIFxC/Wi3DL3Yowpr5qwrumUYjD3fPSyzFdd+3evYjwi48de/t28uRqVcAgH/oscshgwYO3dOQd3aVLkyaN6Qr/pRI8oXsNif5K8ETBC9aIJSZ5dRyh2OOSl+IRyqD45HV/hNIpKdnIEKHMT0m2aEQoc9KQzScRSpyofFtN+GNPHI1vGAp/oqRiW6Eiklhp+Sav8MeejG9fi0A6Rlc35oU7c1P4bTkMc+zxovptpgxzYqQO2CYa1nRMLrABVjCdEgls7RWMPWE0gU3Lgr0SZhLYji2WjomiCWw0F4o9RnKBLfRimRsvtcAPB4jV6pgiqsCPPYhIUWIlix7GH+jgzKBO8+fESZwqbVBI/kdVkCgx48ZPmjJNVI0Z/AmwscivkkrPqAAAAABJRU5ErkJggg==":"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+/Xf9uzT9uid5ccAlIoYyqks26gm1qgf0Kkx36go16gWyKkv3qgbzKgu3Kg04Kgr2agay6k45agp2Kj///8dzqkQw6kOwakj06gh0akVx6kUxqkl1KgezqkTxakLv6k246gz4KgbzakRxKkJvaki0qnG8OJDs6jN9eUNwKkHvKo756g24qg96Kg65qgk06nS9ucu26g+6ag/6qjO9uY04qj9//4h0KlA7KcFuqoDoJLl+fE65qfr+/So6M2i58pC7afe9+3u+vUEuaoDuKkGopLI9OS+8uHM9eYay6j6/vy08d2v7tyo79ie59h56MYr2qnB8+J65ch35MdB1rYm0awJpJIHo5Lw+/fZ9+zF8+Ov5tiM49EyzLVC3bInybH+//72/frU9um379+m6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SQsFR3amwZG0GDcqqMT53EeTfRa4itF555qznVlD59tBclgdCdqB0hNOc2ZJZRLiF5AdVIOTtUdIP8HJHIsqCQbQc0AAAAASUVORK5CYII="},null):"",1===o.downloadStatus&&p("div",{"class":F.downloading},["".concat(o.progress||0,"%")])])]),value:()=>p(C,null,[o.knowledgePointList?p(C,null,[M.value?p(m,{"class":[F.baseBtn,F.look,F.disable]},{"default":()=>[h("未解锁")]}):o.hasCache?p(m,{"class":[F.baseBtn,F.look]},{"default":()=>[h("查看")]}):p(m,{"class":[F.baseBtn,F.down,1==o.downloadStatus?F.downing:""]},{"default":()=>[1===o.downloadStatus?"取消下载":"查看"]})]):""])}))),"function"==typeof s||"[object Object]"===Object.prototype.toString.call(s)&&!Y(s)?e:{"default":()=>[e]}))])])];var s}}),G.loading&&p(B,null,null),!G.loading&&!G.list.length&&p(U,{tips:"暂无内容"},null)])]),M.value&&p(f,{position:"bottom",varName:"--bottom-height"},{"default":()=>[p("div",{"class":F.btnGroup},[p(m,{round:!0,block:!0,type:"primary",onClick:()=>{v(a.query.id,"LESSON")}},{"default":()=>[h("开通会员即可查看课件")]})])]}),p(L,{show:G.catchStatus,"onUpdate:show":a=>G.catchStatus=a,round:!0,"class":F.courseDialog},{"default":()=>[p("i",{"class":F.iconClose,onClick:()=>G.catchStatus=!1},null),p("div",{"class":F.title},[h("下载提醒")]),p("div",{"class":F.content},[h("您尚未下载课件内容,为了更加流畅的学习体验,推荐您下载后观看。")]),p("div",{"class":F.popupBtnGroup},[p(m,{round:!0,onClick:()=>S(G.catchItem)},{"default":()=>[h("直接观看")]}),p(m,{round:!0,type:"primary",onClick:()=>K(G.catchItem)},{"default":()=>[h("下载课件")]})])]})])}}});export{E as default};
|