1 |
- ;(function(){var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._isFull_e6xgh_1._itemWrap_e6xgh_1{width:100%!important;margin-right:0;overflow:hidden;border-bottom:1px solid #f0f0f0;margin-bottom:14px}._isFull_e6xgh_1._itemWrap_e6xgh_1:hover{transform:translateY(0);transition:all linear .1s}._isFull_e6xgh_1._itemWrap_e6xgh_1 ._detaile_e6xgh_12{width:100%!important;height:187px!important;border-radius:4px}._isFull_e6xgh_1._itemWrap_e6xgh_1 ._detaile_e6xgh_12 img,._isFull_e6xgh_1._itemWrap_e6xgh_1 ._masker_e6xgh_21{width:100%!important;height:187px!important}._isFull_e6xgh_1._itemWrap_e6xgh_1 ._itemBottom_e6xgh_25{padding-bottom:14px!important}._itemWrap_e6xgh_1{border:1px solid #E0E0E0;width:312px;margin-bottom:20px;margin-right:33px;border-radius:10px;overflow:hidden;background-color:#fff;cursor:pointer}._itemWrap_e6xgh_1:nth-child(3n){margin-right:0}._itemWrap_e6xgh_1:hover{transform:translateY(-10px);transition:all linear .1s}._itemWrap_e6xgh_1:hover ._detaileWrap_e6xgh_45 ._masker_e6xgh_21{visibility:visible}._itemWrap_e6xgh_1:hover ._detaileWrap_e6xgh_45 ._masker_e6xgh_21 img{width:48px;height:48px;-webkit-animation-name:_showPaly_e6xgh_1;animation-name:_showPaly_e6xgh_1;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes _showPaly_e6xgh_1{0%{transform:scale(.5)}50%{transform:scale(1.2)}to{transform:scale(1)}}@keyframes _showPaly_e6xgh_1{0%{transform:scale(.5)}50%{transform:scale(1.2)}to{transform:scale(1)}}._itemWrap_e6xgh_1 ._detaileWrap_e6xgh_45{position:relative}._itemWrap_e6xgh_1 ._detaileWrap_e6xgh_45 ._detaileStudy_e6xgh_70{position:absolute;left:0;bottom:0;padding:0 12px;line-height:38px;width:100%;background-color:rgba(0,0,0,.6);color:#52ffdc;display:flex;flex-direction:row;justify-content:flex-end;align-items:center}._itemWrap_e6xgh_1 ._detaileWrap_e6xgh_45 ._detaileStudy_e6xgh_70 ._detaileDot_e6xgh_84{display:inline-block;width:6px;height:6px;background:#6fffe2;border-radius:50%;margin-right:7px}._itemWrap_e6xgh_1 ._detaileWrap_e6xgh_45 ._detaile_e6xgh_12{border-radius:4px;width:312px;height:174px}._itemWrap_e6xgh_1 ._detaileWrap_e6xgh_45 ._masker_e6xgh_21{visibility:hidden;width:312px;height:174px;background-color:rgba(0,0,0,.4);top:0;left:0;display:flex;flex-direction:row;align-items:center;justify-content:center;position:absolute;z-index:900}._itemWrap_e6xgh_1 ._detaileWrap_e6xgh_45 ._masker_e6xgh_21 img{width:48px;height:48px}._itemWrap_e6xgh_1 ._infoBottom_e6xgh_115{display:flex;flex-direction:row;align-items:center;padding:12px;justify-content:space-between}._itemWrap_e6xgh_1 ._infoBottom_e6xgh_115 ._course_e6xgh_122{color:#ff5f22!important;font-size:18px;line-height:25px}._itemWrap_e6xgh_1 ._infoBottom_e6xgh_115 ._infoBottomL_e6xgh_127{display:flex;flex-direction:row;align-items:center}._itemWrap_e6xgh_1 ._infoBottom_e6xgh_115 ._infoBottomL_e6xgh_127 ._itemHead_e6xgh_132{width:28px;height:28px;border-radius:50%;border:2px solid #4bb39e;margin-right:12px}._itemWrap_e6xgh_1 ._infoBottom_e6xgh_115 ._infoBottomL_e6xgh_127 ._itemTitle_e6xgh_139{font-size:20px;font-weight:400;color:#333;line-height:28px}._itemWrap_e6xgh_1 ._itemBottom_e6xgh_25{display:flex;flex-direction:row;align-items:center;padding:0 12px 12px;justify-content:space-between}._itemWrap_e6xgh_1 ._itemBottom_e6xgh_25 ._itemBottomL_e6xgh_152{display:flex;flex-direction:row;align-items:center}._itemWrap_e6xgh_1 ._itemBottom_e6xgh_25 ._itemBottomL_e6xgh_152 ._itemHead_e6xgh_132{width:28px;height:28px;vertical-align:bottom;margin-right:10px}._itemWrap_e6xgh_1 ._itemBottom_e6xgh_25 ._itemBottomL_e6xgh_152 ._itemTitle_e6xgh_139{color:#999;font-weight:400;font-size:16px;line-height:22px}._itemWrap_e6xgh_1 ._itemBottom_e6xgh_25 ._itemBottomL_e6xgh_152 ._line_e6xgh_169{width:1px;height:10px;border:1px solid #d3d3d3;margin:0 10px}._itemWrap_e6xgh_1 ._itemBottom_e6xgh_25 ._itemBottomL_e6xgh_152 ._course_e6xgh_122{color:#ff5f22;font-size:16px;line-height:22px}._itemWrap_e6xgh_1 ._itemBottom_e6xgh_25 ._itemBottomR_e6xgh_180{width:95px;height:35px;background:#2dc7aa;border-radius:10px;line-height:33px;cursor:pointer;text-align:center;color:#fff;font-size:16px}._itemWrap_e6xgh_1 ._itemBottom_e6xgh_25 ._itemBottomR_e6xgh_180:hover{opacity:.9}._itemWrap_e6xgh_1 ._itemBottom_e6xgh_25 ._itemBottomR_e6xgh_180:active{opacity:.8}\n";document.head.appendChild(__vite_style__);System.register(['./player-legacy.c7d3b4b9.js','./icon-legacy.aed5a5b3.js','./vendor-legacy.b19481d4.js'],function(exports){'use strict';var player,icon,defineComponent,reactive,watch,useRouter,createVNode,createTextVNode,Fragment;return{setters:[function(module){player=module.p;},function(module){icon=module.i;},function(module){defineComponent=module.d;reactive=module.r;watch=module.S;useRouter=module.f;createVNode=module.c;createTextVNode=module.a;Fragment=module.F;}],execute:function execute(){var isFull="_isFull_e6xgh_1";var itemWrap="_itemWrap_e6xgh_1";var detaile$1="_detaile_e6xgh_12";var masker="_masker_e6xgh_21";var itemBottom="_itemBottom_e6xgh_25";var detaileWrap="_detaileWrap_e6xgh_45";var showPaly="_showPaly_e6xgh_1";var detaileStudy="_detaileStudy_e6xgh_70";var detaileDot="_detaileDot_e6xgh_84";var infoBottom="_infoBottom_e6xgh_115";var course="_course_e6xgh_122";var infoBottomL="_infoBottomL_e6xgh_127";var itemHead="_itemHead_e6xgh_132";var itemTitle="_itemTitle_e6xgh_139";var itemBottomL="_itemBottomL_e6xgh_152";var line="_line_e6xgh_169";var itemBottomR="_itemBottomR_e6xgh_180";var classes={isFull:isFull,itemWrap:itemWrap,detaile:detaile$1,masker:masker,itemBottom:itemBottom,detaileWrap:detaileWrap,showPaly:showPaly,detaileStudy:detaileStudy,detaileDot:detaileDot,infoBottom:infoBottom,course:course,infoBottomL:infoBottomL,itemHead:itemHead,itemTitle:itemTitle,itemBottomL:itemBottomL,line:line,itemBottomR:itemBottomR};var detaile=exports('d',"./assets/detaile.98813a45.png");var videoDetailItem=exports('v',defineComponent({name:'albumItem',emits:['getDetail'],props:{detail:{type:Object,default:{auditStatus:'',endTime:'',lessonSubject:'',order:'',orderNo:'',page:0,rows:0,search:'',sort:'',startTime:'',userId:0,videoLessonGroupId:0}},isFull:{type:Boolean,default:false}},setup:function setup(props,conent){var state=reactive({detail:props.detail,isFull:props.isFull});watch(function(){return props.detail;},function(detail){state.detail=detail;});var router=useRouter();var gotoVideoDetail=function gotoVideoDetail(){if(state.isFull){conent.emit('getDetail',state.detail.id);}router.push({path:'/videoDetail',query:{id:state.detail.id}});};return function(){return createVNode(Fragment,null,[createVNode("div",{"class":[classes.itemWrap,state.isFull?classes.isFull:''],"onClick":gotoVideoDetail},[createVNode("div",{"class":classes.detaileWrap},[createVNode("div",{"class":classes.masker},[createVNode("img",{"src":player,"alt":""},null)]),createVNode("p",{"class":classes.detaileStudy},[createVNode("span",{"class":classes.detaileDot},null),state.detail.countStudent,createTextVNode("\u4EBA\u5728\u5B66")]),createVNode("img",{"style":{objectFit:'cover'},"src":state.detail.lessonCoverUrl?state.detail.lessonCoverUrl:detaile,"alt":"","class":classes.detaile},null)]),createVNode("div",{"class":classes.infoBottom},[createVNode("div",{"class":classes.infoBottomL},[createVNode("img",{"src":icon,"class":classes.itemHead,"alt":""},null),createVNode("span",{"class":classes.itemTitle},[state.detail.username])]),createVNode("span",{"class":classes.course},[state.detail.lessonCount,createTextVNode("\u8BFE\u65F6")])]),createVNode("div",{"class":classes.itemBottom},[createVNode("div",{"class":classes.itemBottomL},[createVNode("span",{"class":classes.itemTitle},[state.detail.lessonSubjectName])]),createVNode("div",{"class":classes.itemBottomR},[createTextVNode("\u4E86\u89E3\u66F4\u591A")])])])]);};}}));}};});})();
|