12345678 |
- ;(function(){function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;})),keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._videoWrap_o9swp_1{display:flex;flex-direction:row;padding:20px 0;border-bottom:1px solid #e7e6e6}._videoWrap_o9swp_1:nth-last-child(1){border-bottom:none}._videoWrap_o9swp_1:hover{background-color:#f4f4f4}._videoWrap_o9swp_1 ._videoImgWrapImg_o9swp_13{width:208px;height:116px;margin-right:10px;border-radius:10px;overflow:hidden;max-width:208px!important}._videoWrap_o9swp_1 ._videoImgWrap_o9swp_13{cursor:pointer;position:relative}._videoWrap_o9swp_1 ._videoImgWrap_o9swp_13 ._player_o9swp_25{position:absolute;width:32px;height:32px;left:50%;top:50%;margin-left:-16px;margin-top:-16px}._videoWrap_o9swp_1 ._courseInfo_o9swp_34{padding-top:7px}._videoWrap_o9swp_1 ._courseInfo_o9swp_34 h4{font-size:18px;font-weight:600;color:#333;line-height:25px;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:352px}._videoWrap_o9swp_1 ._courseInfo_o9swp_34 ._courseDetial_o9swp_48{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#666;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:24px}._videoWrap_o9swp_1 ._courseInfo_o9swp_34 ._courseDetialTime_o9swp_61{font-size:14px;font-weight:400;color:#ff6422;line-height:28px;display:flex;flex-direction:row;align-items:center}._videoWrap_o9swp_1 ._courseInfo_o9swp_34 ._courseDetialTime_o9swp_61 img{width:16px;height:16px;margin-right:10px}._videoWrap_o9swp_1 ._courseInfo_o9swp_34 ._gotoSaduntWrap_o9swp_75{display:flex;flex-direction:row;justify-content:flex-end}._videoWrap_o9swp_1 ._courseInfo_o9swp_34 ._gotoSadunt_o9swp_75{font-size:16px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff;line-height:36px;padding:0 25px;background:#00BF9B;border-radius:19px;width:98px;display:flex;margin-top:10px;cursor:pointer}._videoWrap_o9swp_1 ._courseInfo_o9swp_34 ._gotoSadunt_o9swp_75:active{opacity:.9}._videoWrap_o9swp_1{width:100%}._videoWrap_o9swp_1{--el-border-color-light: transparent !important}._videoWrap_o9swp_1 .el-dialog{--el-dialog-width: 440px !important;--el-dialog-bg-color: transparent !important;border-radius:10px;overflow:hidden}._videoWrap_o9swp_1 .el-dialog__header,._videoWrap_o9swp_1 .el-dialog__body{padding:0}._videoWrap_o9swp_1 .el-tabs{--el-tabs-header-height: 35px !important}._videoWrap_o9swp_1 .el-tabs__content{overflow:inherit}._videoWrap_o9swp_1 .el-tabs__item{font-size:1.125rem!important;line-height:1.75rem!important;--el-text-color-primary: #666 !important}._registerSuccessBg_o9swp_126{background:url(./assets/register_popup_bg.d0ba337d.png) no-repeat left top;background-size:128px}._scanTxt_o9swp_97 span{color:var(--el-color-primary)}._iconClose_o9swp_133{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAAAXNSR0IArs4c6QAAAS9QTFRFAAAAgICAqqqqv7+/qqqq1dXVsbGxxMTEtra2sbGxvLy8tbW1uLi4s7OzuLi4tbW1urq6tra2t7e3tLS0uLi4uLi4tra2t7e3uLi4tra2uLi4uLi4tra2t7e3uLi4tra2t7e3tbW1tra2t7e3tra2tbW1t7e3tra2tra2tra2t7e3tra2tra2tra2tra2tbW1t7e3t7e3t7e3tra2tra2tra2tra2tbW1tra2tra2tra2tra2tbW1tra2tra2t7e3tra2tra2tra2tra2tra2tra2t7e3uLi4ubm5urq6u7u7vLy8vr6+wMDAwcHBwsLCw8PDxMTExcXFyMjIycnJzs7O1dXV2tra8fHx8vLy8/Pz9PT09fX19/f3+Pj4+fn5+vr6+/v7/f39/v7+////HUnnAgAAAEV0Uk5TAAIDBAYGDQ0OFxcYJCUvMDA/QEFBU1RVXV5eZGVmbG1ub3R1iY6Oj5CurrKzubq7y8zQ0dLT4OHk5e3u7+/w9/j5+/z+std/qQAAAqdJREFUWMOt2Ola2kAUBuChSIuKiNCqFMqaFlnEgqyJRRGOtkVZ7G5FXOb+r6GRhgcJJzOT5fuZzPNqJjNMziHEOK7NqJQt1+R2W66Vs1Jk00UsZC2WV0AXJR9bM6eshIungOa0GF4RZrzpBjDSSHmFGHdCAU6UhJvvBCsgkEqQNzmZLgilm2FOla8Ewin5GI/VAhNpGT7em2MwlZNt3Il0wGQ6UfT/Me2o0g4yP8dgISehpffVAktpbejWz0ewmNLienoPlrP33NnqWoe6r+fOiwrYSHW+g+NgK8mZ81KxBymz36cU2Exae/UNu1DTM4V28btfkWtnowt0bHgK7WO3vo3pn4H+4uU1ffyFjS4+OavoeXFLKZ3opMuxevGxj23ep1Mqhjk9SpekqUPpd2x8XIXy6FNfL0maM/6CDS+o5zK+iIYTnaQ5d1fo8CMX8Ru8Up3EdgACJAIiEs+BKJFAQOI6IJEs8CW+AzlSZiz9kSbxHSiTGvAlvgN1IoOYxHZAJm0QkjgOtHlQ///80NsBD5KFHK4kk7qYw5Nq5JDv3E34Upnk+M7ViC9lGVukP1+HQ64kkaiAIyBFSEDE4Ut+4vok4vAkRS1TCuid30vrWZP+nmHD80YH/wWyLzRpiI2PqdA69u14fo/sr6n00MNKnWnRdID9iR/39Ga09Et3Qx9+Gh6Q5C06SZ8HyGScj3qMI9vTtPsR0dC+I9N2odSs0HPqQ4sk7UGJedFYteNUnpWTITufxwvVVsY6lFksIUpWHV0JYb2o8TlUZgUdKvy2HSpF3zlUHO84VK6HHGogbDBbGh9EWxp7vO7PllARWA050/ZJuoU6SK9SzMKrmfaKt8Z29w1aY52DsMdcm20VadYdFeLrVhp/Ln9k1j6sH+akaIDVPvwHInBuRJ1esLQAAAAASUVORK5CYII=) no-repeat center;background-size:100%}\n";document.head.appendChild(__vite_style__);System.register(['./index-legacy.5382a335.js','./vendor-legacy.2ed87b03.js','./index-legacy.3e06faf1.js','./titleDot-legacy.26cf1726.js','./player-legacy.c7d3b4b9.js','./index.module-legacy.4167a7c9.js','./index-legacy.16163f6a.js','./index-legacy.6decf365.js','./icon-legacy.aed5a5b3.js'],function(exports){'use strict';var detaile,videoDetailItem,defineComponent,QrcodeVue,reactive,createVNode,ElIcon,close_bold_default,Fragment,watch,createTextVNode,ElDialog,useRoute,onMounted,nextTick,RegisterSuccess,getUserType,iconTeacher,vipIcon,noVipIcon,request,styleIcon,nostyleIcon,videoIcon,noVideoIcon,onlineIcon,noOnlineIcon,ablumIcon,noAblumIcon,courseIcon,player$2,styles,ColVideo,Pagination;return{setters:[function(module){detaile=module.d;videoDetailItem=module.v;},function(module){defineComponent=module.d;QrcodeVue=module.Q;reactive=module.r;createVNode=module.c;ElIcon=module.C;close_bold_default=module.S;Fragment=module.F;watch=module.a0;createTextVNode=module.a;ElDialog=module.W;useRoute=module.u;onMounted=module.o;nextTick=module.n;},function(module){RegisterSuccess=module.R;getUserType=module.g;iconTeacher=module.f;vipIcon=module.v;noVipIcon=module.n;request=module.r;styleIcon=module.h;nostyleIcon=module.j;videoIcon=module.k;noVideoIcon=module.l;onlineIcon=module.o;noOnlineIcon=module.m;ablumIcon=module.p;noAblumIcon=module.q;},function(module){courseIcon=module.c;},function(module){player$2=module.p;},function(module){styles=module.s;},function(module){ColVideo=module.C;},function(module){Pagination=module.P;},function(){}],execute:function execute(){var player$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAABMhJREFUeF7tm19IZFUcxz9bbFsPRRjtkBZRlATZ2kMF1ctSEVlPQZoOMxA9uA/OS0xvSg8+69tiIChB7s62tYosTuKYrYgFhpFaS+gKKzjKrs4S40AzXb0uv2Wu3J2dmTsz99z5090D92Xm3u/vdz/n3+/87jnHcL48AjwF1AGPp6+HgYeA42nzGvAfkAT+SV+3gG3gXyddPOaQ+JNAI/B0+sVLtXMICIhNYBXYUe1vqY5l80Nq82XgpfRLq/ZV9ATG38BfgLQa20UFgBPAKeAVQJp2OYp0lRVgGUjZMWgXgNT2m4D080oUGR9+TbeKkuyXCuAx4N304FaSYcUPyWD5ExAvVrcUAC8Ap9OjeLH2nLxfZpGfgfVijBQL4C3g1WIMVODeP4BfCrVbKIAHgHfSU1uh2pW8T6bMGUC3cqIQAPLyLcCzVmJV9v8G8KMVhEIAvFdDNZ9ZB9ISpvNVjBWAWujzVg0v75iQD4CM9u9bqdfI/1PAtWy+5gIg83xbFU51pfKWKfJitjghF4CPqyjIKfWlM5+TYGks88dsACS8lSnv/1hkapTF1FHJBCALG28FY3unocva4bx5AZUJ4HVALiXF4/EcHxgYON3c3PxiKpXSpqamfg8Gg4u6bhmfKLGfQ+Q3QK47xQxA1vN+VUvahoaGE4uLi194PJ5nzI5sbm5eCwQC58fHx284+ZZ5tGUp/a2RTzADkBhf5n0lJRwOf9TS0vJhNjFd17WJiYlJr9cbSSQSB0oMFiciawWJD+5qAe0qMznRaPTL+vr65/L5tbOzs9XT03NucHDwenH+275bMksXzAAkh9dqW9YkEIvFvqqrq/NYaR4eHupzc3OzXq/3cjQatZXdsbKV8f/3kmM0usDbQHORAnlvLxSAIbK3txfr6+u70Nvbe1WlH3m0loB5A8CnwBMqDRcLwLC9tLS04Pf7L62srCRU+pNFKwZ8JwAkn/dZxnhg23apAMRwMplMDA8P/9DV1XU0Xdl26F4BSbl/IwCeBz5QbcAOAMOX9fX1q52dnaGZmRkZtJwokwLgNeAN1eoqAIhPmqalxsbGLvt8viuapkmtqSwLAsCRhIcqAMbbbm9vXw8Gg+dCodCWQgKrAuAT4KRC0TtSqgGIpq7rB5FIJNLW1haOx+MqAqibAkDC30drAYDh48bGxmpTU9NZBVHkngD4XFX8b4boRAsw64+MjFz0+/2zNisuKQDOAA/aFLrncacBrK2t/dnY2Pi1Tb8P7gO43wXAB0gSVGlxsgsoHATjNTcNTk9PR1pbW5VOg64PhKo6FN7f30+Njo46Ggq7fjFUlcvhoaGhS4FAYEHpyHy32NFyWH6umoTI8vLygs/nK2tCRABUPCUWj8dv9ff3hyqVEqtoUnR+fn62vb29oklRaQVlT4vv7u5udXd3V0VaXACU9cNIOBye7OjoqKoPI67/NCatwNUfRwWA6z+PCwRXb5AwYiVXb5ERCK7fJCUQXL1NzugKrt4oaUBwJGHi4CrPLG17q6yIuX6ztAHBtdvlzU2qFsYERw5MmCFU85GZK7k2Recac6y2y+d6ztWHpsxQXHtszgzB1QcnzSBce3Q22zjhysPTuQbMbMfn5TdpMebj83IYWrazl/X4/G3MaR6YebtjkAAAAABJRU5ErkJggg==";var videoWrap="_videoWrap_o9swp_1";var videoImgWrapImg="_videoImgWrapImg_o9swp_13";var videoImgWrap="_videoImgWrap_o9swp_13";var player="_player_o9swp_25";var courseInfo="_courseInfo_o9swp_34";var courseDetial="_courseDetial_o9swp_48";var courseDetialTime="_courseDetialTime_o9swp_61";var gotoSaduntWrap="_gotoSaduntWrap_o9swp_75";var gotoSadunt="_gotoSadunt_o9swp_75";var scanTxt="_scanTxt_o9swp_97";var registerSuccessBg="_registerSuccessBg_o9swp_126";var iconClose="_iconClose_o9swp_133";var classes$1={videoWrap:videoWrap,videoImgWrapImg:videoImgWrapImg,videoImgWrap:videoImgWrap,player:player,courseInfo:courseInfo,courseDetial:courseDetial,courseDetialTime:courseDetialTime,gotoSaduntWrap:gotoSaduntWrap,gotoSadunt:gotoSadunt,scanTxt:scanTxt,registerSuccessBg:registerSuccessBg,iconClose:iconClose};var downModel=defineComponent({name:'downModel',emits:['close'],props:{item:{type:Object,default:{}}},components:{QrcodeVue:QrcodeVue},setup:function setup(props,conent){reactive({title:props.item,item:props.item});var onClose=function onClose(){conent.emit('close');};return function(){return createVNode(Fragment,null,[createVNode("div",{"class":[classes$1.loginSection,'relative bg-white']},[createVNode("div",{"class":['rounded-full flex absolute top-[22px] right-[22px] z-10'],"onClick":function onClick(){onClose();}},[createVNode(ElIcon,{"size":16,"color":"#999999"},{default:function _default(){return[createVNode(close_bold_default,null,null)];}})]),createVNode("div",{"class":[classes$1.loginTabs,'px-14 pt-9 pb-12 bg-white relative',classes$1.registerSuccessBg]},[createVNode(RegisterSuccess,{"type":"student","onClose":onClose},null)])])]);};}});var videoCourseItem=defineComponent({name:'videoCourseItem',props:{item:{type:Object,default:{}}},components:{downModel:downModel},setup:function setup(props,conent){var state=reactive({title:props.item,item:props.item,showDown:false});watch(function(){return props.item;},function(item){state.item=item;});return function(){return createVNode(Fragment,null,[createVNode("div",{"class":classes$1.videoWrap,"onClick":function onClick(){state.showDown=true;}},[createVNode("div",{"class":classes$1.videoImgWrap},[createVNode("img",{"class":classes$1.videoImgWrapImg,"src":state.item.coverUrl?state.item.coverUrl:detaile,"alt":""},null),createVNode("img",{"src":player$1,"alt":"","class":classes$1.player},null)]),createVNode("div",{"class":classes$1.courseInfo},[createVNode("h4",null,[state.item.videoTitle]),createVNode("p",{"class":classes$1.courseDetial},[state.item.videoContent]),createVNode("div",{"class":classes$1.gotoSaduntWrap},[createVNode("div",{"class":classes$1.gotoSadunt},[createTextVNode("\u53BB\u5B66\u4E60")])])]),createVNode(ElDialog,{"modelValue":state.showDown,"onUpdate:modelValue":function onUpdateModelValue(val){return state.showDown=val;},"closeOnClickModal":false,"closeOnPressEscape":false},{default:function _default(){return[createVNode(downModel,{"onClose":function onClose(){return state.showDown=false;}},null)];}})])]);};}});var classes={};var showVideoDetail=defineComponent({name:'downModel',emits:['close'],props:{item:{type:Object,default:{}}},components:{QrcodeVue:QrcodeVue,colVideo:ColVideo},setup:function setup(props,conent){var state=reactive({item:props.item});watch(function(){return props.item;},function(item){state.item=item;});return function(){return createVNode(Fragment,null,[createVNode("div",{"class":classes.wrap},[createVNode(ColVideo,{"styleValue":{with:'800px',height:'450px'},"controls":false,"src":state.item.videoUrl,"class":classes.videoItemVideo},null)])]);};}});var bookIcon="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAtZJREFUWEftmD9oU1EUxn8nqRZtKYpVxEGH6iBOoiIKSi4OFifFKSAVy3tVHBzqPxyKUh0EpaNKXlpEizq4CEodJMnkIiIqCIo4SEUU/Au1WNscefnTJE1e89qUNsO748t33vned869ud8R6nxJnfMjIFhrhcoVTMQ2IXIIYSvQgjLhmUT5R4hhkMdo212MGScZX49oN8o+YC1MUyWR36i+Bm5g7MFKeUoJJmOnQC4D4Rl/ufAK5CZpvYSwdBbxMSL20alxBYKJ2F5CoSFUF64vw+H97O58UEyyQCbpDAHtmR+VNEIS4QsqIW81tBFhO8qaKRhFeASSABn3bhFdhaZPINKSwYgMEbHc1phcBYKp+FdUV+aA54lYvb7K9PJWEz/+PkPZWIQ/h7HdVqm+Uk4PSj7XT4y93IOgM4GSU0uiGOte9bfnECmnF6VnEt8oK9hpffcVn3KiKHcmscYuabHiEqcLO06jmK4ZEIzZqMRySUYxtv9NMj8EnSMoA1mCMoKxmn2p54ICglkVAgUh6dSwSQIFCRT0PHaCYyY4ZvLNUdMxEzuAysXcTWiUiLWtvv7qfLOpAJyXTRIQdBWopQcDBRdUwYEoOpG/8ivGLjFpxVd+131l/XCa4+yxr9dSOd+xSeckcDWH/4axWyubpqTzBnLOTBkjxEOQt6iOlCUTFA39gfRnkOcY630J5mnfEsaa20nLZkK0eltXbQAOAstydiGFsYwHwdgxkNmq9gLCZzCdT0jG21HtR8q8cnVRRTqIWLcrE3QnCqn4FaB72nmKV5qM2ZdroO74YlF1NmWIQSJWByJamWD+acLZQkg6gR2orka0ibxdzmOy4xHXWlab4fxC9BMq7m29fGVahQ/AIMa+Xxkyi0/NhGQU729DtAvldHmfSh86fBZzwXv04SP33AyKUvF3qG4oydeweB27Dn/0wWFayNwQrJXFNPEBwVrFrXsF/wMw2Z044Q2DwQAAAABJRU5ErkJggg==";var tree="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAyRJREFUWEftl1uITHEcxz+/s7Ms0SJ3FnPG9UGRvCqUInmRRHLZPUae3F6UlEh5cXuScXZdcknyIlEK5VVa5cF1zmLdCRtZ7Dg//WePs7PbjDmzO5Fy3uZ3/f5/l///O0KETx37EOhK4D4wX9ym1/nc1IkPAy4Dk0BOiOutLxZeihno+jEDaYu977CTdeKmU/kBJJKgh0NdZWaQHHr64Xc5igNwxo8GvzkMYrFZUt7+vACS9iZ89nXorBpxHz37DyBSBXQHFs2JRVjMRf0hIFbg2AdYmBPkNvCwQNAJwLQc3UWgtf23+oj1Fp+r1KQvyA58I83OgDpj42CdB5lebCjLo9dG8BeL+6RJNGlX43MLSJQneOQoaSxmiDrxnSDbQzdFEX0Jki0RUAGMyAn7EfhcIE0/YECO7iXwI2iBhcoIpL3qgWyX6Fr7LsrkQPIOfswS98nd0KSMa6jO2ClQcQMYnI0v3BN17G9ArwBRStymdbmn09qakViVz0OZsFGOeAfzVUDX2htQDoQ6v22UNDS/6BTPiR8GSQay7waA5pR/n9R7Wzo5LKGCattcJsOzcl/mSEP6el4AtYnZWHot0L2ixRst5361IDhinb0XYfMv/6IAjGF2S6zYPDI8KJQ8bJkBEWMifuaKmfKuQLU7AAoMXLfE3QKgdXYtsALRqkhZVb4CJ6Xea+hxBTQ5si9+VQsQi5S8wyiD9bVaUi++dJqpUlvw1wFkh/BvtqDEshc179YQFo1agsG/CUAdewHIUlDDDSJ80gp6VlzvUs/XcPW4KmKWIaURk4cpW8n4g+TYY3MndNz2Ja9h7aT+SFtL52c0QhHMs66V1dJw/1OPAGTXMJnYhuoqNGIVhFZEjksqvbvHLYhw1pJM8m2BYSztBFQ5KPXexpIilmisdfYBhA2Bm2+eY0Ob2t96tJGWppld3/AScxQ01yy3iN/MIb+vDIBTwPKcOW1ExdCmgMuVKz0ViM7qwrxPG1Y8FZ+bQO+ypYoW6BsWM4P/BfYy4OgfBGF46BpxvTMhRQ4qsRWYAwwNBzPaaaJYGZr/BriGxR5JeXeM009eLKYvS+d8wgAAAABJRU5ErkJggg==";var styleBG="./assets/styleBG.2d7d7186.jpg";var videoDetail=exports('default',defineComponent({name:'videoDetailList',props:{title:{type:String,default:''}},components:{videoDetailItem:videoDetailItem,videoCourseItem:videoCourseItem,pagination:Pagination,colVideo:ColVideo,showVideoDetail:showVideoDetail},setup:function setup(props,conent){var state=reactive({title:props.title,videoList:[],videoDetail:{auditId:0,auditName:'',auditStatus:'',auditVersion:'',avatar:'',countStudent:0,createTime:'',hotFlag:0,id:0,lessonCount:0,lessonCoverUrl:'',lessonDesc:'',lessonName:'',lessonPrice:0,lessonSubject:'',lessonSubjectName:'',lessonTag:'',realName:'',sortNumber:0,teacherId:0,topFlag:0,updateTime:'',username:''},otherVideoList:[],teacherDetail:{},id:'',pageInfo:{// 分页规则
- limit:5,// 限制显示条数
- page:1,// 当前页
- total:0,// 总条数
- page_size:[5,20,40,50]// 选择限制显示条数
- },userType:'',showVideoDetail:false,activeItem:null,styleList:[],iconList:[]});var route=useRoute();var getVideoList=/*#__PURE__*/function(){var _ref=_asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee(){var res;return regeneratorRuntime.wrap(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return request.post('/api-website/open/videoLessonGroup/info/page',{data:{auditStatus:'PASS',videoLessonGroupId:state.id,page:state.pageInfo.page,rows:state.pageInfo.limit}});case 3:res=_context.sent;state.videoList=res.data.rows;state.pageInfo.total=res.data.total;_context.next=11;break;case 8:_context.prev=8;_context.t0=_context["catch"](0);console.log(_context.t0);case 11:case"end":return _context.stop();}}},_callee,null,[[0,8]]);}));return function getVideoList(){return _ref.apply(this,arguments);};}();var getVideoDetail=/*#__PURE__*/function(){var _ref2=_asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee2(){var res,teacherRes;return regeneratorRuntime.wrap(function _callee2$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:_context2.prev=0;_context2.next=3;return request.get('/api-website/open/videoLessonGroup/selectVideoLesson',{params:{groupId:state.id}});case 3:res=_context2.sent;state.videoDetail=_objectSpread({},res.data.lessonGroup);// state.styleList = {...res.data.detailList}
- _context2.next=7;return request.get("/api-website/open/teacher/detail/".concat(res.data.lessonGroup.teacherId));case 7:teacherRes=_context2.sent;state.teacherDetail=_objectSpread({},teacherRes.data);setUser();_context2.next=14;break;case 12:_context2.prev=12;_context2.t0=_context2["catch"](0);case 14:case"end":return _context2.stop();}}},_callee2,null,[[0,12]]);}));return function getVideoDetail(){return _ref2.apply(this,arguments);};}();var getOther=/*#__PURE__*/function(){var _ref3=_asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee3(){var res;return regeneratorRuntime.wrap(function _callee3$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:_context3.prev=0;_context3.next=3;return request.post('/api-website/open/videoLessonGroup/otherLesson',{data:{videoLessonGroupId:state.id}});case 3:res=_context3.sent;state.otherVideoList=res.data;_context3.next=10;break;case 7:_context3.prev=7;_context3.t0=_context3["catch"](0);console.log(_context3.t0);case 10:case"end":return _context3.stop();}}},_callee3,null,[[0,7]]);}));return function getOther(){return _ref3.apply(this,arguments);};}();var getDetail=function getDetail(val){state.id=val;nextTick(function(){_init();});};var setUser=function setUser(){state.iconList=[];if(state.teacherDetail.tag.indexOf('STYLE')!=-1){state.iconList.push(styleIcon);}else{state.iconList.push(nostyleIcon);}if(state.teacherDetail.tag.indexOf('VIDEO')!=-1){state.iconList.push(videoIcon);}else{state.iconList.push(noVideoIcon);}if(state.teacherDetail.tag.indexOf('LIVE')!=-1){state.iconList.push(onlineIcon);}else{state.iconList.push(noOnlineIcon);}if(state.teacherDetail.tag.indexOf('MUSIC')!=-1){state.iconList.push(ablumIcon);}else{state.iconList.push(noAblumIcon);}};var _init=function _init(){getVideoList();setTimeout(function(){getVideoDetail();},100);setTimeout(function(){getOther();},150);};var followVideo=/*#__PURE__*/function(){var _ref4=_asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee4(){var res;return regeneratorRuntime.wrap(function _callee4$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:_context4.prev=0;_context4.next=3;return request.get('/api-website/student/starOrUnStar',{params:{userId:state.teacherDetail.userId,starStatus:state.teacherDetail.isStar?0:1}});case 3:res=_context4.sent;_init();// state.otherVideoList = res.data
- _context4.next=10;break;case 7:_context4.prev=7;_context4.t0=_context4["catch"](0);console.log(_context4.t0);case 10:case"end":return _context4.stop();}}},_callee4,null,[[0,7]]);}));return function followVideo(){return _ref4.apply(this,arguments);};}();var openVideo=function openVideo(item){state.activeItem=item;state.showVideoDetail=true;};onMounted(function(){if(route.query.id){state.id=route.query.id;}state.userType=getUserType();_init();});return function(){return createVNode(Fragment,null,[createVNode("div",{"class":styles.allWrap},[createVNode("div",{"class":"wall","style":{height:'60px'}},null),createVNode("div",{"class":[styles.w1200,styles.detailWrap]},[createVNode("div",{"class":styles.detailLeft},[createVNode("img",{"src":state.videoDetail.lessonCoverUrl?state.videoDetail.lessonCoverUrl:detaile,"class":styles.detailTopImg,"alt":""},null),createVNode("div",{"class":styles.courseDetailWrap},[createVNode("p",{"class":styles.courseDetailTitle},[createVNode("span",{"class":styles.courseDetailText},[state.videoDetail.lessonName]),' ',createVNode("div",{"class":styles.courseTitleR},[createVNode("img",{"src":bookIcon,"alt":""},null),createVNode("span",null,[state.videoDetail.countStudent,createTextVNode("\u4EBA\u5B66\u4E60")])])])]),createVNode("div",{"class":styles.tag},[state.videoDetail.lessonSubjectName]),createVNode("div",{"class":styles.courseWrap},[createVNode("div",{"class":styles.courseTitle},[createVNode("span",null,[createTextVNode("\u8BFE\u7A0B\u4ECB\u7ECD")]),createVNode("img",{"src":courseIcon,"alt":""},null)]),createVNode("div",{"class":styles.courseInfo},[createVNode("p",null,[state.videoDetail.lessonDesc])]),createVNode("div",{"class":styles.courseListWrap},[createVNode("div",{"class":styles.courseTitle},[createVNode("div",{"class":styles.courseTitleLeft},[createVNode("span",null,[createTextVNode("\u8BFE\u7A0B\u5217\u8868")]),createVNode("img",{"src":courseIcon,"alt":""},null)]),createVNode("p",{"class":styles.courseTitlTimer},[createVNode("img",{"src":tree,"alt":""},null),createVNode("span",null,[createTextVNode(" \u5171"),state.videoDetail.lessonCount,createTextVNode("\u8BFE\u65F6")])])]),state.videoList.map(function(item){return createVNode(videoCourseItem,{"item":item},null);})])]),createVNode(Pagination,{"total":state.pageInfo.total,"page":state.pageInfo.page,"onUpdate:page":function onUpdatePage($event){return state.pageInfo.page=$event;},"limit":state.pageInfo.limit,"onUpdate:limit":function onUpdateLimit($event){return state.pageInfo.limit=$event;},"pageSizes":state.pageInfo.page_size,"pagination":getVideoList},null)]),createVNode("div",{"class":styles.detailRight},[createVNode("div",{"class":styles.teacherInfo},[createVNode("div",{"class":styles.teacherTopInfo},[createVNode("div",{"class":styles.teacherHeadWrap},[createVNode("div",{"class":styles.teacherHeadLeft},[createVNode("img",{"src":state.videoDetail.avatar?state.videoDetail.avatar:iconTeacher,"alt":"","class":styles.teacherHeader},null),createVNode("div",{"class":styles.teacherHeadInfo},[createVNode("div",{"class":styles.teacherHeadName},[createVNode("span",null,[state.videoDetail.username]),state.userType=='STUDENT'?createVNode("div",{"class":[styles.teacherHeadRight,state.teacherDetail.isStar?styles.isStart:''],"onClick":function onClick(){return followVideo();}},[state.teacherDetail.isStar?'已关注':'+ 关注']):createVNode("div",{"class":styles.iconWrapList},[createVNode("img",{"src":state.teacherDetail.isVip?vipIcon:noVipIcon,"class":styles.vipIcon,"alt":""},null),state.iconList.map(function(item){return createVNode("img",{"class":styles.teacherDetailIcon,"src":item,"alt":""},null);})])])])])]),createVNode("div",null,[createVNode("p",{"class":styles.fensNum},[state.teacherDetail.fansNum]),createVNode("p",{"class":styles.fens},[createTextVNode("\u7C89\u4E1D\u6570")])])]),state.teacherDetail.introduction?createVNode("div",{"class":styles.titleWrap},[createVNode("span",null,[createTextVNode("\u4E2A\u4EBA\u4ECB\u7ECD")])]):null,createVNode("p",{"class":styles.teacherDetail},[state.teacherDetail.introduction]),state.teacherDetail.styleVideo&&state.teacherDetail.styleVideo.length>0?createVNode("div",{"class":styles.titleWrap},[createVNode("span",null,[createTextVNode("\u8001\u5E08\u98CE\u91C7")])]):null,createVNode("div",{"class":styles.teacherVideoList},[state.teacherDetail.styleVideo&&state.teacherDetail.styleVideo.map(function(item){return createVNode("div",{"class":styles.videoItem,"onClick":function onClick(){return openVideo(item);}},[createVNode("img",{"class":styles.videoItemVideo,"src":item.cover?item.cover:styleBG,"alt":""},null),createVNode("img",{"src":player$2,"alt":"","class":styles.player},null)]);})])]),state.otherVideoList.length>0&&createVNode("div",{"class":styles.otherCourse},[createVNode("h2",null,[createTextVNode("\u5176\u4ED6\u8BFE\u7A0B")]),createVNode("div",null,[state.otherVideoList.map(function(item){return createVNode(videoDetailItem,{"detail":item,"isFull":true,"onGetDetail":function onGetDetail(val){getDetail(val);}},null);})])])])]),createVNode(ElDialog,{"title":"个人风采","modelValue":state.showVideoDetail,"onUpdate:modelValue":function onUpdateModelValue(val){return state.showVideoDetail=val;},"closeOnClickModal":true,"closeOnPressEscape":false},{default:function _default(){return[createVNode(showVideoDetail,{"item":state.activeItem,"onClose":function onClose(){return state.showVideoDetail=false;}},null)];}})])]);};}}));}};});})();
|