1 |
- !function(){function e(e,r,t,n,a,i,o){try{var c=e[i](o),l=c.value}catch(s){return void t(s)}c.done?r(l):Promise.resolve(l).then(n,a)}function r(r){return function(){var t=this,n=arguments;return new Promise((function(a,i){var o=r.apply(t,n);function c(r){e(o,a,i,c,l,"next",r)}function l(r){e(o,a,i,c,l,"throw",r)}c(void 0)}))}}function t(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"==typeof e)return n(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,r)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?a(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var c=document.createElement("style");c.innerHTML='._courseListSearch_51akf_1{min-height:100vh;background:linear-gradient(180deg,#FCE5FA 0%,rgba(255,255,255,0) 4.53333rem);background-color:#f8f8f8;box-sizing:border-box}._courseListSearch_51akf_1 .van-nav-bar__title{width:100%;max-width:100%;margin-left:1.22667rem}._courseListSearch_51akf_1 .van-nav-bar__right{display:none}._courseListSearch_51akf_1 .van-search{padding-left:0}._courseListSearch_51akf_1 .col-result-container{height:80%;padding-top:0;padding-bottom:0;display:flex;align-items:center;justify-content:center}._title_51akf_26 .van-search{padding-top:.26667rem!important;padding-bottom:.26667rem!important}._title_51akf_26 .van-search__content{background:#fff!important}._collapseParent_51akf_33{padding-top:.32rem}._collapseParent_51akf_33 .parentCollapse__item{margin:0 .37333rem .32rem}._collapseParent_51akf_33 .parentCollapse__item:after{display:none}._collapseParent_51akf_33 .parentCollapse__item>.van-collapse-item__wrapper{margin:0 .37333rem .32rem}._collapseParent_51akf_33 .van-cell{padding:.37333rem;font-weight:600}._collapseParent_51akf_33 .van-collapse-item{background-color:#fff;border-radius:.32rem;overflow:hidden}._collapseParent_51akf_33 .van-collapse-item--border:after{left:0;right:0}._collapseParent_51akf_33 .van-collapse-item__content{padding:0}._collapseChild_51akf_64 .van-cell{padding:.32rem 0;font-weight:400;font-size:.4rem;color:#333;line-height:.56rem}._collapseChild_51akf_64 .van-collapse-item__content .van-cell{padding:.32rem 0}._collapseChild_51akf_64 .van-collapse-item__content .van-cell__title{flex:1 auto}._collapseChild_51akf_64 .van-collapse-item__content .van-cell__value{flex-shrink:0;flex:1 auto}._materialSection_51akf_81{display:flex;align-items:center;color:#333;padding-left:.26667rem}._materialSection_51akf_81 ._iconMaterial_51akf_87{width:.85333rem;height:.85333rem;margin-right:.26667rem}._itemTitle_51akf_92{display:flex;align-items:center;font-size:.4rem;color:#333;line-height:.56rem}._itemTitle_51akf_92 ._iconMenu_51akf_99{width:.96rem;height:1.06667rem;margin-right:.21333rem}._itemTitle_51akf_92._materialTitle_51akf_104:before{content:"";width:.10667rem;height:.10667rem;background:#FE2451;border-radius:50%;display:inline-block;margin-right:.16rem}._arrow_51akf_113{width:.42667rem;height:.45333rem;display:inline-block;background:url(data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rb3O9iHiZk0iSNKqq6rTIuXQyHtgVakZQrVY38O+TyeSPoCffwAvVQFii/9itf0ESJkeUQJjTdYMdJeBmSmHWRAmEOV032FECbqYUZs1vuuIBQByCaUQAAAAASUVORK5CYII=);background-size:contain}._arrow_51akf_113._arrowActive_51akf_120{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAylJREFUaEPtlz9oE1Ecx3+/S06toihqq1uDIGigIXcvoEMW0Q5dFCmFuhRcOpQqCg6idbCKICLF0qGL0sVCEdGlgxUXB4W83tFAFAoSt9JqERWN5nL3MwdVpPR69/Je0MJlvd+f7+f3zfvdPYQN/sMNrh9igH/tYOxA7IDkBOK/kOQApdNjB9YbYblc3uI/T6VSP6RHHVCgKQ4QEVqW1YmI1/2+mqYNZTKZGUQk1SBNAbAsK+N53hQAHFwRPK9pWo9hGHP/PcDc3FzKcZyHAHBkldjXuq6fyWQyZZUQSh3gnO9BxEkiOr6WSER8TkS9jLGPqiCUAXDOtwLAMACcA4BkgMAaANwDgCHG2HcVECoBBuvCbwDAjhBhXwDgKmNs9L8BKBQK3Yh4HwC2RxT1lYjO5nK5RxHjA8OkHPDXZaFQOKppmi9kv6CYBc/zunO53CuZ9SoFYNt2e61Wm0DEPIDw5YiI6GUymezLZrPvBeH/hDcMwDnXEfEpEXXWD2+iQQEuIj4jopOMMaeRGg0B+BsHEe8SUX8jTVfnIOI4EV1sZDMJA0xPT29ubW0dqH8h+J8J21QAAMA3ALi2tLQ01tXV9VOkpjCAbdsnXNedBIDdIo0ixC4nEonebDY7EyFW/Az4G6dYLKYdx3kBAHtFmgjEftB1/VhHR0cp6maK7IBlWYeJaIKImIAg4VBE5IjYZxjGmyjJkQCKxeKuarU6DgCnJTZOFD1+jAsAjyuVSn8+n/8UlhQK4B/atra2ISK6ElZM5XNEvLm4uDgcdqjXBSiVSpsqlcogIt4iIl2lwLBaiOgQ0eWWlpbRdDpdDYoPBFi5VfUQ0VgTNk6Y/t/PlxFxwDCMqaBDHQgwOzt7iIie/HWritpUddw8Ip4yTfPtWoXXA7hNRJdUq2mkHiLeMU1zTS2BAJzzEQA430hD1TmIOGKa5gUhBzjnBwDgAQC0qxYkUq/+Tij7dwfG2DshAD/Ytu2druvu0zRNE2mqKtbzPA8AFhhjn4W3kCoRza4T+iJrtgDZ+jGA7ARl82MHZCcomx87IDtB2fzYAdkJyubHDshOUDZ/wzvwCx8WAUCcs4PuAAAAAElFTkSuQmCC);background-size:contain}._finch_51akf_124{width:4rem;margin:.53333rem auto 0}._finchLoad_51akf_128{text-align:center;color:#333;font-size:.4rem;margin-top:.10667rem;margin-bottom:3.2rem}\n',document.head.appendChild(c),System.register(["./ResizeObserver.es-legacy.44b91b4c.js","./index-legacy.c8c5bc4e.js","./index-legacy.ab0f3995.js","./index-legacy.9696a579.js","./index-legacy.6ac2a941.js","./index-legacy.bdbc14c4.js","./vue3-lottie.es-legacy.8c4c72e5.js","./refresh_anim-legacy.a0406088.js","./orderStatus-legacy.12eb861d.js","./index-legacy.4bad5b90.js","./index-legacy.cae55a25.js","./use-id-legacy.ef8b5e97.js"],(function(e){"use strict";var n,a,o,c,l,s,u,d,f,A,p,g,m,h,v,b,y,k,C,w,O,j,L;return{setters:[function(e){n=e.d,a=e.Q,o=e.j,c=e.F,l=e.P,s=e.S,u=e.bQ,d=e.C,f=e.$,A=e.y,p=e.g,g=e.f,m=e.n,h=e.D},function(e){v=e.C},function(e){b=e.C,y=e.a},function(e){k=e.T},function(e){C=e.C},function(e){w=e.S},function(e){O=e.V},function(e){j=e.A},function(e){L=e.o},function(){},function(){},function(){}],execute:function(){var D="_courseListSearch_51akf_1",x="_title_51akf_26",E="_collapseParent_51akf_33",P="_collapseChild_51akf_64",B="_materialSection_51akf_81",I="_iconMaterial_51akf_87",M="_itemTitle_51akf_92",z="_iconMenu_51akf_99",S="_materialTitle_51akf_104",Q="_arrow_51akf_113",H="_arrowActive_51akf_120",_="_finch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N3KK7xk2HkunajVxm/fACAuPOVePUORT0+GaM34AHFXddDMADvomH8AnX48j2Mbqjxupo/1I2PWLpUAW+Oskgsh88N1Bx5i+vuP1OM0KO0B0o8wlrUof+AEt96fgme3kFBf4/yiASgv0SLxt39wWzxDkMi+yMY7NeI7rt8/KIA+ugwwagg2s8vKsQMEAO96hFEz6jc+TL88uOHeDJA8TTPSv+lQVmilPD+KAZ3/iOYYUFfjziDXQW0Pb+MK0zw4Jh2gdu3+Pjl9BId2n/J+Advq4/cb/fg1PIGtebLbCqg0wTI/DuaSl9X8/ojzy85A9LQ+foj+k/9UbnWe5M3qEN/rnb8DD2B+XUz0N1D18/JztcfylcUreMf7B7Q2tP/oOum7E9rg4wOZ4C8/gyNPO3X/s+17vtdIv/y64/7+BkZ7b52R+vIjet9w/fv3brpPn+bwzfaXX+GBh+PDo+5f/3nH9LgWF1oHtVMAAAAAElFTkSuQmCC",Z=function(e){return"VIDEO"===e.typeCode?G:["IMAGE","IMG"].includes(e.typeCode)?"./assets/icon-image.c527fd86.png":"SONG"===e.typeCode?"./assets/icon-song.fec97440.png":G},N=n({name:"child-node",props:{id:{type:String,default:""},search:{type:String,default:""},isLock:{type:Boolean,default:!1},list:{type:Array,default:function(){return[]}},collapse:{type:String,default:""}},emits:["update:collapse","handleClick"],setup:function(e,r){var t=r.emit;a();var n=function(e){t("handleClick",e)},i=function(r){if(!r||!e.search)return r;var t=e.search;return r.replace(t,'<span style="color: #FE2451;">'.concat(t,"</span>"))};return console.log(e.collapse,"collapse"),function(){return o(b,{modelValue:e.collapse,"onUpdate:modelValue":function(e){t("update:collapse",e)},border:!1,accordion:!0},{default:function(){var r;return[null===(r=e.list)||void 0===r?void 0:r.map((function(r){return o(y,{clickable:!1,center:!0,border:!1,class:P,name:r.id},{title:function(){return o("div",{class:[M,Array.isArray(null==r?void 0:r.materialList)&&(null==r?void 0:r.materialList.length)>0?S:""]},[r.name])},default:function(){return o(c,null,[Array.isArray(null==r?void 0:r.materialList)&&r.materialList.map((function(e){return o(v,{center:!0,isLink:!0,border:!1,clickable:!1,onClick:function(){return n(e)}},{title:function(){return o("div",{class:B},[o("img",{src:Z(e),class:I},null),o("div",{innerHTML:i(e.name)},null)])}})})),Array.isArray(null==r?void 0:r.children)&&o(N,{isLock:e.isLock,search:e.search,id:e.id,list:r.children,collapse:r.collapse,"onUpdate:collapse":function(e){r.collapse=e},onHandleClick:function(e){n(e)}},null)])},"right-icon":function(){return o("i",{class:[Q,e.collapse===r.id?H:""]},null)}})}))]}})}}});e("default",n({name:"course-list-search",setup:function(){var e=l(),n=a(),P=s({titleOpacity:0,loading:!0,detail:{},list:[],search:"",parentCollapse:""}),S=function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];return r.forEach((function(r){var n={};r.collapse="",n=r,Array.isArray(r.children)&&(n.children=e(r.children)),t.push(i({},n))})),t},G=function e(){for(var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=0;t<r.length;t++){if(!(Array.isArray(r[t].materialList)&&r[t].materialList.length>0))return e(r[t].children||[]);var n=r[t].materialList[0]||{};if(n)return n}};function W(e,r){return e.map((function(e){if(e.children){var t="";return e.children.map((function(e){t||(t=r.includes(e.id)?e.id:"")})),e.collapse=t,Object.assign(e,{children:W(e.children,r)})}return Object.assign(e,{materialList:e.materialList})}))}function U(e,r){return e.map((function(e){return e.children?Object.assign(e,{children:U(e.children,{ids:[].concat(t((null==r?void 0:r.ids)||[]),[e.id]),name:e.name})}):Object.assign(e,{materialList:e.materialList.map((function(n){return n.parentData={ids:[].concat(t((null==r?void 0:r.ids)||[]),[e.id]),name:e.name},n}))})}))}var T=function(){var t=r(regeneratorRuntime.mark((function r(t){var n,a,i,o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return P.loading=!0,r.prev=1,r.next=4,A.get(p.platformApi+"/tenantAlbumMusic/getLessonCoursewareCourseList/"+e.query.id,{requestType:"form",params:{search:t}});case 4:n=r.sent,Array.isArray(null==n?void 0:n.data)&&(P.search=t,n.data.forEach((function(e){e.children=e.knowledgePointList||[],e.id=e.coursewareDetailId,e.name=e.coursewareDetailName,S(e.children)})),i=G(n.data),o=W(o=U(n.data),(null==i||null===(a=i.parentData)||void 0===a?void 0:a.ids)||[]),P.list=o,o.forEach((function(e){var r;e.id===(null===(r=i.parentData)||void 0===r?void 0:r.ids[0])&&(P.parentCollapse=e.id)}))),r.next=11;break;case 8:r.prev=8,r.t0=r.catch(1),console.log(r.t0,"error");case 11:P.loading=!1;case 12:case"end":return r.stop()}}),r,null,[[1,8]])})));return function(e){return t.apply(this,arguments)}}(),V=function(){var t=r(regeneratorRuntime.mark((function r(){var t;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,A.post(p.platformApi+"/tenantAlbumMusic/getLessonCoursewareDetail",{data:{lessonCoursewareId:e.query.id,albumId:e.query.albumId}});case 3:t=r.sent,P.detail=(null==t?void 0:t.data)||{},r.next=9;break;case 7:r.prev=7,r.t0=r.catch(0);case 9:case"end":return r.stop()}}),r,null,[[0,7]])})));return function(){return t.apply(this,arguments)}}();V(),T();var R=function(){var t=r(regeneratorRuntime.mark((function t(){var n,a,o,c,l,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=p.platformApi+"/tenantGroupAlbum/buyAlbumInfo?tenantGroupAlbumId="+(e.query.taId||""),t.next=3,A.get(n);case 3:return a=t.sent,o=a.data,c=o[0],L.orderObject.orderType="TENANT_ALBUM",L.orderObject.orderName=c.name,L.orderObject.orderDesc=c.name,L.orderObject.actualPrice=c.actualPrice,L.orderObject.orderNo="",L.orderObject.orderList=[i({orderType:"TENANT_ALBUM",goodsName:c.name,actualPrice:c.actualPrice,price:c.actualPrice},c)],t.next=14,A.post(p.platformApi+"/userOrder/getPendingOrder",{data:{goodType:"TENANT_ALBUM",bizId:c.id}});case 14:l=t.sent,(s=l.data)?h.confirm({title:"提示",message:"您有一个未支付的订单,是否继续支付?",theme:"round-button",className:"confirm-button-group",cancelButtonText:"取消订单",confirmButtonText:"继续支付"}).then(r(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:L.orderObject.orderNo=s.orderNo,L.orderObject.actualPrice=s.actualPrice,L.orderObject.discountPrice=s.discountPrice,L.orderObject.paymentConfig=i(i({},s.paymentConfig),{},{paymentVendor:s.paymentVendor,paymentVersion:s.paymentVersion}),K(c.id);case 5:case"end":return e.stop()}}),e)})))).catch((function(){h.close(),q(s.orderNo)})):K(c.id);case 17:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),q=function(){var e=r(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,A.post("/api-student/userOrder/orderCancel/v2",{data:{orderNo:r}});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(r){return e.apply(this,arguments)}}(),K=function(e){n.push({path:"/orderDetail",query:{orderType:"ALBUM",album:e}})},Y=function(){h.alert({title:"提示",message:"请在酷乐秀APP中使用",confirmButtonColor:"#2dc7aa"}).then((function(){window.location.href=location.origin+"/student/#/download"}))};return function(){var r;return o("div",{class:D},[o(k,{position:"top"},{default:function(){return[o(C,{background:"rgba(255,255,255, ".concat(P.titleOpacity,")"),border:!1},{title:function(){return o("div",{class:x},[o(w,{type:"tenant",background:"transparent",placeholder:"请输入素材关键词",onSearch:function(e){T(e)}},null)])}})]}}),o("div",{style:"height: calc(100vh - var(--header-height)); overflow-x: hidden; overflow-y: auto;"},[o(u,{name:"van-fade"},{default:function(){return[!P.loading&&o(b,{key:"courseListSearch",modelValue:P.parentCollapse,"onUpdate:modelValue":function(e){P.parentCollapse=e},class:E,border:!1,accordion:!0},(t=r=P.list.map((function(r){return o(y,{center:!0,border:!0,name:r.coursewareDetailId,clickable:!1,class:["parentColl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areDetailName])},default:function(){return o(c,null,[Array.isArray(null==r?void 0:r.materialList)&&r.materialList.map((function(e){return o(v,{center:!0,isLink:!0,clickable:!1},{title:function(){return o("div",{class:B},[o("img",{src:Z(e),class:I},null),e.name])}})})),Array.isArray(null==r?void 0:r.children)&&o(N,{id:e.query.id,search:P.search,list:r.children,collapse:r.collapse,"onUpdate:collapse":function(e){r.collapse=e},onHandleClick:function(r){!function(r){if(P.detail.id&&!P.detail.play&&"1"!==e.query.buyStatus)return g().isApp?void R():void Y();g().isApp?m({api:"openWebView",content:{url:"".concat(location.origin).concat(location.pathname,"#/coursewarePlay?lessonId=").concat(e.query.id,"&source=search&kId=").concat(r.id,"&search=").concat(encodeURIComponent(P.search||"")),orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0,showLoadingAnim:!0}}):n.push({path:"/coursewarePlay",query:{lessonId:e.query.id,kId:r.id,search:P.search,source:"search"}})}(r)}},null)])},"right-icon":function(){return o("i",{class:[Q,P.parentCollapse===r.coursewareDetailId?H:""]},null)}})})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!f(t)?r:{default:function(){return[r]}}))];var t}}),P.loading&&o("div",null,[o(O,{animationData:j,class:_},null)]),!P.loading&&!P.list.length&&o(d,{projectType:"tenant",btnStatus:!1,tips:"暂无搜索结果"},null)])])}}}))}}}))}();
|