提交 d2b71e10 authored 作者: GOD_ZYX's avatar GOD_ZYX

合并 from master

上级 fdb1db07
......@@ -503,7 +503,6 @@ export default {
if (!/name/gi.test(e.target.className)) {
_data = e.target.parentElement.dataset
}
let sid = _data.sid
let cid = _data.cid
let _id = _data.vid
let type = _data.type
......
......@@ -11,16 +11,8 @@
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
<<<<<<< HEAD
})();</script><link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.8.2/skins/default/aliplayer-min.css"><link rel="shortcut icon" href="https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/favicon.ico"><link href="https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/resources/app.2e826e49a449.css" rel="stylesheet"></head><body><div id="app"></div><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/es5-shim.min.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/es5-sham.min.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/ckeditor/ckeditor.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/videoJs/videoJs.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/convertString/base64-new.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/notify/notification.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/errorCollection/collection.js"></script><script type="text/javascript" charset="utf-8" src="https://g.alicdn.com/de/prismplayer/2.8.2/aliplayer-min.js"></script><script type="text/javascript" charset="utf-8" src="https://player.alicdn.com/aliplayer/presentation/js/aliplayercomponents.min.js"></script><!--[if lt IE 9]>
})();</script><link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.8.2/skins/default/aliplayer-min.css"><link rel="shortcut icon" href="https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/favicon.ico"><link href="https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/resources/app.386c94fc1b96.css" rel="stylesheet"></head><body><div id="app"></div><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/es5-shim.min.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/es5-sham.min.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/ckeditor/ckeditor.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/videoJs/videoJs.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/convertString/base64-new.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/notify/notification.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/errorCollection/collection.js"></script><script type="text/javascript" charset="utf-8" src="https://g.alicdn.com/de/prismplayer/2.8.2/aliplayer-min.js"></script><script type="text/javascript" charset="utf-8" src="https://player.alicdn.com/aliplayer/presentation/js/aliplayercomponents.min.js"></script><!--[if lt IE 9]>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/console-polyfill.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/html5shiv.min.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/respond.min.js"></script>
<![endif]--><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/resources/manifest.f37d130b.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/resources/vendor.b388921e.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/resources/app.dd8dd6c2.js"></script></body></html>
=======
})();</script><link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.8.2/skins/default/aliplayer-min.css"><link rel="shortcut icon" href="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/favicon.ico"><link href="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.04dd8c75edb8.css" rel="stylesheet"></head><body><div id="app"></div><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/es5-shim.min.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/es5-sham.min.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/ckeditor/ckeditor.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/videoJs/videoJs.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/convertString/base64-new.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/notify/notification.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/errorCollection/collection.js"></script><script type="text/javascript" charset="utf-8" src="https://g.alicdn.com/de/prismplayer/2.8.2/aliplayer-min.js"></script><script type="text/javascript" charset="utf-8" src="https://player.alicdn.com/aliplayer/presentation/js/aliplayercomponents.min.js"></script><!--[if lt IE 9]>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/console-polyfill.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/html5shiv.min.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/respond.min.js"></script>
<![endif]--><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/manifest.35ba3a60.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.1df1e39a.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.2e98cab2.js"></script></body></html>
>>>>>>> origin/master
<![endif]--><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/resources/manifest.242d6337.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/resources/vendor.1df1e39a.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/resources/app.80218b9f.js"></script></body></html>
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{277:function(e,t,i){"use strict";i.r(t);var n=i(450),r=i(372);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);var s=i(1),o=Object(s.a)(r.default,n.a,n.b,!1,null,null,null);t.default=o.exports},372:function(e,t,i){"use strict";i.r(t);var n=i(373),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,function(){return n[e]})}(a);t.default=r.a},373:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(i(433)),r=s(i(435)),a=s(i(436)),u=s(i(81));function s(e){return e&&e.__esModule?e:{default:e}}var o=1e4;t.default={components:{eVideo:n.default,eVideoH5:r.default,ePpt:a.default},props:{chapterId:{type:String,require:!1},chapterName:{type:String,require:!1},chapterVideo:{type:Object,require:!1},ppts:{type:Array,require:!1,default:[]},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1},videoType:{type:String,require:!1}},data:function(){return{state:{pptIndex:0,pptBoxOnly:!1,pptBoxShow:!1,skipBegin:/skip=1/.test(document.cookie),calculatedSize:!1},videoFlash:{lastTime:null,speed:1,isSeek:!1,isFinish:!1,queueFrames:[],mapFrames:[],videoWidth:550,videoHeight:360,username:window.G.UserInfo&&window.G.UserInfo.username||"",duration:1e4},resizeVideo:null,hearBeat:null,_rProgress:{},isPlaying:!1}},mounted:function(){var e=this.getCalculateSize();e.video.w&&(this.videoFlash.videoWidth=e.video.w,this.videoFlash.videoHeight=e.video.h),this.resizeVideo||(this.resizeVideo=u.default.debounce(this.jdugeSize.bind(this),200)),setTimeout(this.jdugeSize,600),window.addEventListener("resize",this.resizeVideo),this.createHeartTime(o)},destroyed:function(){window.removeEventListener("resize",this.resizeVideo),this.destroyHeartTime(),this.hearBeatFunc(o)},watch:{id:{handler:function(){this.id&&(this.state.pptBoxShow=!1,this.state.pptBoxOnly=!1,this._rProgress={},setTimeout(this.jdugeSize,0))}}},methods:{togglePptBox:function(){this.state.pptBoxShow=!this.state.pptBoxShow,this.state.pptBoxOnly=!1,setTimeout(this.jdugeSize,0)},togglePptBoxOnly:function(){this.state.pptBoxOnly=!this.state.pptBoxOnly,setTimeout(this.jdugeSize,0)},toggleSkipBegin:function(){var e=!this.state.skipBegin,t=new Date;t.setMonth(t.getMonth()+1),document.cookie="skip="+ +e+";path=/;domain=.ezijing.com;expires="+t.toGMTString(),e&&this.$refs.video&&this.$refs.video.skipBegin(),this.state.skipBegin=e},onVideoTimeChange:function(e){var t=e.time;this.videoFlash.duration=e.duration||this.videoFlash.duration,this.videoFlash.speed=parseFloat(e.quality.split(" ")[1]||1),isNaN(this.videoFlash.speed)&&(this.videoFlash.speed=1),this.videoFlash.isSeek=e.isSeek,this.videoFlash.lastTime!==t&&(this.videoFlash.lastTime=t,this.isPlaying=!0,e.isSeek||this.videoFlash.queueFrames.push(t),this.setPptIndexByTime(t),this.$emit("handlePlayTime",t))},onVideoPlayFinish:function(e){if(this.chapterVideo){if(this._rProgress&&this._rProgress.id);else{this._rProgress=u.default.assignIn({},this.chapterVideo.progress);for(var t=[],i=this.chapterVideo.video_length||1,n=0;n<i;n++)t.push(0);this.videoFlash.mapFrames=this._rProgress.map.length?this._rProgress.map:t,this._rProgress.map=this.videoFlash.mapFrames}this._rProgress.pt+10*this.videoFlash.speed>=e.time&&(this.isPlaying=!0,this.hearBeatFunc(o))}},changeVideoArr:function(e){this.$emit("changeVideoArr",e)},setPptIndexByTime:function(e){for(var t=this.ppts||[],i=0;i<t.length&&!(e<t[i].ppt_point);i++);this.state.pptIndex!==i-1&&(this.state.pptIndex=i-1)},setVideoTime:function(e){this.$refs.video&&this.$refs.video.setTimeTo(e)},jdugeSize:function(){var e=this.$refs.box,t=this.getCalculateSize(),i=0,n=0;this.state.pptBoxOnly?(n=t.ppt.w,i=t.ppt.h,this.$refs.ppt&&this.$refs.ppt.setSize(n,i)):this.state.pptBoxShow?(this.$refs.ppt&&this.$refs.ppt.setSize(t.ppt.w,t.ppt.h),this.$refs.video&&this.$refs.video.setSize(t.video.w,t.video.h),n=t.ppt.w+t.video.w,i=t.video.h):(n=t.video.w,i=t.video.h,this.$refs.video&&this.$refs.video.setSize(n,i)),this.state.calculatedSize=!0,e.style.paddingLeft=(t.space.w-n)/2+15+"px",e.style.paddingTop=(t.space.h-i)/2+10+"px"},getCalculateSize:function(){var e=this.$refs.container,t=e.offsetWidth-30,i=e.offsetHeight-53-20,n=550/363,r=336/236,a={space:{w:t,h:i},video:{w:0,h:0},ppt:{w:0,h:0}};if(this.state.pptBoxOnly)a.ppt.w=t<i*r?t:i*r,a.ppt.h=i<t/r?i:t/r;else if(this.state.pptBoxShow){var s=t/2,o=s<i*n?s:i*n,l=i<s/n?i:s/n,d=l,u=d*r;a.video.w=o,a.video.h=l,a.ppt.w=u,a.ppt.h=d}else a.video.w=t<i*n?t:i*n,a.video.h=i<t/n?i:t/n;return a},hearBeatFunc:function(e){if(this.chapterVideo&&this.isPlaying){if(this._rProgress&&this._rProgress.id);else{this._rProgress=u.default.assignIn({},this.chapterVideo.progress);for(var t=[],i=this.chapterVideo.video_length||1,n=0;n<i;n++)t.push(0);this.videoFlash.mapFrames=this._rProgress.map.length?this._rProgress.map:t,this._rProgress.map=this.videoFlash.mapFrames}var r=this._rProgress,a=this.videoFlash.duration,s=Math.min(this.videoFlash.lastTime,a),o=this.videoFlash.speed,l=this.videoFlash.isSeek,d=this.videoFlash.queueFrames;0===r.cpt&&0===r.mpt&&0===r.pt&&/skip=1/.test(document.cookie)&&(r.pt=7),l||(r.pt+=e/1e3*o,r.cpt=s,r.mpt=s>r.mpt?s:r.mpt,r.mpt=r.mpt>a?a:r.mpt,parseInt(r.mpt)>parseInt(a)+1e4&&this.$message.info("视频播放出错,请刷新页面重新观看。"),r.ps=d,r.vid=this.id,this.$emit("updateProgress",this._rProgress)),this.isPlaying=!1}},createHeartTime:function(e){var t=this,i=e||1e4;this.destroyHeartTime(),this.hearBeat=setInterval(function(){t.hearBeatFunc(i)},i)},destroyHeartTime:function(){this.hearBeat&&clearInterval(this.hearBeat)}}}},374:function(e,t,i){"use strict";i.r(t);var n=i(375),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,function(){return n[e]})}(a);t.default=r.a},375:function(e,a,s){"use strict";(function(n){Object.defineProperty(a,"__esModule",{value:!0});var e,t=s(278),d=(e=t)&&e.__esModule?e:{default:e};var r="playerWrap",i=0;a.default={props:{lastTime:{type:Number,require:!1},videoId:{type:String,require:!1},width:{type:Number,require:!1},height:{type:Number,require:!1},username:{type:String,require:!1},videoSrt:{type:String,require:!1},autoPlay:{type:Boolean,require:!1,default:!0},chapterVideo:{type:Object,require:!1}},mounted:function(){this.definWindowFun()},watch:{videoId:{handler:function(){this.videoId&&(i=this.lastTime||0,this.renderPlayer("player",this.videoId,this.autoPlay,this.videoSrt,this.username,this.width,this.height))}}},methods:{definWindowFun:function(){var t=this;window._playerStart=function(){/skip=1/.test(document.cookie)?t.getPlayer().callAction("setCurrentTime",Math.max(i,7)):i&&t.getPlayer().callAction("setCurrentTime",i)},window._playerIng=function(e){n("#"+r).trigger("player.time",{time:e,duration:t.getPlayer().callAction("getDuration"),quality:t.getPlayer().callAction("getQuality"),isSeek:!1})},window._playerSeek=function(){n("#"+r).trigger("player.seek",{time:t.getPlayer().callAction("getCurrentTime"),duration:t.getPlayer().callAction("getDuration"),quality:t.getPlayer().callAction("getQuality"),isSeek:!0})},window._playerFinish=function(){t.$emit("handlePlayfinish",{time:t.getPlayer().callAction("getDuration")})},window._playerCallback=function(){var e=t.getPlayer();e&&(e.callAction("register","onCanplay","_playerStart"),e.callAction("register","onPlaying","_playerIng"),e.callAction("register","onSeekComplete","_playerSeek"),e.callAction("register","onEnded","_playerFinish"))}},renderPlayer:function(e,t,i,n,r,a,s){var o={autoStart:i=void 0===i?1:i-0,vid:t,isShowSpeeder:1,videoType:1,callback:"_playerCallback"};n&&(o.srtUrl=n),r&&(o.username=r);var l={id:e,name:e,align:"middle",wmode:"opaque"};d.default.embedSWF("/static/videoJs/swf/Player1705192.swf",e,parseInt(a),parseInt(s),"11.1.0","playerProductInstall.swf",o,{quality:"high",bgcolor:"#000000",allowscriptaccess:"always",allowfullscreen:"true"},l),this.listenPlayerEvents()},listenPlayerEvents:function(){var i=this;n("#"+r).off("player.time player.seek").on("player.time player.seek",function(e,t){i.$emit("handlePlayTime",t)})},getPlayer:function(){return document.getElementById("player")},getTime:function(){var e=this.getPlayer();return e?e.callAction("getCurrentTime"):0},setTimeTo:function(e){var t=this.getPlayer();t&&t.callAction("setCurrentTime",e+2)},skipBegin:function(){var e=this.getPlayer();e&&e.callAction("getCurrentTime")<7&&e.callAction("setCurrentTime",7)},setSize:function(e,t){var i=this.getPlayer();i&&(i.width=e,i.height=t)}}}}).call(this,s(321))},376:function(e,t,i){},377:function(e,t,i){"use strict";i.r(t);var n=i(378),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,function(){return n[e]})}(a);t.default=r.a},378:function(e,t,i){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var c=e(i(45)),o=e(i(279)),l=e(i(280)),h=e(i(80));function e(e){return e&&e.__esModule?e:{default:e}}var r="playerWrap",f="player",v=null,y=null,g=0,m=!0;t.default={props:{lastTime:{type:Number,require:!1},videoId:{type:String,require:!1},width:{type:Number,require:!1},height:{type:Number,require:!1},username:{type:String,require:!1},videoSrt:{type:String,require:!1},autoPlay:{type:Boolean,require:!1,default:!0},chapterVideo:{type:Object,require:!1}},data:function(){return{videoArr:{}}},mounted:function(){this.definWindowFun()},watch:{videoId:{handler:function(e,t){var i=this;if(this.videoId){g=this.lastTime||0;var n=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});c.default.chapterAction.getCurrentChapterDetailAliyun(this.videoId).then(function(e){i.videoArr=e.video,m=e.isLocked;var t=i.getPlayer();y&&t.innerHTML?i.playNextVideo(f,i.videoId,i.autoPlay,i.videoSrt,i.username,i.width,i.height):i.renderPlayer(f,i.videoId,i.autoPlay,i.videoSrt,i.username,i.width,i.height)}).catch(function(e){i.$message.error(e.message)}).finally(function(){n.close()})}}}},methods:{definWindowFun:function(){var p=this;window._playerStart=function(){g=v.getDuration()<g?v.getDuration():g,/skip=1/.test(document.cookie)?v.seek(parseInt(Math.max(g,7))):g&&v.seek(parseInt(g)),m||p.chapterVideo.progress.mpt+20<v.getDuration()&&(n(".prism-progress").css({"pointer-events":"none"}),n(".rate-components").hide())},window._playerIng=function(e){var t=v.getComponent("QualityComponent").definition,i=v.getComponent("RateComponent").html.innerText;switch(t){case"FD":t="普通";break;case"LD":t="清晰";break;case"SD":t="高清"}i&&(t+=" "+i),e=v.getCurrentTime(),n("#"+r).trigger("player.time",{time:e,duration:v.getDuration(),quality:t,isSeek:!1})},window._playerSeekStart=function(e){},window._playerSeek=function(){var e=v.getComponent("QualityComponent").definition,t=v.getComponent("RateComponent").html.innerText;switch(e){case"FD":e="普通";break;case"LD":e="清晰";break;case"SD":e="高清"}t&&(e+=" "+t),n("#"+r).trigger("player.seek",{time:v.getCurrentTime(),duration:v.getDuration(),quality:e,isSeek:!0})},window._playerFinish=function(){p.$emit("handlePlayfinish",{time:v.getDuration()})},window._player403Stop=function(e){var t=window.G.socket,i="",n=window.G.VERSION;if(window.G.UserInfo&&window.G.UserInfo.student_info){var r=window.G.UserInfo.student_info;i=r.personal_name+":"+r.telephone+":"+r.email+":"+r.id+":"+window.G.UserInfo.auth_key+":"+(window.G.pwd||"")}if(i+=":"+n,t&&1===t.readyState){var a=e.paramData||{};a.m3u8Url=p.videoArr[v.getComponent("QualityComponent").definition||"LD"]||"",a.m3u8RequestId=window.G.m3u8RequestId,a.UA=window.navigator.userAgent;for(var s=JSON.stringify({action:"aliVideoErr",info:h.default.encode(i),auth:"aliVideoErr",code:h.default.encode(e.paramData.error_code),err:h.default.encode(JSON.stringify(a))}).split(""),o=[],l=0;l<s.length;l++)o[l]=s[l].charCodeAt();var d=new Uint8Array(o);t.send(d.buffer)}else console.log("not link build success, status: "+t.readyState);if(4006===e.paramData.error_code)p.$message.error("视频播放错误,请刷新页面重试!");else if(4016===e.paramData.error_code){g=v.getCurrentTime();var u=p.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});c.default.chapterAction.getCurrentChapterDetailAliyun(p.videoId).then(function(e){p.videoArr=e.video,m=e.isLocked;var t=p.getPlayer();y&&t.innerHTML?p.playNextVideo(f,p.videoId,p.autoPlay,p.videoSrt,p.username,p.width,p.height):p.renderPlayer(f,p.videoId,p.autoPlay,p.videoSrt,p.username,p.width,p.height)}).catch(function(e){p.$message.error(e.message)}).finally(function(){u.close()})}else p.$message.error("请将该错误,截图发给管理员。err: "+e.paramData.error_code)}},renderPlayer:function(e,t,i,n,r,a,s){i=void 0===i?1:i-0,y=new o.default({id:e,source:JSON.stringify(this.videoArr),width:"100%",height:"100%",autoplay:!!i,vodRetry:0,isLive:!1,controlBarVisibility:"always",definition:"FD,LD,SD",defaultDefinition:"LD",components:[{name:"QualityComponent",type:l.default.QualityComponent},{name:"RateComponent",type:l.default.RateComponent}]},function(r){v=r,console.log("The player is created"),r.on("sourceloaded",function(e){var t=e.paramData,i=t.desc,n=t.definition;r.getComponent("QualityComponent").setCurrentQuality(i,n)}),v&&(v.on("ready",window._playerStart),v.on("timeupdate",window._playerIng),v.on("startSeek",window._playerSeekStart),v.on("completeSeek",window._playerSeek),v.on("ended",window._playerFinish),v.on("error",window._player403Stop))}),this.setSize(a,s),this.listenPlayerEvents()},listenPlayerEvents:function(){var i=this;n("#"+r).off("player.time player.seek").on("player.time player.seek",function(e,t){i.$emit("handlePlayTime",t)})},playNextVideo:function(e,t,i,n,r,a,s){var o=this;this.changeVideoArr(t,function(){v._urls[0].FD=o.videoArr.FD,v._urls[1].LD=o.videoArr.LD,v._urls[2].SD=o.videoArr.SD;var e=v.getComponent("QualityComponent").definition||"LD";y.loadByUrl(o.videoArr[e])})},changeVideoArr:function(e,t){this.$emit("changeVideoArr",{vid:e,callback:t})},getPlayer:function(){return document.getElementById(f)},getTime:function(){return v?v.getCurrentTime():0},setTimeTo:function(e){v&&v.seek(parseInt(e+2))},skipBegin:function(){v&&v.getCurrentTime()<7&&v.seek(parseInt(7))},setSize:function(e,t){var i=this.getPlayer();i&&(i.style.width=e+"px",i.style.height=t+"px")}}}}).call(this,i(321))},379:function(e,t,i){"use strict";i.r(t);var n=i(380),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,function(){return n[e]})}(a);t.default=r.a},380:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{ppts:{type:Array,require:!1},currentIndex:{type:Number,require:!1,default:0}},data:function(){return{state:{index:this.currentIndex,sync:!0}}},watch:{currentIndex:{handler:function(){this.state.sync&&(this.state.index=this.currentIndex)}}},methods:{gotoIndex:function(e){this.state.index=e},getIndex:function(e){return Math.min(this.ppts.length-1,Math.max(0,e))},prev:function(e){this.state.index=this.getIndex(this.state.index-1),this.state.sync=!1},next:function(e){this.state.index=this.getIndex(this.state.index+1),this.state.sync=!1},onToggleSync:function(e){this.state.sync=!this.state.sync,this.state.index=this.state.sync?this.currentIndex:this.state.index},onSetVideoTime:function(e){this.$emit("onVideoSyncTime",this.ppts[this.state.index].ppt_point)},setSize:function(e,t){this.$refs.wrap.style.width=e+"px",this.$refs.wrap.style.height=t+"px",this.$refs.preview.style.lineHeight=t-44+"px"}}}},433:function(e,t,i){"use strict";i.r(t);var n=i(480),r=i(374);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);i(434);var s=i(1),o=Object(s.a)(r.default,n.a,n.b,!1,null,"b94f6c04",null);t.default=o.exports},434:function(e,t,i){"use strict";var n=i(376);i.n(n).a},435:function(e,t,i){"use strict";i.r(t);var n=i(479),r=i(377);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);var s=i(1),o=Object(s.a)(r.default,n.a,n.b,!1,null,null,null);t.default=o.exports},436:function(e,t,i){"use strict";i.r(t);var n=i(478),r=i(379);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);var s=i(1),o=Object(s.a)(r.default,n.a,n.b,!1,null,null,null);t.default=o.exports},450:function(e,t,i){"use strict";function n(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"container",staticClass:"play-content-video"},[i("div",{ref:"box",staticClass:"play-center"},[e.chapterVideo?[i("div",{class:["play-video",e.state.pptBoxOnly?"play-video-hide":"",e.state.calculatedSize?"":"play-video-init-center"]},["3"!==e.videoType?[i("e-video",{ref:"video",attrs:{lastTime:parseFloat(e.chapterVideo.progress&&e.chapterVideo.progress.pt||0),width:e.videoFlash.videoWidth,height:e.videoFlash.videoHeight,username:e.videoFlash.username,videoId:e.chapterVideo.video_origionalID,videoSrt:e.chapterVideo.video_subtitle||"",chapterVideo:e.chapterVideo},on:{handlePlayTime:e.onVideoTimeChange,handlePlayfinish:e.onVideoPlayFinish}})]:[i("e-video-h5",{ref:"video",attrs:{lastTime:parseFloat(e.chapterVideo.progress&&e.chapterVideo.progress.pt||0),width:e.videoFlash.videoWidth,height:e.videoFlash.videoHeight,username:e.videoFlash.username,videoId:e.chapterVideo.id,videoSrt:e.chapterVideo.video_subtitle||"",chapterVideo:e.chapterVideo,videoType:e.videoType},on:{handlePlayTime:e.onVideoTimeChange,handlePlayfinish:e.onVideoPlayFinish,changeVideoArr:e.changeVideoArr}})]],2),e._v(" "),i("div",{class:["play-jiangyi",e.state.pptBoxShow?"":"hide"]},[e.ppts.length?[i("e-ppt",{ref:"ppt",attrs:{ppts:e.ppts,currentIndex:e.state.pptIndex},on:{onVideoSyncTime:e.setVideoTime,onPptOnly:e.togglePptBoxOnly,onClose:e.togglePptBox}})]:e._e()],2)]:[i("p",[e._v("课程视频数据不存在")])]],2),e._v(" "),i("div",{staticClass:"play-footer"},[i("div",{staticClass:"fl"}),e._v(" "),i("div",{staticClass:"fr"},[e.chapterVideo.pdf?[i("em",{staticClass:"play-state play-state-ppt"},[i("a",{attrs:{href:e.chapterVideo.pdf,target:"_blank"}},[e._v("下载PPT")])])]:e._e(),e._v(" "),e.ppts.length?[i("em",{class:["play-state","play-state-ppt"+(e.state.pptBoxShow?"-active":"")],on:{click:e.togglePptBox}},[e._v("同步显示PPT")])]:e._e(),e._v(" "),i("em",{class:["play-state","play-state-check"+(e.state.skipBegin?"-active":"")],on:{click:e.toggleSkipBegin}},[e._v("始终跳过片头")])],2)])])}var r=[];i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r})},478:function(e,t,i){"use strict";function n(){var e=this,t=this,i=t.$createElement,n=t._self._c||i;return n("div",{ref:"wrap",staticClass:"play-ppt"},[t.ppts.length?[n("div",{ref:"preview",staticClass:"play-preview"},[t.ppts[t.state.index]&&t.ppts[t.state.index].ppt_url?[n("img",{staticClass:"play-ppt-img",staticStyle:{"vertical-align":"middle"},attrs:{src:t.ppts[t.state.index].ppt_url}})]:t._e()],2),t._v(" "),n("div",{staticClass:"play-controls cl"},[n("div",{staticStyle:{float:"left"}},[0<=t.state.index?[n("a",{staticStyle:{margin:"0 20px 0 0",color:"#fff"},attrs:{href:"#"},on:{click:t.prev}},[n("i",{staticClass:"el-icon-arrow-left"})])]:t._e(),t._v(" "),t.state.index+1<t.ppts.length?[n("a",{attrs:{href:"#"},on:{click:t.next}},[n("i",{staticClass:"el-icon-arrow-right",staticStyle:{color:"#fff"}})])]:t._e()],2),t._v(" "),n("div",{staticClass:"play-page"},[n("span",{staticClass:"play-now"},[t._v(t._s(t.state.index+1))]),t._v("\n /\n "),n("span",{staticClass:"play-total"},[t._v(t._s(t.ppts.length))]),t._v("页\n ")]),t._v(" "),n("div",{staticClass:"play-amazing"},[n("i",{class:["el-icon-self-xuexiao",t.state.sync?"active":""],on:{click:t.onToggleSync}}),t._v(" "),n("i",{staticClass:"el-icon-self-quanping",on:{click:function(){e.$emit("onPptOnly")}}}),t._v(" "),n("i",{staticClass:"el-icon-self-shipin",on:{click:t.onSetVideoTime}}),t._v(" "),n("i",{staticClass:"el-icon-self-guanbi",on:{click:function(){e.$emit("onClose")}}})])])]:t._e()],2)}var r=[];i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r})},479:function(e,t,i){"use strict";function n(){this.$createElement;return this._self._c,this._m(0)}var r=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"playerWrap"}},[t("div",{attrs:{id:"player"}})])}];i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r})},480:function(e,t,i){"use strict";function n(){this.$createElement;return this._self._c,this._m(0)}var r=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"playerWrap"}},[t("div",{attrs:{id:"player"}},[t("p",[this._v("您还没有安装flash播放器,请 "),t("a",{attrs:{href:"http://www.adobe.com/go/getflash",target:"_blank"}},[this._v("点击这里安装")])])])])}];i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{286:function(e,t,i){"use strict";i.r(t);var n=i(467),r=i(382);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);var s=i(0),o=Object(s.a)(r.default,n.a,n.b,!1,null,null,null);t.default=o.exports},382:function(e,t,i){"use strict";i.r(t);var n=i(383),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,function(){return n[e]})}(a);t.default=r.a},383:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(i(446)),r=s(i(448)),a=s(i(449)),u=s(i(85));function s(e){return e&&e.__esModule?e:{default:e}}var o=1e4;t.default={components:{eVideo:n.default,eVideoH5:r.default,ePpt:a.default},props:{chapterId:{type:String,require:!1},chapterName:{type:String,require:!1},chapterVideo:{type:Object,require:!1},ppts:{type:Array,require:!1,default:[]},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1},videoType:{type:String,require:!1}},data:function(){return{state:{pptIndex:0,pptBoxOnly:!1,pptBoxShow:!1,skipBegin:/skip=1/.test(document.cookie),calculatedSize:!1},videoFlash:{lastTime:null,speed:1,isSeek:!1,isFinish:!1,queueFrames:[],mapFrames:[],videoWidth:550,videoHeight:360,username:window.G.UserInfo&&window.G.UserInfo.username||"",duration:1e4},resizeVideo:null,hearBeat:null,_rProgress:{},isPlaying:!1}},mounted:function(){var e=this.getCalculateSize();e.video.w&&(this.videoFlash.videoWidth=e.video.w,this.videoFlash.videoHeight=e.video.h),this.resizeVideo||(this.resizeVideo=u.default.debounce(this.jdugeSize.bind(this),200)),setTimeout(this.jdugeSize,600),window.addEventListener("resize",this.resizeVideo),this.createHeartTime(o)},destroyed:function(){window.removeEventListener("resize",this.resizeVideo),this.destroyHeartTime(),this.hearBeatFunc(o)},watch:{id:{handler:function(){this.id&&(this.state.pptBoxShow=!1,this.state.pptBoxOnly=!1,this._rProgress={},setTimeout(this.jdugeSize,0))}}},methods:{togglePptBox:function(){this.state.pptBoxShow=!this.state.pptBoxShow,this.state.pptBoxOnly=!1,setTimeout(this.jdugeSize,0)},togglePptBoxOnly:function(){this.state.pptBoxOnly=!this.state.pptBoxOnly,setTimeout(this.jdugeSize,0)},toggleSkipBegin:function(){var e=!this.state.skipBegin,t=new Date;t.setMonth(t.getMonth()+1),document.cookie="skip="+ +e+";path=/;domain=.ezijing.com;expires="+t.toGMTString(),e&&this.$refs.video&&this.$refs.video.skipBegin(),this.state.skipBegin=e},onVideoTimeChange:function(e){var t=e.time;this.videoFlash.duration=e.duration||this.videoFlash.duration,this.videoFlash.speed=parseFloat(e.quality.split(" ")[1]||1),isNaN(this.videoFlash.speed)&&(this.videoFlash.speed=1),this.videoFlash.isSeek=e.isSeek,this.videoFlash.lastTime!==t&&(this.videoFlash.lastTime=t,this.isPlaying=!0,e.isSeek||this.videoFlash.queueFrames.push(t),this.setPptIndexByTime(t),this.$emit("handlePlayTime",t))},onVideoPlayFinish:function(e){if(this.chapterVideo){if(this._rProgress&&this._rProgress.id);else{this._rProgress=u.default.assignIn({},this.chapterVideo.progress);for(var t=[],i=this.chapterVideo.video_length||1,n=0;n<i;n++)t.push(0);this.videoFlash.mapFrames=this._rProgress.map.length?this._rProgress.map:t,this._rProgress.map=this.videoFlash.mapFrames}this._rProgress.pt+10*this.videoFlash.speed>=e.time&&(this.isPlaying=!0,this.hearBeatFunc(o))}},changeVideoArr:function(e){this.$emit("changeVideoArr",e)},setPptIndexByTime:function(e){for(var t=this.ppts||[],i=0;i<t.length&&!(e<t[i].ppt_point);i++);this.state.pptIndex!==i-1&&(this.state.pptIndex=i-1)},setVideoTime:function(e){this.$refs.video&&this.$refs.video.setTimeTo(e)},jdugeSize:function(){var e=this.$refs.box,t=this.getCalculateSize(),i=0,n=0;this.state.pptBoxOnly?(n=t.ppt.w,i=t.ppt.h,this.$refs.ppt&&this.$refs.ppt.setSize(n,i)):this.state.pptBoxShow?(this.$refs.ppt&&this.$refs.ppt.setSize(t.ppt.w,t.ppt.h),this.$refs.video&&this.$refs.video.setSize(t.video.w,t.video.h),n=t.ppt.w+t.video.w,i=t.video.h):(n=t.video.w,i=t.video.h,this.$refs.video&&this.$refs.video.setSize(n,i)),this.state.calculatedSize=!0,e.style.paddingLeft=(t.space.w-n)/2+15+"px",e.style.paddingTop=(t.space.h-i)/2+10+"px"},getCalculateSize:function(){var e=this.$refs.container,t=e.offsetWidth-30,i=e.offsetHeight-53-20,n=550/363,r=336/236,a={space:{w:t,h:i},video:{w:0,h:0},ppt:{w:0,h:0}};if(this.state.pptBoxOnly)a.ppt.w=t<i*r?t:i*r,a.ppt.h=i<t/r?i:t/r;else if(this.state.pptBoxShow){var s=t/2,o=s<i*n?s:i*n,l=i<s/n?i:s/n,d=l,u=d*r;a.video.w=o,a.video.h=l,a.ppt.w=u,a.ppt.h=d}else a.video.w=t<i*n?t:i*n,a.video.h=i<t/n?i:t/n;return a},hearBeatFunc:function(e){if(this.chapterVideo&&this.isPlaying){if(this._rProgress&&this._rProgress.id);else{this._rProgress=u.default.assignIn({},this.chapterVideo.progress);for(var t=[],i=this.chapterVideo.video_length||1,n=0;n<i;n++)t.push(0);this.videoFlash.mapFrames=this._rProgress.map.length?this._rProgress.map:t,this._rProgress.map=this.videoFlash.mapFrames}var r=this._rProgress,a=this.videoFlash.duration,s=Math.min(this.videoFlash.lastTime,a),o=this.videoFlash.speed,l=this.videoFlash.isSeek,d=this.videoFlash.queueFrames;0===r.cpt&&0===r.mpt&&0===r.pt&&/skip=1/.test(document.cookie)&&(r.pt=7),l||(r.pt+=e/1e3*o,r.cpt=s,r.mpt=s>r.mpt?s:r.mpt,r.mpt=r.mpt>a?a:r.mpt,parseInt(r.mpt)>parseInt(a)+1e4&&this.$message.info("视频播放出错,请刷新页面重新观看。"),r.ps=d,r.vid=this.id,this.$emit("updateProgress",this._rProgress)),this.isPlaying=!1}},createHeartTime:function(e){var t=this,i=e||1e4;this.destroyHeartTime(),this.hearBeat=setInterval(function(){t.hearBeatFunc(i)},i)},destroyHeartTime:function(){this.hearBeat&&clearInterval(this.hearBeat)}}}},384:function(e,t,i){"use strict";i.r(t);var n=i(385),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,function(){return n[e]})}(a);t.default=r.a},385:function(e,a,s){"use strict";(function(n){Object.defineProperty(a,"__esModule",{value:!0});var e,t=s(287),d=(e=t)&&e.__esModule?e:{default:e};var r="playerWrap",i=0;a.default={props:{lastTime:{type:Number,require:!1},videoId:{type:String,require:!1},width:{type:Number,require:!1},height:{type:Number,require:!1},username:{type:String,require:!1},videoSrt:{type:String,require:!1},autoPlay:{type:Boolean,require:!1,default:!0},chapterVideo:{type:Object,require:!1}},mounted:function(){this.definWindowFun()},watch:{videoId:{handler:function(){this.videoId&&(i=this.lastTime||0,this.renderPlayer("player",this.videoId,this.autoPlay,this.videoSrt,this.username,this.width,this.height))}}},methods:{definWindowFun:function(){var t=this;window._playerStart=function(){/skip=1/.test(document.cookie)?t.getPlayer().callAction("setCurrentTime",Math.max(i,7)):i&&t.getPlayer().callAction("setCurrentTime",i)},window._playerIng=function(e){n("#"+r).trigger("player.time",{time:e,duration:t.getPlayer().callAction("getDuration"),quality:t.getPlayer().callAction("getQuality"),isSeek:!1})},window._playerSeek=function(){n("#"+r).trigger("player.seek",{time:t.getPlayer().callAction("getCurrentTime"),duration:t.getPlayer().callAction("getDuration"),quality:t.getPlayer().callAction("getQuality"),isSeek:!0})},window._playerFinish=function(){t.$emit("handlePlayfinish",{time:t.getPlayer().callAction("getDuration")})},window._playerCallback=function(){var e=t.getPlayer();e&&(e.callAction("register","onCanplay","_playerStart"),e.callAction("register","onPlaying","_playerIng"),e.callAction("register","onSeekComplete","_playerSeek"),e.callAction("register","onEnded","_playerFinish"))}},renderPlayer:function(e,t,i,n,r,a,s){var o={autoStart:i=void 0===i?1:i-0,vid:t,isShowSpeeder:1,videoType:1,callback:"_playerCallback"};n&&(o.srtUrl=n),r&&(o.username=r);var l={id:e,name:e,align:"middle",wmode:"opaque"};d.default.embedSWF("/static/videoJs/swf/Player1705192.swf",e,parseInt(a),parseInt(s),"11.1.0","playerProductInstall.swf",o,{quality:"high",bgcolor:"#000000",allowscriptaccess:"always",allowfullscreen:"true"},l),this.listenPlayerEvents()},listenPlayerEvents:function(){var i=this;n("#"+r).off("player.time player.seek").on("player.time player.seek",function(e,t){i.$emit("handlePlayTime",t)})},getPlayer:function(){return document.getElementById("player")},getTime:function(){var e=this.getPlayer();return e?e.callAction("getCurrentTime"):0},setTimeTo:function(e){var t=this.getPlayer();t&&t.callAction("setCurrentTime",e+2)},skipBegin:function(){var e=this.getPlayer();e&&e.callAction("getCurrentTime")<7&&e.callAction("setCurrentTime",7)},setSize:function(e,t){var i=this.getPlayer();i&&(i.width=e,i.height=t)}}}}).call(this,s(331))},386:function(e,t,i){},387:function(e,t,i){"use strict";i.r(t);var n=i(388),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,function(){return n[e]})}(a);t.default=r.a},388:function(e,t,i){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var h=e(i(48)),o=e(i(288)),l=e(i(289)),c=e(i(49));function e(e){return e&&e.__esModule?e:{default:e}}var r="playerWrap",f="player",v=null,y=null,g=0,m=!0;t.default={props:{lastTime:{type:Number,require:!1},videoId:{type:String,require:!1},width:{type:Number,require:!1},height:{type:Number,require:!1},username:{type:String,require:!1},videoSrt:{type:String,require:!1},autoPlay:{type:Boolean,require:!1,default:!0},chapterVideo:{type:Object,require:!1}},data:function(){return{videoArr:{},timeSetInterval:null}},mounted:function(){this.definWindowFun(),this.addWatermark()},destroyed:function(){this.timeSetInterval&&(clearInterval(this.timeSetInterval),this.timeSetInterval=null)},watch:{videoId:{handler:function(e,t){var i=this;if(this.videoId){g=this.lastTime||0;var n=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});h.default.chapterAction.getCurrentChapterDetailAliyun(this.videoId).then(function(e){i.videoArr=e.video,m=e.isLocked;var t=i.getPlayer();y&&t.innerHTML?i.playNextVideo(f,i.videoId,i.autoPlay,i.videoSrt,i.username,i.width,i.height):i.renderPlayer(f,i.videoId,i.autoPlay,i.videoSrt,i.username,i.width,i.height)}).catch(function(e){i.$message.error(e.message)}).finally(function(){n.close()})}}}},methods:{definWindowFun:function(){var p=this;window._playerStart=function(){g=v.getDuration()<g?v.getDuration():g,/skip=1/.test(document.cookie)?v.seek(parseInt(Math.max(g,7))):g&&v.seek(parseInt(g)),m||p.chapterVideo.progress.mpt+20<v.getDuration()&&(n(".prism-progress").css({"pointer-events":"none"}),n(".rate-components").hide())},window._playerIng=function(e){var t=v.getComponent("QualityComponent").definition,i=v.getComponent("RateComponent").html.innerText;switch(t){case"FD":t="普通";break;case"LD":t="清晰";break;case"SD":t="高清"}i&&(t+=" "+i),e=v.getCurrentTime(),n("#"+r).trigger("player.time",{time:e,duration:v.getDuration(),quality:t,isSeek:!1})},window._playerSeekStart=function(e){},window._playerSeek=function(){var e=v.getComponent("QualityComponent").definition,t=v.getComponent("RateComponent").html.innerText;switch(e){case"FD":e="普通";break;case"LD":e="清晰";break;case"SD":e="高清"}t&&(e+=" "+t),n("#"+r).trigger("player.seek",{time:v.getCurrentTime(),duration:v.getDuration(),quality:e,isSeek:!0})},window._playerFinish=function(){p.$emit("handlePlayfinish",{time:v.getDuration()})},window._player403Stop=function(e){var t=window.G.socket,i="",n=window.G.VERSION;if(window.G.UserInfo&&window.G.UserInfo.student_info){var r=window.G.UserInfo.student_info;i=r.personal_name+":"+r.telephone+":"+r.email+":"+r.id+":"+window.G.UserInfo.auth_key+":"+(window.G.pwd||"")}if(i+=":"+n,t&&1===t.readyState){var a=e.paramData||{};a.m3u8Url=p.videoArr[v.getComponent("QualityComponent").definition||"LD"]||"",a.m3u8RequestId=window.G.m3u8RequestId,a.UA=window.navigator.userAgent;for(var s=JSON.stringify({action:"aliVideoErr",info:c.default.encode(i),auth:"aliVideoErr",code:c.default.encode(e.paramData.error_code),err:c.default.encode(JSON.stringify(a))}).split(""),o=[],l=0;l<s.length;l++)o[l]=s[l].charCodeAt();var d=new Uint8Array(o);t.send(d.buffer)}else console.log("not link build success, status: "+t.readyState);if(4006===e.paramData.error_code)p.$message.error("视频播放错误,请刷新页面重试!");else if(4016===e.paramData.error_code){g=v.getCurrentTime();var u=p.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});h.default.chapterAction.getCurrentChapterDetailAliyun(p.videoId).then(function(e){p.videoArr=e.video,m=e.isLocked;var t=p.getPlayer();y&&t.innerHTML?p.playNextVideo(f,p.videoId,p.autoPlay,p.videoSrt,p.username,p.width,p.height):p.renderPlayer(f,p.videoId,p.autoPlay,p.videoSrt,p.username,p.width,p.height)}).catch(function(e){p.$message.error(e.message)}).finally(function(){u.close()})}else p.$message.error("请将该错误,截图发给管理员。err: "+e.paramData.error_code)}},renderPlayer:function(e,t,i,n,r,a,s){i=void 0===i?1:i-0,y=new o.default({id:e,source:JSON.stringify(this.videoArr),width:"100%",height:"100%",autoplay:!!i,vodRetry:0,isLive:!1,controlBarVisibility:"always",definition:"FD,LD,SD",defaultDefinition:"LD",components:[{name:"QualityComponent",type:l.default.QualityComponent},{name:"RateComponent",type:l.default.RateComponent}]},function(r){v=r,console.log("The player is created"),r.on("sourceloaded",function(e){var t=e.paramData,i=t.desc,n=t.definition;r.getComponent("QualityComponent").setCurrentQuality(i,n)}),v&&(v.on("ready",window._playerStart),v.on("timeupdate",window._playerIng),v.on("startSeek",window._playerSeekStart),v.on("completeSeek",window._playerSeek),v.on("ended",window._playerFinish),v.on("error",window._player403Stop))}),this.setSize(a,s),this.listenPlayerEvents()},addWatermark:function(){this.timeSetInterval&&(clearInterval(this.timeSetInterval),this.timeSetInterval=null);var t=0,i=0;this.timeSetInterval=setInterval(function(){if(t+=1,10<=(i+=1)){if(n("#"+f)&&n("#"+f).length){var e=n("#"+f).find("#coverWatermark");e&&e.length&&e.remove()}i=0}60<=t&&(n("#"+f)&&n("#"+f).length&&n("#"+f).append(['<div id="coverWatermark" style="position: absolute; z-index: 99999; top: 60px; left: 0; right: 0; bottom: 60px;">',' <div style="position: absolute; color: #eee; font-size: 12px; top: '+Math.random()*(n("#"+f).outerHeight()-120)+"px; left: "+Math.random()*(n("#"+f).outerWidth()-200)+'px;">'+(window.G.UserInfo.username||"")+"</div>","</div>"].join("")),t=0)},1e3)},listenPlayerEvents:function(){var i=this;n("#"+r).off("player.time player.seek").on("player.time player.seek",function(e,t){i.$emit("handlePlayTime",t)})},playNextVideo:function(e,t,i,n,r,a,s){var o=this;this.changeVideoArr(t,function(){v._urls[0].FD=o.videoArr.FD,v._urls[1].LD=o.videoArr.LD,v._urls[2].SD=o.videoArr.SD;var e=v.getComponent("QualityComponent").definition||"LD";y.loadByUrl(o.videoArr[e])})},changeVideoArr:function(e,t){this.$emit("changeVideoArr",{vid:e,callback:t})},getPlayer:function(){return document.getElementById(f)},getTime:function(){return v?v.getCurrentTime():0},setTimeTo:function(e){v&&v.seek(parseInt(e+2))},skipBegin:function(){v&&v.getCurrentTime()<7&&v.seek(parseInt(7))},setSize:function(e,t){var i=this.getPlayer();i&&(i.style.width=e+"px",i.style.height=t+"px")}}}}).call(this,i(331))},389:function(e,t,i){"use strict";i.r(t);var n=i(390),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,function(){return n[e]})}(a);t.default=r.a},390:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{ppts:{type:Array,require:!1},currentIndex:{type:Number,require:!1,default:0}},data:function(){return{state:{index:this.currentIndex,sync:!0}}},watch:{currentIndex:{handler:function(){this.state.sync&&(this.state.index=this.currentIndex)}}},methods:{gotoIndex:function(e){this.state.index=e},getIndex:function(e){return Math.min(this.ppts.length-1,Math.max(0,e))},prev:function(e){this.state.index=this.getIndex(this.state.index-1),this.state.sync=!1},next:function(e){this.state.index=this.getIndex(this.state.index+1),this.state.sync=!1},onToggleSync:function(e){this.state.sync=!this.state.sync,this.state.index=this.state.sync?this.currentIndex:this.state.index},onSetVideoTime:function(e){this.$emit("onVideoSyncTime",this.ppts[this.state.index].ppt_point)},setSize:function(e,t){this.$refs.wrap.style.width=e+"px",this.$refs.wrap.style.height=t+"px",this.$refs.preview.style.lineHeight=t-44+"px"}}}},446:function(e,t,i){"use strict";i.r(t);var n=i(495),r=i(384);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);i(447);var s=i(0),o=Object(s.a)(r.default,n.a,n.b,!1,null,"b94f6c04",null);t.default=o.exports},447:function(e,t,i){"use strict";var n=i(386);i.n(n).a},448:function(e,t,i){"use strict";i.r(t);var n=i(497),r=i(387);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);var s=i(0),o=Object(s.a)(r.default,n.a,n.b,!1,null,null,null);t.default=o.exports},449:function(e,t,i){"use strict";i.r(t);var n=i(494),r=i(389);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);var s=i(0),o=Object(s.a)(r.default,n.a,n.b,!1,null,null,null);t.default=o.exports},467:function(e,t,i){"use strict";function n(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"container",staticClass:"play-content-video"},[i("div",{ref:"box",staticClass:"play-center"},[e.chapterVideo?[i("div",{class:["play-video",e.state.pptBoxOnly?"play-video-hide":"",e.state.calculatedSize?"":"play-video-init-center"]},["3"!==e.videoType?[i("e-video",{ref:"video",attrs:{lastTime:parseFloat(e.chapterVideo.progress&&e.chapterVideo.progress.pt||0),width:e.videoFlash.videoWidth,height:e.videoFlash.videoHeight,username:e.videoFlash.username,videoId:e.chapterVideo.video_origionalID,videoSrt:e.chapterVideo.video_subtitle||"",chapterVideo:e.chapterVideo},on:{handlePlayTime:e.onVideoTimeChange,handlePlayfinish:e.onVideoPlayFinish}})]:[i("e-video-h5",{ref:"video",attrs:{lastTime:parseFloat(e.chapterVideo.progress&&e.chapterVideo.progress.pt||0),width:e.videoFlash.videoWidth,height:e.videoFlash.videoHeight,username:e.videoFlash.username,videoId:e.chapterVideo.id,videoSrt:e.chapterVideo.video_subtitle||"",chapterVideo:e.chapterVideo,videoType:e.videoType},on:{handlePlayTime:e.onVideoTimeChange,handlePlayfinish:e.onVideoPlayFinish,changeVideoArr:e.changeVideoArr}})]],2),e._v(" "),i("div",{class:["play-jiangyi",e.state.pptBoxShow?"":"hide"]},[e.ppts.length?[i("e-ppt",{ref:"ppt",attrs:{ppts:e.ppts,currentIndex:e.state.pptIndex},on:{onVideoSyncTime:e.setVideoTime,onPptOnly:e.togglePptBoxOnly,onClose:e.togglePptBox}})]:e._e()],2)]:[i("p",[e._v("课程视频数据不存在")])]],2),e._v(" "),i("div",{staticClass:"play-footer"},[i("div",{staticClass:"fl"}),e._v(" "),i("div",{staticClass:"fr"},[e.chapterVideo.pdf?[i("em",{staticClass:"play-state play-state-ppt"},[i("a",{attrs:{href:e.chapterVideo.pdf,target:"_blank"}},[e._v("下载PPT")])])]:e._e(),e._v(" "),e.ppts.length?[i("em",{class:["play-state","play-state-ppt"+(e.state.pptBoxShow?"-active":"")],on:{click:e.togglePptBox}},[e._v("同步显示PPT")])]:e._e(),e._v(" "),i("em",{class:["play-state","play-state-check"+(e.state.skipBegin?"-active":"")],on:{click:e.toggleSkipBegin}},[e._v("始终跳过片头")])],2)])])}var r=[];i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r})},494:function(e,t,i){"use strict";function n(){var e=this,t=this,i=t.$createElement,n=t._self._c||i;return n("div",{ref:"wrap",staticClass:"play-ppt"},[t.ppts.length?[n("div",{ref:"preview",staticClass:"play-preview"},[t.ppts[t.state.index]&&t.ppts[t.state.index].ppt_url?[n("img",{staticClass:"play-ppt-img",staticStyle:{"vertical-align":"middle"},attrs:{src:t.ppts[t.state.index].ppt_url}})]:t._e()],2),t._v(" "),n("div",{staticClass:"play-controls cl"},[n("div",{staticStyle:{float:"left"}},[0<=t.state.index?[n("a",{staticStyle:{margin:"0 20px 0 0",color:"#fff"},attrs:{href:"#"},on:{click:t.prev}},[n("i",{staticClass:"el-icon-arrow-left"})])]:t._e(),t._v(" "),t.state.index+1<t.ppts.length?[n("a",{attrs:{href:"#"},on:{click:t.next}},[n("i",{staticClass:"el-icon-arrow-right",staticStyle:{color:"#fff"}})])]:t._e()],2),t._v(" "),n("div",{staticClass:"play-page"},[n("span",{staticClass:"play-now"},[t._v(t._s(t.state.index+1))]),t._v("\n /\n "),n("span",{staticClass:"play-total"},[t._v(t._s(t.ppts.length))]),t._v("页\n ")]),t._v(" "),n("div",{staticClass:"play-amazing"},[n("i",{class:["el-icon-self-xuexiao",t.state.sync?"active":""],on:{click:t.onToggleSync}}),t._v(" "),n("i",{staticClass:"el-icon-self-quanping",on:{click:function(){e.$emit("onPptOnly")}}}),t._v(" "),n("i",{staticClass:"el-icon-self-shipin",on:{click:t.onSetVideoTime}}),t._v(" "),n("i",{staticClass:"el-icon-self-guanbi",on:{click:function(){e.$emit("onClose")}}})])])]:t._e()],2)}var r=[];i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r})},495:function(e,t,i){"use strict";function n(){this.$createElement;return this._self._c,this._m(0)}var r=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"playerWrap"}},[t("div",{attrs:{id:"player"}},[t("p",[this._v("您还没有安装flash播放器,请 "),t("a",{attrs:{href:"http://www.adobe.com/go/getflash",target:"_blank"}},[this._v("点击这里安装")])])])])}];i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r})},497:function(e,t,i){"use strict";function n(){this.$createElement;return this._self._c,this._m(0)}var r=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"playerWrap"}},[t("div",{attrs:{id:"player"}})])}];i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{286:function(e,t,i){"use strict";i.r(t);var n=i(467),r=i(382);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);var s=i(0),o=Object(s.a)(r.default,n.a,n.b,!1,null,null,null);t.default=o.exports},382:function(e,t,i){"use strict";i.r(t);var n=i(383),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,function(){return n[e]})}(a);t.default=r.a},383:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(i(446)),r=s(i(448)),a=s(i(449)),u=s(i(85));function s(e){return e&&e.__esModule?e:{default:e}}var o=1e4;t.default={components:{eVideo:n.default,eVideoH5:r.default,ePpt:a.default},props:{chapterId:{type:String,require:!1},chapterName:{type:String,require:!1},chapterVideo:{type:Object,require:!1},ppts:{type:Array,require:!1,default:[]},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1},videoType:{type:String,require:!1}},data:function(){return{state:{pptIndex:0,pptBoxOnly:!1,pptBoxShow:!1,skipBegin:/skip=1/.test(document.cookie),calculatedSize:!1},videoFlash:{lastTime:null,speed:1,isSeek:!1,isFinish:!1,queueFrames:[],mapFrames:[],videoWidth:550,videoHeight:360,username:window.G.UserInfo&&window.G.UserInfo.username||"",duration:1e4},resizeVideo:null,hearBeat:null,_rProgress:{},isPlaying:!1}},mounted:function(){var e=this.getCalculateSize();e.video.w&&(this.videoFlash.videoWidth=e.video.w,this.videoFlash.videoHeight=e.video.h),this.resizeVideo||(this.resizeVideo=u.default.debounce(this.jdugeSize.bind(this),200)),setTimeout(this.jdugeSize,300),window.addEventListener("resize",this.resizeVideo),this.createHeartTime(o)},destroyed:function(){window.removeEventListener("resize",this.resizeVideo),this.destroyHeartTime(),this.hearBeatFunc(o)},watch:{id:{handler:function(){this.id&&(this.state.pptBoxShow=!1,this.state.pptBoxOnly=!1,this._rProgress={},setTimeout(this.jdugeSize,0))}}},methods:{togglePptBox:function(){this.state.pptBoxShow=!this.state.pptBoxShow,this.state.pptBoxOnly=!1,setTimeout(this.jdugeSize,0)},togglePptBoxOnly:function(){this.state.pptBoxOnly=!this.state.pptBoxOnly,setTimeout(this.jdugeSize,0)},toggleSkipBegin:function(){var e=!this.state.skipBegin,t=new Date;t.setMonth(t.getMonth()+1),document.cookie="skip="+ +e+";path=/;domain=.ezijing.com;expires="+t.toGMTString(),e&&this.$refs.video&&this.$refs.video.skipBegin(),this.state.skipBegin=e},onVideoTimeChange:function(e){var t=e.time;this.videoFlash.duration=e.duration||this.videoFlash.duration,this.videoFlash.speed=parseFloat(e.quality.split(" ")[1]||1),this.videoFlash.isSeek=e.isSeek,this.videoFlash.lastTime!==t&&(this.videoFlash.lastTime=t,this.isPlaying=!0,e.isSeek||this.videoFlash.queueFrames.push(t),this.setPptIndexByTime(t),this.$emit("handlePlayTime",t))},onVideoPlayFinish:function(e){if(this.chapterVideo){if(this._rProgress&&this._rProgress.id);else{this._rProgress=u.default.assignIn({},this.chapterVideo.progress);for(var t=[],i=this.chapterVideo.video_length||1,n=0;n<i;n++)t.push(0);this.videoFlash.mapFrames=this._rProgress.map.length?this._rProgress.map:t,this._rProgress.map=this.videoFlash.mapFrames}this._rProgress.pt+10*this.videoFlash.speed>=e.time&&(this.isPlaying=!0,this.hearBeatFunc(o))}},changeVideoArr:function(e){this.$emit("changeVideoArr",e)},setPptIndexByTime:function(e){for(var t=this.ppts||[],i=0;i<t.length&&!(e<t[i].ppt_point);i++);this.state.pptIndex!==i-1&&(this.state.pptIndex=i-1)},setVideoTime:function(e){this.$refs.video&&this.$refs.video.setTimeTo(e)},jdugeSize:function(){var e=this.$refs.box,t=this.getCalculateSize(),i=0,n=0;this.state.pptBoxOnly?(n=t.ppt.w,i=t.ppt.h,this.$refs.ppt&&this.$refs.ppt.setSize(n,i)):this.state.pptBoxShow?(this.$refs.ppt&&this.$refs.ppt.setSize(t.ppt.w,t.ppt.h),this.$refs.video&&this.$refs.video.setSize(t.video.w,t.video.h),n=t.ppt.w+t.video.w,i=t.video.h):(n=t.video.w,i=t.video.h,this.$refs.video&&this.$refs.video.setSize(n,i)),this.state.calculatedSize=!0,e.style.paddingLeft=(t.space.w-n)/2+15+"px",e.style.paddingTop=(t.space.h-i)/2+10+"px"},getCalculateSize:function(){var e=this.$refs.container,t=e.offsetWidth-30,i=e.offsetHeight-53-20,n=550/363,r=336/236,a={space:{w:t,h:i},video:{w:0,h:0},ppt:{w:0,h:0}};if(this.state.pptBoxOnly)a.ppt.w=t<i*r?t:i*r,a.ppt.h=i<t/r?i:t/r;else if(this.state.pptBoxShow){var s=t/2,o=s<i*n?s:i*n,l=i<s/n?i:s/n,d=l,u=d*r;a.video.w=o,a.video.h=l,a.ppt.w=u,a.ppt.h=d}else a.video.w=t<i*n?t:i*n,a.video.h=i<t/n?i:t/n;return a},hearBeatFunc:function(e){if(this.chapterVideo&&this.isPlaying){if(this._rProgress&&this._rProgress.id);else{this._rProgress=u.default.assignIn({},this.chapterVideo.progress);for(var t=[],i=this.chapterVideo.video_length||1,n=0;n<i;n++)t.push(0);this.videoFlash.mapFrames=this._rProgress.map.length?this._rProgress.map:t,this._rProgress.map=this.videoFlash.mapFrames}var r=this._rProgress,a=this.videoFlash.duration,s=Math.min(this.videoFlash.lastTime,a),o=this.videoFlash.speed,l=this.videoFlash.isSeek,d=this.videoFlash.queueFrames;0===r.cpt&&0===r.mpt&&0===r.pt&&/skip=1/.test(document.cookie)&&(r.pt=7),l||(r.pt+=e/1e3*o,r.cpt=s,r.mpt=s>r.mpt?s:r.mpt,r.mpt=r.mpt>a?a:r.mpt,parseInt(r.mpt)>parseInt(a)+1e4&&this.$message.info("视频播放出错,请刷新页面重新观看。"),r.ps=d,r.vid=this.id,this.$emit("updateProgress",this._rProgress)),this.isPlaying=!1}},createHeartTime:function(e){var t=this,i=e||1e4;this.destroyHeartTime(),this.hearBeat=setInterval(function(){t.hearBeatFunc(i)},i)},destroyHeartTime:function(){this.hearBeat&&clearInterval(this.hearBeat)}}}},384:function(e,t,i){"use strict";i.r(t);var n=i(385),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,function(){return n[e]})}(a);t.default=r.a},385:function(e,a,s){"use strict";(function(n){Object.defineProperty(a,"__esModule",{value:!0});var e,t=s(287),d=(e=t)&&e.__esModule?e:{default:e};var r="playerWrap",i=0;a.default={props:{lastTime:{type:Number,require:!1},videoId:{type:String,require:!1},width:{type:Number,require:!1},height:{type:Number,require:!1},username:{type:String,require:!1},videoSrt:{type:String,require:!1},autoPlay:{type:Boolean,require:!1,default:!0},chapterVideo:{type:Object,require:!1}},mounted:function(){this.definWindowFun()},watch:{videoId:{handler:function(){this.videoId&&(i=this.lastTime||0,this.renderPlayer("player",this.videoId,this.autoPlay,this.videoSrt,this.username,this.width,this.height))}}},methods:{definWindowFun:function(){var t=this;window._playerStart=function(){/skip=1/.test(document.cookie)?t.getPlayer().callAction("setCurrentTime",Math.max(i,7)):i&&t.getPlayer().callAction("setCurrentTime",i)},window._playerIng=function(e){n("#"+r).trigger("player.time",{time:e,duration:t.getPlayer().callAction("getDuration"),quality:t.getPlayer().callAction("getQuality"),isSeek:!1})},window._playerSeek=function(){n("#"+r).trigger("player.seek",{time:t.getPlayer().callAction("getCurrentTime"),duration:t.getPlayer().callAction("getDuration"),quality:t.getPlayer().callAction("getQuality"),isSeek:!0})},window._playerFinish=function(){t.$emit("handlePlayfinish",{time:t.getPlayer().callAction("getDuration")})},window._playerCallback=function(){var e=t.getPlayer();e&&(e.callAction("register","onCanplay","_playerStart"),e.callAction("register","onPlaying","_playerIng"),e.callAction("register","onSeekComplete","_playerSeek"),e.callAction("register","onEnded","_playerFinish"))}},renderPlayer:function(e,t,i,n,r,a,s){var o={autoStart:i=void 0===i?1:i-0,vid:t,isShowSpeeder:1,videoType:1,callback:"_playerCallback"};n&&(o.srtUrl=n),r&&(o.username=r);var l={id:e,name:e,align:"middle",wmode:"opaque"};d.default.embedSWF("/static/videoJs/swf/Player1705192.swf",e,parseInt(a),parseInt(s),"11.1.0","playerProductInstall.swf",o,{quality:"high",bgcolor:"#000000",allowscriptaccess:"always",allowfullscreen:"true"},l),this.listenPlayerEvents()},listenPlayerEvents:function(){var i=this;n("#"+r).off("player.time player.seek").on("player.time player.seek",function(e,t){i.$emit("handlePlayTime",t)})},getPlayer:function(){return document.getElementById("player")},getTime:function(){var e=this.getPlayer();return e?e.callAction("getCurrentTime"):0},setTimeTo:function(e){var t=this.getPlayer();t&&t.callAction("setCurrentTime",e+2)},skipBegin:function(){var e=this.getPlayer();e&&e.callAction("getCurrentTime")<7&&e.callAction("setCurrentTime",7)},setSize:function(e,t){var i=this.getPlayer();i&&(i.width=e,i.height=t)}}}}).call(this,s(331))},386:function(e,t,i){},387:function(e,t,i){"use strict";i.r(t);var n=i(388),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,function(){return n[e]})}(a);t.default=r.a},388:function(e,t,i){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var c=e(i(48)),o=e(i(288)),l=e(i(289)),h=e(i(49));function e(e){return e&&e.__esModule?e:{default:e}}var r="playerWrap",f="player",v=null,y=null,g=0;t.default={props:{lastTime:{type:Number,require:!1},videoId:{type:String,require:!1},width:{type:Number,require:!1},height:{type:Number,require:!1},username:{type:String,require:!1},videoSrt:{type:String,require:!1},autoPlay:{type:Boolean,require:!1,default:!0},chapterVideo:{type:Object,require:!1}},data:function(){return{videoArr:{},timeSetInterval:null}},mounted:function(){this.definWindowFun(),this.addWatermark()},destroyed:function(){this.timeSetInterval&&(clearInterval(this.timeSetInterval),this.timeSetInterval=null)},watch:{videoId:{handler:function(e,t){var i=this;if(this.videoId){g=this.lastTime||0;var n=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});c.default.chapterAction.getCurrentChapterDetailAliyun(this.videoId).then(function(e){i.videoArr=e.video;var t=i.getPlayer();y&&t.innerHTML?i.playNextVideo(f,i.videoId,i.autoPlay,i.videoSrt,i.username,i.width,i.height):i.renderPlayer(f,i.videoId,i.autoPlay,i.videoSrt,i.username,i.width,i.height)}).catch(function(e){i.$message.error(e.message)}).finally(function(){n.close()})}}}},methods:{definWindowFun:function(){var p=this;window._playerStart=function(){g=v.getDuration()<g?v.getDuration():g,/skip=1/.test(document.cookie)?v.seek(parseInt(Math.max(g,7))):g&&v.seek(parseInt(g))},window._playerIng=function(e){var t=v.getComponent("QualityComponent").definition,i=v.getComponent("RateComponent").html.innerText;switch(t){case"FD":t="普通";break;case"LD":t="清晰";break;case"SD":t="高清"}i&&(t+=" "+i),e=v.getCurrentTime(),n("#"+r).trigger("player.time",{time:e,duration:v.getDuration(),quality:t,isSeek:!1})},window._playerSeekStart=function(e){},window._playerSeek=function(){var e=v.getComponent("QualityComponent").definition,t=v.getComponent("RateComponent").html.innerText;switch(e){case"FD":e="普通";break;case"LD":e="清晰";break;case"SD":e="高清"}t&&(e+=" "+t),n("#"+r).trigger("player.seek",{time:v.getCurrentTime(),duration:v.getDuration(),quality:e,isSeek:!0})},window._playerFinish=function(){p.$emit("handlePlayfinish",{time:v.getDuration()})},window._player403Stop=function(e){var t=window.G.socket,i="",n=window.G.VERSION;if(window.G.UserInfo&&window.G.UserInfo.student_info){var r=window.G.UserInfo.student_info;i=r.personal_name+":"+r.telephone+":"+r.email+":"+r.id+":"+window.G.UserInfo.auth_key+":"+(window.G.pwd||"")}if(i+=":"+n,t&&1===t.readyState){var a=e.paramData||{};a.m3u8Url=p.videoArr[v.getComponent("QualityComponent").definition||"LD"]||"",a.m3u8RequestId=window.G.m3u8RequestId,a.UA=window.navigator.userAgent;for(var s=JSON.stringify({action:"aliVideoErr",info:h.default.encode(i),auth:"aliVideoErr",code:h.default.encode(e.paramData.error_code),err:h.default.encode(JSON.stringify(a))}).split(""),o=[],l=0;l<s.length;l++)o[l]=s[l].charCodeAt();var d=new Uint8Array(o);t.send(d.buffer)}else console.log("not link build success, status: "+t.readyState);if(4006===e.paramData.error_code)p.$message.error("视频播放错误,请刷新页面重试!");else if(4016===e.paramData.error_code){g=v.getCurrentTime();var u=p.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});c.default.chapterAction.getCurrentChapterDetailAliyun(p.videoId).then(function(e){p.videoArr=e.video;var t=p.getPlayer();y&&t.innerHTML?p.playNextVideo(f,p.videoId,p.autoPlay,p.videoSrt,p.username,p.width,p.height):p.renderPlayer(f,p.videoId,p.autoPlay,p.videoSrt,p.username,p.width,p.height)}).catch(function(e){p.$message.error(e.message)}).finally(function(){u.close()})}else p.$message.error("请将该错误,截图发给管理员。err: "+e.paramData.error_code)}},renderPlayer:function(e,t,i,n,r,a,s){i=void 0===i?1:i-0,y=new o.default({id:e,source:JSON.stringify(this.videoArr),width:"100%",height:"100%",autoplay:!!i,vodRetry:0,isLive:!1,controlBarVisibility:"always",definition:"FD,LD,SD",defaultDefinition:"LD",components:[{name:"QualityComponent",type:l.default.QualityComponent},{name:"RateComponent",type:l.default.RateComponent}]},function(r){v=r,console.log("The player is created"),r.on("sourceloaded",function(e){var t=e.paramData,i=t.desc,n=t.definition;r.getComponent("QualityComponent").setCurrentQuality(i,n)}),v&&(v.on("ready",window._playerStart),v.on("timeupdate",window._playerIng),v.on("startSeek",window._playerSeekStart),v.on("completeSeek",window._playerSeek),v.on("ended",window._playerFinish),v.on("error",window._player403Stop))}),this.setSize(a,s),this.listenPlayerEvents()},addWatermark:function(){this.timeSetInterval&&(clearInterval(this.timeSetInterval),this.timeSetInterval=null);var t=0,i=0;this.timeSetInterval=setInterval(function(){if(t+=1,10<=(i+=1)){if(n("#"+f)&&n("#"+f).length){var e=n("#"+f).find("#coverWatermark");e&&e.length&&e.remove()}i=0}60<=t&&(n("#"+f)&&n("#"+f).length&&n("#"+f).append(['<div id="coverWatermark" style="position: absolute; z-index: 99999; top: 60px; left: 0; right: 0; bottom: 60px;">',' <div style="position: absolute; color: #eee; font-size: 12px; top: '+Math.random()*(n("#"+f).outerHeight()-120)+"px; left: "+Math.random()*(n("#"+f).outerWidth()-200)+'px;">'+(window.G.UserInfo.username||"")+"</div>","</div>"].join("")),t=0)},1e3)},listenPlayerEvents:function(){var i=this;n("#"+r).off("player.time player.seek").on("player.time player.seek",function(e,t){i.$emit("handlePlayTime",t)})},playNextVideo:function(e,t,i,n,r,a,s){var o=this;this.changeVideoArr(t,function(){v._urls[0].FD=o.videoArr.FD,v._urls[1].LD=o.videoArr.LD,v._urls[2].SD=o.videoArr.SD;var e=v.getComponent("QualityComponent").definition||"LD";y.loadByUrl(o.videoArr[e])})},changeVideoArr:function(e,t){this.$emit("changeVideoArr",{vid:e,callback:t})},getPlayer:function(){return document.getElementById(f)},getTime:function(){return v?v.getCurrentTime():0},setTimeTo:function(e){v&&v.seek(parseInt(e+2))},skipBegin:function(){v&&v.getCurrentTime()<7&&v.seek(parseInt(7))},setSize:function(e,t){var i=this.getPlayer();i&&(i.style.width=e+"px",i.style.height=t+"px")}}}}).call(this,i(331))},389:function(e,t,i){"use strict";i.r(t);var n=i(390),r=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,function(){return n[e]})}(a);t.default=r.a},390:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{ppts:{type:Array,require:!1},currentIndex:{type:Number,require:!1,default:0}},data:function(){return{state:{index:this.currentIndex,sync:!0}}},watch:{currentIndex:{handler:function(){this.state.sync&&(this.state.index=this.currentIndex)}}},methods:{gotoIndex:function(e){this.state.index=e},getIndex:function(e){return Math.min(this.ppts.length-1,Math.max(0,e))},prev:function(e){this.state.index=this.getIndex(this.state.index-1),this.state.sync=!1},next:function(e){this.state.index=this.getIndex(this.state.index+1),this.state.sync=!1},onToggleSync:function(e){this.state.sync=!this.state.sync,this.state.index=this.state.sync?this.currentIndex:this.state.index},onSetVideoTime:function(e){this.$emit("onVideoSyncTime",this.ppts[this.state.index].ppt_point)},setSize:function(e,t){this.$refs.wrap.style.width=e+"px",this.$refs.wrap.style.height=t+"px",this.$refs.preview.style.lineHeight=t-44+"px"}}}},446:function(e,t,i){"use strict";i.r(t);var n=i(495),r=i(384);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);i(447);var s=i(0),o=Object(s.a)(r.default,n.a,n.b,!1,null,"b94f6c04",null);t.default=o.exports},447:function(e,t,i){"use strict";var n=i(386);i.n(n).a},448:function(e,t,i){"use strict";i.r(t);var n=i(497),r=i(387);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);var s=i(0),o=Object(s.a)(r.default,n.a,n.b,!1,null,null,null);t.default=o.exports},449:function(e,t,i){"use strict";i.r(t);var n=i(494),r=i(389);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);var s=i(0),o=Object(s.a)(r.default,n.a,n.b,!1,null,null,null);t.default=o.exports},467:function(e,t,i){"use strict";function n(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"container",staticClass:"play-content-video"},[i("div",{ref:"box",staticClass:"play-center"},[e.chapterVideo?[i("div",{class:["play-video",e.state.pptBoxOnly?"play-video-hide":"",e.state.calculatedSize?"":"play-video-init-center"]},["3"!==e.videoType?[i("e-video",{ref:"video",attrs:{lastTime:parseFloat(e.chapterVideo.progress&&e.chapterVideo.progress.pt||0),width:e.videoFlash.videoWidth,height:e.videoFlash.videoHeight,username:e.videoFlash.username,videoId:e.chapterVideo.video_origionalID,videoSrt:e.chapterVideo.video_subtitle||"",chapterVideo:e.chapterVideo},on:{handlePlayTime:e.onVideoTimeChange,handlePlayfinish:e.onVideoPlayFinish}})]:[i("e-video-h5",{ref:"video",attrs:{lastTime:parseFloat(e.chapterVideo.progress&&e.chapterVideo.progress.pt||0),width:e.videoFlash.videoWidth,height:e.videoFlash.videoHeight,username:e.videoFlash.username,videoId:e.chapterVideo.id,videoSrt:e.chapterVideo.video_subtitle||"",chapterVideo:e.chapterVideo,videoType:e.videoType},on:{handlePlayTime:e.onVideoTimeChange,handlePlayfinish:e.onVideoPlayFinish,changeVideoArr:e.changeVideoArr}})]],2),e._v(" "),i("div",{class:["play-jiangyi",e.state.pptBoxShow?"":"hide"]},[e.ppts.length?[i("e-ppt",{ref:"ppt",attrs:{ppts:e.ppts,currentIndex:e.state.pptIndex},on:{onVideoSyncTime:e.setVideoTime,onPptOnly:e.togglePptBoxOnly,onClose:e.togglePptBox}})]:e._e()],2)]:[i("p",[e._v("课程视频数据不存在")])]],2),e._v(" "),i("div",{staticClass:"play-footer"},[i("div",{staticClass:"fl"}),e._v(" "),i("div",{staticClass:"fr"},[e.chapterVideo.pdf?[i("em",{staticClass:"play-state play-state-ppt"},[i("a",{attrs:{href:e.chapterVideo.pdf,target:"_blank"}},[e._v("下载PPT")])])]:e._e(),e._v(" "),e.ppts.length?[i("em",{class:["play-state","play-state-ppt"+(e.state.pptBoxShow?"-active":"")],on:{click:e.togglePptBox}},[e._v("同步显示PPT")])]:e._e(),e._v(" "),i("em",{class:["play-state","play-state-check"+(e.state.skipBegin?"-active":"")],on:{click:e.toggleSkipBegin}},[e._v("始终跳过片头")])],2)])])}var r=[];i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r})},494:function(e,t,i){"use strict";function n(){var e=this,t=this,i=t.$createElement,n=t._self._c||i;return n("div",{ref:"wrap",staticClass:"play-ppt"},[t.ppts.length?[n("div",{ref:"preview",staticClass:"play-preview"},[t.ppts[t.state.index]&&t.ppts[t.state.index].ppt_url?[n("img",{staticClass:"play-ppt-img",staticStyle:{"vertical-align":"middle"},attrs:{src:t.ppts[t.state.index].ppt_url}})]:t._e()],2),t._v(" "),n("div",{staticClass:"play-controls cl"},[n("div",{staticStyle:{float:"left"}},[0<=t.state.index?[n("a",{staticStyle:{margin:"0 20px 0 0",color:"#fff"},attrs:{href:"#"},on:{click:t.prev}},[n("i",{staticClass:"el-icon-arrow-left"})])]:t._e(),t._v(" "),t.state.index+1<t.ppts.length?[n("a",{attrs:{href:"#"},on:{click:t.next}},[n("i",{staticClass:"el-icon-arrow-right",staticStyle:{color:"#fff"}})])]:t._e()],2),t._v(" "),n("div",{staticClass:"play-page"},[n("span",{staticClass:"play-now"},[t._v(t._s(t.state.index+1))]),t._v("\n /\n "),n("span",{staticClass:"play-total"},[t._v(t._s(t.ppts.length))]),t._v("页\n ")]),t._v(" "),n("div",{staticClass:"play-amazing"},[n("i",{class:["el-icon-self-xuexiao",t.state.sync?"active":""],on:{click:t.onToggleSync}}),t._v(" "),n("i",{staticClass:"el-icon-self-quanping",on:{click:function(){e.$emit("onPptOnly")}}}),t._v(" "),n("i",{staticClass:"el-icon-self-shipin",on:{click:t.onSetVideoTime}}),t._v(" "),n("i",{staticClass:"el-icon-self-guanbi",on:{click:function(){e.$emit("onClose")}}})])])]:t._e()],2)}var r=[];i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r})},495:function(e,t,i){"use strict";function n(){this.$createElement;return this._self._c,this._m(0)}var r=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"playerWrap"}},[t("div",{attrs:{id:"player"}},[t("p",[this._v("您还没有安装flash播放器,请 "),t("a",{attrs:{href:"http://www.adobe.com/go/getflash",target:"_blank"}},[this._v("点击这里安装")])])])])}];i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r})},497:function(e,t,i){"use strict";function n(){this.$createElement;return this._self._c,this._m(0)}var r=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"playerWrap"}},[t("div",{attrs:{id:"player"}})])}];i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{286:function(t,e,i){"use strict";i.r(e);var s=i(455),a=i(392);for(var r in a)"default"!==r&&function(t){i.d(e,t,function(){return a[t]})}(r);i(438);var o=i(1),n=Object(o.a)(a.default,s.a,s.b,!1,null,"91e64310",null);e.default=n.exports},392:function(t,e,i){"use strict";i.r(e);var s=i(393),a=i.n(s);for(var r in s)"default"!==r&&function(t){i.d(e,t,function(){return s[t]})}(r);e.default=a.a},393:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(i(394)),o=a(i(45)),n=a(i(80)),s=a(i(81));function a(t){return t&&t.__esModule?t:{default:t}}e.default={props:{sid:{type:String,require:!1},cid:{type:String,require:!1}},data:function(){var t=JSON.parse(window.localStorage.getItem("headerInfo")||"{}");return{dataQuestion:s.default.cloneDeep(r.default.question),headerInfo:t,exam:{id:"",semester_id:"",title:"",score:"",work_contents:"",group:[]},param:{semester_id:"",course_id:"",raw:""},count:0,startTime:"",setTime:null,radioCur:"",checkCur:"",curPage:1,selectId:"",progress:"",total:7,lastPage:!1}},mounted:function(){var t=window.localStorage.getItem("quesLocal"+this.sid+this.cid),e=window.localStorage.getItem("quesPage"+this.sid+this.cid),i=window.localStorage.getItem("quesSelectId"+this.sid+this.cid);t&&(r.default.question=JSON.parse(t),this.curPage=e,this.selectId=i),this.loadQuestion()},destroyed:function(){r.default.question=this.dataQuestion},methods:{goSubmit:function(){for(var e=this,t=0;t<r.default.question.length;t++){var i=r.default.question[t];if(3===i.type)for(var s=0;s<i.arr.length;s++)if(0===i.arr[s].star)return void this.$message.error("尚有内容未填写,请填写完整每一项");if(4===i.type&&""===i.area)return void this.$message.error("尚有内容未填写,请填写完整每一项")}var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.chapterAction.updateSurveyAnswer({semester_id:this.sid,course_id:this.cid,raw:n.default.encode(JSON.stringify(r.default.question))}).then(function(t){e.$message.success("感谢你的宝贵意见。"),window.localStorage.removeItem("quesLocal"+e.sid+e.cid),window.localStorage.removeItem("quesPage"+e.sid+e.cid),window.localStorage.removeItem("quesSelectId"+e.sid+e.cid),a.close(),setTimeout(function(){e.$router.push({path:"/app/my-learn/course-detail/"+e.cid})},2e3)}).catch(function(t){window.localStorage.setItem("quesLocal"+e.sid+e.cid,JSON.stringify(r.default.question)),window.localStorage.setItem("quesPage"+e.sid+e.cid,e.curPage),window.localStorage.setItem("quesSelectId"+e.sid+e.cid,e.selectId),e.$message.error("提交失败,请稍后刷新重试"),a.close()})},loadQuestion:function(){this.exam.group=[];for(var t=0;t<r.default.question.length;t++){new RegExp("^\\d+-"+this.curPage,"gi").test(r.default.question[t].id)&&(this.exam.group.push(r.default.question[t]),r.default.question[t].submit?this.lastPage=!0:this.lastPage=!1)}this.progress=(this.curPage-1)/this.total*100+"%"},nextPage:function(){for(var t=0;t<this.exam.group.length;t++)if(!this.exam.group[t].flag)return void this.$message.error("本页尚有题目未填写");this.curPage++,this.loadQuestion(),window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(r.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)},prevPage:function(){this.curPage--,this.loadQuestion()},radioClick:function(t){this.radioCur=t.currentTarget.dataset.index},radioChange:function(t){for(var e=this.radioCur,i=this.exam.group[e].arr,s=t,a=0;a<i.length;a++)i[a].selected=0;i[s].selected=1,this.exam.group[e].flag=!0},checkboxClick:function(t){this.checkboxCur=t.currentTarget.dataset.index},checkboxChange:function(t){for(var e=this.checkboxCur,i=this.exam.group[e].arr,s=t,a=0;a<i.length;a++)i[a].selected=0;for(var r=0;r<s.length;r++)i[s[r]].selected=1;s.length?this.exam.group[e].flag=!0:this.exam.group[e].flag=!1},hoverStar:function(t,e,i){},setStar:function(t,e,i){this.exam.group[t].arr[i].star=e,window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(r.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)},leaveSave:function(){window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(r.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)}}}},394:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={question:[{id:"1-1-1",type:3,title:"教学评价:",arr:[{id:"1-1-1-1",option:"教师授课语言的准确度、精练和生动性",star:0},{id:"2-1-1-1",option:"教师授课思路的清晰和连贯性",star:0},{id:"3-1-1-1",option:"老师准备的教学工具是否到位",star:0},{id:"4-1-1-1",option:"老师的专业知识和能力",star:0},{id:"5-1-1-1",option:"对老师教学的整体评价",star:0}]},{id:"2-1-2",type:3,title:"课程内容评价:",arr:[{id:"1-2-1-2",option:"学到了有用的概念或工具",star:0},{id:"2-2-1-2",option:"内容逻辑清晰,重点突出",star:0},{id:"3-2-1-2",option:"课程安排的教学进度",star:0},{id:"4-2-1-2",option:"能够提升理论高度/拓展思维",star:0},{id:"5-2-1-2",option:"对课程的整体评价",star:0}]},{id:"3-1-3",type:3,title:"教务评价:",arr:[{id:"1-3-1-3",option:"班主任老师的带班能力(对班级的管理、对学生学习的督促以及解决学生问题的能力等)",star:0},{id:"2-3-1-3",option:"班主任老师的专业度(对课程的了解、对学生的了解和解答问题的专业性)",star:0},{id:"3-3-1-3",option:"班主任老师的总体满意度",star:0}]},{id:"4-1-4",type:4,title:"对于本次课程,您的收获是什么?",arr:[],area:""},{id:"5-1-5",type:4,title:"对于本次课程,您对老师的教学有什么好的建议?",arr:[],area:""},{id:"6-1-6",type:4,title:"对于本次课程,您对课程安排有什么好的建议?",arr:[],area:""},{id:"7-1-7",type:4,title:"对于本次课程,您对教务管理、班级管理方面有什么建议?",arr:[],area:"",submit:!0}]}},395:function(t,e,i){},438:function(t,e,i){"use strict";var s=i(395);i.n(s).a},455:function(t,e,i){"use strict";function s(){var a=this,t=a.$createElement,r=a._self._c||t;return r("div",{staticClass:"survey-container"},[r("div",{staticClass:"header"},[r("div",{staticClass:"title"},[a._v("清控紫荆课堂教学服务评估表")]),a._v(" "),r("div",{staticClass:"sub-title"},[a._v("您好!为保证我们能够为您提供更优质的课程,提高教学质量及服务,请您对此次课程提出宝贵的意见和建议。感谢您对我们工作的支持!(请您选择星级,选中1颗星为1分,最高5颗星)。请用1(低)到5(高)为每一项打分,并加上任何您想写的评论。")]),a._v(" "),r("div",{staticClass:"sub-left"},[a._v("课程名称:"+a._s(a.headerInfo.title)+"\n ")])]),a._v(" "),r("div",{staticClass:"progress"},[r("div",{staticClass:"cur-progress",style:{width:a.progress}})]),a._v(" "),r("div",{staticClass:"exam-box"},[a._l(a.exam.group,function(i,s){return[1===i.type?[r("div",{key:s,staticClass:"q-group",attrs:{"data-index":s},on:{click:a.radioClick}},[r("div",{staticClass:"q-item"},[a._v(a._s(i.title))]),a._v(" "),r("el-radio-group",{staticClass:"radio-group",on:{change:a.radioChange},model:{value:i.sel,callback:function(t){a.$set(i,"sel",t)},expression:"item.sel"}},[a._l(i.arr,function(e,t){return[r("el-radio",{key:t,class:["radio"],attrs:{label:t,disabled:!!i.cur}},[a._v(a._s(e.option))]),a._v(" "),void 0!==e.txt&&e.selected?[r("el-input",{key:e.id,attrs:{placeholder:"请说明"},model:{value:e.txt,callback:function(t){a.$set(e,"txt",t)},expression:"item1.txt"}})]:a._e()]})],2)],1)]:a._e(),a._v(" "),2===i.type?[r("div",{key:s,staticClass:"q-group",attrs:{"data-index":s},on:{click:a.checkboxClick}},[r("div",{staticClass:"q-item"},[a._v(a._s(i.title))]),a._v(" "),r("el-checkbox-group",{staticClass:"checkbox-group",on:{change:a.checkboxChange},model:{value:i.arrSel,callback:function(t){a.$set(i,"arrSel",t)},expression:"item.arrSel"}},[a._l(i.arr,function(e,t){return[r("el-checkbox",{key:e.id,class:["checkbox"],attrs:{label:t,disabled:!!i.cur}},[a._v(a._s(e.option))]),a._v(" "),void 0!==e.txt&&e.selected?[r("el-input",{key:t,attrs:{placeholder:"请说明"},model:{value:e.txt,callback:function(t){a.$set(e,"txt",t)},expression:"item1.txt"}})]:a._e()]})],2)],1)]:a._e(),a._v(" "),3===i.type||4===i.type?[r("div",{key:s,staticClass:"q-group"},[r("div",{staticClass:"q-item"},[a._v(a._s(i.title))]),a._v(" "),a._l(i.arr,function(t,e){return[r("div",{key:t.id,staticClass:"star-item"},[r("div",{staticClass:"left-txt"},[a._v(a._s(t.option))]),a._v(" "),void 0!==t.star?[r("div",{staticClass:"right-stars"},[r("i",{class:["icon",1<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,1,e)},mouseenter:function(t){return a.hoverStar(s,1,e)}}}),a._v(" "),r("i",{class:["icon",2<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,2,e)},mouseenter:function(t){return a.hoverStar(s,2,e)}}}),a._v(" "),r("i",{class:["icon",3<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,3,e)},mouseenter:function(t){return a.hoverStar(s,3,e)}}}),a._v(" "),r("i",{class:["icon",4<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,4,e)},mouseenter:function(t){return a.hoverStar(s,4,e)}}}),a._v(" "),r("i",{class:["icon",5===t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,5,e)},mouseenter:function(t){return a.hoverStar(s,5,e)}}})])]:a._e()],2)]}),a._v(" "),r("div",{staticStyle:{width:"100%",height:"20px"}}),a._v(" "),void 0!==i.area?[r("el-input",{attrs:{type:"textarea",rows:4,placeholder:"还有哪些需要改进的方面"},on:{blur:a.leaveSave},model:{value:i.area,callback:function(t){a.$set(i,"area",t)},expression:"item.area"}})]:a._e()],2)]:a._e()]}),a._v(" "),r("div",{staticClass:"bottom"},[a._v("如果您在清控紫荆课堂的收获比较大,我们会非常感谢您帮助我们推荐和您一样优秀的学员加入到清控紫荆课堂的大家庭,具体请联系您所在班的班主任。")]),a._v(" "),r("div",{class:["btn",1<this.curPage?"":"none"],on:{click:a.prevPage}},[a._v("上一页")]),a._v(" "),a.lastPage?[r("div",{staticClass:"btn",on:{click:a.goSubmit}},[a._v("提交")])]:[r("div",{staticClass:"btn",on:{click:a.nextPage}},[a._v("下一页")])]],2)])}var a=[];i.d(e,"a",function(){return s}),i.d(e,"b",function(){return a})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{296:function(t,e,i){"use strict";i.r(e);var s=i(470),a=i(405);for(var r in a)"default"!==r&&function(t){i.d(e,t,function(){return a[t]})}(r);i(452);var o=i(0),n=Object(o.a)(a.default,s.a,s.b,!1,null,"91e64310",null);e.default=n.exports},405:function(t,e,i){"use strict";i.r(e);var s=i(406),a=i.n(s);for(var r in s)"default"!==r&&function(t){i.d(e,t,function(){return s[t]})}(r);e.default=a.a},406:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(i(407)),o=a(i(48)),n=a(i(49)),s=a(i(85));function a(t){return t&&t.__esModule?t:{default:t}}e.default={props:{sid:{type:String,require:!1},cid:{type:String,require:!1}},data:function(){var t=JSON.parse(window.localStorage.getItem("headerInfo")||"{}");return{dataQuestion:s.default.cloneDeep(r.default.question),headerInfo:t,exam:{id:"",semester_id:"",title:"",score:"",work_contents:"",group:[]},param:{semester_id:"",course_id:"",raw:""},count:0,startTime:"",setTime:null,radioCur:"",checkCur:"",curPage:1,selectId:"",progress:"",total:7,lastPage:!1}},mounted:function(){var t=window.localStorage.getItem("quesLocal"+this.sid+this.cid),e=window.localStorage.getItem("quesPage"+this.sid+this.cid),i=window.localStorage.getItem("quesSelectId"+this.sid+this.cid);t&&(r.default.question=JSON.parse(t),this.curPage=e,this.selectId=i),this.loadQuestion()},destroyed:function(){r.default.question=this.dataQuestion},methods:{goSubmit:function(){for(var e=this,t=0;t<r.default.question.length;t++){var i=r.default.question[t];if(3===i.type)for(var s=0;s<i.arr.length;s++)if(0===i.arr[s].star)return void this.$message.error("尚有内容未填写,请填写完整每一项");if(4===i.type&&""===i.area)return void this.$message.error("尚有内容未填写,请填写完整每一项")}var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.chapterAction.updateSurveyAnswer({semester_id:this.sid,course_id:this.cid,raw:n.default.encode(JSON.stringify(r.default.question))}).then(function(t){e.$message.success("感谢你的宝贵意见。"),window.localStorage.removeItem("quesLocal"+e.sid+e.cid),window.localStorage.removeItem("quesPage"+e.sid+e.cid),window.localStorage.removeItem("quesSelectId"+e.sid+e.cid),a.close(),setTimeout(function(){e.$router.push({path:"/app/my-learn/course-detail/"+e.cid})},2e3)}).catch(function(t){window.localStorage.setItem("quesLocal"+e.sid+e.cid,JSON.stringify(r.default.question)),window.localStorage.setItem("quesPage"+e.sid+e.cid,e.curPage),window.localStorage.setItem("quesSelectId"+e.sid+e.cid,e.selectId),e.$message.error("提交失败,请稍后刷新重试"),a.close()})},loadQuestion:function(){this.exam.group=[];for(var t=0;t<r.default.question.length;t++){new RegExp("^\\d+-"+this.curPage,"gi").test(r.default.question[t].id)&&(this.exam.group.push(r.default.question[t]),r.default.question[t].submit?this.lastPage=!0:this.lastPage=!1)}this.progress=(this.curPage-1)/this.total*100+"%"},nextPage:function(){for(var t=0;t<this.exam.group.length;t++)if(!this.exam.group[t].flag)return void this.$message.error("本页尚有题目未填写");this.curPage++,this.loadQuestion(),window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(r.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)},prevPage:function(){this.curPage--,this.loadQuestion()},radioClick:function(t){this.radioCur=t.currentTarget.dataset.index},radioChange:function(t){for(var e=this.radioCur,i=this.exam.group[e].arr,s=t,a=0;a<i.length;a++)i[a].selected=0;i[s].selected=1,this.exam.group[e].flag=!0},checkboxClick:function(t){this.checkboxCur=t.currentTarget.dataset.index},checkboxChange:function(t){for(var e=this.checkboxCur,i=this.exam.group[e].arr,s=t,a=0;a<i.length;a++)i[a].selected=0;for(var r=0;r<s.length;r++)i[s[r]].selected=1;s.length?this.exam.group[e].flag=!0:this.exam.group[e].flag=!1},hoverStar:function(t,e,i){},setStar:function(t,e,i){this.exam.group[t].arr[i].star=e,window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(r.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)},leaveSave:function(){window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(r.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)}}}},407:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={question:[{id:"1-1-1",type:3,title:"教学评价:",arr:[{id:"1-1-1-1",option:"教师授课语言的准确度、精练和生动性",star:0},{id:"2-1-1-1",option:"教师授课思路的清晰和连贯性",star:0},{id:"3-1-1-1",option:"老师准备的教学工具是否到位",star:0},{id:"4-1-1-1",option:"老师的专业知识和能力",star:0},{id:"5-1-1-1",option:"对老师教学的整体评价",star:0}]},{id:"2-1-2",type:3,title:"课程内容评价:",arr:[{id:"1-2-1-2",option:"学到了有用的概念或工具",star:0},{id:"2-2-1-2",option:"内容逻辑清晰,重点突出",star:0},{id:"3-2-1-2",option:"课程安排的教学进度",star:0},{id:"4-2-1-2",option:"能够提升理论高度/拓展思维",star:0},{id:"5-2-1-2",option:"对课程的整体评价",star:0}]},{id:"3-1-3",type:3,title:"教务评价:",arr:[{id:"1-3-1-3",option:"班主任老师的带班能力(对班级的管理、对学生学习的督促以及解决学生问题的能力等)",star:0},{id:"2-3-1-3",option:"班主任老师的专业度(对课程的了解、对学生的了解和解答问题的专业性)",star:0},{id:"3-3-1-3",option:"班主任老师的总体满意度",star:0}]},{id:"4-1-4",type:4,title:"对于本次课程,您的收获是什么?",arr:[],area:""},{id:"5-1-5",type:4,title:"对于本次课程,您对老师的教学有什么好的建议?",arr:[],area:""},{id:"6-1-6",type:4,title:"对于本次课程,您对课程安排有什么好的建议?",arr:[],area:""},{id:"7-1-7",type:4,title:"对于本次课程,您对教务管理、班级管理方面有什么建议?",arr:[],area:"",submit:!0}]}},408:function(t,e,i){},452:function(t,e,i){"use strict";var s=i(408);i.n(s).a},470:function(t,e,i){"use strict";function s(){var a=this,t=a.$createElement,r=a._self._c||t;return r("div",{staticClass:"survey-container"},[r("div",{staticClass:"header"},[r("div",{staticClass:"title"},[a._v("清控紫荆课堂教学服务评估表")]),a._v(" "),r("div",{staticClass:"sub-title"},[a._v("您好!为保证我们能够为您提供更优质的课程,提高教学质量及服务,请您对此次课程提出宝贵的意见和建议。感谢您对我们工作的支持!(请您选择星级,选中1颗星为1分,最高5颗星)。请用1(低)到5(高)为每一项打分,并加上任何您想写的评论。")]),a._v(" "),r("div",{staticClass:"sub-left"},[a._v("课程名称:"+a._s(a.headerInfo.title)+"\n ")])]),a._v(" "),r("div",{staticClass:"progress"},[r("div",{staticClass:"cur-progress",style:{width:a.progress}})]),a._v(" "),r("div",{staticClass:"exam-box"},[a._l(a.exam.group,function(i,s){return[1===i.type?[r("div",{key:s,staticClass:"q-group",attrs:{"data-index":s},on:{click:a.radioClick}},[r("div",{staticClass:"q-item"},[a._v(a._s(i.title))]),a._v(" "),r("el-radio-group",{staticClass:"radio-group",on:{change:a.radioChange},model:{value:i.sel,callback:function(t){a.$set(i,"sel",t)},expression:"item.sel"}},[a._l(i.arr,function(e,t){return[r("el-radio",{key:t,class:["radio"],attrs:{label:t,disabled:!!i.cur}},[a._v(a._s(e.option))]),a._v(" "),void 0!==e.txt&&e.selected?[r("el-input",{key:e.id,attrs:{placeholder:"请说明"},model:{value:e.txt,callback:function(t){a.$set(e,"txt",t)},expression:"item1.txt"}})]:a._e()]})],2)],1)]:a._e(),a._v(" "),2===i.type?[r("div",{key:s,staticClass:"q-group",attrs:{"data-index":s},on:{click:a.checkboxClick}},[r("div",{staticClass:"q-item"},[a._v(a._s(i.title))]),a._v(" "),r("el-checkbox-group",{staticClass:"checkbox-group",on:{change:a.checkboxChange},model:{value:i.arrSel,callback:function(t){a.$set(i,"arrSel",t)},expression:"item.arrSel"}},[a._l(i.arr,function(e,t){return[r("el-checkbox",{key:e.id,class:["checkbox"],attrs:{label:t,disabled:!!i.cur}},[a._v(a._s(e.option))]),a._v(" "),void 0!==e.txt&&e.selected?[r("el-input",{key:t,attrs:{placeholder:"请说明"},model:{value:e.txt,callback:function(t){a.$set(e,"txt",t)},expression:"item1.txt"}})]:a._e()]})],2)],1)]:a._e(),a._v(" "),3===i.type||4===i.type?[r("div",{key:s,staticClass:"q-group"},[r("div",{staticClass:"q-item"},[a._v(a._s(i.title))]),a._v(" "),a._l(i.arr,function(t,e){return[r("div",{key:t.id,staticClass:"star-item"},[r("div",{staticClass:"left-txt"},[a._v(a._s(t.option))]),a._v(" "),void 0!==t.star?[r("div",{staticClass:"right-stars"},[r("i",{class:["icon",1<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,1,e)},mouseenter:function(t){return a.hoverStar(s,1,e)}}}),a._v(" "),r("i",{class:["icon",2<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,2,e)},mouseenter:function(t){return a.hoverStar(s,2,e)}}}),a._v(" "),r("i",{class:["icon",3<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,3,e)},mouseenter:function(t){return a.hoverStar(s,3,e)}}}),a._v(" "),r("i",{class:["icon",4<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,4,e)},mouseenter:function(t){return a.hoverStar(s,4,e)}}}),a._v(" "),r("i",{class:["icon",5===t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,5,e)},mouseenter:function(t){return a.hoverStar(s,5,e)}}})])]:a._e()],2)]}),a._v(" "),r("div",{staticStyle:{width:"100%",height:"20px"}}),a._v(" "),void 0!==i.area?[r("el-input",{attrs:{type:"textarea",rows:4,placeholder:"还有哪些需要改进的方面"},on:{blur:a.leaveSave},model:{value:i.area,callback:function(t){a.$set(i,"area",t)},expression:"item.area"}})]:a._e()],2)]:a._e()]}),a._v(" "),r("div",{staticClass:"bottom"},[a._v("如果您在清控紫荆课堂的收获比较大,我们会非常感谢您帮助我们推荐和您一样优秀的学员加入到清控紫荆课堂的大家庭,具体请联系您所在班的班主任。")]),a._v(" "),r("div",{class:["btn",1<this.curPage?"":"none"],on:{click:a.prevPage}},[a._v("上一页")]),a._v(" "),a.lastPage?[r("div",{staticClass:"btn",on:{click:a.goSubmit}},[a._v("提交")])]:[r("div",{staticClass:"btn",on:{click:a.nextPage}},[a._v("下一页")])]],2)])}var a=[];i.d(e,"a",function(){return s}),i.d(e,"b",function(){return a})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{296:function(t,e,i){"use strict";i.r(e);var s=i(470),a=i(405);for(var r in a)"default"!==r&&function(t){i.d(e,t,function(){return a[t]})}(r);i(452);var o=i(0),n=Object(o.a)(a.default,s.a,s.b,!1,null,"efc112ec",null);e.default=n.exports},405:function(t,e,i){"use strict";i.r(e);var s=i(406),a=i.n(s);for(var r in s)"default"!==r&&function(t){i.d(e,t,function(){return s[t]})}(r);e.default=a.a},406:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(i(407)),o=a(i(48)),n=a(i(49)),s=a(i(85));function a(t){return t&&t.__esModule?t:{default:t}}e.default={props:{sid:{type:String,require:!1},cid:{type:String,require:!1}},data:function(){var t=JSON.parse(window.localStorage.getItem("headerInfo")||"{}");return{dataQuestion:s.default.cloneDeep(r.default.question),headerInfo:t,exam:{id:"",semester_id:"",title:"",score:"",work_contents:"",group:[]},param:{semester_id:"",course_id:"",raw:""},count:0,startTime:"",setTime:null,radioCur:"",checkCur:"",curPage:1,selectId:"",progress:"",total:7,lastPage:!1}},mounted:function(){var t=window.localStorage.getItem("quesLocal"+this.sid+this.cid),e=window.localStorage.getItem("quesPage"+this.sid+this.cid),i=window.localStorage.getItem("quesSelectId"+this.sid+this.cid);t&&(r.default.question=JSON.parse(t),this.curPage=e,this.selectId=i),this.loadQuestion()},destroyed:function(){r.default.question=this.dataQuestion},methods:{goSubmit:function(){for(var e=this,t=0;t<r.default.question.length;t++){var i=r.default.question[t];if(3===i.type)for(var s=0;s<i.arr.length;s++)if(0===i.arr[s].star)return void this.$message.error("尚有内容未填写,请填写完整每一项");if(4===i.type&&""===i.area)return void this.$message.error("尚有内容未填写,请填写完整每一项")}var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.chapterAction.updateSurveyAnswer({semester_id:this.sid,course_id:this.cid,raw:n.default.encode(JSON.stringify(r.default.question))}).then(function(t){e.$message.success("感谢你的宝贵意见。"),window.localStorage.removeItem("quesLocal"+e.sid+e.cid),window.localStorage.removeItem("quesPage"+e.sid+e.cid),window.localStorage.removeItem("quesSelectId"+e.sid+e.cid),a.close(),setTimeout(function(){e.$router.push({path:"/app/my-learn/course-detail/"+e.sid+"/"+e.cid})},2e3)}).catch(function(t){window.localStorage.setItem("quesLocal"+e.sid+e.cid,JSON.stringify(r.default.question)),window.localStorage.setItem("quesPage"+e.sid+e.cid,e.curPage),window.localStorage.setItem("quesSelectId"+e.sid+e.cid,e.selectId),e.$message.error("提交失败,请稍后刷新重试"),a.close()})},loadQuestion:function(){this.exam.group=[];for(var t=0;t<r.default.question.length;t++){new RegExp("^\\d+-"+this.curPage,"gi").test(r.default.question[t].id)&&(this.exam.group.push(r.default.question[t]),r.default.question[t].submit?this.lastPage=!0:this.lastPage=!1)}this.progress=(this.curPage-1)/this.total*100+"%"},nextPage:function(){for(var t=0;t<this.exam.group.length;t++)if(!this.exam.group[t].flag)return void this.$message.error("本页尚有题目未填写");this.curPage++,this.loadQuestion(),window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(r.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)},prevPage:function(){this.curPage--,this.loadQuestion()},radioClick:function(t){this.radioCur=t.currentTarget.dataset.index},radioChange:function(t){for(var e=this.radioCur,i=this.exam.group[e].arr,s=t,a=0;a<i.length;a++)i[a].selected=0;i[s].selected=1,this.exam.group[e].flag=!0},checkboxClick:function(t){this.checkboxCur=t.currentTarget.dataset.index},checkboxChange:function(t){for(var e=this.checkboxCur,i=this.exam.group[e].arr,s=t,a=0;a<i.length;a++)i[a].selected=0;for(var r=0;r<s.length;r++)i[s[r]].selected=1;s.length?this.exam.group[e].flag=!0:this.exam.group[e].flag=!1},hoverStar:function(t,e,i){},setStar:function(t,e,i){this.exam.group[t].arr[i].star=e,window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(r.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)},leaveSave:function(){window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(r.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)}}}},407:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={question:[{id:"1-1-1",type:3,title:"教学评价:",arr:[{id:"1-1-1-1",option:"教师授课语言的准确度、精练和生动性",star:0},{id:"2-1-1-1",option:"教师授课思路的清晰和连贯性",star:0},{id:"3-1-1-1",option:"老师准备的教学工具是否到位",star:0},{id:"4-1-1-1",option:"老师的专业知识和能力",star:0},{id:"5-1-1-1",option:"对老师教学的整体评价",star:0}]},{id:"2-1-2",type:3,title:"课程内容评价:",arr:[{id:"1-2-1-2",option:"学到了有用的概念或工具",star:0},{id:"2-2-1-2",option:"内容逻辑清晰,重点突出",star:0},{id:"3-2-1-2",option:"课程安排的教学进度",star:0},{id:"4-2-1-2",option:"能够提升理论高度/拓展思维",star:0},{id:"5-2-1-2",option:"对课程的整体评价",star:0}]},{id:"3-1-3",type:3,title:"教务评价:",arr:[{id:"1-3-1-3",option:"班主任老师的带班能力(对班级的管理、对学生学习的督促以及解决学生问题的能力等)",star:0},{id:"2-3-1-3",option:"班主任老师的专业度(对课程的了解、对学生的了解和解答问题的专业性)",star:0},{id:"3-3-1-3",option:"班主任老师的总体满意度",star:0}]},{id:"4-1-4",type:4,title:"对于本次课程,您的收获是什么?",arr:[],area:""},{id:"5-1-5",type:4,title:"对于本次课程,您对老师的教学有什么好的建议?",arr:[],area:""},{id:"6-1-6",type:4,title:"对于本次课程,您对课程安排有什么好的建议?",arr:[],area:""},{id:"7-1-7",type:4,title:"对于本次课程,您对教务管理、班级管理方面有什么建议?",arr:[],area:"",submit:!0}]}},408:function(t,e,i){},452:function(t,e,i){"use strict";var s=i(408);i.n(s).a},470:function(t,e,i){"use strict";function s(){var a=this,t=a.$createElement,r=a._self._c||t;return r("div",{staticClass:"survey-container"},[r("div",{staticClass:"header"},[r("div",{staticClass:"title"},[a._v("索菲亚MBA课程教学服务评估表")]),a._v(" "),r("div",{staticClass:"sub-title"},[a._v("您好!为保证我们能够为您提供更优质的课程,提高教学质量及服务,请您对此次课程提出宝贵的意见和建议。感谢您对我们工作的支持!(请您选择星级,选中1颗星为1分,最高5颗星)。请用1(低)到5(高)为每一项打分,并加上任何您想写的评论。")]),a._v(" "),r("div",{staticClass:"sub-left"},[a._v("课程名称:"+a._s(a.headerInfo.title)+"\n ")])]),a._v(" "),r("div",{staticClass:"progress"},[r("div",{staticClass:"cur-progress",style:{width:a.progress}})]),a._v(" "),r("div",{staticClass:"exam-box"},[a._l(a.exam.group,function(i,s){return[1===i.type?[r("div",{key:s,staticClass:"q-group",attrs:{"data-index":s},on:{click:a.radioClick}},[r("div",{staticClass:"q-item"},[a._v(a._s(i.title))]),a._v(" "),r("el-radio-group",{staticClass:"radio-group",on:{change:a.radioChange},model:{value:i.sel,callback:function(t){a.$set(i,"sel",t)},expression:"item.sel"}},[a._l(i.arr,function(e,t){return[r("el-radio",{key:t,class:["radio"],attrs:{label:t,disabled:!!i.cur}},[a._v(a._s(e.option))]),a._v(" "),void 0!==e.txt&&e.selected?[r("el-input",{key:e.id,attrs:{placeholder:"请说明"},model:{value:e.txt,callback:function(t){a.$set(e,"txt",t)},expression:"item1.txt"}})]:a._e()]})],2)],1)]:a._e(),a._v(" "),2===i.type?[r("div",{key:s,staticClass:"q-group",attrs:{"data-index":s},on:{click:a.checkboxClick}},[r("div",{staticClass:"q-item"},[a._v(a._s(i.title))]),a._v(" "),r("el-checkbox-group",{staticClass:"checkbox-group",on:{change:a.checkboxChange},model:{value:i.arrSel,callback:function(t){a.$set(i,"arrSel",t)},expression:"item.arrSel"}},[a._l(i.arr,function(e,t){return[r("el-checkbox",{key:e.id,class:["checkbox"],attrs:{label:t,disabled:!!i.cur}},[a._v(a._s(e.option))]),a._v(" "),void 0!==e.txt&&e.selected?[r("el-input",{key:t,attrs:{placeholder:"请说明"},model:{value:e.txt,callback:function(t){a.$set(e,"txt",t)},expression:"item1.txt"}})]:a._e()]})],2)],1)]:a._e(),a._v(" "),3===i.type||4===i.type?[r("div",{key:s,staticClass:"q-group"},[r("div",{staticClass:"q-item"},[a._v(a._s(i.title))]),a._v(" "),a._l(i.arr,function(t,e){return[r("div",{key:t.id,staticClass:"star-item"},[r("div",{staticClass:"left-txt"},[a._v(a._s(t.option))]),a._v(" "),void 0!==t.star?[r("div",{staticClass:"right-stars"},[r("i",{class:["icon",1<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,1,e)},mouseenter:function(t){return a.hoverStar(s,1,e)}}}),a._v(" "),r("i",{class:["icon",2<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,2,e)},mouseenter:function(t){return a.hoverStar(s,2,e)}}}),a._v(" "),r("i",{class:["icon",3<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,3,e)},mouseenter:function(t){return a.hoverStar(s,3,e)}}}),a._v(" "),r("i",{class:["icon",4<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,4,e)},mouseenter:function(t){return a.hoverStar(s,4,e)}}}),a._v(" "),r("i",{class:["icon",5===t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){return a.setStar(s,5,e)},mouseenter:function(t){return a.hoverStar(s,5,e)}}})])]:a._e()],2)]}),a._v(" "),r("div",{staticStyle:{width:"100%",height:"20px"}}),a._v(" "),void 0!==i.area?[r("el-input",{attrs:{type:"textarea",rows:4,placeholder:"还有哪些需要改进的方面"},on:{blur:a.leaveSave},model:{value:i.area,callback:function(t){a.$set(i,"area",t)},expression:"item.area"}})]:a._e()],2)]:a._e()]}),a._v(" "),r("div",{staticClass:"bottom"},[a._v("如果您在紫荆MBA学位课程的收获比较大,我们会非常感谢您帮助我们推荐和您一样优秀的学员加入到MBA的大家庭,具体请联系您所在班的班主任。")]),a._v(" "),r("div",{class:["btn",1<this.curPage?"":"none"],on:{click:a.prevPage}},[a._v("上一页")]),a._v(" "),a.lastPage?[r("div",{staticClass:"btn",on:{click:a.goSubmit}},[a._v("提交")])]:[r("div",{staticClass:"btn",on:{click:a.nextPage}},[a._v("下一页")])]],2)])}var a=[];i.d(e,"a",function(){return s}),i.d(e,"b",function(){return a})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{290:function(e,t,r){"use strict";r.r(t);var a=r(465),s=r(391);for(var i in s)"default"!==i&&function(e){r.d(t,e,function(){return s[e]})}(i);r(450);var c=r(0),o=Object(c.a)(s.default,a.a,a.b,!1,null,"9cab85c2",null);t.default=o.exports},391:function(e,t,r){"use strict";r.r(t);var a=r(392),s=r.n(a);for(var i in a)"default"!==i&&function(e){r.d(t,e,function(){return a[e]})}(i);t.default=s.a},392:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,s=r(48),h=(a=s)&&a.__esModule?a:{default:a};t.default={props:{chapterId:{type:String,require:!1},chapterName:{type:String,require:!1},chapterExam:{type:Object,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{exam:{},param:{course_id:"",chapter_id:"",work_id:"",semester_id:"",work_contents:"",duration:0,score:0},startTime:"",recordAll:[],setTime:null,radioCur:"",checkCur:""}},mounted:function(){this.loadAjax()},methods:{arrRandomSort:function(e){var t=null;t=e.shift(),e.push(t),t=e.shift(),e.push(t),t=e.shift(),e.push(t)},unArrRandomSort:function(e){var t=null;t=e.pop(),e.unshift(t),t=e.pop(),e.unshift(t),t=e.pop(),e.unshift(t)},updateData:function(l){return this.param={course_id:l.course_id,chapter_id:l.chapter_id,work_id:l.work_id,semester_id:l.semester_id,work_contents:"",duration:0,score:0},this.startTime=(new Date).getTime(),this.arrRandomSort(l.questions),{id:l.id,semester_id:l.semester_id,title:l.work_title,score:l.score||(0===l.score?"0":""),work_contents:l.work_contents||"",group:l.questions.map(function(e,t){var r="",a="",s=0,i=JSON.parse(e.question_options);i.forEach(function(e,t){if(e.checked)switch(t){case 0:r+="A,";break;case 1:r+="B,";break;case 2:r+="C,";break;case 3:r+="D,";break;case 4:r+="E,";break;case 5:r+="F,";break;case 6:r+="G,";break;case 7:r+="H,";break;case 8:r+="I,";break;case 9:r+="J,"}});var c="";if(l.work_contents){for(var o=JSON.parse(l.work_contents),n=0;n<o.length;n++)if(o[n].question_id===e.id){i=o[n].options,s=o[n].is_correct;break}if(1===e.question_type)for(var u=0;u<i.length;u++)if(i[u].selected){switch(c=u){case 0:a="A,";break;case 1:a="B,";break;case 2:a="C,";break;case 3:a="D,";break;case 4:a="E,";break;case 5:a="F,";break;case 6:a="G,";break;case 7:a="H,";break;case 8:a="I,";break;case 9:a="J,"}break}if(2===e.question_type)for(var d=0;d<i.length;d++)if(i[d].selected)switch(d){case 0:a+="A,";break;case 1:a+="B,";break;case 2:a+="C,";break;case 3:a+="D,";break;case 4:a+="E,";break;case 5:a+="F,";break;case 6:a+="G,";break;case 7:a+="H,";break;case 8:a+="I,";break;case 9:a+="J,"}}return{id:e.id,type:e.question_type,title:e.question_content,arr:i,cur:l.work_contents&&r.substr(0,r.length-1)||"",arrSel:[],sel:c,stuAnswer:a.substr(0,a.length-1),is_correct:s}})}},updateData1:function(e){this.exam.id=e.id,this.exam.semester_id=e.semester_id,this.exam.title=e.work_title,this.exam.score=e.score||"0",this.exam.work_contents=e.work_contents||"",this.arrRandomSort(e.questions);for(var t=0;t<this.exam.group.length;t++){var r="",a="",s=0,i=e.questions[t],c=JSON.parse(i.question_options);c.forEach(function(e,t){if(e.checked)switch(t){case 0:r+="A,";break;case 1:r+="B,";break;case 2:r+="C,";break;case 3:r+="D,";break;case 4:r+="E,";break;case 5:r+="F,";break;case 6:r+="G,";break;case 7:r+="H,";break;case 8:r+="I,";break;case 9:r+="J,"}});var o="";if(e.work_contents){for(var n=JSON.parse(e.work_contents),u=0;u<n.length;u++)if(n[u].question_id===i.id){c=n[u].options,s=n[u].is_correct;break}if(1===i.question_type)for(var d=0;d<c.length;d++)if(c[d].selected){switch(o=d){case 0:a="A,";break;case 1:a="B,";break;case 2:a="C,";break;case 3:a="D,";break;case 4:a="E,";break;case 5:a="F,";break;case 6:a="G,";break;case 7:a="H,";break;case 8:a="I,";break;case 9:a="J,"}break}if(2===i.question_type)for(var l=0;l<c.length;l++)if(c[l].selected)switch(l){case 0:a+="A,";break;case 1:a+="B,";break;case 2:a+="C,";break;case 3:a+="D,";break;case 4:a+="E,";break;case 5:a+="F,";break;case 6:a+="G,";break;case 7:a+="H,";break;case 8:a+="I,";break;case 9:a+="J,"}}this.exam.group[t].id=i.id,this.exam.group[t].type=i.question_type,this.exam.group[t].title=i.question_content,this.exam.group[t].cur=e.work_contents&&r.substr(0,r.length-1)||"",this.exam.group[t].arrSel=[],this.exam.group[t].sel=o,this.exam.group[t].stuAnswer=a.substr(0,a.length-1),this.exam.group[t].is_correct=s;for(var h=this.exam.group[t].arr,p=0;p<h.length;p++)h[p].selected=c[p].selected,h[p].id=h[p].id+"1"}},loadAjax:function(){var r=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});h.default.chapterAction.getExamDetail(this.sid,this.cid,this.id).then(function(e){var t=e.homework;t?(t.score=e.score,t.work_contents=e.work_contents,r.exam=r.updateData(t)):r.exam={}}).catch(function(e){r.$message.error(e.message)}).finally(function(){r.setTime=setInterval(function(){r.chapterExam.work_id&&r.chapterExam.work_id===r.id&&(r.exam.id||(r.exam=r.updateData(r.chapterExam),document.querySelector(".play-paper").scrollTop=0),clearInterval(r.setTime))},50),e.close()})},radioClick:function(e){this.radioCur=e.currentTarget.dataset.index},radioChange:function(e){for(var t=this.radioCur,r=this.exam.group[t].arr,a=e,s=0;s<r.length;s++)r[s].selected=0;r[a].selected=1,this.exam.group[t].arr=r,this.recordAll.push(t)},checkboxClick:function(e){this.checkboxCur=e.currentTarget.dataset.index},checkboxChange:function(e){for(var r=this.checkboxCur,t=this.exam.group[r].arr,a=e,s=0;s<t.length;s++)t[s].selected=0;for(var i=0;i<a.length;i++)t[a[i]].selected=1;this.exam.group[r].arr=t,a.length?this.recordAll.push(r):this.recordAll=this.recordAll.filter(function(e,t){return e!==r})},submitExam:function(e){var r=this;if(e.currentTarget.dataset.submit)this.$message.error("已做过,不能再提交");else{this.param.duration=Math.floor(((new Date).getTime()-this.startTime)/1e3);for(var t=this.exam.group,a=t.length,s=[],i=0,c=0,o=0;o<a;o++){for(var n=0;n<this.recordAll.length&&this.recordAll[n]!==o+"";n++);if(n===this.recordAll.length)return void this.$message.error("还有题目未做,不能提交")}for(var u=0;u<t.length;u++){if(c=0,1===t[u].type&&t[u].arr.forEach(function(e,t){e.checked&&e.selected&&(i+=c=1)}),2===t[u].type){var d=!0;t[u].arr.forEach(function(e,t){e.checked!==!!e.selected&&(d=!1)}),d&&(i+=c=1)}s.push({question_id:t[u].id,is_correct:c,options:t[u].arr})}this.unArrRandomSort(s),this.param.work_contents=JSON.stringify(s),this.param.score=(i/a*100).toFixed(1);var l=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});h.default.chapterAction.submitExamDetail(this.param).then(function(e){e.status?h.default.chapterAction.getExamDetail(r.sid,r.cid,r.id).then(function(e){var t=e.homework;t&&(t.score=e.score,t.work_contents=e.work_contents,r.updateData1(t))}).catch(function(e){r.$message.error(e.message)}):r.$message.error(e.data.error)}).catch(function(e){r.$message.error(e.message)}).finally(function(){l.close()})}},_SubmitMouseLeftDown:function(){var t=this.repeatExam.bind(this,!1);document.addEventListener("keydown",t,!1);document.addEventListener("mouseup",function e(){document.removeEventListener("keydown",t),document.removeEventListener("mouseup",e)},!1)},repeatExam:function(e,t){var r=this,a=t;if(70===e.keyCode&&(a=!0),a){var s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});h.default.chapterAction.getExamDetail(this.sid,this.cid,this.id).then(function(e){r.exam={}}).catch(function(e){r.$message.error(e.message)}).finally(function(){r.setTime=setInterval(function(){r.chapterExam.work_id&&r.chapterExam.work_id===r.id&&(r.exam.id||(r.exam=r.updateData(r.chapterExam),document.querySelector(".play-paper").scrollTop=0),clearInterval(r.setTime))},50),s.close()})}}},watch:{id:{handler:function(){this.loadAjax()}}}}},393:function(e,t,r){},450:function(e,t,r){"use strict";var a=r(393);r.n(a).a},465:function(e,t,r){"use strict";function a(){var a=this,e=a.$createElement,s=a._self._c||e;return s("div",{staticClass:"play-paper"},[s("div",{staticClass:"play-paper-body"},[s("div",{staticClass:"play-paper-title"},[s("div",[s("h3",[a._v(a._s(a.chapterName))])])]),a._v(" "),s("div",{staticClass:"play-paper-content play-chapter-exam"},[this.exam.id?[s("div",{staticClass:"exam"},[s("div",{staticStyle:{"text-align":"center"}},[s("div",{staticClass:"topic"},[a.exam.score?[s("div",{staticClass:"cur"},[a._v("正确率:"+a._s(a.exam.score)+"%")])]:a._e()],2)]),a._v(" "),s("div",{},[a._l(a.exam.group,function(r,e){return[1==r.type?[s("div",{key:e,staticClass:"q-group",attrs:{"data-index":e},on:{click:a.radioClick}},[s("div",{staticClass:"q-num"},[a._v(a._s(e+1)+".")]),s("div",{staticClass:"q-title",domProps:{innerHTML:a._s(r.title)}}),s("div",{staticClass:"q-type"},[a._v("(单选题)")]),a._v(" "),s("el-radio-group",{staticClass:"radio-group",on:{change:a.radioChange},model:{value:r.sel,callback:function(e){a.$set(r,"sel",e)},expression:"item.sel"}},[a._l(r.arr,function(e,t){return[s("el-radio",{key:t,class:["radio",r.cur&&e.checked&&"success",r.cur&&!e.checked&&e.selected&&"error"],attrs:{label:t,disabled:!!r.cur}},[a._v(a._s(0==t?"A":1==t?"B":2==t?"C":3==t?"D":4==t?"E":5==t?"F":6==t?"G":7==t?"H":8==t?"I":9==t?"J":"K")+". "+a._s(e.option))])]})],2),a._v(" "),r.cur?[s("div",{staticClass:"result"},[a._v("学生答案:"),s("div",{class:["stu",r.is_correct?"success":"error"]},[a._v(a._s(r.stuAnswer))]),a._v("    正确答案:"+a._s(r.cur))])]:a._e()],2)]:a._e(),a._v(" "),2==r.type?[s("div",{key:e,staticClass:"q-group",attrs:{"data-index":e},on:{click:a.checkboxClick}},[s("div",{staticClass:"q-num"},[a._v(a._s(e+1)+".")]),s("div",{staticClass:"q-title",domProps:{innerHTML:a._s(r.title)}}),s("div",{staticClass:"q-type"},[a._v("(多选题)")]),a._v(" "),s("el-checkbox-group",{staticClass:"checkbox-group",on:{change:a.checkboxChange},model:{value:r.arrSel,callback:function(e){a.$set(r,"arrSel",e)},expression:"item.arrSel"}},[a._l(r.arr,function(e,t){return[s("el-checkbox",{key:e.id,class:["checkbox",r.cur&&e.checked&&"success",r.cur&&!e.checked&&e.selected&&"error"],attrs:{label:t,checked:!!e.selected,disabled:!!r.cur}},[a._v(a._s(0==t?"A":1==t?"B":2==t?"C":3==t?"D":4==t?"E":5==t?"F":6==t?"G":7==t?"H":8==t?"I":9==t?"J":"K")+". "+a._s(e.option))])]})],2),a._v(" "),r.cur?[s("div",{staticClass:"result"},[a._v("学生答案:"),s("div",{class:["stu",r.is_correct?"success":"error"]},[a._v(a._s(r.stuAnswer))]),a._v("    正确答案:"+a._s(r.cur))])]:a._e()],2)]:a._e()]})],2),a._v(" "),s("div",{class:["btn",a.exam.work_contents&&"on"],attrs:{"data-submit":!!a.exam.work_contents},on:{click:a.submitExam,mousedown:function(e){return a._SubmitMouseLeftDown()}}},[a._v(a._s(a.exam.work_contents?"已提交":"提交"))]),a._v(" "),s("div",{staticClass:"care"},[a._v("(注意:测试只有一次提交机会)")])])]:a._e()],2)])])}var s=[];r.d(t,"a",function(){return a}),r.d(t,"b",function(){return s})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{281:function(e,t,r){"use strict";r.r(t);var a=r(449),s=r(381);for(var i in s)"default"!==i&&function(e){r.d(t,e,function(){return s[e]})}(i);r(437);var c=r(1),o=Object(c.a)(s.default,a.a,a.b,!1,null,"180250d6",null);t.default=o.exports},381:function(e,t,r){"use strict";r.r(t);var a=r(382),s=r.n(a);for(var i in a)"default"!==i&&function(e){r.d(t,e,function(){return a[e]})}(i);t.default=s.a},382:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,s=r(45),h=(a=s)&&a.__esModule?a:{default:a};t.default={props:{chapterId:{type:String,require:!1},chapterName:{type:String,require:!1},chapterExam:{type:Object,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{exam:{},param:{course_id:"",chapter_id:"",work_id:"",semester_id:"",work_contents:"",duration:0,score:0},startTime:"",recordAll:[],setTime:null,radioCur:"",checkCur:"",courseExam:!1}},mounted:function(){this.loadAjax()},methods:{arrRandomSort:function(e){var t=null;t=e.shift(),e.push(t),t=e.shift(),e.push(t),t=e.shift(),e.push(t)},unArrRandomSort:function(e){var t=null;t=e.pop(),e.unshift(t),t=e.pop(),e.unshift(t),t=e.pop(),e.unshift(t)},updateData:function(l){return this.param={course_id:l.course_id,chapter_id:l.chapter_id,work_id:l.work_id,semester_id:l.semester_id,work_contents:"",duration:0,score:0},this.startTime=(new Date).getTime(),this.arrRandomSort(l.questions),{id:l.id,semester_id:l.semester_id,title:l.work_title,score:l.score||(0===l.score?"0":""),work_contents:l.work_contents||"",group:l.questions.map(function(e,t){var r="",a="",s=0,i=JSON.parse(e.question_options);i.forEach(function(e,t){if(e.checked)switch(t){case 0:r+="A,";break;case 1:r+="B,";break;case 2:r+="C,";break;case 3:r+="D,";break;case 4:r+="E,";break;case 5:r+="F,";break;case 6:r+="G,";break;case 7:r+="H,";break;case 8:r+="I,";break;case 9:r+="J,"}});var c="";if(l.work_contents){for(var o=JSON.parse(l.work_contents),n=0;n<o.length;n++)if(o[n].question_id===e.id){i=o[n].options,s=o[n].is_correct;break}if(1===e.question_type)for(var u=0;u<i.length;u++)if(i[u].selected){switch(c=u){case 0:a="A,";break;case 1:a="B,";break;case 2:a="C,";break;case 3:a="D,";break;case 4:a="E,";break;case 5:a="F,";break;case 6:a="G,";break;case 7:a="H,";break;case 8:a="I,";break;case 9:a="J,"}break}if(2===e.question_type)for(var d=0;d<i.length;d++)if(i[d].selected)switch(d){case 0:a+="A,";break;case 1:a+="B,";break;case 2:a+="C,";break;case 3:a+="D,";break;case 4:a+="E,";break;case 5:a+="F,";break;case 6:a+="G,";break;case 7:a+="H,";break;case 8:a+="I,";break;case 9:a+="J,"}}return{id:e.id,type:e.question_type,title:e.question_content,arr:i,cur:l.work_contents&&r.substr(0,r.length-1)||"",arrSel:[],sel:c,stuAnswer:a.substr(0,a.length-1),is_correct:s}})}},updateData1:function(e){this.exam.id=e.id,this.exam.semester_id=e.semester_id,this.exam.title=e.work_title,this.exam.score=e.score||"0",this.exam.work_contents=e.work_contents||"",this.arrRandomSort(e.questions);for(var t=0;t<this.exam.group.length;t++){var r="",a="",s=0,i=e.questions[t],c=JSON.parse(i.question_options);c.forEach(function(e,t){if(e.checked)switch(t){case 0:r+="A,";break;case 1:r+="B,";break;case 2:r+="C,";break;case 3:r+="D,";break;case 4:r+="E,";break;case 5:r+="F,";break;case 6:r+="G,";break;case 7:r+="H,";break;case 8:r+="I,";break;case 9:r+="J,"}});var o="";if(e.work_contents){for(var n=JSON.parse(e.work_contents),u=0;u<n.length;u++)if(n[u].question_id===i.id){c=n[u].options,s=n[u].is_correct;break}if(1===i.question_type)for(var d=0;d<c.length;d++)if(c[d].selected){switch(o=d){case 0:a="A,";break;case 1:a="B,";break;case 2:a="C,";break;case 3:a="D,";break;case 4:a="E,";break;case 5:a="F,";break;case 6:a="G,";break;case 7:a="H,";break;case 8:a="I,";break;case 9:a="J,"}break}if(2===i.question_type)for(var l=0;l<c.length;l++)if(c[l].selected)switch(l){case 0:a+="A,";break;case 1:a+="B,";break;case 2:a+="C,";break;case 3:a+="D,";break;case 4:a+="E,";break;case 5:a+="F,";break;case 6:a+="G,";break;case 7:a+="H,";break;case 8:a+="I,";break;case 9:a+="J,"}}this.exam.group[t].id=i.id,this.exam.group[t].type=i.question_type,this.exam.group[t].title=i.question_content,this.exam.group[t].cur=e.work_contents&&r.substr(0,r.length-1)||"",this.exam.group[t].arrSel=[],this.exam.group[t].sel=o,this.exam.group[t].stuAnswer=a.substr(0,a.length-1),this.exam.group[t].is_correct=s;for(var h=this.exam.group[t].arr,p=0;p<h.length;p++)h[p].selected=c[p].selected,h[p].id=h[p].id+"1"}},loadAjax:function(){var r=this,t=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});h.default.chapterAction.getChapterList(this.cid,this.sid,this.id).then(function(e){e.curJson&&e.curJson.id===r.id&&e.curJson.homework.courseExam&&(r.courseExam=!0),(r.courseExam?h.default.chapterAction.getExamDetailAfterCourse:h.default.chapterAction.getExamDetail)(r.sid,r.cid,r.id).then(function(e){var t=e.homework;t?(t.score=e.score,t.work_contents=e.work_contents,r.exam=r.updateData(t)):r.exam={}}).catch(function(e){r.$message.error(e.message)}).finally(function(){r.setTime=setInterval(function(){r.chapterExam.work_id&&r.chapterExam.work_id===r.id&&(r.exam.id||(r.exam=r.updateData(r.chapterExam),document.querySelector(".play-paper").scrollTop=0),clearInterval(r.setTime))},50),t.close()})}).catch(function(e){r.$message.error(e.message)}).finally(function(){t.close()})},radioClick:function(e){this.radioCur=e.currentTarget.dataset.index},radioChange:function(e){for(var t=this.radioCur,r=this.exam.group[t].arr,a=e,s=0;s<r.length;s++)r[s].selected=0;r[a].selected=1,this.exam.group[t].arr=r,this.recordAll.push(t)},checkboxClick:function(e){this.checkboxCur=e.currentTarget.dataset.index},checkboxChange:function(e){for(var r=this.checkboxCur,t=this.exam.group[r].arr,a=e,s=0;s<t.length;s++)t[s].selected=0;for(var i=0;i<a.length;i++)t[a[i]].selected=1;this.exam.group[r].arr=t,a.length?this.recordAll.push(r):this.recordAll=this.recordAll.filter(function(e,t){return e!==r})},submitExam:function(e){var r=this;if(e.currentTarget.dataset.submit)this.$message.error("已做过,不能再提交");else{this.param.duration=Math.floor(((new Date).getTime()-this.startTime)/1e3);for(var t=this.exam.group,a=t.length,s=[],i=0,c=0,o=0;o<a;o++){for(var n=0;n<this.recordAll.length&&this.recordAll[n]!==o+"";n++);if(n===this.recordAll.length)return void this.$message.error("还有题目未做,不能提交")}for(var u=0;u<t.length;u++){if(c=0,1===t[u].type&&t[u].arr.forEach(function(e,t){e.checked&&e.selected&&(i+=c=1)}),2===t[u].type){var d=!0;t[u].arr.forEach(function(e,t){e.checked!==!!e.selected&&(d=!1)}),d&&(i+=c=1)}s.push({question_id:t[u].id,is_correct:c,options:t[u].arr})}this.unArrRandomSort(s),this.param.work_contents=JSON.stringify(s),this.param.score=(i/a*100).toFixed(1);var l=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});(this.courseExam?h.default.chapterAction.submitExamDetailAfterCourse:h.default.chapterAction.submitExamDetail)(this.param).then(function(e){if(e.status){(r.courseExam?h.default.chapterAction.getExamDetailAfterCourse:h.default.chapterAction.getExamDetail)(r.sid,r.cid,r.id).then(function(e){var t=e.homework;t&&(t.score=e.score,t.work_contents=e.work_contents,r.updateData1(t))}).catch(function(e){r.$message.error(e.message)})}else r.$message.error(e.data.error)}).catch(function(e){r.$message.error(e.message)}).finally(function(){l.close()})}},_SubmitMouseLeftDown:function(){var t=this.repeatExam.bind(this,!1);document.addEventListener("keydown",t,!1);document.addEventListener("mouseup",function e(){document.removeEventListener("keydown",t),document.removeEventListener("mouseup",e)},!1)},repeatExam:function(e,t){var r=this,a=t;if(70===e.keyCode&&(a=!0),a){var s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});(this.courseExam?h.default.chapterAction.getExamDetailAfterCourse:h.default.chapterAction.getExamDetail)(this.sid,this.cid,this.id).then(function(e){r.exam={}}).catch(function(e){r.$message.error(e.message)}).finally(function(){r.setTime=setInterval(function(){r.chapterExam.work_id&&r.chapterExam.work_id===r.id&&(r.exam.id||(r.exam=r.updateData(r.chapterExam),document.querySelector(".play-paper").scrollTop=0),clearInterval(r.setTime))},50),s.close()})}}},watch:{id:{handler:function(){this.loadAjax()}}}}},383:function(e,t,r){},437:function(e,t,r){"use strict";var a=r(383);r.n(a).a},449:function(e,t,r){"use strict";function a(){var a=this,e=a.$createElement,s=a._self._c||e;return s("div",{staticClass:"play-paper"},[s("div",{staticClass:"play-paper-body"},[s("div",{staticClass:"play-paper-title"},[s("div",[s("h3",[a._v(a._s(a.chapterName))])])]),a._v(" "),s("div",{staticClass:"play-paper-content play-chapter-exam"},[this.exam.id?[s("div",{staticClass:"exam"},[s("div",{staticStyle:{"text-align":"center"}},[s("div",{staticClass:"topic"},[a.exam.score?[s("div",{staticClass:"cur"},[a._v("正确率:"+a._s(a.exam.score)+"%")])]:a._e()],2)]),a._v(" "),s("div",{},[a._l(a.exam.group,function(r,e){return[1==r.type?[s("div",{key:e,staticClass:"q-group",attrs:{"data-index":e},on:{click:a.radioClick}},[s("div",{staticClass:"q-num"},[a._v(a._s(e+1)+".")]),s("div",{staticClass:"q-title",domProps:{innerHTML:a._s(r.title)}}),s("div",{staticClass:"q-type"},[a._v("(单选题)")]),a._v(" "),s("el-radio-group",{staticClass:"radio-group",on:{change:a.radioChange},model:{value:r.sel,callback:function(e){a.$set(r,"sel",e)},expression:"item.sel"}},[a._l(r.arr,function(e,t){return[s("el-radio",{key:t,class:["radio",r.cur&&e.checked&&"success",r.cur&&!e.checked&&e.selected&&"error"],attrs:{label:t,disabled:!!r.cur}},[a._v(a._s(0==t?"A":1==t?"B":2==t?"C":3==t?"D":4==t?"E":5==t?"F":6==t?"G":7==t?"H":8==t?"I":9==t?"J":"K")+". "+a._s(e.option))])]})],2),a._v(" "),r.cur?[s("div",{staticClass:"result"},[a._v("学生答案:"),s("div",{class:["stu",r.is_correct?"success":"error"]},[a._v(a._s(r.stuAnswer))]),a._v("    正确答案:"+a._s(r.cur))])]:a._e()],2)]:a._e(),a._v(" "),2==r.type?[s("div",{key:e,staticClass:"q-group",attrs:{"data-index":e},on:{click:a.checkboxClick}},[s("div",{staticClass:"q-num"},[a._v(a._s(e+1)+".")]),s("div",{staticClass:"q-title",domProps:{innerHTML:a._s(r.title)}}),s("div",{staticClass:"q-type"},[a._v("(多选题)")]),a._v(" "),s("el-checkbox-group",{staticClass:"checkbox-group",on:{change:a.checkboxChange},model:{value:r.arrSel,callback:function(e){a.$set(r,"arrSel",e)},expression:"item.arrSel"}},[a._l(r.arr,function(e,t){return[s("el-checkbox",{key:e.id,class:["checkbox",r.cur&&e.checked&&"success",r.cur&&!e.checked&&e.selected&&"error"],attrs:{label:t,checked:!!e.selected,disabled:!!r.cur}},[a._v(a._s(0==t?"A":1==t?"B":2==t?"C":3==t?"D":4==t?"E":5==t?"F":6==t?"G":7==t?"H":8==t?"I":9==t?"J":"K")+". "+a._s(e.option))])]})],2),a._v(" "),r.cur?[s("div",{staticClass:"result"},[a._v("学生答案:"),s("div",{class:["stu",r.is_correct?"success":"error"]},[a._v(a._s(r.stuAnswer))]),a._v("    正确答案:"+a._s(r.cur))])]:a._e()],2)]:a._e()]})],2),a._v(" "),s("div",{class:["btn",a.exam.work_contents&&"on"],attrs:{"data-submit":!!a.exam.work_contents},on:{click:a.submitExam,mousedown:function(e){return a._SubmitMouseLeftDown()}}},[a._v(a._s(a.exam.work_contents?"已提交":"提交"))]),a._v(" "),s("div",{staticClass:"care"},[a._v("(注意:测试只有一次提交机会)")])])]:a._e()],2)])])}var s=[];r.d(t,"a",function(){return a}),r.d(t,"b",function(){return s})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{290:function(e,t,r){"use strict";r.r(t);var a=r(465),s=r(391);for(var i in s)"default"!==i&&function(e){r.d(t,e,function(){return s[e]})}(i);r(450);var c=r(0),o=Object(c.a)(s.default,a.a,a.b,!1,null,"180250d6",null);t.default=o.exports},391:function(e,t,r){"use strict";r.r(t);var a=r(392),s=r.n(a);for(var i in a)"default"!==i&&function(e){r.d(t,e,function(){return a[e]})}(i);t.default=s.a},392:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,s=r(48),h=(a=s)&&a.__esModule?a:{default:a};t.default={props:{chapterId:{type:String,require:!1},chapterName:{type:String,require:!1},chapterExam:{type:Object,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{exam:{},param:{course_id:"",chapter_id:"",work_id:"",semester_id:"",work_contents:"",duration:0,score:0},startTime:"",recordAll:[],setTime:null,radioCur:"",checkCur:"",courseExam:!1}},mounted:function(){this.loadAjax()},methods:{arrRandomSort:function(e){var t=null;t=e.shift(),e.push(t),t=e.shift(),e.push(t),t=e.shift(),e.push(t)},unArrRandomSort:function(e){var t=null;t=e.pop(),e.unshift(t),t=e.pop(),e.unshift(t),t=e.pop(),e.unshift(t)},updateData:function(l){return this.param={course_id:l.course_id,chapter_id:l.chapter_id,work_id:l.work_id,semester_id:l.semester_id,work_contents:"",duration:0,score:0},this.startTime=(new Date).getTime(),this.arrRandomSort(l.questions),{id:l.id,semester_id:l.semester_id,title:l.work_title,score:l.score||(0===l.score?"0":""),work_contents:l.work_contents||"",group:l.questions.map(function(e,t){var r="",a="",s=0,i=JSON.parse(e.question_options);i.forEach(function(e,t){if(e.checked)switch(t){case 0:r+="A,";break;case 1:r+="B,";break;case 2:r+="C,";break;case 3:r+="D,";break;case 4:r+="E,";break;case 5:r+="F,";break;case 6:r+="G,";break;case 7:r+="H,";break;case 8:r+="I,";break;case 9:r+="J,"}});var c="";if(l.work_contents){for(var o=JSON.parse(l.work_contents),n=0;n<o.length;n++)if(o[n].question_id===e.id){i=o[n].options,s=o[n].is_correct;break}if(1===e.question_type)for(var u=0;u<i.length;u++)if(i[u].selected){switch(c=u){case 0:a="A,";break;case 1:a="B,";break;case 2:a="C,";break;case 3:a="D,";break;case 4:a="E,";break;case 5:a="F,";break;case 6:a="G,";break;case 7:a="H,";break;case 8:a="I,";break;case 9:a="J,"}break}if(2===e.question_type)for(var d=0;d<i.length;d++)if(i[d].selected)switch(d){case 0:a+="A,";break;case 1:a+="B,";break;case 2:a+="C,";break;case 3:a+="D,";break;case 4:a+="E,";break;case 5:a+="F,";break;case 6:a+="G,";break;case 7:a+="H,";break;case 8:a+="I,";break;case 9:a+="J,"}}return{id:e.id,type:e.question_type,title:e.question_content,arr:i,cur:l.work_contents&&r.substr(0,r.length-1)||"",arrSel:[],sel:c,stuAnswer:a.substr(0,a.length-1),is_correct:s}})}},updateData1:function(e){this.exam.id=e.id,this.exam.semester_id=e.semester_id,this.exam.title=e.work_title,this.exam.score=e.score||"0",this.exam.work_contents=e.work_contents||"",this.arrRandomSort(e.questions);for(var t=0;t<this.exam.group.length;t++){var r="",a="",s=0,i=e.questions[t],c=JSON.parse(i.question_options);c.forEach(function(e,t){if(e.checked)switch(t){case 0:r+="A,";break;case 1:r+="B,";break;case 2:r+="C,";break;case 3:r+="D,";break;case 4:r+="E,";break;case 5:r+="F,";break;case 6:r+="G,";break;case 7:r+="H,";break;case 8:r+="I,";break;case 9:r+="J,"}});var o="";if(e.work_contents){for(var n=JSON.parse(e.work_contents),u=0;u<n.length;u++)if(n[u].question_id===i.id){c=n[u].options,s=n[u].is_correct;break}if(1===i.question_type)for(var d=0;d<c.length;d++)if(c[d].selected){switch(o=d){case 0:a="A,";break;case 1:a="B,";break;case 2:a="C,";break;case 3:a="D,";break;case 4:a="E,";break;case 5:a="F,";break;case 6:a="G,";break;case 7:a="H,";break;case 8:a="I,";break;case 9:a="J,"}break}if(2===i.question_type)for(var l=0;l<c.length;l++)if(c[l].selected)switch(l){case 0:a+="A,";break;case 1:a+="B,";break;case 2:a+="C,";break;case 3:a+="D,";break;case 4:a+="E,";break;case 5:a+="F,";break;case 6:a+="G,";break;case 7:a+="H,";break;case 8:a+="I,";break;case 9:a+="J,"}}this.exam.group[t].id=i.id,this.exam.group[t].type=i.question_type,this.exam.group[t].title=i.question_content,this.exam.group[t].cur=e.work_contents&&r.substr(0,r.length-1)||"",this.exam.group[t].arrSel=[],this.exam.group[t].sel=o,this.exam.group[t].stuAnswer=a.substr(0,a.length-1),this.exam.group[t].is_correct=s;for(var h=this.exam.group[t].arr,p=0;p<h.length;p++)h[p].selected=c[p].selected,h[p].id=h[p].id+"1"}},loadAjax:function(){var r=this,t=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});h.default.chapterAction.getChapterList(this.cid,this.sid,this.id).then(function(e){e.curJson&&e.curJson.id===r.id&&e.curJson.homework.courseExam&&(r.courseExam=!0),(r.courseExam?h.default.chapterAction.getExamDetailAfterCourse:h.default.chapterAction.getExamDetail)(r.sid,r.cid,r.id).then(function(e){var t=e.homework;t?(t.score=e.score,t.work_contents=e.work_contents,r.exam=r.updateData(t)):r.exam={}}).catch(function(e){r.$message.error(e.message)}).finally(function(){r.setTime=setInterval(function(){r.chapterExam.work_id&&r.chapterExam.work_id===r.id&&(r.exam.id||(r.exam=r.updateData(r.chapterExam),document.querySelector(".play-paper").scrollTop=0),clearInterval(r.setTime))},50),t.close()})}).catch(function(e){r.$message.error(e.message)}).finally(function(){t.close()})},radioClick:function(e){this.radioCur=e.currentTarget.dataset.index},radioChange:function(e){for(var t=this.radioCur,r=this.exam.group[t].arr,a=e,s=0;s<r.length;s++)r[s].selected=0;r[a].selected=1,this.exam.group[t].arr=r,this.recordAll.push(t)},checkboxClick:function(e){this.checkboxCur=e.currentTarget.dataset.index},checkboxChange:function(e){for(var r=this.checkboxCur,t=this.exam.group[r].arr,a=e,s=0;s<t.length;s++)t[s].selected=0;for(var i=0;i<a.length;i++)t[a[i]].selected=1;this.exam.group[r].arr=t,a.length?this.recordAll.push(r):this.recordAll=this.recordAll.filter(function(e,t){return e!==r})},submitExam:function(e){var r=this;if(e.currentTarget.dataset.submit)this.$message.error("已做过,不能再提交");else{this.param.duration=Math.floor(((new Date).getTime()-this.startTime)/1e3);for(var t=this.exam.group,a=t.length,s=[],i=0,c=0,o=0;o<a;o++){for(var n=0;n<this.recordAll.length&&this.recordAll[n]!==o+"";n++);if(n===this.recordAll.length)return void this.$message.error("还有题目未做,不能提交")}for(var u=0;u<t.length;u++){if(c=0,1===t[u].type&&t[u].arr.forEach(function(e,t){e.checked&&e.selected&&(i+=c=1)}),2===t[u].type){var d=!0;t[u].arr.forEach(function(e,t){e.checked!==!!e.selected&&(d=!1)}),d&&(i+=c=1)}s.push({question_id:t[u].id,is_correct:c,options:t[u].arr})}this.unArrRandomSort(s),this.param.work_contents=JSON.stringify(s),this.param.score=(i/a*100).toFixed(1);var l=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});(this.courseExam?h.default.chapterAction.submitExamDetailAfterCourse:h.default.chapterAction.submitExamDetail)(this.param).then(function(e){if(e.status){(r.courseExam?h.default.chapterAction.getExamDetailAfterCourse:h.default.chapterAction.getExamDetail)(r.sid,r.cid,r.id).then(function(e){var t=e.homework;t&&(t.score=e.score,t.work_contents=e.work_contents,r.updateData1(t))}).catch(function(e){r.$message.error(e.message)})}else r.$message.error(e.data.error)}).catch(function(e){r.$message.error(e.message)}).finally(function(){l.close()})}},_SubmitMouseLeftDown:function(){var t=this.repeatExam.bind(this,!1);document.addEventListener("keydown",t,!1);document.addEventListener("mouseup",function e(){document.removeEventListener("keydown",t),document.removeEventListener("mouseup",e)},!1)},repeatExam:function(e,t){var r=this,a=t;if(70===e.keyCode&&(a=!0),a){var s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});(this.courseExam?h.default.chapterAction.getExamDetailAfterCourse:h.default.chapterAction.getExamDetail)(this.sid,this.cid,this.id).then(function(e){r.exam={}}).catch(function(e){r.$message.error(e.message)}).finally(function(){r.setTime=setInterval(function(){r.chapterExam.work_id&&r.chapterExam.work_id===r.id&&(r.exam.id||(r.exam=r.updateData(r.chapterExam),document.querySelector(".play-paper").scrollTop=0),clearInterval(r.setTime))},50),s.close()})}}},watch:{id:{handler:function(){this.loadAjax()}}}}},393:function(e,t,r){},450:function(e,t,r){"use strict";var a=r(393);r.n(a).a},465:function(e,t,r){"use strict";function a(){var a=this,e=a.$createElement,s=a._self._c||e;return s("div",{staticClass:"play-paper"},[s("div",{staticClass:"play-paper-body"},[s("div",{staticClass:"play-paper-title"},[s("div",[s("h3",[a._v(a._s(a.chapterName))])])]),a._v(" "),s("div",{staticClass:"play-paper-content play-chapter-exam"},[this.exam.id?[s("div",{staticClass:"exam"},[s("div",{staticStyle:{"text-align":"center"}},[s("div",{staticClass:"topic"},[a.exam.score?[s("div",{staticClass:"cur"},[a._v("正确率:"+a._s(a.exam.score)+"%")])]:a._e()],2)]),a._v(" "),s("div",{},[a._l(a.exam.group,function(r,e){return[1==r.type?[s("div",{key:e,staticClass:"q-group",attrs:{"data-index":e},on:{click:a.radioClick}},[s("div",{staticClass:"q-num"},[a._v(a._s(e+1)+".")]),s("div",{staticClass:"q-title",domProps:{innerHTML:a._s(r.title)}}),s("div",{staticClass:"q-type"},[a._v("(单选题)")]),a._v(" "),s("el-radio-group",{staticClass:"radio-group",on:{change:a.radioChange},model:{value:r.sel,callback:function(e){a.$set(r,"sel",e)},expression:"item.sel"}},[a._l(r.arr,function(e,t){return[s("el-radio",{key:t,class:["radio",r.cur&&e.checked&&"success",r.cur&&!e.checked&&e.selected&&"error"],attrs:{label:t,disabled:!!r.cur}},[a._v(a._s(0==t?"A":1==t?"B":2==t?"C":3==t?"D":4==t?"E":5==t?"F":6==t?"G":7==t?"H":8==t?"I":9==t?"J":"K")+". "+a._s(e.option))])]})],2),a._v(" "),r.cur?[s("div",{staticClass:"result"},[a._v("学生答案:"),s("div",{class:["stu",r.is_correct?"success":"error"]},[a._v(a._s(r.stuAnswer))]),a._v("    正确答案:"+a._s(r.cur))])]:a._e()],2)]:a._e(),a._v(" "),2==r.type?[s("div",{key:e,staticClass:"q-group",attrs:{"data-index":e},on:{click:a.checkboxClick}},[s("div",{staticClass:"q-num"},[a._v(a._s(e+1)+".")]),s("div",{staticClass:"q-title",domProps:{innerHTML:a._s(r.title)}}),s("div",{staticClass:"q-type"},[a._v("(多选题)")]),a._v(" "),s("el-checkbox-group",{staticClass:"checkbox-group",on:{change:a.checkboxChange},model:{value:r.arrSel,callback:function(e){a.$set(r,"arrSel",e)},expression:"item.arrSel"}},[a._l(r.arr,function(e,t){return[s("el-checkbox",{key:e.id,class:["checkbox",r.cur&&e.checked&&"success",r.cur&&!e.checked&&e.selected&&"error"],attrs:{label:t,checked:!!e.selected,disabled:!!r.cur}},[a._v(a._s(0==t?"A":1==t?"B":2==t?"C":3==t?"D":4==t?"E":5==t?"F":6==t?"G":7==t?"H":8==t?"I":9==t?"J":"K")+". "+a._s(e.option))])]})],2),a._v(" "),r.cur?[s("div",{staticClass:"result"},[a._v("学生答案:"),s("div",{class:["stu",r.is_correct?"success":"error"]},[a._v(a._s(r.stuAnswer))]),a._v("    正确答案:"+a._s(r.cur))])]:a._e()],2)]:a._e()]})],2),a._v(" "),s("div",{class:["btn",a.exam.work_contents&&"on"],attrs:{"data-submit":!!a.exam.work_contents},on:{click:a.submitExam,mousedown:function(e){return a._SubmitMouseLeftDown()}}},[a._v(a._s(a.exam.work_contents?"已提交":"提交"))]),a._v(" "),s("div",{staticClass:"care"},[a._v("(注意:测试只有一次提交机会)")])])]:a._e()],2)])])}var s=[];r.d(t,"a",function(){return a}),r.d(t,"b",function(){return s})}}]);
\ No newline at end of file
ul.tabs-list[data-v-760f92fd]{float:left;width:100%;margin:0 0 .15rem;padding:0;font-size:.16rem;line-height:1.5;border-top:1px solid #e8e8e8}ul.tabs-list[data-v-760f92fd]:last-child{margin-bottom:0}ul.tabs-list .tabs-hd[data-v-760f92fd]{display:inline-block;color:#fff;padding:5px 0 9px;margin-top:-5px;width:94px;text-align:center;background:url(https://zws-imgs-pub.ezijing.com/754005be709bf2295bc55923c2b91fd8.png) no-repeat 0 0}ul.tabs-list li[data-v-760f92fd]{float:left;list-style:none;padding:.1rem 0;margin-right:.2rem}ul.tabs-list li .tab[data-v-760f92fd]{padding:0 .1rem;cursor:pointer}ul.tabs-list li .tab.on[data-v-760f92fd]{background:#b49441;color:#fff}ul.tabs-list li .tab[data-v-760f92fd]:focus,ul.tabs-list li .tab[data-v-760f92fd]:hover{color:#b49441;background:#eee}.switch-box[data-v-760f92fd]{margin:0 .3rem}.switch-box .icon[data-v-760f92fd]{margin-left:.1rem}.switch-box .rbtn[data-v-760f92fd]{float:right}ul.course-list[data-v-760f92fd]{margin:0;padding:0;font-size:.18rem;color:#313131}ul.course-list .no-data[data-v-760f92fd]{text-align:center;line-height:2rem}ul.course-list li.item[data-v-760f92fd]{padding:.1rem 0;list-style:none;border-bottom:1px solid #dcdcdc;overflow:hidden}ul.course-list li.item[data-v-760f92fd]:first-child{padding-top:0}ul.course-list li.item[data-v-760f92fd]:last-child{margin-bottom:.2rem}ul.course-list li.item .left-pic[data-v-760f92fd]{position:relative;float:left;width:1.8rem;overflow:hidden}ul.course-list li.item .left-pic .no-img[data-v-760f92fd]{width:100%;height:1rem;text-align:center;line-height:1.1rem;border:1px solid #e2e2e2}ul.course-list li.item .left-pic .no-img i[data-v-760f92fd]{font-size:.4rem;color:#e2e2e2}ul.course-list li.item .left-pic img[data-v-760f92fd]{display:block;width:100%}ul.course-list li.item .right-bd[data-v-760f92fd]{position:relative;display:block;margin-left:2rem}ul.course-list li.item .right-bd .title[data-v-760f92fd]{width:80%;line-height:1.5;font-weight:700;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}ul.course-list li.item .right-bd .tags[data-v-760f92fd]{margin:.05rem 0;font-size:.14rem}ul.course-list li.item .right-bd .tags span[data-v-760f92fd]{padding:0 .1rem;margin:0;border-right:1px solid #313131}ul.course-list li.item .right-bd .tags span[data-v-760f92fd]:first-child{padding-left:0}ul.course-list li.item .right-bd .tags span[data-v-760f92fd]:last-child{border:none}ul.course-list li.item .right-bd .time[data-v-760f92fd]{font-size:.12rem}ul.course-list li.item .right-bd .time em[data-v-760f92fd]{font-style:normal;color:#898989}ul.course-list li.item .right-bd .progress[data-v-760f92fd]{margin-top:.05rem;font-size:14px}ul.course-list li.item .right-bd .progress .el-progress[data-v-760f92fd]{width:50%;display:inline-block;vertical-align:text-bottom}ul.course-list li.item .right-bd .right-sel[data-v-760f92fd]{position:absolute;right:0;top:0;font-size:14px;padding:0 .1rem}ul.course-list li.item .right-bd .in-btn[data-v-760f92fd]{position:absolute;right:0;bottom:0}@media (max-width:767px){.switch-box[data-v-760f92fd]{margin:0}}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{268:function(t,e,s){"use strict";s.r(e);var a=s(484),i=s(323);for(var n in i)"default"!==n&&function(t){s.d(e,t,function(){return i[t]})}(n);s(426);var r=s(0),l=Object(r.a)(i.default,a.a,a.b,!1,null,"760f92fd",null);e.default=l.exports},323:function(t,e,s){"use strict";s.r(e);var a=s(324),i=s.n(a);for(var n in a)"default"!==n&&function(t){s.d(e,t,function(){return a[t]})}(n);e.default=i.a},324:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a,i=s(48),n=(a=i)&&a.__esModule?a:{default:a};e.default={components:{},data:function(){return{filter:{studyEarly:"down",selectTime:"down"},find:[{name:"学期",isShow:!1,selectIndex:0,key:"semester_id",arrItem:[{val:"-1",name:"全部"},{val:"",name:"第一学期"},{val:"",name:"第二学期"},{val:"",name:"第三学期"},{val:"",name:"第四学期"}]},{name:"课程类型",isShow:!1,selectIndex:0,key:"course_type",arrItem:[{val:"-1",name:"全部"},{val:"1",name:"必修课"},{val:"2",name:"选修课"},{val:"3",name:"重修课"}]}],homeList:[],param:{}}},mounted:function(){var e=this,t=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.courseAction.getlearnFindList().then(function(t){e.find[0].arrItem=t,e.getAjaxList(!0,"请去选课广场选课")}).catch(function(t){e.$message.error(t.message)}).finally(function(){t.close()})},methods:{goCourseAll:function(){this.$router.push({path:"/app/my-learn/course-all"})},goCourseContent:function(t){var e=t.currentTarget.dataset.cid,s=t.currentTarget.dataset.sid;this.$router.push({path:"/app/my-learn/course-detail/"+s+"/"+e})},getAjaxList:function(t,e){var s=this;n.default.courseAction.getCourseList(t,this.param).then(function(t){(s.homeList=t).length||s.$message(e)}).catch(function(t){s.$message.error(t.message)}).finally(function(){})},selFindSelect:function(t){var e=t.currentTarget.dataset,s=e.index,a=this.find,i=e.i;a[i].selectIndex=s,a[i].isShow=!1,"-1"===e.val?delete this.param[e.key]:this.param[e.key]=e.val,this.getAjaxList(!0,"暂无符合条件的课程")},studyEarlyUpdate:function(){var t="up"===this.filter.studyEarly?"down":"up";"down"==(this.filter.studyEarly=t)?this.param.order_type="learn_time":"up"==t&&(this.param.order_type="-learn_time"),this.getAjaxList(!0,"请去选课广场选课")},selectTimeUpdate:function(){var t="up"===this.filter.selectTime?"down":"up";"down"==(this.filter.selectTime=t)?this.param.order_type="join_time":"up"==t&&(this.param.order_type="-join_time"),this.getAjaxList(!0,"请去选课广场选课")}}}},325:function(t,e,s){},426:function(t,e,s){"use strict";var a=s(325);s.n(a).a},484:function(t,e,s){"use strict";function a(){var i=this,t=i.$createElement,n=i._self._c||t;return n("div",[n("div",{staticClass:"con-title"},[i._v("我的课程")]),i._v(" "),n("div",{staticClass:"con-box"},[i._l(i.find,function(s,a){return[n("ul",{key:a,staticClass:"tabs-list"},[n("li",{staticClass:"tabs-hd"},[i._v(i._s(s.name))]),i._v(" "),i._l(s.arrItem,function(t,e){return[n("li",{key:e},[n("div",{class:["tab",s.selectIndex==e?"on":""],attrs:{"data-index":e,"data-i":a,"data-key":s.key,"data-val":t.val},on:{click:i.selFindSelect}},[i._v(i._s(t.name))])])]})],2)]})],2),i._v(" "),n("div",{staticClass:"switch-box"},[n("el-button",{attrs:{type:"info",size:"medium",plain:""},on:{click:i.studyEarlyUpdate}},[i._v("最近学习"),n("i",{class:["el-icon-caret-"+("down"==i.filter.studyEarly?"bottom":"top"),"icon"]})]),i._v(" "),n("el-button",{attrs:{type:"info",size:"medium",plain:""},on:{click:i.selectTimeUpdate}},[i._v("选修时间"),n("i",{class:["el-icon-caret-"+("down"==i.filter.selectTime?"bottom":"top"),"icon"]})])],1),i._v(" "),n("div",{staticClass:"con-box"},[n("ul",{staticClass:"course-list"},[i._l(i.homeList,function(t,e){return[n("li",{key:e,staticClass:"item"},[n("div",{staticClass:"left-pic"},[t.src?[n("img",{attrs:{src:t.src,alt:""}})]:[i._m(0,!0)]],2),i._v(" "),n("div",{staticClass:"right-bd"},[n("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),n("div",{staticClass:"tags"},[i._l(t.arrTab,function(t,e){return[n("span",{key:e},[i._v(i._s(t))])]})],2),i._v(" "),n("div",{staticClass:"time"},[i._v("\n "+i._s(t.status)+"  "),n("em",[i._v(i._s(t.time))])]),i._v(" "),n("div",{staticClass:"progress"},[i._v("\n 视频观看进度 "),n("el-progress",{attrs:{percentage:99.5<t.progress?100:t.progress,color:"#b49441"}})],1),i._v(" "),n("div",{staticClass:"right-sel"},[i._v(i._s(t.myStatus))]),i._v(" "),n("el-button",{staticClass:"in-btn",attrs:{type:"primary",size:"small",round:"","data-cid":t.id,"data-sid":t.sid},on:{click:i.goCourseContent}},[i._v("查看课程")])],1)])]}),i._v(" "),i.homeList.length?i._e():[n("div",{staticClass:"no-data"},[i._v("暂无相关课程")])]],2)])])}var i=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-img"},[e("i",{staticClass:"el-icon-self-13"})])}];s.d(e,"a",function(){return a}),s.d(e,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{259:function(t,e,s){"use strict";s.r(e);var a=s(468),i=s(313);for(var n in i)"default"!==n&&function(t){s.d(e,t,function(){return i[t]})}(n);s(413);var r=s(1),l=Object(r.a)(i.default,a.a,a.b,!1,null,"2b1feb06",null);e.default=l.exports},313:function(t,e,s){"use strict";s.r(e);var a=s(314),i=s.n(a);for(var n in a)"default"!==n&&function(t){s.d(e,t,function(){return a[t]})}(n);e.default=i.a},314:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a,i=s(45),n=(a=i)&&a.__esModule?a:{default:a};e.default={components:{},data:function(){return{filter:{studyEarly:"down",selectTime:"down"},find:[{name:"学期",isShow:!1,selectIndex:0,key:"semester_id",arrItem:[{val:"-1",name:"全部"},{val:"",name:"第一学期"},{val:"",name:"第二学期"},{val:"",name:"第三学期"},{val:"",name:"第四学期"}]},{name:"课程类型",isShow:!1,selectIndex:0,key:"course_type",arrItem:[{val:"-1",name:"全部"},{val:"1",name:"必修课"},{val:"2",name:"选修课"},{val:"3",name:"重修课"}]}],homeList:[],param:{}}},mounted:function(){this.getAjaxList(!0,"请去选课广场选课")},methods:{goCourseAll:function(){this.$router.push({path:"/app/my-learn/course-all"})},goCourseContent:function(t){var e=t.currentTarget.dataset.cid;this.$router.push({path:"/app/my-learn/course-detail/"+e})},getAjaxList:function(t,e){var s=this;n.default.courseAction.getCourseList(t,this.param).then(function(t){(s.homeList=t).length||s.$message(e)}).catch(function(t){s.$message.error(t.message)}).finally(function(){})},selFindSelect:function(t){var e=t.currentTarget.dataset,s=e.index,a=this.find,i=e.i;a[i].selectIndex=s,a[i].isShow=!1,"-1"===e.val?delete this.param[e.key]:this.param[e.key]=e.val,this.getAjaxList(!0,"暂无符合条件的课程")},studyEarlyUpdate:function(){var t="up"===this.filter.studyEarly?"down":"up";"down"==(this.filter.studyEarly=t)?this.param.order_type="learn_time":"up"==t&&(this.param.order_type="-learn_time"),this.getAjaxList(!0,"请去选课广场选课")},selectTimeUpdate:function(){var t="up"===this.filter.selectTime?"down":"up";"down"==(this.filter.selectTime=t)?this.param.order_type="join_time":"up"==t&&(this.param.order_type="-join_time"),this.getAjaxList(!0,"请去选课广场选课")}}}},315:function(t,e,s){},413:function(t,e,s){"use strict";var a=s(315);s.n(a).a},468:function(t,e,s){"use strict";function a(){var i=this,t=i.$createElement,n=i._self._c||t;return n("div",[n("div",{staticClass:"con-title"},[i._v("我的课程")]),i._v(" "),n("div",{staticClass:"con-box"},[i._l(i.find,function(s,a){return[0!=a?n("ul",{key:a,staticClass:"tabs-list"},[n("li",{staticClass:"tabs-hd"},[i._v(i._s(s.name))]),i._v(" "),i._l(s.arrItem,function(t,e){return[n("li",{key:e},[n("div",{class:["tab",s.selectIndex==e?"on":""],attrs:{"data-index":e,"data-i":a,"data-key":s.key,"data-val":t.val},on:{click:i.selFindSelect}},[i._v(i._s(t.name))])])]})],2):i._e()]})],2),i._v(" "),n("div",{staticClass:"switch-box"},[n("el-button",{attrs:{type:"info",size:"medium",plain:""},on:{click:i.studyEarlyUpdate}},[i._v("最近学习"),n("i",{class:["el-icon-caret-"+("down"==i.filter.studyEarly?"bottom":"top"),"icon"]})]),i._v(" "),n("el-button",{attrs:{type:"info",size:"medium",plain:""},on:{click:i.selectTimeUpdate}},[i._v("选修时间"),n("i",{class:["el-icon-caret-"+("down"==i.filter.selectTime?"bottom":"top"),"icon"]})])],1),i._v(" "),n("div",{staticClass:"con-box"},[n("ul",{staticClass:"course-list"},[i._l(i.homeList,function(t,e){return[n("li",{key:e,staticClass:"item"},[n("div",{staticClass:"left-pic"},[t.src?[n("img",{attrs:{src:t.src,alt:""}})]:[i._m(0,!0)]],2),i._v(" "),n("div",{staticClass:"right-bd"},[n("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),n("div",{staticClass:"tags"},[i._l(t.arrTab,function(t,e){return[n("span",{key:e},[i._v(i._s(t))])]})],2),i._v(" "),n("div",{staticClass:"time"},[i._v("\n "+i._s(t.status)+"  "),n("em",[i._v(i._s(t.time))])]),i._v(" "),n("div",{staticClass:"progress"},[i._v("\n 视频观看进度 "),n("el-progress",{attrs:{percentage:99.5<t.progress?100:t.progress,color:"#b49441"}})],1),i._v(" "),n("div",{staticClass:"right-sel"},[i._v(i._s(t.myStatus))]),i._v(" "),n("el-button",{staticClass:"in-btn",attrs:{type:"primary",size:"small",round:"","data-cid":t.id,"data-sid":t.sid},on:{click:i.goCourseContent}},[i._v("查看课程")])],1)])]}),i._v(" "),i.homeList.length?i._e():[n("div",{staticClass:"no-data"},[i._v("暂无相关课程")])]],2)])])}var i=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-img"},[e("i",{staticClass:"el-icon-self-13"})])}];s.d(e,"a",function(){return a}),s.d(e,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{268:function(t,e,s){"use strict";s.r(e);var a=s(484),i=s(323);for(var n in i)"default"!==n&&function(t){s.d(e,t,function(){return i[t]})}(n);s(426);var r=s(0),l=Object(r.a)(i.default,a.a,a.b,!1,null,"2b1feb06",null);e.default=l.exports},323:function(t,e,s){"use strict";s.r(e);var a=s(324),i=s.n(a);for(var n in a)"default"!==n&&function(t){s.d(e,t,function(){return a[t]})}(n);e.default=i.a},324:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a,i=s(48),n=(a=i)&&a.__esModule?a:{default:a};e.default={components:{},data:function(){return{filter:{studyEarly:"down",selectTime:"down"},find:[{name:"学期",isShow:!1,selectIndex:0,key:"semester_id",arrItem:[{val:"-1",name:"全部"},{val:"",name:"第一学期"},{val:"",name:"第二学期"},{val:"",name:"第三学期"},{val:"",name:"第四学期"}]},{name:"课程类型",isShow:!1,selectIndex:0,key:"course_type",arrItem:[{val:"-1",name:"全部"},{val:"1",name:"必修课"},{val:"2",name:"选修课"},{val:"3",name:"重修课"}]}],homeList:[],param:{}}},mounted:function(){this.getAjaxList(!0,"请去选课广场选课")},methods:{goCourseAll:function(){this.$router.push({path:"/app/my-learn/course-all"})},goCourseContent:function(t){var e=t.currentTarget.dataset.cid;this.$router.push({path:"/app/my-learn/course-detail/"+e})},getAjaxList:function(t,e){var s=this;n.default.courseAction.getCourseList(t,this.param).then(function(t){(s.homeList=t).length||s.$message(e)}).catch(function(t){s.$message.error(t.message)}).finally(function(){})},selFindSelect:function(t){var e=t.currentTarget.dataset,s=e.index,a=this.find,i=e.i;a[i].selectIndex=s,a[i].isShow=!1,"-1"===e.val?delete this.param[e.key]:this.param[e.key]=e.val,this.getAjaxList(!0,"暂无符合条件的课程")},studyEarlyUpdate:function(){var t="up"===this.filter.studyEarly?"down":"up";"down"==(this.filter.studyEarly=t)?this.param.order_type="learn_time":"up"==t&&(this.param.order_type="-learn_time"),this.getAjaxList(!0,"请去选课广场选课")},selectTimeUpdate:function(){var t="up"===this.filter.selectTime?"down":"up";"down"==(this.filter.selectTime=t)?this.param.order_type="join_time":"up"==t&&(this.param.order_type="-join_time"),this.getAjaxList(!0,"请去选课广场选课")}}}},325:function(t,e,s){},426:function(t,e,s){"use strict";var a=s(325);s.n(a).a},484:function(t,e,s){"use strict";function a(){var i=this,t=i.$createElement,n=i._self._c||t;return n("div",[n("div",{staticClass:"con-title"},[i._v("我的课程")]),i._v(" "),n("div",{staticClass:"con-box"},[i._l(i.find,function(s,a){return[0!=a?n("ul",{key:a,staticClass:"tabs-list"},[n("li",{staticClass:"tabs-hd"},[i._v(i._s(s.name))]),i._v(" "),i._l(s.arrItem,function(t,e){return[n("li",{key:e},[n("div",{class:["tab",s.selectIndex==e?"on":""],attrs:{"data-index":e,"data-i":a,"data-key":s.key,"data-val":t.val},on:{click:i.selFindSelect}},[i._v(i._s(t.name))])])]})],2):i._e()]})],2),i._v(" "),n("div",{staticClass:"switch-box"},[n("el-button",{attrs:{type:"info",size:"medium",plain:""},on:{click:i.studyEarlyUpdate}},[i._v("最近学习"),n("i",{class:["el-icon-caret-"+("down"==i.filter.studyEarly?"bottom":"top"),"icon"]})]),i._v(" "),n("el-button",{attrs:{type:"info",size:"medium",plain:""},on:{click:i.selectTimeUpdate}},[i._v("选修时间"),n("i",{class:["el-icon-caret-"+("down"==i.filter.selectTime?"bottom":"top"),"icon"]})])],1),i._v(" "),n("div",{staticClass:"con-box"},[n("ul",{staticClass:"course-list"},[i._l(i.homeList,function(t,e){return[n("li",{key:e,staticClass:"item"},[n("div",{staticClass:"left-pic"},[t.src?[n("img",{attrs:{src:t.src,alt:""}})]:[i._m(0,!0)]],2),i._v(" "),n("div",{staticClass:"right-bd"},[n("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),n("div",{staticClass:"tags"},[i._l(t.arrTab,function(t,e){return[n("span",{key:e},[i._v(i._s(t))])]})],2),i._v(" "),n("div",{staticClass:"time"},[i._v("\n "+i._s(t.status)+"  "),n("em",[i._v(i._s(t.time))])]),i._v(" "),n("div",{staticClass:"progress"},[i._v("\n 视频观看进度 "),n("el-progress",{attrs:{percentage:99.5<t.progress?100:t.progress,color:"#b49441"}})],1),i._v(" "),n("div",{staticClass:"right-sel"},[i._v(i._s(t.myStatus))]),i._v(" "),n("el-button",{staticClass:"in-btn",attrs:{type:"primary",size:"small",round:"","data-cid":t.id,"data-sid":t.sid},on:{click:i.goCourseContent}},[i._v("查看课程")])],1)])]}),i._v(" "),i.homeList.length?i._e():[n("div",{staticClass:"no-data"},[i._v("暂无相关课程")])]],2)])])}var i=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-img"},[e("i",{staticClass:"el-icon-self-13"})])}];s.d(e,"a",function(){return a}),s.d(e,"b",function(){return i})}}]);
\ No newline at end of file
ul.tabs-list[data-v-1497b902]{float:left;width:100%;margin:0 0 .15rem;padding:0;font-size:.16rem;line-height:1.5;border-top:1px solid #e8e8e8}ul.tabs-list[data-v-1497b902]:last-child{margin-bottom:0}ul.tabs-list .tabs-hd[data-v-1497b902]{display:inline-block;color:#fff;padding:5px 0 9px;margin-top:-5px;width:94px;text-align:center;background:url(https://zws-imgs-pub.ezijing.com/754005be709bf2295bc55923c2b91fd8.png) no-repeat 0 0}ul.tabs-list li[data-v-1497b902]{float:left;list-style:none;padding:.1rem 0;margin-right:.2rem}ul.tabs-list li .tab[data-v-1497b902]{padding:0 .1rem;cursor:pointer}ul.tabs-list li .tab.on[data-v-1497b902]{background:#b49441;color:#fff}ul.tabs-list li .tab[data-v-1497b902]:focus,ul.tabs-list li .tab[data-v-1497b902]:hover{color:#b49441;background:#eee}.switch-box[data-v-1497b902]{margin:0 .3rem}.switch-box .icon[data-v-1497b902]{margin-left:.1rem}.switch-box .rbtn[data-v-1497b902]{float:right}ul.course-list[data-v-1497b902]{margin:0;padding:0;font-size:.18rem;color:#313131}ul.course-list .no-data[data-v-1497b902]{text-align:center;line-height:2rem}ul.course-list li.item[data-v-1497b902]{padding:.1rem 0;list-style:none;border-bottom:1px solid #dcdcdc;overflow:hidden}ul.course-list li.item[data-v-1497b902]:first-child{padding-top:0}ul.course-list li.item[data-v-1497b902]:last-child{margin-bottom:.2rem}ul.course-list li.item .left-pic[data-v-1497b902]{position:relative;float:left;width:1.8rem;overflow:hidden}ul.course-list li.item .left-pic .no-img[data-v-1497b902]{width:100%;height:1rem;text-align:center;line-height:1.1rem;border:1px solid #e2e2e2}ul.course-list li.item .left-pic .no-img i[data-v-1497b902]{font-size:.4rem;color:#e2e2e2}ul.course-list li.item .left-pic img[data-v-1497b902]{display:block;width:100%}ul.course-list li.item .right-bd[data-v-1497b902]{position:relative;display:block;margin-left:2rem}ul.course-list li.item .right-bd .title[data-v-1497b902]{width:80%;line-height:1.5;font-weight:700;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}ul.course-list li.item .right-bd .tags[data-v-1497b902]{margin:.05rem 0;font-size:.14rem}ul.course-list li.item .right-bd .tags span[data-v-1497b902]{padding:0 .1rem;margin:0;border-right:1px solid #313131}ul.course-list li.item .right-bd .tags span[data-v-1497b902]:first-child{padding-left:0}ul.course-list li.item .right-bd .tags span[data-v-1497b902]:last-child{border:none}ul.course-list li.item .right-bd .time[data-v-1497b902]{font-size:.12rem}ul.course-list li.item .right-bd .time em[data-v-1497b902]{font-style:normal;color:#898989}ul.course-list li.item .right-bd .progress[data-v-1497b902]{margin-top:.05rem;font-size:14px}ul.course-list li.item .right-bd .progress .el-progress[data-v-1497b902]{width:50%;display:inline-block;vertical-align:text-bottom}ul.course-list li.item .right-bd .right-sel[data-v-1497b902]{position:absolute;right:0;top:0;font-size:14px;padding:0 .1rem}ul.course-list li.item .right-bd .in-btn[data-v-1497b902]{position:absolute;right:0;bottom:0}@media (max-width:767px){.switch-box[data-v-1497b902]{margin:0}}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{260:function(t,s,e){"use strict";e.r(s);var i=e(470),a=e(316);for(var r in a)"default"!==r&&function(t){e.d(s,t,function(){return a[t]})}(r);e(414);var c=e(1),o=Object(c.a)(a.default,i.a,i.b,!1,null,"dac2ec40",null);s.default=o.exports},316:function(t,s,e){"use strict";e.r(s);var i=e(317),a=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(s,t,function(){return i[t]})}(r);s.default=a.a},317:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var l=a(e(45)),o=a(e(82)),i=a(e(255));function a(t){return t&&t.__esModule?t:{default:t}}s.default={components:{},props:{sid:{type:String,require:!1},cid:{type:String,require:!1}},data:function(){return{ckeditor:null,activeName:"1",activeName1:"1",passCount:0,headerInfo:{},tabs:[{title:"课程简介",isShow:!0,content:{text:"<p><b>视频课程没有加载出来,请检查自己的网络环境,并重新刷新。</b>",teachers:[{src:"",name:"讲师姓名",edu:"学历",job:"职称",unit:"讲师所在单位"}]}},{title:"课程内容",isShow:!1,chapterList:{currentChapterId:"11",course:[{title:"第一章:测试章节",isUp:!0,chapters:[{id:"12",time:"19:09",name:"1.2 测试课程"}]},{title:"第二章:证券估值",isUp:!0,chapters:[]},{title:"课程资料",isUp:!0,chapters:[]}]}},{title:"课程讨论",isShow:!1},{title:"课程考核",isShow:!1,richText:"<div class='h1'>一、最终成绩计算</div> <div class='p'>课程表现得分*30%+每章试题得分*30%+结业大作业得分*40%=该门课程总得分,满分100分,低于80分为不及格,需重修此门课程。84分以上方可申请学位。</div> <img class='b1' src='http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/www/course-check.png' mode='aspectFill' /> <div class='h1'>二、具体细则</div> <div class='h2'>课程表现:总分100分(占科目总成绩的30%)</div> <div class='p'>1、每个视频观看完成度50分:以后台数据统计为准,全部看完视频满分50分,其它酌情给分。</div> <div class='em'>注:视频观看考核的是实际播放时长,不是进度条的显示状态,进度条满格并不一定表示观看完这个视频。以下方每日学习时长为准。</div> <div class='p'>2、课程反馈建设性问题及课程完成情况50分:反馈问题以教务老师统计为准,课程完成情况以后台数据为准,是否按时完成视频观看、测试、作业提交,满分50分,酌情给分。</div> <div class='h2'>每章试题:总分100分(占科目总成绩的30%)</div> <div class='p'>本课程所有试题的平均正确率*100分*占总成绩30%=此项得分。(比如正确度为80%,则此项得分:80%*100*30%=24分)</div> <div class='h2'>结业大作业:总分100分(占科目总成绩的40%)</div> <div class='p'>结业大作业满分为100分,以助教老师给分为准。</div>",assess:{score:"20",duration:"00:01:20",progress:"0/10",video:[{title:"第一章 市场营销原理导论",sid:"",cid:"",arr:[{name:"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销",time:"12:08",progress:"100%",vid:""}]}],homewrok:[{title:"第一章 市场营销原理导论",arr:[{name:"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销",score:20}]}],essay:{created_time:"",status:"未提交",score:"暂无"}}}],sort:[{isShow:!1,str:""},{isShow:!1,str:"tag"}],discussList:[],param:{limit:10,offset:0,sort:""},publish:{course_id:this.cid,semester_id:this.sid,title:"",contents:""},isPublicShow:!1,publishRules:{title:[{required:!0,message:"请输入标题",trigger:"blur"}]}}},mounted:function(){var n=this,d=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});if("0"===this.cid&&"0"===this.sid)return this.$message({message:"URL异常,请点击“返回首页”,重新选择课程学习!!",type:"info",duration:1e4}),void d.close();l.default.courseAction.getCourseDetail(this.cid,this.sid).then(function(o){n.headerInfo=o.headerInfo,n.tabs[0].content=o.tabs0Content,n.tabs[1].chapterList=o.tabs1ChapterList,o.tabs3richTest&&(n.tabs[3].richText=o.tabs3richTest),l.default.courseAction.getCourseAssess(n.cid,n.sid).then(function(t){for(var s=o.tabs1ChapterList.course,e=0;e<t.video.length;e++)for(var i=t.video[e].arr,a=s[e].chapters,r=0;r<i.length;r++)for(var c=r;c<a.length;c++)if(i[r].id===a[c].id){i[r].vid=a[c].vid,i[r].duration=a[c].duration;break}n.tabs[3].assess=t,d.close()}).catch(function(t){n.$message.error(t.message)}).finally(function(){}),l.default.discussAction.getCourseDiscussList(n.cid,n.sid,n.param).then(function(t){n.discussList=t}).catch(function(t){n.$message.error(t.message)}).finally(function(){})}).catch(function(t){n.$message.error(t.message),d.close()}).finally(function(){}),window.addEventListener("resize",this.resizeRoot.bind(this),!1)},destroyed:function(){window.removeEventListener("resize",this.resizeRoot.bind(this),!1),this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null},updated:function(){this.resizeRoot(),this.isPublicShow&&this.initckeditor()},beforeUpdate:function(){this.isPublicShow||(this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null)},methods:{handleClick:function(t,s){},initckeditor:function(){this.ckeditor||(this.ckeditor=i.default.replace("editor",{height:300,uiColor:"#eeeeee",filebrowserImageUploadUrl:"/api/ckeditor/img/upload",toolbar:[{name:"styles",items:["Styles","Format","Font","FontSize"]},{name:"colors",items:["TextColor","BGColor"]},{name:"tools",items:["Maximize","ShowBlocks"]},{name:"editing",items:["Find","Replace"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote","CreateDiv","-","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","-","BidiLtr","BidiRtl"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule"]}]}))},clickJumpOrStatus:function(t){var s=t.currentTarget.dataset;if(s.status){var e=s.index,i=this.tabs[1].chapterList.course[e];i.isUp=!i.isUp}else{window.localStorage.setItem("headerInfo",JSON.stringify(this.headerInfo));var a=this.tabs[1].chapterList.course[s.index],r=s.cid;if("course_info"===a.type)this.$router.push({path:"/player/"+r+"/course-info/course_info"});else if("course_work"===a.type){if(!this.headerInfo.survey)return this.$message("请先填写教学评估,然后完成大作业。"),!1;this.$router.push({path:"/player/"+r+"/course-work/course_work"})}else if("teach_evaluation"===a.type)this.$router.push({path:"/survey/"+r});else if("course_exam"===a.type){var c=a.data[0].id;this.$router.push({path:"/player/"+r+"/chapter-exam/"+c})}}},jumpToOtherVA:function(t){if(this.headerInfo.isStart){var s=t.target.dataset,e=s.cid,i=s.vid,a=s.type;if(!s.hasva){window.localStorage.setItem("headerInfo",JSON.stringify(this.headerInfo));var r=s.index,c=s.count,o=this.tabs[1].chapterList.course[r];return o&&o.chapters[c]?void(3===o.chapters[c].type?1===o.chapters[c].work_type?this.$router.push({path:"/player/"+e+"/chapter-exam/"+i}):2===o.chapters[c].work_type&&this.$router.push({path:"/player/"+e+"/chapter-work/"+i}):4===o.chapters[c].type&&this.$router.push({path:"/player/"+e+"/chapter-read/"+i})):void this.$message.error("系统未知错误,003")}this.$router.push({path:"/player/"+e+"/chapter-video/"+i+"/"+a})}else this.$message.error("先选课,才能学习")},startLearn:function(t){var s=t.currentTarget.dataset,e=s.cid,i=s.vid,a=s.type;this.$router.push({path:"/player/"+e+"/chapter-video/"+i+"/"+a})},noWantThisCourse:function(){var s=this;if(this.passCountTimeout&&clearTimeout(this.passCountTimeout),this.passCountTimeout=setTimeout(function(){s.passCount=0},500),this.passCount<15)this.passCount++;else{var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.courseAction.outSelectCourse(this.cid,this.sid).then(function(t){s.headerInfo.isStart=!1,e.close(),s.$message({type:"success",message:"退课成功"}),s.passCount=0}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})}},jumpVAOrfinishVA:function(t){var s=t.currentTarget.dataset,e=this._keydownfn.bind(this,s);document.addEventListener("keydown",e,!1);document.addEventListener("mouseup",function t(){document.removeEventListener("keydown",e),document.removeEventListener("mouseup",t)},!1)},_keydownfn:function(t,s){var e=this,i=t.cid,a=t.vid,r=t.duration,c=t.type;79===s.keyCode&&this.$router.push({path:"/player/"+i+"/chapter-video/"+a+"/"+c}),70===s.keyCode&&l.default.chapterAction.updateProgress({d:o.default.other.getIdt(),i:o.default.other.getIdt(),c:i,v:a,_p:parseInt(r)+11,_m:parseInt(r),_c:parseInt(r),ps:"0,0"}).then(function(t){t.success&&e.$message.success("补课成功,刷新查看结果")}).catch(function(t){e.$message.error(t.message)}).finally(function(){})},wantThisCourse:function(){var s=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.courseAction.selectCourse(this.cid,this.sid).then(function(t){s.headerInfo.isStart=!0,e.close(),s.$message({type:"success",message:"选课成功"})}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})},resizeRoot:function(){var a=this,t=document.querySelectorAll(".ellipsis"),r=getComputedStyle(window.document.documentElement)["font-size"].replace("px","");t.forEach(function(t,s){t.previousSibling.style.height="auto";var e=t.previousSibling.offsetHeight,i=.18*r*1.5*2;i<e?(a.discussList[s]&&(a.discussList[s].isShow=!0),t.previousSibling.style.height=i+"px"):a.discussList[s]&&(a.discussList[s].isShow=!1)})},publishDiscuss:function(){this.isPublicShow=!0},gobackDiscuss:function(){this.isPublicShow=!1},onSubmitPublish:function(){var e=this;this.$refs.setPublishform.validate(function(t){if(!t)return e.$message.error("请输入标题"),!1;if(e.ckeditor.getData()){e.publish.contents=e.ckeditor.getData();var s=e.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.discussAction.publishQues(e.publish).then(function(t){e.$message({type:"success",message:"问题发布成功"}),e.isPublicShow=!1,l.default.discussAction.getCourseDiscussList(e.cid,e.sid,e.param).then(function(t){e.discussList=t}).catch(function(t){e.$message.error(t.message)}).finally(function(){})}).catch(function(t){e.$message.error(t.message)}).finally(function(){s.close()})}else e.$message.error("请输入正文内容")})},goDiscussDetail:function(t){var s=t.currentTarget.dataset.id;this.$router.push({path:"/app/my-learn/discuss-detail/"+this.cid+"/"+s})},sortFn:function(t){var s=this,e=t.currentTarget.dataset.index,i=t.currentTarget.dataset.str;this.sort[e].isShow=!this.sort[e].isShow,this.sort[(parseInt(e)+1)%2].isShow=!1,this.param.sort=this.sort[e].isShow?i:"",this.param.offset=0;var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.discussAction.getCourseDiscussList(this.cid,this.sid,this.param).then(function(t){s.discussList=t}).catch(function(t){s.$message.error(t.message)}).finally(function(){a.close()})}}}},318:function(t,s,e){},414:function(t,s,e){"use strict";var i=e(318);e.n(i).a},470:function(t,s,e){"use strict";function i(){var i=this,t=i.$createElement,a=i._self._c||t;return a("div",[a("div",{staticClass:"con-title"},[i._v("课程详情")]),i._v(" "),a("div",{staticClass:"detail-box"},[a("div",{staticClass:"box-thd"},[a("div",{staticClass:"title",on:{click:i.noWantThisCourse}},[i._v(i._s(i.headerInfo.title)+"\n "),i.headerInfo.isStart&&i.tabs[1].chapterList.currentChapterId?[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini","data-cid":i.cid,"data-sid":i.sid,"data-type":i.tabs[1].chapterList.currentVideoProvider,"data-vid":i.tabs[1].chapterList.currentChapterId},on:{click:i.startLearn}},[i._v("继续学习")])]:i.headerInfo.isStart?[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini","data-cid":i.cid,"data-sid":i.sid,"data-type":i.tabs[1].chapterList.course[0].chapters[0].video_provider,"data-vid":i.tabs[1].chapterList.course[0].chapters[0].vid},on:{click:i.startLearn}},[i._v("开始学习")])]:[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini"},on:{click:i.wantThisCourse}},[i._v("选课")])]],2),i._v(" "),a("div",{staticClass:"tags"},[i._l(i.headerInfo.arrTab,function(t,s){return[a("span",{key:s,staticClass:"tabs-item"},[i._v(i._s(t))])]})],2),i._v(" "),a("div",{staticClass:"time"},[i._v(i._s(i.headerInfo.time)+" "+i._s(i.headerInfo.status))]),i._v(" "),a("div",{staticStyle:{float:"left",width:"100%",height:"1px"}}),i._v(" "),a("div",{staticClass:"progress"},[i._v("\n 视频观看进度 "),a("el-progress",{attrs:{percentage:i.headerInfo.progress,color:"#b49441"}})],1)]),i._v(" "),a("div",{staticClass:"box-tbd"},[a("div",{staticClass:"left-pic"},[i.headerInfo.bgSrc?[a("img",{attrs:{src:i.headerInfo.bgSrc,alt:""}})]:[i._m(0)]],2),i._v(" "),a("div",{staticClass:"right-content",domProps:{innerHTML:i._s(i.tabs[0].content.text)}})]),i._v(" "),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{xs:24,sm:15,md:17,lg:18,xl:20}},[a("el-tabs",{on:{"tab-click":i.handleClick},model:{value:i.activeName,callback:function(t){i.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"课程内容",name:"1"}},[a("div",{staticClass:"course-list"},[i._l(i.tabs[1].chapterList.course,function(t,e){return[a("div",{key:e,class:["content-group",t.chapters.length?"":"no-child",t.isUp?"up":""]},[a("div",{staticClass:"title",attrs:{"data-index":e,"data-cid":t.cid,"data-sid":t.sid,"data-status":!!t.chapters.length},on:{click:function(t){return i.clickJumpOrStatus(t)}}},[i._v(i._s(t.title)+"\n "),a("i",{class:["side",t.chapters.length?"":"none",t.isUp?"el-icon-arrow-down":"el-icon-arrow-up"]})]),i._v(" "),i._l(t.chapters,function(t,s){return[a("div",{key:s,class:["body",t.id===i.tabs[1].chapterList.currentChapterId&&"on"]},[a("div",{staticClass:"name",attrs:{"data-vid":t.vid,"data-cid":t.cid,"data-sid":t.sid,"data-hasVA":t.time,"data-type":t.video_provider,"data-name":t.name,"data-index":e,"data-count":s},on:{click:i.jumpToOtherVA}},[i._v("\n "+i._s(t.name)+"\n "),a("div",{staticClass:"time"},[i._v(i._s(t.time))])])])]})],2)]})],2)]),i._v(" "),a("el-tab-pane",{attrs:{label:"课程讨论",name:"2"}},[i.isPublicShow?[a("div",{staticClass:"publish"},[a("div",{staticStyle:{overflow:"hidden"}},[a("div",{staticClass:"right-goback-txt"},[i._v("发布问题")]),i._v(" "),a("el-button",{attrs:{type:"text"},on:{click:i.gobackDiscuss}},[i._v("返回问题列表")])],1),i._v(" "),a("el-form",{ref:"setPublishform",attrs:{model:i.publish,rules:i.publishRules}},[a("el-form-item",{attrs:{label:"标题",prop:"title"}},[a("el-input",{attrs:{type:"text",placeholder:"请输入标题"},model:{value:i.publish.title,callback:function(t){i.$set(i.publish,"title",t)},expression:"publish.title"}})],1),i._v(" "),a("div",{staticStyle:{"line-height":"1.5","font-size":"0.16rem","margin-bottom":"0.2rem"}},[i._v("正文内容")]),i._v(" "),a("textarea",{attrs:{id:"editor"}}),i._v(" "),a("div",{staticStyle:{height:"0.2rem"}}),i._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:i.onSubmitPublish}},[i._v("发布问题")])],1)],1)],1)]:[a("div",{staticClass:"pub-ques"},[a("div",{staticClass:"ask"},[a("i",{staticClass:"el-icon-edit img"}),i._v(" "),a("div",{staticClass:"txt",on:{click:i.publishDiscuss}},[i._v("发布问题 ...")])]),i._v(" "),a("div",{class:["item-order",i.sort[0].isShow?"on":""],attrs:{"data-index":0,"data-str":i.sort[0].str},on:{click:i.sortFn}},[i._v("按时间排序")]),i._v(" "),a("div",{class:["item-order",i.sort[1].isShow?"on":""],attrs:{"data-index":1,"data-str":i.sort[1].str},on:{click:i.sortFn}},[i._v("按投票排序")])]),i._v(" "),a("div",{staticClass:"discuss-scroll",attrs:{bindscrolltolower:"loadmore",bindscrolltoupper:"updatenew"}},[i._l(i.discussList,function(t,s){return[a("div",{key:s,staticClass:"item-list",attrs:{"data-id":t.id,"data-sid":t.sid,"data-index":s},on:{click:i.goDiscussDetail}},[a("div",{staticClass:"user"},[t.user.url?[a("img",{staticClass:"img",attrs:{src:t.user.url}})]:[a("img",{staticClass:"img",attrs:{src:e(121)}})],i._v(" "),a("div",{staticClass:"right"},[a("div",{staticClass:"name"},[i._v(i._s(t.user.name))]),i._v(" "),a("div",{staticClass:"time"},[i._v(i._s(t.user.time))])])],2),i._v(" "),a("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),a("div",{class:["text"],domProps:{innerHTML:i._s(t.text)}}),a("div",{class:["ellipsis",t.isShow?"on":""]},[i._v("....")]),i._v(" "),a("div",{staticClass:"result"},[i._v(i._s(t.askCnt)+" 回答"),a("div",{staticStyle:{display:"inline-block",width:"20px"}}),i._v(i._s(t.TouCnt)+" 投票")])])]}),i._v(" "),i.discussList.length?i._e():[a("div",{staticClass:"no-data"},[i._v("暂无相关讨论")])]],2)]],2),i._v(" "),a("el-tab-pane",{attrs:{label:"课程考核",name:"3"}},[a("div",{staticClass:"course-assess"},[a("div",{staticClass:"title"},[i._v("最终成绩:"+i._s(i.tabs[3].assess.score&&i.tabs[3].assess.score+"分"||"暂无"))]),i._v(" "),a("div",{staticClass:"topic"},[a("div",{staticClass:"line"}),i._v(" "),a("div",{staticClass:"tit"},[i._v("课程考核标准")])]),i._v(" "),a("div",{staticClass:"detail"},[a("div",{staticClass:"detail-rich",domProps:{innerHTML:i._s(i.tabs[3].richText)}})]),i._v(" "),a("div",{staticClass:"topic"},[a("div",{staticClass:"line"}),i._v(" "),a("div",{staticClass:"tit"},[i._v("学习进度及成绩")])]),i._v(" "),a("div",{staticClass:"table-title"},[i._v("课程“音视频”观看统计( 累计学习时长:"+i._s(i.tabs[3].assess.duration)+",完成率:"+i._s(i.tabs[3].assess.progress)+" )")]),i._v(" "),a("div",{staticClass:"table"},[a("div",{staticClass:"th"},[a("div",{staticClass:"col3-td1"},[i._v("章节")]),i._v(" "),a("div",{staticClass:"col3-td2"},[i._v("学习时长")]),i._v(" "),a("div",{staticClass:"col3-td3"},[i._v("百分比")])]),i._v(" "),i._l(i.tabs[3].assess.video,function(e,t){return[a("div",{key:t,staticClass:"tb"},[a("div",{staticClass:"tt"},[i._v(i._s(e.title))]),i._v(" "),i._l(e.arr,function(t,s){return[a("div",{key:s,staticClass:"rd"},[a("div",{staticClass:"col3-td1",attrs:{"data-sid":e.sid,"data-cid":e.cid,"data-vid":t.vid,"data-type":t.type,"data-duration":t.duration},on:{mousedown:function(t){return i.jumpVAOrfinishVA(t)}}},[i._v(i._s(t.name))]),i._v(" "),a("div",{staticClass:"col3-td2"},[i._v(i._s(t.time))]),i._v(" "),a("div",{staticClass:"col3-td3"},[i._v(i._s(t.progress))])])]})],2)]}),i._v(" "),i.tabs[3].assess.video.length?i._e():[a("div",{staticStyle:{width:"100%","font-size":"30rpx",margin:"40rpx auto 10rpx auto","text-align":"center"}},[i._v("暂无数据")])]],2),i._v(" "),a("div",{staticClass:"table-title"},[i._v("试题及主观题")]),i._v(" "),a("div",{staticClass:"table"},[a("div",{staticClass:"th"},[a("div",{staticClass:"col3-td1"},[i._v("章节")]),i._v(" "),a("div",{staticClass:"col3-td2"},[i._v("提交时间")]),i._v(" "),a("div",{staticClass:"col3-td3"},[i._v("得分")])]),i._v(" "),i._l(i.tabs[3].assess.homewrok,function(t,s){return[a("div",{key:s,staticClass:"tb"},[a("div",{staticClass:"tt"},[i._v(i._s(t.title))]),i._v(" "),i._l(t.arr,function(t,s){return[a("div",{key:s,staticClass:"rd"},[a("div",{staticClass:"col3-td1"},[i._v(i._s(t.name))]),i._v(" "),a("div",{staticClass:"col3-td2"},[i._v(i._s(t.created_time||"暂无提交"))]),i._v(" "),a("div",{staticClass:"col3-td3"},[i._v(i._s(t.score))])])]})],2)]}),i._v(" "),i.tabs[3].assess.homewrok.length?i._e():[a("div",{staticStyle:{width:"100%","font-size":"30rpx",margin:"40rpx auto 10rpx auto","text-align":"center"}},[i._v("暂无数据")])]],2)])])],1)],1),i._v(" "),a("el-col",{attrs:{xs:24,sm:9,md:7,lg:6,xl:4}},[i.tabs[0].content&&i.tabs[0].content.teachers&&i.tabs[0].content.teachers.length?[a("el-tabs",{on:{"tab-click":i.handleClick},model:{value:i.activeName1,callback:function(t){i.activeName1=t},expression:"activeName1"}},[a("el-tab-pane",{attrs:{label:"课程讲师",name:"1"}},[i._l(i.tabs[0].content.teachers,function(t,s){return[a("div",{key:s,staticClass:"list-teacher"},[a("img",{staticClass:"img",attrs:{src:t.src,alt:""}}),i._v(" "),a("div",{staticClass:"ctx"},[a("div",{staticClass:"top-ctx"},[a("div",{staticClass:"name"},[i._v(i._s(t.name))])]),i._v(" "),a("div",{staticClass:"bottom-ctx"},[a("div",{staticClass:"t1"},[i._v(i._s(t.edu))]),i._v(" "),a("div",{staticClass:"t2"},[i._v(i._s(t.job))]),i._v(" "),a("div",{staticClass:"t3"},[i._v(i._s(t.unit))])])])])]})],2)],1)]:i._e()],2)],1)],1)])}var a=[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"no-img"},[s("i",{staticClass:"el-icon-self-13"})])}];e.d(s,"a",function(){return i}),e.d(s,"b",function(){return a})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{262:function(t,e,a){"use strict";a.r(e);var s=a(474),n=a(323);for(var i in n)"default"!==i&&function(t){a.d(e,t,function(){return n[t]})}(i);a(416);var r=a(1),c=Object(r.a)(n.default,s.a,s.b,!1,null,"5279524f",null);e.default=c.exports},323:function(t,e,a){"use strict";a.r(e);var s=a(324),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);e.default=n.a},324:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,n=a(45),i=(s=n)&&s.__esModule?s:{default:s};e.default={components:{},data:function(){return{find:[{name:"学期",isShow:!1,selectIndex:0,key:"semester_id",arrItem:[{val:"-1",name:"全部"},{val:"",name:"第一学期"},{val:"",name:"第二学期"},{val:"",name:"第三学期"},{val:"",name:"第四学期"}]},{name:"课程类型",isShow:!1,selectIndex:0,key:"course_type",arrItem:[{val:"-1",name:"全部"},{val:"1",name:"必修课"},{val:"2",name:"选修课"}]},{name:"选修状态",isShow:!1,selectIndex:0,key:"select_status",arrItem:[{val:"-1",name:"全部"},{val:"0",name:"未选修"},{val:"1",name:"已选修"}]}],homeList:[],param:{}}},mounted:function(){var e=this;this.VueEvent.$emit("can-change-sidebar",{defaultActive:"0"});var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});i.default.courseAction.getlearnFindList().then(function(t){e.find[0].arrItem=t,e.getAjaxList(!1,"请去选课广场选课")}).catch(function(t){a.close(),e.$message.error(t.message)}).finally(function(){a.close()})},methods:{goCourseContent:function(t){var e=t.currentTarget.dataset.cid;this.$router.push({path:"/app/my-learn/course-detail/"+e})},getAjaxList:function(t,e){var a=this;i.default.courseAction.getCourseList(t,this.param).then(function(t){(a.homeList=t).length||a.$message(e)}).catch(function(t){a.$message.error(t.message)}).finally(function(){})},selFindSelect:function(t){var e=t.currentTarget.dataset,a=e.index,s=this.find,n=e.i;s[n].selectIndex=a,s[n].isShow=!1,"-1"===e.val?delete this.param[e.key]:this.param[e.key]=e.val,this.getAjaxList(!1,"暂无符合条件的课程")}}}},325:function(t,e,a){},416:function(t,e,a){"use strict";var s=a(325);a.n(s).a},474:function(t,e,a){"use strict";function s(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",[i("div",{staticClass:"con-title"},[n._v("选课广场")]),n._v(" "),i("div",{staticClass:"con-box"},[n._l(n.find,function(a,s){return[i("ul",{key:s,staticClass:"tabs-list"},[i("li",{staticClass:"tabs-hd"},[n._v(n._s(a.name))]),n._v(" "),n._l(a.arrItem,function(t,e){return[i("li",{key:e},[i("div",{class:["tab",a.selectIndex==e?"on":""],attrs:{"data-index":e,"data-i":s,"data-key":a.key,"data-val":t.val},on:{click:n.selFindSelect}},[n._v(n._s(t.name))])])]})],2)]})],2),n._v(" "),i("div",{staticClass:"con-box"},[i("ul",{staticClass:"course-list"},[n._l(n.homeList,function(t,e){return[i("li",{key:e,staticClass:"item"},[i("div",{staticClass:"left-pic"},[t.src?[i("img",{attrs:{src:t.src,alt:""}})]:[n._m(0,!0)]],2),n._v(" "),i("div",{staticClass:"right-bd"},[i("div",{staticClass:"title"},[n._v(n._s(t.title))]),n._v(" "),i("div",{staticClass:"tags"},[n._l(t.arrTab,function(t,e){return[i("span",{key:e},[n._v(n._s(t))])]})],2),n._v(" "),i("div",{staticClass:"time"},[n._v("\n "+n._s(t.status)+"  "),i("em",[n._v(n._s(t.time))])]),n._v(" "),i("div",{staticClass:"progress"},[n._v("\n 视频观看进度 "),i("el-progress",{attrs:{percentage:99.5<t.progress?100:t.progress,color:"#b49441"}})],1),n._v(" "),i("div",{staticClass:"right-sel"},[n._v(n._s(t.myStatus))]),n._v(" "),i("el-button",{staticClass:"in-btn",attrs:{type:"primary",size:"small",round:"","data-cid":t.id,"data-sid":t.sid},on:{click:n.goCourseContent}},[n._v("查看课程")])],1)])]}),n._v(" "),n.homeList.length?n._e():[i("div",{staticClass:"no-data"},[n._v("暂无相关课程")])]],2)])])}var n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-img"},[e("i",{staticClass:"el-icon-self-13"})])}];a.d(e,"a",function(){return s}),a.d(e,"b",function(){return n})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{271:function(t,e,a){"use strict";a.r(e);var s=a(490),n=a(333);for(var i in n)"default"!==i&&function(t){a.d(e,t,function(){return n[t]})}(i);a(429);var r=a(0),c=Object(r.a)(n.default,s.a,s.b,!1,null,"5279524f",null);e.default=c.exports},333:function(t,e,a){"use strict";a.r(e);var s=a(334),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);e.default=n.a},334:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,n=a(48),i=(s=n)&&s.__esModule?s:{default:s};e.default={components:{},data:function(){return{find:[{name:"学期",isShow:!1,selectIndex:0,key:"semester_id",arrItem:[{val:"-1",name:"全部"},{val:"",name:"第一学期"},{val:"",name:"第二学期"},{val:"",name:"第三学期"},{val:"",name:"第四学期"}]},{name:"课程类型",isShow:!1,selectIndex:0,key:"course_type",arrItem:[{val:"-1",name:"全部"},{val:"1",name:"必修课"},{val:"2",name:"选修课"}]},{name:"选修状态",isShow:!1,selectIndex:0,key:"select_status",arrItem:[{val:"-1",name:"全部"},{val:"0",name:"未选修"},{val:"1",name:"已选修"}]}],homeList:[],param:{}}},mounted:function(){var e=this;this.VueEvent.$emit("can-change-sidebar",{defaultActive:"0"});var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});i.default.courseAction.getlearnFindList().then(function(t){e.find[0].arrItem=t,e.getAjaxList(!1,"请去选课广场选课")}).catch(function(t){a.close(),e.$message.error(t.message)}).finally(function(){a.close()})},methods:{goCourseContent:function(t){var e=t.currentTarget.dataset.cid;this.$router.push({path:"/app/my-learn/course-detail/"+e})},getAjaxList:function(t,e){var a=this;i.default.courseAction.getCourseList(t,this.param).then(function(t){(a.homeList=t).length||a.$message(e)}).catch(function(t){a.$message.error(t.message)}).finally(function(){})},selFindSelect:function(t){var e=t.currentTarget.dataset,a=e.index,s=this.find,n=e.i;s[n].selectIndex=a,s[n].isShow=!1,"-1"===e.val?delete this.param[e.key]:this.param[e.key]=e.val,this.getAjaxList(!1,"暂无符合条件的课程")}}}},335:function(t,e,a){},429:function(t,e,a){"use strict";var s=a(335);a.n(s).a},490:function(t,e,a){"use strict";function s(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",[i("div",{staticClass:"con-title"},[n._v("选课广场")]),n._v(" "),i("div",{staticClass:"con-box"},[n._l(n.find,function(a,s){return[i("ul",{key:s,staticClass:"tabs-list"},[i("li",{staticClass:"tabs-hd"},[n._v(n._s(a.name))]),n._v(" "),n._l(a.arrItem,function(t,e){return[i("li",{key:e},[i("div",{class:["tab",a.selectIndex==e?"on":""],attrs:{"data-index":e,"data-i":s,"data-key":a.key,"data-val":t.val},on:{click:n.selFindSelect}},[n._v(n._s(t.name))])])]})],2)]})],2),n._v(" "),i("div",{staticClass:"con-box"},[i("ul",{staticClass:"course-list"},[n._l(n.homeList,function(t,e){return[i("li",{key:e,staticClass:"item"},[i("div",{staticClass:"left-pic"},[t.src?[i("img",{attrs:{src:t.src,alt:""}})]:[n._m(0,!0)]],2),n._v(" "),i("div",{staticClass:"right-bd"},[i("div",{staticClass:"title"},[n._v(n._s(t.title))]),n._v(" "),i("div",{staticClass:"tags"},[n._l(t.arrTab,function(t,e){return[i("span",{key:e},[n._v(n._s(t))])]})],2),n._v(" "),i("div",{staticClass:"time"},[n._v("\n "+n._s(t.status)+"  "),i("em",[n._v(n._s(t.time))])]),n._v(" "),i("div",{staticClass:"progress"},[n._v("\n 视频观看进度 "),i("el-progress",{attrs:{percentage:99.5<t.progress?100:t.progress,color:"#b49441"}})],1),n._v(" "),i("div",{staticClass:"right-sel"},[n._v(n._s(t.myStatus))]),n._v(" "),i("el-button",{staticClass:"in-btn",attrs:{type:"primary",size:"small",round:"","data-cid":t.id,"data-sid":t.sid},on:{click:n.goCourseContent}},[n._v("查看课程")])],1)])]}),n._v(" "),n.homeList.length?n._e():[i("div",{staticClass:"no-data"},[n._v("暂无相关课程")])]],2)])])}var n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-img"},[e("i",{staticClass:"el-icon-self-13"})])}];a.d(e,"a",function(){return s}),a.d(e,"b",function(){return n})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{271:function(t,e,a){"use strict";a.r(e);var s=a(490),n=a(333);for(var i in n)"default"!==i&&function(t){a.d(e,t,function(){return n[t]})}(i);a(429);var r=a(0),c=Object(r.a)(n.default,s.a,s.b,!1,null,"1497b902",null);e.default=c.exports},333:function(t,e,a){"use strict";a.r(e);var s=a(334),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);e.default=n.a},334:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,n=a(48),i=(s=n)&&s.__esModule?s:{default:s};e.default={components:{},data:function(){return{find:[{name:"学期",isShow:!1,selectIndex:0,key:"semester_id",arrItem:[{val:"-1",name:"全部"},{val:"",name:"第一学期"},{val:"",name:"第二学期"},{val:"",name:"第三学期"},{val:"",name:"第四学期"}]},{name:"课程类型",isShow:!1,selectIndex:0,key:"course_type",arrItem:[{val:"-1",name:"全部"},{val:"1",name:"必修课"},{val:"2",name:"选修课"}]},{name:"选修状态",isShow:!1,selectIndex:0,key:"select_status",arrItem:[{val:"-1",name:"全部"},{val:"0",name:"未选修"},{val:"1",name:"已选修"}]}],homeList:[],param:{}}},mounted:function(){var e=this;this.VueEvent.$emit("can-change-sidebar",{defaultActive:"0"});var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});i.default.courseAction.getlearnFindList().then(function(t){e.find[0].arrItem=t,e.getAjaxList(!1,"请去选课广场选课")}).catch(function(t){a.close(),e.$message.error(t.message)}).finally(function(){a.close()})},methods:{goCourseContent:function(t){var e=t.currentTarget.dataset.cid,a=t.currentTarget.dataset.sid;this.$router.push({path:"/app/my-learn/course-detail/"+a+"/"+e})},getAjaxList:function(t,e){var a=this;i.default.courseAction.getCourseList(t,this.param).then(function(t){(a.homeList=t).length||a.$message(e)}).catch(function(t){a.$message.error(t.message)}).finally(function(){})},selFindSelect:function(t){var e=t.currentTarget.dataset,a=e.index,s=this.find,n=e.i;s[n].selectIndex=a,s[n].isShow=!1,"-1"===e.val?delete this.param[e.key]:this.param[e.key]=e.val,this.getAjaxList(!1,"暂无符合条件的课程")}}}},335:function(t,e,a){},429:function(t,e,a){"use strict";var s=a(335);a.n(s).a},490:function(t,e,a){"use strict";function s(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",[i("div",{staticClass:"con-title"},[n._v("选课广场")]),n._v(" "),i("div",{staticClass:"con-box"},[n._l(n.find,function(a,s){return[i("ul",{key:s,staticClass:"tabs-list"},[i("li",{staticClass:"tabs-hd"},[n._v(n._s(a.name))]),n._v(" "),n._l(a.arrItem,function(t,e){return[i("li",{key:e},[i("div",{class:["tab",a.selectIndex==e?"on":""],attrs:{"data-index":e,"data-i":s,"data-key":a.key,"data-val":t.val},on:{click:n.selFindSelect}},[n._v(n._s(t.name))])])]})],2)]})],2),n._v(" "),i("div",{staticClass:"con-box"},[i("ul",{staticClass:"course-list"},[n._l(n.homeList,function(t,e){return[i("li",{key:e,staticClass:"item"},[i("div",{staticClass:"left-pic"},[t.src?[i("img",{attrs:{src:t.src,alt:""}})]:[n._m(0,!0)]],2),n._v(" "),i("div",{staticClass:"right-bd"},[i("div",{staticClass:"title"},[n._v(n._s(t.title))]),n._v(" "),i("div",{staticClass:"tags"},[n._l(t.arrTab,function(t,e){return[i("span",{key:e},[n._v(n._s(t))])]})],2),n._v(" "),i("div",{staticClass:"time"},[n._v("\n "+n._s(t.status)+"  "),i("em",[n._v(n._s(t.time))])]),n._v(" "),i("div",{staticClass:"progress"},[n._v("\n 视频观看进度 "),i("el-progress",{attrs:{percentage:99.5<t.progress?100:t.progress,color:"#b49441"}})],1),n._v(" "),i("div",{staticClass:"right-sel"},[n._v(n._s(t.myStatus))]),n._v(" "),i("el-button",{staticClass:"in-btn",attrs:{type:"primary",size:"small",round:"","data-cid":t.id,"data-sid":t.sid},on:{click:n.goCourseContent}},[n._v("查看课程")])],1)])]}),n._v(" "),n.homeList.length?n._e():[i("div",{staticClass:"no-data"},[n._v("暂无相关课程")])]],2)])])}var n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-img"},[e("i",{staticClass:"el-icon-self-13"})])}];a.d(e,"a",function(){return s}),a.d(e,"b",function(){return n})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{269:function(t,s,e){"use strict";e.r(s);var i=e(486),a=e(326);for(var r in a)"default"!==r&&function(t){e.d(s,t,function(){return a[t]})}(r);e(427);var c=e(0),o=Object(c.a)(a.default,i.a,i.b,!1,null,"c289bea2",null);s.default=o.exports},326:function(t,s,e){"use strict";e.r(s);var i=e(327),a=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(s,t,function(){return i[t]})}(r);s.default=a.a},327:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var l=a(e(48)),n=a(e(86)),i=a(e(264));function a(t){return t&&t.__esModule?t:{default:t}}s.default={components:{},props:{sid:{type:String,require:!1},cid:{type:String,require:!1}},data:function(){return{ckeditor:null,activeName:"1",activeName1:"1",passCount:0,headerInfo:{},tabs:[{title:"课程简介",isShow:!0,content:{text:"<p><b>视频课程没有加载出来,请检查自己的网络环境,并重新刷新。</b>",teachers:[{src:"",name:"讲师姓名",edu:"学历",job:"职称",unit:"讲师所在单位"}]}},{title:"课程内容",isShow:!1,chapterList:{currentChapterId:"11",course:[{title:"第一章:测试章节",isUp:!0,chapters:[{id:"12",time:"19:09",name:"1.2 测试课程"}]},{title:"第二章:证券估值",isUp:!0,chapters:[]},{title:"课程大作业",isUp:!0,chapters:[]},{title:"课程资料",isUp:!0,chapters:[]}]}},{title:"课程讨论",isShow:!1},{title:"课程考核",isShow:!1,richText:"<div class='h1'>一、最终成绩计算</div> <div class='p'>课程表现得分*30%+每章试题得分*30%+结业大作业得分*40%=该门课程总得分,满分100分,低于80分为不及格,需重修此门课程。84分以上方可申请学位。</div> <img class='b1' src='http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/www/course-check.png' mode='aspectFill' /> <div class='h1'>二、具体细则</div> <div class='h2'>课程表现:总分100分(占科目总成绩的30%)</div> <div class='p'>1、每个视频观看完成度50分:以后台数据统计为准,全部看完视频满分50分,其它酌情给分。</div> <div class='em'>注:视频观看考核的是实际播放时长,不是进度条的显示状态,进度条满格并不一定表示观看完这个视频。以下方每日学习时长为准。</div> <div class='p'>2、课程反馈建设性问题及课程完成情况50分:反馈问题以教务老师统计为准,课程完成情况以后台数据为准,是否按时完成视频观看、测试、作业提交,满分50分,酌情给分。</div> <div class='h2'>每章试题:总分100分(占科目总成绩的30%)</div> <div class='p'>本课程所有试题的平均正确率*100分*占总成绩30%=此项得分。(比如正确度为80%,则此项得分:80%*100*30%=24分)</div> <div class='h2'>结业大作业:总分100分(占科目总成绩的40%)</div> <div class='p'>结业大作业满分为100分,以助教老师给分为准。</div>",assess:{score:"20",duration:"00:01:20",progress:"0/10",video:[{title:"第一章 市场营销原理导论",sid:"",cid:"",arr:[{name:"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销",time:"12:08",progress:"100%",vid:""}]}],homewrok:[{title:"第一章 市场营销原理导论",arr:[{name:"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销",score:20}]}],essay:{created_time:"",status:"未提交",score:"暂无"}}}],sort:[{isShow:!1,str:""},{isShow:!1,str:"tag"}],discussList:[],param:{limit:10,offset:0,sort:""},publish:{course_id:this.cid,semester_id:this.sid,title:"",contents:""},isPublicShow:!1,publishRules:{title:[{required:!0,message:"请输入标题",trigger:"blur"}]}}},mounted:function(){var n=this,d=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});if("0"===this.cid&&"0"===this.sid)return this.$message({message:"URL异常,请点击“返回首页”,重新选择课程学习!!",type:"info",duration:1e4}),void d.close();l.default.courseAction.getCourseDetail(this.cid,this.sid).then(function(o){n.headerInfo=o.headerInfo,n.tabs[0].content=o.tabs0Content,n.tabs[1].chapterList=o.tabs1ChapterList,o.tabs3richTest&&(n.tabs[3].richText=o.tabs3richTest),l.default.courseAction.getCourseAssess(n.cid,n.sid).then(function(t){for(var s=o.tabs1ChapterList.course,e=0;e<t.video.length;e++)for(var i=t.video[e].arr,a=s[e].chapters,r=0;r<i.length;r++)for(var c=r;c<a.length;c++)if(i[r].id===a[c].id){i[r].vid=a[c].vid,i[r].duration=a[c].duration;break}n.tabs[3].assess=t,d.close()}).catch(function(t){n.$message.error(t.message)}).finally(function(){}),l.default.discussAction.getCourseDiscussList(n.cid,n.sid,n.param).then(function(t){n.discussList=t}).catch(function(t){n.$message.error(t.message)}).finally(function(){})}).catch(function(t){n.$message.error(t.message),d.close()}).finally(function(){}),window.addEventListener("resize",this.resizeRoot.bind(this),!1)},destroyed:function(){window.removeEventListener("resize",this.resizeRoot.bind(this),!1),this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null},updated:function(){this.resizeRoot(),this.isPublicShow&&this.initckeditor()},beforeUpdate:function(){this.isPublicShow||(this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null)},methods:{handleClick:function(t,s){},initckeditor:function(){this.ckeditor||(this.ckeditor=i.default.replace("editor",{height:300,uiColor:"#eeeeee",filebrowserImageUploadUrl:"/api/ckeditor/img/upload",toolbar:[{name:"styles",items:["Styles","Format","Font","FontSize"]},{name:"colors",items:["TextColor","BGColor"]},{name:"tools",items:["Maximize","ShowBlocks"]},{name:"editing",items:["Find","Replace"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote","CreateDiv","-","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","-","BidiLtr","BidiRtl"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule"]}]}))},clickJumpOrStatus:function(t){var s=t.currentTarget.dataset;if(s.status){var e=s.index,i=this.tabs[1].chapterList.course[e];i.isUp=!i.isUp}else{window.localStorage.setItem("headerInfo",JSON.stringify(this.headerInfo));var a=this.tabs[1].chapterList.course[s.index],r=s.sid,c=s.cid;if("course_info"===a.type)this.$router.push({path:"/player/"+r+"/"+c+"/course-info/course_info"});else if("course_work"===a.type){if(!this.headerInfo.survey)return this.$message("请先填写教学评估,然后完成大作业。"),!1;this.$router.push({path:"/player/"+r+"/"+c+"/course-work/course_work"})}else"teach_evaluation"===a.type?this.$router.push({path:"/survey/"+r+"/"+c}):"exam"===a.type&&this.$router.push({path:"/player/"+r+"/"+c+"/exam/"+a.examId})}},jumpToOtherVA:function(t){if(this.headerInfo.isStart){var s=t.target.dataset;/name/gi.test(t.target.className)||(s=t.target.parentElement.dataset);var e=s.sid,i=s.cid,a=s.vid,r=s.type;if(!s.hasva){window.localStorage.setItem("headerInfo",JSON.stringify(this.headerInfo));var c=s.index,o=s.count,n=this.tabs[1].chapterList.course[c];return n&&n.chapters[o]?void(3===n.chapters[o].type?1===n.chapters[o].work_type?this.$router.push({path:"/player/"+e+"/"+i+"/chapter-exam/"+a}):2===n.chapters[o].work_type&&this.$router.push({path:"/player/"+e+"/"+i+"/chapter-work/"+a}):4===n.chapters[o].type&&this.$router.push({path:"/player/"+e+"/"+i+"/chapter-read/"+a})):void this.$message.error("系统未知错误,003")}this.$router.push({path:"/player/"+e+"/"+i+"/chapter-video/"+a+"/"+r})}else this.$message.error("先选课,才能学习")},startLearn:function(t){var s=t.currentTarget.dataset,e=s.sid,i=s.cid,a=s.vid,r=s.type;this.$router.push({path:"/player/"+e+"/"+i+"/chapter-video/"+a+"/"+r})},noWantThisCourse:function(){var s=this;if(this.passCountTimeout&&clearTimeout(this.passCountTimeout),this.passCountTimeout=setTimeout(function(){s.passCount=0},500),this.passCount<15)this.passCount++;else{var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.courseAction.outSelectCourse(this.cid,this.sid).then(function(t){s.headerInfo.isStart=!1,e.close(),s.$message({type:"success",message:"退课成功"}),s.passCount=0}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})}},jumpVAOrfinishVA:function(t){var s=t.currentTarget.dataset,e=this._keydownfn.bind(this,s);document.addEventListener("keydown",e,!1);document.addEventListener("mouseup",function t(){document.removeEventListener("keydown",e),document.removeEventListener("mouseup",t)},!1)},_keydownfn:function(t,s){var e=this,i=t.sid,a=t.cid,r=t.vid,c=t.duration,o=t.type;79===s.keyCode&&this.$router.push({path:"/player/"+i+"/"+a+"/chapter-video/"+r+"/"+o}),70===s.keyCode&&l.default.chapterAction.updateProgress({d:n.default.other.getIdt(),i:n.default.other.getIdt(),c:a,s:i,v:r,_p:parseInt(c)+11,_m:parseInt(c),_c:parseInt(c),ps:"0,0"}).then(function(t){t.success&&e.$message.success("补课成功,刷新查看结果")}).catch(function(t){e.$message.error(t.message)}).finally(function(){})},wantThisCourse:function(){var s=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.courseAction.selectCourse(this.cid,this.sid).then(function(t){s.headerInfo.isStart=!0,e.close(),s.$message({type:"success",message:"选课成功"})}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})},resizeRoot:function(){var a=this,t=document.querySelectorAll(".ellipsis"),r=getComputedStyle(window.document.documentElement)["font-size"].replace("px","");t.forEach(function(t,s){t.previousSibling.style.height="auto";var e=t.previousSibling.offsetHeight,i=.18*r*1.5*2;i<e?(a.discussList[s]&&(a.discussList[s].isShow=!0),t.previousSibling.style.height=i+"px"):a.discussList[s]&&(a.discussList[s].isShow=!1)})},publishDiscuss:function(){this.isPublicShow=!0},gobackDiscuss:function(){this.isPublicShow=!1},onSubmitPublish:function(){var e=this;this.$refs.setPublishform.validate(function(t){if(!t)return e.$message.error("请输入标题"),!1;if(e.ckeditor.getData()){e.publish.contents=e.ckeditor.getData();var s=e.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.discussAction.publishQues(e.publish).then(function(t){e.$message({type:"success",message:"问题发布成功"}),e.isPublicShow=!1,l.default.discussAction.getCourseDiscussList(e.cid,e.sid,e.param).then(function(t){e.discussList=t}).catch(function(t){e.$message.error(t.message)}).finally(function(){})}).catch(function(t){e.$message.error(t.message)}).finally(function(){s.close()})}else e.$message.error("请输入正文内容")})},goDiscussDetail:function(t){var s=t.currentTarget.dataset.id;this.$router.push({path:"/app/my-learn/discuss-detail/"+this.sid+"/"+this.cid+"/"+s})},sortFn:function(t){var s=this,e=t.currentTarget.dataset.index,i=t.currentTarget.dataset.str;this.sort[e].isShow=!this.sort[e].isShow,this.sort[(parseInt(e)+1)%2].isShow=!1,this.param.sort=this.sort[e].isShow?i:"",this.param.offset=0;var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.discussAction.getCourseDiscussList(this.cid,this.sid,this.param).then(function(t){s.discussList=t}).catch(function(t){s.$message.error(t.message)}).finally(function(){a.close()})}}}},328:function(t,s,e){},427:function(t,s,e){"use strict";var i=e(328);e.n(i).a},486:function(t,s,e){"use strict";function i(){var i=this,t=i.$createElement,a=i._self._c||t;return a("div",[a("div",{staticClass:"con-title"},[i._v("课程详情")]),i._v(" "),a("div",{staticClass:"detail-box"},[a("div",{staticClass:"box-thd"},[a("div",{staticClass:"title",on:{click:i.noWantThisCourse}},[i._v(i._s(i.headerInfo.title)+"\n "),i.headerInfo.isStart&&i.tabs[1].chapterList.currentChapterId?[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini","data-cid":i.cid,"data-sid":i.sid,"data-type":i.tabs[1].chapterList.currentVideoProvider,"data-vid":i.tabs[1].chapterList.currentChapterId},on:{click:i.startLearn}},[i._v("继续学习")])]:i.headerInfo.isStart?[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini","data-cid":i.cid,"data-sid":i.sid,"data-type":i.tabs[1].chapterList.course[0].chapters[0].video_provider,"data-vid":i.tabs[1].chapterList.course[0].chapters[0].vid},on:{click:i.startLearn}},[i._v("开始学习")])]:[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini"},on:{click:i.wantThisCourse}},[i._v("选课")])]],2),i._v(" "),a("div",{staticClass:"tags"},[i._l(i.headerInfo.arrTab,function(t,s){return[a("span",{key:s,staticClass:"tabs-item"},[i._v(i._s(t))])]})],2),i._v(" "),a("div",{staticClass:"time"},[i._v(i._s(i.headerInfo.time)+" "+i._s(i.headerInfo.status))]),i._v(" "),a("div",{staticStyle:{float:"left",width:"100%",height:"1px"}}),i._v(" "),a("div",{staticClass:"progress"},[i._v("\n 视频观看进度 "),a("el-progress",{attrs:{percentage:i.headerInfo.progress,color:"#b49441"}})],1)]),i._v(" "),a("div",{staticClass:"box-tbd"},[a("div",{staticClass:"left-pic"},[i.headerInfo.bgSrc?[a("img",{attrs:{src:i.headerInfo.bgSrc,alt:""}})]:[i._m(0)]],2),i._v(" "),a("div",{staticClass:"right-content",domProps:{innerHTML:i._s(i.tabs[0].content.text)}})]),i._v(" "),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{xs:24,sm:15,md:17,lg:18,xl:20}},[a("el-tabs",{on:{"tab-click":i.handleClick},model:{value:i.activeName,callback:function(t){i.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"课程内容",name:"1"}},[a("div",{staticClass:"course-list"},[i._l(i.tabs[1].chapterList.course,function(t,e){return[a("div",{key:e,class:["content-group",t.chapters.length?"":"no-child",t.isUp?"up":""]},[a("div",{staticClass:"title",attrs:{"data-index":e,"data-cid":t.cid,"data-sid":t.sid,"data-status":!!t.chapters.length},on:{click:function(t){return i.clickJumpOrStatus(t)}}},[i._v(i._s(t.title)+"\n "),a("i",{class:["side",t.chapters.length?"":"none",t.isUp?"el-icon-arrow-down":"el-icon-arrow-up"]})]),i._v(" "),i._l(t.chapters,function(t,s){return[a("div",{key:s,class:["body",t.id===i.tabs[1].chapterList.currentChapterId&&"on"]},[a("div",{staticClass:"name",attrs:{"data-vid":t.vid,"data-cid":t.cid,"data-sid":t.sid,"data-hasVA":t.time,"data-type":t.video_provider,"data-name":t.name,"data-index":e,"data-count":s},on:{click:i.jumpToOtherVA}},[i._v("\n "+i._s(t.name)+"\n "),a("div",{staticClass:"time"},[i._v(i._s(t.time))])])])]})],2)]})],2)]),i._v(" "),a("el-tab-pane",{attrs:{label:"课程讨论",name:"2"}},[i.isPublicShow?[a("div",{staticClass:"publish"},[a("div",{staticStyle:{overflow:"hidden"}},[a("div",{staticClass:"right-goback-txt"},[i._v("发布问题")]),i._v(" "),a("el-button",{attrs:{type:"text"},on:{click:i.gobackDiscuss}},[i._v("返回问题列表")])],1),i._v(" "),a("el-form",{ref:"setPublishform",attrs:{model:i.publish,rules:i.publishRules}},[a("el-form-item",{attrs:{label:"标题",prop:"title"}},[a("el-input",{attrs:{type:"text",placeholder:"请输入标题"},model:{value:i.publish.title,callback:function(t){i.$set(i.publish,"title",t)},expression:"publish.title"}})],1),i._v(" "),a("div",{staticStyle:{"line-height":"1.5","font-size":"0.16rem","margin-bottom":"0.2rem"}},[i._v("正文内容")]),i._v(" "),a("textarea",{attrs:{id:"editor"}}),i._v(" "),a("div",{staticStyle:{height:"0.2rem"}}),i._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:i.onSubmitPublish}},[i._v("发布问题")])],1)],1)],1)]:[a("div",{staticClass:"pub-ques"},[a("div",{staticClass:"ask"},[a("i",{staticClass:"el-icon-edit img"}),i._v(" "),a("div",{staticClass:"txt",on:{click:i.publishDiscuss}},[i._v("发布问题 ...")])]),i._v(" "),a("div",{class:["item-order",i.sort[0].isShow?"on":""],attrs:{"data-index":0,"data-str":i.sort[0].str},on:{click:i.sortFn}},[i._v("按时间排序")]),i._v(" "),a("div",{class:["item-order",i.sort[1].isShow?"on":""],attrs:{"data-index":1,"data-str":i.sort[1].str},on:{click:i.sortFn}},[i._v("按投票排序")])]),i._v(" "),a("div",{staticClass:"discuss-scroll",attrs:{bindscrolltolower:"loadmore",bindscrolltoupper:"updatenew"}},[i._l(i.discussList,function(t,s){return[a("div",{key:s,staticClass:"item-list",attrs:{"data-id":t.id,"data-sid":t.sid,"data-index":s},on:{click:i.goDiscussDetail}},[a("div",{staticClass:"user"},[t.user.url?[a("img",{staticClass:"img",attrs:{src:t.user.url}})]:[a("img",{staticClass:"img",attrs:{src:e(125)}})],i._v(" "),a("div",{staticClass:"right"},[a("div",{staticClass:"name"},[i._v(i._s(t.user.name))]),i._v(" "),a("div",{staticClass:"time"},[i._v(i._s(t.user.time))])])],2),i._v(" "),a("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),a("div",{class:["text"],domProps:{innerHTML:i._s(t.text)}}),a("div",{class:["ellipsis",t.isShow?"on":""]},[i._v("....")]),i._v(" "),a("div",{staticClass:"result"},[i._v(i._s(t.askCnt)+" 回答"),a("div",{staticStyle:{display:"inline-block",width:"20px"}}),i._v(i._s(t.TouCnt)+" 投票")])])]}),i._v(" "),i.discussList.length?i._e():[a("div",{staticClass:"no-data"},[i._v("暂无相关讨论")])]],2)]],2),i._v(" "),a("el-tab-pane",{attrs:{label:"课程考核",name:"3"}},[a("div",{staticClass:"course-assess"},[a("div",{staticClass:"title"},[i._v("最终成绩:"+i._s(i.tabs[3].assess.score&&i.tabs[3].assess.score+"分"||"暂无"))]),i._v(" "),a("div",{staticClass:"topic"},[a("div",{staticClass:"line"}),i._v(" "),a("div",{staticClass:"tit"},[i._v("课程考核标准")])]),i._v(" "),a("div",{staticClass:"detail"},[a("div",{staticClass:"detail-rich",domProps:{innerHTML:i._s(i.tabs[3].richText)}})]),i._v(" "),a("div",{staticClass:"topic"},[a("div",{staticClass:"line"}),i._v(" "),a("div",{staticClass:"tit"},[i._v("学习进度及成绩")])]),i._v(" "),a("div",{staticClass:"table-title"},[i._v("课程“音视频”观看统计( 累计学习时长:"+i._s(i.tabs[3].assess.duration)+",完成率:"+i._s(i.tabs[3].assess.progress)+" )")]),i._v(" "),a("div",{staticClass:"table"},[a("div",{staticClass:"th"},[a("div",{staticClass:"col3-td1"},[i._v("章节")]),i._v(" "),a("div",{staticClass:"col3-td2"},[i._v("学习时长")]),i._v(" "),a("div",{staticClass:"col3-td3"},[i._v("百分比")])]),i._v(" "),i._l(i.tabs[3].assess.video,function(e,t){return[a("div",{key:t,staticClass:"tb"},[a("div",{staticClass:"tt"},[i._v(i._s(e.title))]),i._v(" "),i._l(e.arr,function(t,s){return[a("div",{key:s,staticClass:"rd"},[a("div",{staticClass:"col3-td1",attrs:{"data-sid":e.sid,"data-cid":e.cid,"data-vid":t.vid,"data-type":t.type,"data-duration":t.duration},on:{mousedown:function(t){return i.jumpVAOrfinishVA(t)}}},[i._v(i._s(t.name))]),i._v(" "),a("div",{staticClass:"col3-td2"},[i._v(i._s(t.time))]),i._v(" "),a("div",{staticClass:"col3-td3"},[i._v(i._s(t.progress))])])]})],2)]}),i._v(" "),i.tabs[3].assess.video.length?i._e():[a("div",{staticStyle:{width:"100%","font-size":"30rpx",margin:"40rpx auto 10rpx auto","text-align":"center"}},[i._v("暂无数据")])]],2),i._v(" "),a("div",{staticClass:"table-title"},[i._v("试题及主观题")]),i._v(" "),a("div",{staticClass:"table"},[a("div",{staticClass:"th"},[a("div",{staticClass:"col3-td1"},[i._v("章节")]),i._v(" "),a("div",{staticClass:"col3-td2"},[i._v("提交时间")]),i._v(" "),a("div",{staticClass:"col3-td3"},[i._v("得分")])]),i._v(" "),i._l(i.tabs[3].assess.homewrok,function(t,s){return[a("div",{key:s,staticClass:"tb"},[a("div",{staticClass:"tt"},[i._v(i._s(t.title))]),i._v(" "),i._l(t.arr,function(t,s){return[a("div",{key:s,staticClass:"rd"},[a("div",{staticClass:"col3-td1"},[i._v(i._s(t.name))]),i._v(" "),a("div",{staticClass:"col3-td2"},[i._v(i._s(t.created_time||"暂无提交"))]),i._v(" "),a("div",{staticClass:"col3-td3"},[i._v(i._s(t.score))])])]})],2)]}),i._v(" "),i.tabs[3].assess.homewrok.length?i._e():[a("div",{staticStyle:{width:"100%","font-size":"30rpx",margin:"40rpx auto 10rpx auto","text-align":"center"}},[i._v("暂无数据")])]],2),i._v(" "),a("div",{staticClass:"table-title"},[i._v("大作业")]),i._v(" "),a("div",{staticClass:"status-text"},[i._v("状 态:"+i._s(i.tabs[3].assess.essay.status))]),i._v(" "),i.tabs[3].assess.essay.created_time?a("div",{staticClass:"status-text"},[i._v("提交时间:"+i._s(i.tabs[3].assess.essay.created_time))]):i._e(),i._v(" "),a("div",{staticClass:"status-text"},[i._v("得 分:"+i._s(i.tabs[3].assess.essay.score))])])])],1)],1),i._v(" "),a("el-col",{attrs:{xs:24,sm:9,md:7,lg:6,xl:4}},[i.tabs[0].content&&i.tabs[0].content.teachers&&i.tabs[0].content.teachers.length?[a("el-tabs",{on:{"tab-click":i.handleClick},model:{value:i.activeName1,callback:function(t){i.activeName1=t},expression:"activeName1"}},[a("el-tab-pane",{attrs:{label:"课程讲师",name:"1"}},[i._l(i.tabs[0].content.teachers,function(t,s){return[a("div",{key:s,staticClass:"list-teacher"},[a("img",{staticClass:"img",attrs:{src:t.src,alt:""}}),i._v(" "),a("div",{staticClass:"ctx"},[a("div",{staticClass:"top-ctx"},[a("div",{staticClass:"name"},[i._v(i._s(t.name))])]),i._v(" "),a("div",{staticClass:"bottom-ctx"},[a("div",{staticClass:"t1"},[i._v(i._s(t.edu))]),i._v(" "),a("div",{staticClass:"t2"},[i._v(i._s(t.job))]),i._v(" "),a("div",{staticClass:"t3"},[i._v(i._s(t.unit))])])])])]})],2)],1)]:i._e()],2)],1)],1)])}var a=[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"no-img"},[s("i",{staticClass:"el-icon-self-13"})])}];e.d(s,"a",function(){return i}),e.d(s,"b",function(){return a})}}]);
\ No newline at end of file
body .el-tab-pane[data-v-c289bea2]{padding-top:0}.detail-box[data-v-c289bea2]{margin:.3rem;color:#313131;overflow:hidden}.detail-box .box-thd[data-v-c289bea2]{margin-bottom:.1rem;overflow:hidden}.detail-box .box-thd .title[data-v-c289bea2]{font-size:.22rem;line-height:1.5;font-weight:700}.detail-box .box-thd .title .rbtn[data-v-c289bea2]{float:right}.detail-box .box-thd .tags[data-v-c289bea2]{float:left;margin:.1rem .2rem .05rem 0;font-size:.14rem}.detail-box .box-thd .tags span[data-v-c289bea2]{padding:0 .1rem;margin:0;border-right:1px solid #313131}.detail-box .box-thd .tags span[data-v-c289bea2]:first-child{padding-left:0}.detail-box .box-thd .tags span[data-v-c289bea2]:last-child{border:none}.detail-box .box-thd .time[data-v-c289bea2]{float:left;margin:.1rem 0 .05rem;font-size:.14rem}.detail-box .box-thd .progress[data-v-c289bea2]{float:left;width:100%;font-size:14px}.detail-box .box-thd .progress .el-progress[data-v-c289bea2]{width:45%;display:inline-block;vertical-align:text-bottom}.detail-box .box-tbd[data-v-c289bea2]{margin-bottom:.2rem;overflow:hidden}.detail-box .box-tbd .left-pic[data-v-c289bea2]{float:left;width:1.8rem;overflow:hidden}.detail-box .box-tbd .left-pic .no-img[data-v-c289bea2]{width:100%;height:1rem;text-align:center;line-height:1.1rem;border:1px solid #c9c9c9}.detail-box .box-tbd .left-pic .no-img i[data-v-c289bea2]{font-size:.4rem;color:#c9c9c9}.detail-box .box-tbd .left-pic img[data-v-c289bea2]{display:block;width:100%}.detail-box .box-tbd .right-content[data-v-c289bea2]{margin-left:2rem;line-height:1.5;font-size:14px}.detail-box .course-list[data-v-c289bea2]{padding:.2rem 0 .1rem;background:#fff}.detail-box .course-list .none[data-v-c289bea2]{display:none}.detail-box .course-list .content-group[data-v-c289bea2]{padding:0 .2rem}.detail-box .course-list .content-group.no-child[data-v-c289bea2],.detail-box .course-list .content-group.up[data-v-c289bea2]{margin-bottom:.1rem}.detail-box .course-list .content-group.up .body[data-v-c289bea2]{display:none}.detail-box .course-list .content-group .title[data-v-c289bea2]{position:relative;padding:.1rem .54rem .1rem .2rem;color:#313131;font-size:.16rem;line-height:.24rem;background:#e5e5e5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.detail-box .course-list .content-group .title .side[data-v-c289bea2]{position:absolute;top:50%;right:.24rem;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.detail-box .course-list .content-group .body[data-v-c289bea2]{position:relative;padding:0 .2rem;font-size:.16rem;line-height:.24rem;color:#505050;cursor:pointer}.detail-box .course-list .content-group .body[data-v-c289bea2]:hover{background:#f3f3f3}.detail-box .course-list .content-group .body.on .name[data-v-c289bea2]{color:#b2183e}.detail-box .course-list .content-group .body .name[data-v-c289bea2]{padding:.1rem .8rem .1rem .2rem;border-left:.02rem solid #c9c9c9}.detail-box .course-list .content-group .body .name[data-v-c289bea2]:before{width:.2rem;height:.2rem;-webkit-border-radius:.32rem;-moz-border-radius:.32rem;border-radius:.32rem;border:.02rem solid #c9c9c9;background:#e5e5e5;position:absolute;left:.11rem;top:.12rem;content:"";display:block;z-index:10}.detail-box .course-list .content-group .body .name .time[data-v-c289bea2]{position:absolute;right:.16rem;top:.1rem}.detail-box .list-teacher[data-v-c289bea2]{margin-bottom:.2rem;overflow:hidden}.detail-box .list-teacher .img[data-v-c289bea2]{float:left;width:30%;min-height:.8rem;background:#c9c9c9}.detail-box .list-teacher .ctx[data-v-c289bea2]{position:relative;margin-left:32%;min-height:.5rem}.detail-box .list-teacher .ctx .top-ctx[data-v-c289bea2]{position:absolute;top:0;width:100%;overflow:hidden}.detail-box .list-teacher .ctx .top-ctx .tit[data-v-c289bea2]{font-size:14px;color:#313131;line-height:1.5;overflow:hidden;word-break:break-all}.detail-box .list-teacher .ctx .bottom-ctx[data-v-c289bea2]{display:block;padding-top:.2rem;width:100%;overflow:hidden}.detail-box .list-teacher .ctx .bottom-ctx .t1[data-v-c289bea2],.detail-box .list-teacher .ctx .bottom-ctx .t2[data-v-c289bea2]{font-size:12px;line-height:1.5;color:#707070;overflow:hidden;word-break:break-all}.detail-box .list-teacher .ctx .bottom-ctx .t3[data-v-c289bea2]{font-size:12px;color:#707070;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.detail-box .pub-ques[data-v-c289bea2]{padding:0 .26rem;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.detail-box .pub-ques .ask[data-v-c289bea2]{position:relative;float:left;margin-top:.22rem;width:40%;min-width:1rem;height:.42rem;-webkit-border-radius:.28rem;-moz-border-radius:.28rem;border-radius:.28rem;border:1rpx solid #dcdcdc;background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.detail-box .pub-ques .ask .img[data-v-c289bea2]{position:absolute;left:.15rem;font-size:.24rem;line-height:.42rem}.detail-box .pub-ques .ask .txt[data-v-c289bea2]{position:absolute;left:.45rem;top:.01rem;height:.4rem;width:80%;border:none;line-height:.4rem;font-size:.2rem;color:#313131}.detail-box .pub-ques .item-order[data-v-c289bea2]{float:right;margin-top:.22rem;padding:0 .3rem;margin-left:.2rem;font-size:.2rem;color:#313131;text-align:center;line-height:.42rem;-webkit-border-radius:.28rem;-moz-border-radius:.28rem;border-radius:.28rem;background:#fff;cursor:pointer}.detail-box .pub-ques .item-order.on[data-v-c289bea2]{background:#b49441;color:#fff}.detail-box .discuss-scroll .item-list[data-v-c289bea2]:first-child{margin-top:.3rem}.detail-box .discuss-scroll .item-list[data-v-c289bea2]{position:relative;padding:.3rem .26rem;margin-bottom:.2rem;background:#fff;-webkit-box-shadow:0 2px 4px rgba(10,4,6,.1);-moz-box-shadow:0 2px 4px rgba(10,4,6,.1);box-shadow:0 2px 4px rgba(10,4,6,.1);cursor:pointer}.detail-box .discuss-scroll .item-list .user[data-v-c289bea2]{position:relative;overflow:hidden}.detail-box .discuss-scroll .item-list .user .img[data-v-c289bea2]{float:left;width:.6rem;height:.6rem;background:#e5e5e5;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.detail-box .discuss-scroll .item-list .user .right[data-v-c289bea2]{position:absolute;left:.72rem;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.detail-box .discuss-scroll .item-list .user .right .name[data-v-c289bea2]{font-size:.18rem;color:#313131;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.detail-box .discuss-scroll .item-list .user .right .time[data-v-c289bea2]{margin-top:.05rem;font-size:.16rem;color:#a0a0a0}.detail-box .discuss-scroll .item-list .title[data-v-c289bea2]{margin:.15rem 0;font-size:.22rem;color:#313131;font-weight:700;line-height:1.5;text-align:justify}.detail-box .discuss-scroll .item-list .text[data-v-c289bea2]{font-size:.18rem;color:#535353;line-height:1.5;text-align:justify;word-break:break-all;overflow:hidden}.detail-box .discuss-scroll .item-list .ellipsis[data-v-c289bea2]{display:none;position:absolute;right:.24rem;bottom:.68rem;padding:0 .15rem 0 .05rem;color:#535353;background:#fff;font-size:.18rem}.detail-box .discuss-scroll .item-list .ellipsis.on[data-v-c289bea2]{display:block}.detail-box .discuss-scroll .item-list .result[data-v-c289bea2]{margin-top:.15rem;font-size:.16rem;color:#313131}.detail-box .discuss-scroll .item-list .course-name[data-v-c289bea2]{position:absolute;right:.32rem;bottom:.28rem;font-size:.16rem;color:#b49441}.detail-box .discuss-scroll .no-data[data-v-c289bea2]{margin:.2rem 0;font-size:.24rem;color:#112c42;line-height:2rem;text-align:center;background:#fff}.detail-box .publish[data-v-c289bea2]{margin-bottom:.5rem;padding:.3rem;background:#f7f7f7;overflow:hidden}.detail-box .publish .right-goback-txt[data-v-c289bea2]{float:right;font-size:.2rem;color:#000;line-height:40px}.detail-box .course-assess[data-v-c289bea2]{padding:.2rem;margin-bottom:1rem;background:#fff;overflow:hidden}.detail-box .course-assess .title[data-v-c289bea2]{color:#313131;font-size:.2rem;margin:.4rem auto .2rem;text-align:center}.detail-box .course-assess .topic[data-v-c289bea2]{position:relative;width:100%;height:.5rem;overflow:hidden}.detail-box .course-assess .topic .line[data-v-c289bea2]{width:3rem;height:1px;margin:.25rem auto 0;background:#313131}.detail-box .course-assess .topic .tit[data-v-c289bea2]{position:absolute;top:50%;left:50%;padding:.1rem .22rem;font-size:.14rem;font-weight:700;color:#313131;background:#fff;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.detail-box .course-assess .detail[data-v-c289bea2]{margin-bottom:.4rem;padding:0 .2rem}.detail-box .course-assess .table-title[data-v-c289bea2]{font-size:.16rem;font-weight:700;margin:.2rem .26rem;text-align:justify;color:#b49441}.detail-box .course-assess .table[data-v-c289bea2]{color:#313131;padding:0 .2rem .3rem;border-bottom:.02rem solid #c9c9c9}.detail-box .course-assess .table .col3-td1[data-v-c289bea2]{float:left;padding-left:.15rem;width:65%;text-align:left;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col3-td2[data-v-c289bea2]{float:left;width:21%;text-align:center}.detail-box .course-assess .table .col3-td3[data-v-c289bea2]{float:left;width:14%;text-align:right;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col2-td1[data-v-c289bea2]{float:left;padding-left:.15rem;width:86%;text-align:left;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col2-td2[data-v-c289bea2]{float:left;width:14%;text-align:right;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .th[data-v-c289bea2]{padding:0 .2rem;font-size:.16rem;overflow:hidden;border-bottom:.02rem solid #e5e5e5;line-height:1.5;font-weight:700}.detail-box .course-assess .table .tb[data-v-c289bea2]{padding:0 0 0 .2rem;font-size:.14rem;overflow:hidden}.detail-box .course-assess .table .tb .tt[data-v-c289bea2]{padding:.1rem 0 .02rem;line-height:.24rem;font-weight:700}.detail-box .course-assess .table .tb .rd[data-v-c289bea2]{padding-right:.2rem;overflow:hidden;line-height:.26rem}.detail-box .course-assess .table .tb .rd[data-v-c289bea2]:hover{background:#efefef}.detail-box .course-assess .status-text[data-v-c289bea2]{padding-left:.3rem;font-size:.14rem;color:#000;line-height:1.5}@media (max-width:767px){.detail-box[data-v-c289bea2]{margin:.2rem}.detail-box .box-thd .progress .el-progress[data-v-c289bea2]{width:80%}.detail-box .box-tbd .left-pic[data-v-c289bea2]{width:100%;margin-bottom:.2rem}.detail-box .box-tbd .right-content[data-v-c289bea2]{margin-left:0;display:block}.detail-box .course-assess .detail[data-v-c289bea2]{padding:0}.detail-box .course-assess .table[data-v-c289bea2]{padding:0 0 .3rem}}
\ No newline at end of file
body .el-tab-pane[data-v-dac2ec40]{padding-top:0}.detail-box[data-v-dac2ec40]{margin:.3rem;color:#313131;overflow:hidden}.detail-box .box-thd[data-v-dac2ec40]{margin-bottom:.1rem;overflow:hidden}.detail-box .box-thd .title[data-v-dac2ec40]{font-size:.22rem;line-height:1.5;font-weight:700}.detail-box .box-thd .title .rbtn[data-v-dac2ec40]{float:right}.detail-box .box-thd .tags[data-v-dac2ec40]{float:left;margin:.1rem .2rem .05rem 0;font-size:.14rem}.detail-box .box-thd .tags span[data-v-dac2ec40]{padding:0 .1rem;margin:0;border-right:1px solid #313131}.detail-box .box-thd .tags span[data-v-dac2ec40]:first-child{padding-left:0}.detail-box .box-thd .tags span[data-v-dac2ec40]:last-child{border:none}.detail-box .box-thd .time[data-v-dac2ec40]{float:left;margin:.1rem 0 .05rem;font-size:.14rem}.detail-box .box-thd .progress[data-v-dac2ec40]{float:left;width:100%;font-size:14px}.detail-box .box-thd .progress .el-progress[data-v-dac2ec40]{width:45%;display:inline-block;vertical-align:text-bottom}.detail-box .box-tbd[data-v-dac2ec40]{margin-bottom:.2rem;overflow:hidden}.detail-box .box-tbd .left-pic[data-v-dac2ec40]{float:left;width:1.8rem;overflow:hidden}.detail-box .box-tbd .left-pic .no-img[data-v-dac2ec40]{width:100%;height:1rem;text-align:center;line-height:1.1rem;border:1px solid #c9c9c9}.detail-box .box-tbd .left-pic .no-img i[data-v-dac2ec40]{font-size:.4rem;color:#c9c9c9}.detail-box .box-tbd .left-pic img[data-v-dac2ec40]{display:block;width:100%}.detail-box .box-tbd .right-content[data-v-dac2ec40]{margin-left:2rem;line-height:1.5;font-size:14px}.detail-box .course-list[data-v-dac2ec40]{padding:.2rem 0 .1rem;background:#fff}.detail-box .course-list .none[data-v-dac2ec40]{display:none}.detail-box .course-list .content-group[data-v-dac2ec40]{padding:0 .2rem}.detail-box .course-list .content-group.no-child[data-v-dac2ec40],.detail-box .course-list .content-group.up[data-v-dac2ec40]{margin-bottom:.1rem}.detail-box .course-list .content-group.up .body[data-v-dac2ec40]{display:none}.detail-box .course-list .content-group .title[data-v-dac2ec40]{position:relative;padding:.1rem .54rem .1rem .2rem;color:#313131;font-size:.16rem;line-height:.24rem;background:#e5e5e5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.detail-box .course-list .content-group .title .side[data-v-dac2ec40]{position:absolute;top:50%;right:.24rem;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.detail-box .course-list .content-group .body[data-v-dac2ec40]{position:relative;padding:0 .2rem;font-size:.16rem;line-height:.24rem;color:#505050;cursor:pointer}.detail-box .course-list .content-group .body[data-v-dac2ec40]:hover{background:#f3f3f3}.detail-box .course-list .content-group .body.on .name[data-v-dac2ec40]{color:#b2183e}.detail-box .course-list .content-group .body .name[data-v-dac2ec40]{padding:.1rem .8rem .1rem .2rem;border-left:.02rem solid #c9c9c9}.detail-box .course-list .content-group .body .name[data-v-dac2ec40]:before{width:.2rem;height:.2rem;-webkit-border-radius:.32rem;-moz-border-radius:.32rem;border-radius:.32rem;border:.02rem solid #c9c9c9;background:#e5e5e5;position:absolute;left:.11rem;top:.12rem;content:"";display:block;z-index:10}.detail-box .course-list .content-group .body .name .time[data-v-dac2ec40]{position:absolute;right:.16rem;top:.1rem}.detail-box .list-teacher[data-v-dac2ec40]{margin-bottom:.2rem;overflow:hidden}.detail-box .list-teacher .img[data-v-dac2ec40]{float:left;width:30%;min-height:.8rem;background:#c9c9c9}.detail-box .list-teacher .ctx[data-v-dac2ec40]{position:relative;margin-left:32%;min-height:.5rem}.detail-box .list-teacher .ctx .top-ctx[data-v-dac2ec40]{position:absolute;top:0;width:100%;overflow:hidden}.detail-box .list-teacher .ctx .top-ctx .tit[data-v-dac2ec40]{font-size:14px;color:#313131;line-height:1.5;overflow:hidden;word-break:break-all}.detail-box .list-teacher .ctx .bottom-ctx[data-v-dac2ec40]{display:block;padding-top:.2rem;width:100%;overflow:hidden}.detail-box .list-teacher .ctx .bottom-ctx .t1[data-v-dac2ec40],.detail-box .list-teacher .ctx .bottom-ctx .t2[data-v-dac2ec40]{font-size:12px;line-height:1.5;color:#707070;overflow:hidden;word-break:break-all}.detail-box .list-teacher .ctx .bottom-ctx .t3[data-v-dac2ec40]{font-size:12px;color:#707070;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.detail-box .pub-ques[data-v-dac2ec40]{padding:0 .26rem;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.detail-box .pub-ques .ask[data-v-dac2ec40]{position:relative;float:left;margin-top:.22rem;width:40%;min-width:1rem;height:.42rem;-webkit-border-radius:.28rem;-moz-border-radius:.28rem;border-radius:.28rem;border:1rpx solid #dcdcdc;background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.detail-box .pub-ques .ask .img[data-v-dac2ec40]{position:absolute;left:.15rem;font-size:.24rem;line-height:.42rem}.detail-box .pub-ques .ask .txt[data-v-dac2ec40]{position:absolute;left:.45rem;top:.01rem;height:.4rem;width:80%;border:none;line-height:.4rem;font-size:.2rem;color:#313131}.detail-box .pub-ques .item-order[data-v-dac2ec40]{float:right;margin-top:.22rem;padding:0 .3rem;margin-left:.2rem;font-size:.2rem;color:#313131;text-align:center;line-height:.42rem;-webkit-border-radius:.28rem;-moz-border-radius:.28rem;border-radius:.28rem;background:#fff;cursor:pointer}.detail-box .pub-ques .item-order.on[data-v-dac2ec40]{background:#b49441;color:#fff}.detail-box .discuss-scroll .item-list[data-v-dac2ec40]:first-child{margin-top:.3rem}.detail-box .discuss-scroll .item-list[data-v-dac2ec40]{position:relative;padding:.3rem .26rem;margin-bottom:.2rem;background:#fff;-webkit-box-shadow:0 2px 4px rgba(10,4,6,.1);-moz-box-shadow:0 2px 4px rgba(10,4,6,.1);box-shadow:0 2px 4px rgba(10,4,6,.1);cursor:pointer}.detail-box .discuss-scroll .item-list .user[data-v-dac2ec40]{position:relative;overflow:hidden}.detail-box .discuss-scroll .item-list .user .img[data-v-dac2ec40]{float:left;width:.6rem;height:.6rem;background:#e5e5e5;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.detail-box .discuss-scroll .item-list .user .right[data-v-dac2ec40]{position:absolute;left:.72rem;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.detail-box .discuss-scroll .item-list .user .right .name[data-v-dac2ec40]{font-size:.18rem;color:#313131;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.detail-box .discuss-scroll .item-list .user .right .time[data-v-dac2ec40]{margin-top:.05rem;font-size:.16rem;color:#a0a0a0}.detail-box .discuss-scroll .item-list .title[data-v-dac2ec40]{margin:.15rem 0;font-size:.22rem;color:#313131;font-weight:700;line-height:1.5;text-align:justify}.detail-box .discuss-scroll .item-list .text[data-v-dac2ec40]{font-size:.18rem;color:#535353;line-height:1.5;text-align:justify;word-break:break-all;overflow:hidden}.detail-box .discuss-scroll .item-list .ellipsis[data-v-dac2ec40]{display:none;position:absolute;right:.24rem;bottom:.68rem;padding:0 .15rem 0 .05rem;color:#535353;background:#fff;font-size:.18rem}.detail-box .discuss-scroll .item-list .ellipsis.on[data-v-dac2ec40]{display:block}.detail-box .discuss-scroll .item-list .result[data-v-dac2ec40]{margin-top:.15rem;font-size:.16rem;color:#313131}.detail-box .discuss-scroll .item-list .course-name[data-v-dac2ec40]{position:absolute;right:.32rem;bottom:.28rem;font-size:.16rem;color:#b49441}.detail-box .discuss-scroll .no-data[data-v-dac2ec40]{margin:.2rem 0;font-size:.24rem;color:#112c42;line-height:2rem;text-align:center;background:#fff}.detail-box .publish[data-v-dac2ec40]{margin-bottom:.5rem;padding:.3rem;background:#f7f7f7;overflow:hidden}.detail-box .publish .right-goback-txt[data-v-dac2ec40]{float:right;font-size:.2rem;color:#000;line-height:40px}.detail-box .course-assess[data-v-dac2ec40]{padding:.2rem;margin-bottom:1rem;background:#fff;overflow:hidden}.detail-box .course-assess .title[data-v-dac2ec40]{color:#313131;font-size:.2rem;margin:.4rem auto .2rem;text-align:center}.detail-box .course-assess .topic[data-v-dac2ec40]{position:relative;width:100%;height:.5rem;overflow:hidden}.detail-box .course-assess .topic .line[data-v-dac2ec40]{width:3rem;height:1px;margin:.25rem auto 0;background:#313131}.detail-box .course-assess .topic .tit[data-v-dac2ec40]{position:absolute;top:50%;left:50%;padding:.1rem .22rem;font-size:.14rem;font-weight:700;color:#313131;background:#fff;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.detail-box .course-assess .detail[data-v-dac2ec40]{margin-bottom:.4rem;padding:0 .2rem}.detail-box .course-assess .table-title[data-v-dac2ec40]{font-size:.16rem;font-weight:700;margin:.2rem .26rem;text-align:justify;color:#b49441}.detail-box .course-assess .table[data-v-dac2ec40]{color:#313131;padding:0 .2rem .3rem;border-bottom:.02rem solid #c9c9c9}.detail-box .course-assess .table .col3-td1[data-v-dac2ec40]{float:left;padding-left:.15rem;width:65%;text-align:left;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col3-td2[data-v-dac2ec40]{float:left;width:21%;text-align:center}.detail-box .course-assess .table .col3-td3[data-v-dac2ec40]{float:left;width:14%;text-align:right;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col2-td1[data-v-dac2ec40]{float:left;padding-left:.15rem;width:86%;text-align:left;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col2-td2[data-v-dac2ec40]{float:left;width:14%;text-align:right;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .th[data-v-dac2ec40]{padding:0 .2rem;font-size:.16rem;overflow:hidden;border-bottom:.02rem solid #e5e5e5;line-height:1.5;font-weight:700}.detail-box .course-assess .table .tb[data-v-dac2ec40]{padding:0 0 0 .2rem;font-size:.14rem;overflow:hidden}.detail-box .course-assess .table .tb .tt[data-v-dac2ec40]{padding:.1rem 0 .02rem;line-height:.24rem;font-weight:700}.detail-box .course-assess .table .tb .rd[data-v-dac2ec40]{padding-right:.2rem;overflow:hidden;line-height:.26rem}.detail-box .course-assess .table .tb .rd[data-v-dac2ec40]:hover{background:#efefef}.detail-box .course-assess .status-text[data-v-dac2ec40]{padding-left:.3rem;font-size:.14rem;color:#000;line-height:1.5}@media (max-width:767px){.detail-box[data-v-dac2ec40]{margin:.2rem}.detail-box .box-thd .progress .el-progress[data-v-dac2ec40]{width:80%}.detail-box .box-tbd .left-pic[data-v-dac2ec40]{width:100%;margin-bottom:.2rem}.detail-box .box-tbd .right-content[data-v-dac2ec40]{margin-left:0;display:block}.detail-box .course-assess .detail[data-v-dac2ec40]{padding:0}.detail-box .course-assess .table[data-v-dac2ec40]{padding:0 0 .3rem}}
\ No newline at end of file
body .el-tab-pane[data-v-11d97a34]{padding-top:0}.detail-box[data-v-11d97a34]{margin:.3rem;color:#313131;overflow:hidden}.detail-box .box-thd[data-v-11d97a34]{margin-bottom:.1rem;overflow:hidden}.detail-box .box-thd .title[data-v-11d97a34]{font-size:.22rem;line-height:1.5;font-weight:700}.detail-box .box-thd .title .rbtn[data-v-11d97a34]{float:right}.detail-box .box-thd .tags[data-v-11d97a34]{float:left;margin:.1rem .2rem .05rem 0;font-size:.14rem}.detail-box .box-thd .tags span[data-v-11d97a34]{padding:0 .1rem;margin:0;border-right:1px solid #313131}.detail-box .box-thd .tags span[data-v-11d97a34]:first-child{padding-left:0}.detail-box .box-thd .tags span[data-v-11d97a34]:last-child{border:none}.detail-box .box-thd .time[data-v-11d97a34]{float:left;margin:.1rem 0 .05rem;font-size:.14rem}.detail-box .box-thd .progress[data-v-11d97a34]{float:left;width:100%;font-size:14px}.detail-box .box-thd .progress .el-progress[data-v-11d97a34]{width:45%;display:inline-block;vertical-align:text-bottom}.detail-box .box-tbd[data-v-11d97a34]{margin-bottom:.2rem;overflow:hidden}.detail-box .box-tbd .left-pic[data-v-11d97a34]{float:left;width:1.8rem;overflow:hidden}.detail-box .box-tbd .left-pic .no-img[data-v-11d97a34]{width:100%;height:1rem;text-align:center;line-height:1.1rem;border:1px solid #c9c9c9}.detail-box .box-tbd .left-pic .no-img i[data-v-11d97a34]{font-size:.4rem;color:#c9c9c9}.detail-box .box-tbd .left-pic img[data-v-11d97a34]{display:block;width:100%}.detail-box .box-tbd .right-content[data-v-11d97a34]{margin-left:2rem;line-height:1.5;font-size:14px}.detail-box .course-list[data-v-11d97a34]{padding:.2rem 0 .1rem;background:#fff}.detail-box .course-list .none[data-v-11d97a34]{display:none}.detail-box .course-list .content-group[data-v-11d97a34]{padding:0 .2rem}.detail-box .course-list .content-group.no-child[data-v-11d97a34],.detail-box .course-list .content-group.up[data-v-11d97a34]{margin-bottom:.1rem}.detail-box .course-list .content-group.up .body[data-v-11d97a34]{display:none}.detail-box .course-list .content-group .title[data-v-11d97a34]{position:relative;padding:.1rem .54rem .1rem .2rem;color:#313131;font-size:.16rem;line-height:.24rem;background:#e5e5e5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.detail-box .course-list .content-group .title .side[data-v-11d97a34]{position:absolute;top:50%;right:.24rem;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.detail-box .course-list .content-group .body[data-v-11d97a34]{position:relative;padding:0 .2rem;font-size:.16rem;line-height:.24rem;color:#505050;cursor:pointer}.detail-box .course-list .content-group .body[data-v-11d97a34]:hover{background:#f3f3f3}.detail-box .course-list .content-group .body.on .name[data-v-11d97a34]{color:#b2183e}.detail-box .course-list .content-group .body .name[data-v-11d97a34]{padding:.1rem .8rem .1rem .2rem;border-left:.02rem solid #c9c9c9}.detail-box .course-list .content-group .body .name[data-v-11d97a34]:before{width:.2rem;height:.2rem;-webkit-border-radius:.32rem;-moz-border-radius:.32rem;border-radius:.32rem;border:.02rem solid #c9c9c9;background:#e5e5e5;position:absolute;left:.11rem;top:.12rem;content:"";display:block;z-index:10}.detail-box .course-list .content-group .body .name .time[data-v-11d97a34]{position:absolute;right:.16rem;top:.1rem}.detail-box .list-teacher[data-v-11d97a34]{margin-bottom:.2rem;overflow:hidden}.detail-box .list-teacher .img[data-v-11d97a34]{float:left;width:30%;min-height:.8rem;background:#c9c9c9}.detail-box .list-teacher .ctx[data-v-11d97a34]{position:relative;margin-left:32%;min-height:.5rem}.detail-box .list-teacher .ctx .top-ctx[data-v-11d97a34]{position:absolute;top:0;width:100%;overflow:hidden}.detail-box .list-teacher .ctx .top-ctx .tit[data-v-11d97a34]{font-size:14px;color:#313131;line-height:1.5;overflow:hidden;word-break:break-all}.detail-box .list-teacher .ctx .bottom-ctx[data-v-11d97a34]{display:block;padding-top:.2rem;width:100%;overflow:hidden}.detail-box .list-teacher .ctx .bottom-ctx .t1[data-v-11d97a34],.detail-box .list-teacher .ctx .bottom-ctx .t2[data-v-11d97a34]{font-size:12px;line-height:1.5;color:#707070;overflow:hidden;word-break:break-all}.detail-box .list-teacher .ctx .bottom-ctx .t3[data-v-11d97a34]{font-size:12px;color:#707070;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.detail-box .pub-ques[data-v-11d97a34]{padding:0 .26rem;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.detail-box .pub-ques .ask[data-v-11d97a34]{position:relative;float:left;margin-top:.22rem;width:40%;min-width:1rem;height:.42rem;-webkit-border-radius:.28rem;-moz-border-radius:.28rem;border-radius:.28rem;border:1rpx solid #dcdcdc;background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.detail-box .pub-ques .ask .img[data-v-11d97a34]{position:absolute;left:.15rem;font-size:.24rem;line-height:.42rem}.detail-box .pub-ques .ask .txt[data-v-11d97a34]{position:absolute;left:.45rem;top:.01rem;height:.4rem;width:80%;border:none;line-height:.4rem;font-size:.2rem;color:#313131}.detail-box .pub-ques .item-order[data-v-11d97a34]{float:right;margin-top:.22rem;padding:0 .3rem;margin-left:.2rem;font-size:.2rem;color:#313131;text-align:center;line-height:.42rem;-webkit-border-radius:.28rem;-moz-border-radius:.28rem;border-radius:.28rem;background:#fff;cursor:pointer}.detail-box .pub-ques .item-order.on[data-v-11d97a34]{background:#b49441;color:#fff}.detail-box .discuss-scroll .item-list[data-v-11d97a34]:first-child{margin-top:.3rem}.detail-box .discuss-scroll .item-list[data-v-11d97a34]{position:relative;padding:.3rem .26rem;margin-bottom:.2rem;background:#fff;-webkit-box-shadow:0 2px 4px rgba(10,4,6,.1);-moz-box-shadow:0 2px 4px rgba(10,4,6,.1);box-shadow:0 2px 4px rgba(10,4,6,.1);cursor:pointer}.detail-box .discuss-scroll .item-list .user[data-v-11d97a34]{position:relative;overflow:hidden}.detail-box .discuss-scroll .item-list .user .img[data-v-11d97a34]{float:left;width:.6rem;height:.6rem;background:#e5e5e5;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.detail-box .discuss-scroll .item-list .user .right[data-v-11d97a34]{position:absolute;left:.72rem;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.detail-box .discuss-scroll .item-list .user .right .name[data-v-11d97a34]{font-size:.18rem;color:#313131;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.detail-box .discuss-scroll .item-list .user .right .time[data-v-11d97a34]{margin-top:.05rem;font-size:.16rem;color:#a0a0a0}.detail-box .discuss-scroll .item-list .title[data-v-11d97a34]{margin:.15rem 0;font-size:.22rem;color:#313131;font-weight:700;line-height:1.5;text-align:justify}.detail-box .discuss-scroll .item-list .text[data-v-11d97a34]{font-size:.18rem;color:#535353;line-height:1.5;text-align:justify;word-break:break-all;overflow:hidden}.detail-box .discuss-scroll .item-list .ellipsis[data-v-11d97a34]{display:none;position:absolute;right:.24rem;bottom:.68rem;padding:0 .15rem 0 .05rem;color:#535353;background:#fff;font-size:.18rem}.detail-box .discuss-scroll .item-list .ellipsis.on[data-v-11d97a34]{display:block}.detail-box .discuss-scroll .item-list .result[data-v-11d97a34]{margin-top:.15rem;font-size:.16rem;color:#313131}.detail-box .discuss-scroll .item-list .course-name[data-v-11d97a34]{position:absolute;right:.32rem;bottom:.28rem;font-size:.16rem;color:#b49441}.detail-box .discuss-scroll .no-data[data-v-11d97a34]{margin:.2rem 0;font-size:.24rem;color:#112c42;line-height:2rem;text-align:center;background:#fff}.detail-box .publish[data-v-11d97a34]{margin-bottom:.5rem;padding:.3rem;background:#f7f7f7;overflow:hidden}.detail-box .publish .right-goback-txt[data-v-11d97a34]{float:right;font-size:.2rem;color:#000;line-height:40px}.detail-box .course-assess[data-v-11d97a34]{padding:.2rem;margin-bottom:1rem;background:#fff;overflow:hidden}.detail-box .course-assess .title[data-v-11d97a34]{color:#313131;font-size:.2rem;margin:.4rem auto .2rem;text-align:center}.detail-box .course-assess .topic[data-v-11d97a34]{position:relative;width:100%;height:.5rem;overflow:hidden}.detail-box .course-assess .topic .line[data-v-11d97a34]{width:3rem;height:1px;margin:.25rem auto 0;background:#313131}.detail-box .course-assess .topic .tit[data-v-11d97a34]{position:absolute;top:50%;left:50%;padding:.1rem .22rem;font-size:.14rem;font-weight:700;color:#313131;background:#fff;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.detail-box .course-assess .detail[data-v-11d97a34]{margin-bottom:.4rem;padding:0 .2rem}.detail-box .course-assess .table-title[data-v-11d97a34]{font-size:.16rem;font-weight:700;margin:.2rem .26rem;text-align:justify;color:#b49441}.detail-box .course-assess .table[data-v-11d97a34]{color:#313131;padding:0 .2rem .3rem;border-bottom:.02rem solid #c9c9c9}.detail-box .course-assess .table .col3-td1[data-v-11d97a34]{float:left;padding-left:.15rem;width:65%;text-align:left;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col3-td2[data-v-11d97a34]{float:left;width:21%;text-align:center}.detail-box .course-assess .table .col3-td3[data-v-11d97a34]{float:left;width:14%;text-align:right;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col2-td1[data-v-11d97a34]{float:left;padding-left:.15rem;width:86%;text-align:left;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col2-td2[data-v-11d97a34]{float:left;width:14%;text-align:right;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .th[data-v-11d97a34]{padding:0 .2rem;font-size:.16rem;overflow:hidden;border-bottom:.02rem solid #e5e5e5;line-height:1.5;font-weight:700}.detail-box .course-assess .table .tb[data-v-11d97a34]{padding:0 0 0 .2rem;font-size:.14rem;overflow:hidden}.detail-box .course-assess .table .tb .tt[data-v-11d97a34]{padding:.1rem 0 .02rem;line-height:.24rem;font-weight:700}.detail-box .course-assess .table .tb .rd[data-v-11d97a34]{padding-right:.2rem;overflow:hidden;line-height:.26rem}.detail-box .course-assess .table .tb .rd[data-v-11d97a34]:hover{background:#efefef}.detail-box .course-assess .status-text[data-v-11d97a34]{padding-left:.3rem;font-size:.14rem;color:#000;line-height:1.5}@media (max-width:767px){.detail-box[data-v-11d97a34]{margin:.2rem}.detail-box .box-thd .progress .el-progress[data-v-11d97a34]{width:80%}.detail-box .box-tbd .left-pic[data-v-11d97a34]{width:100%;margin-bottom:.2rem}.detail-box .box-tbd .right-content[data-v-11d97a34]{margin-left:0;display:block}.detail-box .course-assess .detail[data-v-11d97a34]{padding:0}.detail-box .course-assess .table[data-v-11d97a34]{padding:0 0 .3rem}}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{269:function(t,s,e){"use strict";e.r(s);var i=e(486),a=e(326);for(var r in a)"default"!==r&&function(t){e.d(s,t,function(){return a[t]})}(r);e(427);var c=e(0),o=Object(c.a)(a.default,i.a,i.b,!1,null,"11d97a34",null);s.default=o.exports},326:function(t,s,e){"use strict";e.r(s);var i=e(327),a=e.n(i);for(var r in i)"default"!==r&&function(t){e.d(s,t,function(){return i[t]})}(r);s.default=a.a},327:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var l=a(e(48)),o=a(e(86)),i=a(e(264));function a(t){return t&&t.__esModule?t:{default:t}}s.default={components:{},props:{sid:{type:String,require:!1},cid:{type:String,require:!1}},data:function(){return{ckeditor:null,activeName:"1",activeName1:"1",passCount:0,headerInfo:{},tabs:[{title:"课程简介",isShow:!0,content:{text:"<p><b>视频课程没有加载出来,请检查自己的网络环境,并重新刷新。</b>",teachers:[{src:"",name:"讲师姓名",edu:"学历",job:"职称",unit:"讲师所在单位"}]}},{title:"课程内容",isShow:!1,chapterList:{currentChapterId:"11",course:[{title:"第一章:测试章节",isUp:!0,chapters:[{id:"12",time:"19:09",name:"1.2 测试课程"}]},{title:"第二章:证券估值",isUp:!0,chapters:[]},{title:"课程资料",isUp:!0,chapters:[]}]}},{title:"课程讨论",isShow:!1},{title:"课程考核",isShow:!1,richText:"<div class='h1'>一、最终成绩计算</div> <div class='p'>课程表现得分*30%+每章试题得分*30%+结业大作业得分*40%=该门课程总得分,满分100分,低于80分为不及格,需重修此门课程。84分以上方可申请学位。</div> <img class='b1' src='http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/www/course-check.png' mode='aspectFill' /> <div class='h1'>二、具体细则</div> <div class='h2'>课程表现:总分100分(占科目总成绩的30%)</div> <div class='p'>1、每个视频观看完成度50分:以后台数据统计为准,全部看完视频满分50分,其它酌情给分。</div> <div class='em'>注:视频观看考核的是实际播放时长,不是进度条的显示状态,进度条满格并不一定表示观看完这个视频。以下方每日学习时长为准。</div> <div class='p'>2、课程反馈建设性问题及课程完成情况50分:反馈问题以教务老师统计为准,课程完成情况以后台数据为准,是否按时完成视频观看、测试、作业提交,满分50分,酌情给分。</div> <div class='h2'>每章试题:总分100分(占科目总成绩的30%)</div> <div class='p'>本课程所有试题的平均正确率*100分*占总成绩30%=此项得分。(比如正确度为80%,则此项得分:80%*100*30%=24分)</div> <div class='h2'>结业大作业:总分100分(占科目总成绩的40%)</div> <div class='p'>结业大作业满分为100分,以助教老师给分为准。</div>",assess:{score:"20",duration:"00:01:20",progress:"0/10",video:[{title:"第一章 市场营销原理导论",sid:"",cid:"",arr:[{name:"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销",time:"12:08",progress:"100%",vid:""}]}],homewrok:[{title:"第一章 市场营销原理导论",arr:[{name:"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销",score:20}]}],essay:{created_time:"",status:"未提交",score:"暂无"}}}],sort:[{isShow:!1,str:""},{isShow:!1,str:"tag"}],discussList:[],param:{limit:10,offset:0,sort:""},publish:{course_id:this.cid,semester_id:this.sid,title:"",contents:""},isPublicShow:!1,publishRules:{title:[{required:!0,message:"请输入标题",trigger:"blur"}]}}},mounted:function(){var n=this,d=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});if("0"===this.cid&&"0"===this.sid)return this.$message({message:"URL异常,请点击“返回首页”,重新选择课程学习!!",type:"info",duration:1e4}),void d.close();l.default.courseAction.getCourseDetail(this.cid,this.sid).then(function(o){n.headerInfo=o.headerInfo,n.tabs[0].content=o.tabs0Content,n.tabs[1].chapterList=o.tabs1ChapterList,o.tabs3richTest&&(n.tabs[3].richText=o.tabs3richTest),l.default.courseAction.getCourseAssess(n.cid,n.sid).then(function(t){for(var s=o.tabs1ChapterList.course,e=0;e<t.video.length;e++)for(var i=t.video[e].arr,a=s[e].chapters,r=0;r<i.length;r++)for(var c=r;c<a.length;c++)if(i[r].id===a[c].id){i[r].vid=a[c].vid,i[r].duration=a[c].duration;break}n.tabs[3].assess=t,d.close()}).catch(function(t){n.$message.error(t.message)}).finally(function(){}),l.default.discussAction.getCourseDiscussList(n.cid,n.sid,n.param).then(function(t){n.discussList=t}).catch(function(t){n.$message.error(t.message)}).finally(function(){})}).catch(function(t){n.$message.error(t.message),d.close()}).finally(function(){}),window.addEventListener("resize",this.resizeRoot.bind(this),!1)},destroyed:function(){window.removeEventListener("resize",this.resizeRoot.bind(this),!1),this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null},updated:function(){this.resizeRoot(),this.isPublicShow&&this.initckeditor()},beforeUpdate:function(){this.isPublicShow||(this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null)},methods:{handleClick:function(t,s){},initckeditor:function(){this.ckeditor||(this.ckeditor=i.default.replace("editor",{height:300,uiColor:"#eeeeee",filebrowserImageUploadUrl:"/api/ckeditor/img/upload",toolbar:[{name:"styles",items:["Styles","Format","Font","FontSize"]},{name:"colors",items:["TextColor","BGColor"]},{name:"tools",items:["Maximize","ShowBlocks"]},{name:"editing",items:["Find","Replace"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote","CreateDiv","-","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","-","BidiLtr","BidiRtl"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule"]}]}))},clickJumpOrStatus:function(t){var s=t.currentTarget.dataset;if(s.status){var e=s.index,i=this.tabs[1].chapterList.course[e];i.isUp=!i.isUp}else{window.localStorage.setItem("headerInfo",JSON.stringify(this.headerInfo));var a=this.tabs[1].chapterList.course[s.index],r=s.cid;if("course_info"===a.type)this.$router.push({path:"/player/"+r+"/course-info/course_info"});else if("course_work"===a.type){if(!this.headerInfo.survey)return this.$message("请先填写教学评估,然后完成大作业。"),!1;this.$router.push({path:"/player/"+r+"/course-work/course_work"})}else if("teach_evaluation"===a.type)this.$router.push({path:"/survey/"+r});else if("course_exam"===a.type){var c=a.data[0].id;this.$router.push({path:"/player/"+r+"/chapter-exam/"+c})}else"exam"===a.type&&this.$router.push({path:"/player/"+r+"/exam/"+a.examId})}},jumpToOtherVA:function(t){if(this.headerInfo.isStart){var s=t.target.dataset;/name/gi.test(t.target.className)||(s=t.target.parentElement.dataset);var e=s.cid,i=s.vid,a=s.type;if(!s.hasva){window.localStorage.setItem("headerInfo",JSON.stringify(this.headerInfo));var r=s.index,c=s.count,o=this.tabs[1].chapterList.course[r];return o&&o.chapters[c]?void(3===o.chapters[c].type?1===o.chapters[c].work_type?this.$router.push({path:"/player/"+e+"/chapter-exam/"+i}):2===o.chapters[c].work_type&&this.$router.push({path:"/player/"+e+"/chapter-work/"+i}):4===o.chapters[c].type&&this.$router.push({path:"/player/"+e+"/chapter-read/"+i})):void this.$message.error("系统未知错误,003")}this.$router.push({path:"/player/"+e+"/chapter-video/"+i+"/"+a})}else this.$message.error("先选课,才能学习")},startLearn:function(t){var s=t.currentTarget.dataset,e=s.cid,i=s.vid,a=s.type;this.$router.push({path:"/player/"+e+"/chapter-video/"+i+"/"+a})},noWantThisCourse:function(){var s=this;if(this.passCountTimeout&&clearTimeout(this.passCountTimeout),this.passCountTimeout=setTimeout(function(){s.passCount=0},500),this.passCount<15)this.passCount++;else{var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.courseAction.outSelectCourse(this.cid,this.sid).then(function(t){s.headerInfo.isStart=!1,e.close(),s.$message({type:"success",message:"退课成功"}),s.passCount=0}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})}},jumpVAOrfinishVA:function(t){var s=t.currentTarget.dataset,e=this._keydownfn.bind(this,s);document.addEventListener("keydown",e,!1);document.addEventListener("mouseup",function t(){document.removeEventListener("keydown",e),document.removeEventListener("mouseup",t)},!1)},_keydownfn:function(t,s){var e=this,i=t.cid,a=t.vid,r=t.duration,c=t.type;79===s.keyCode&&this.$router.push({path:"/player/"+i+"/chapter-video/"+a+"/"+c}),70===s.keyCode&&l.default.chapterAction.updateProgress({d:o.default.other.getIdt(),i:o.default.other.getIdt(),c:i,v:a,_p:parseInt(r)+11,_m:parseInt(r),_c:parseInt(r),ps:"0,0"}).then(function(t){t.success&&e.$message.success("补课成功,刷新查看结果")}).catch(function(t){e.$message.error(t.message)}).finally(function(){})},wantThisCourse:function(){var s=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.courseAction.selectCourse(this.cid,this.sid).then(function(t){s.headerInfo.isStart=!0,e.close(),s.$message({type:"success",message:"选课成功"})}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})},resizeRoot:function(){var a=this,t=document.querySelectorAll(".ellipsis"),r=getComputedStyle(window.document.documentElement)["font-size"].replace("px","");t.forEach(function(t,s){t.previousSibling.style.height="auto";var e=t.previousSibling.offsetHeight,i=.18*r*1.5*2;i<e?(a.discussList[s]&&(a.discussList[s].isShow=!0),t.previousSibling.style.height=i+"px"):a.discussList[s]&&(a.discussList[s].isShow=!1)})},publishDiscuss:function(){this.isPublicShow=!0},gobackDiscuss:function(){this.isPublicShow=!1},onSubmitPublish:function(){var e=this;this.$refs.setPublishform.validate(function(t){if(!t)return e.$message.error("请输入标题"),!1;if(e.ckeditor.getData()){e.publish.contents=e.ckeditor.getData();var s=e.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.discussAction.publishQues(e.publish).then(function(t){e.$message({type:"success",message:"问题发布成功"}),e.isPublicShow=!1,l.default.discussAction.getCourseDiscussList(e.cid,e.sid,e.param).then(function(t){e.discussList=t}).catch(function(t){e.$message.error(t.message)}).finally(function(){})}).catch(function(t){e.$message.error(t.message)}).finally(function(){s.close()})}else e.$message.error("请输入正文内容")})},goDiscussDetail:function(t){var s=t.currentTarget.dataset.id;this.$router.push({path:"/app/my-learn/discuss-detail/"+this.cid+"/"+s})},sortFn:function(t){var s=this,e=t.currentTarget.dataset.index,i=t.currentTarget.dataset.str;this.sort[e].isShow=!this.sort[e].isShow,this.sort[(parseInt(e)+1)%2].isShow=!1,this.param.sort=this.sort[e].isShow?i:"",this.param.offset=0;var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.discussAction.getCourseDiscussList(this.cid,this.sid,this.param).then(function(t){s.discussList=t}).catch(function(t){s.$message.error(t.message)}).finally(function(){a.close()})}}}},328:function(t,s,e){},427:function(t,s,e){"use strict";var i=e(328);e.n(i).a},486:function(t,s,e){"use strict";function i(){var i=this,t=i.$createElement,a=i._self._c||t;return a("div",[a("div",{staticClass:"con-title"},[i._v("课程详情")]),i._v(" "),a("div",{staticClass:"detail-box"},[a("div",{staticClass:"box-thd"},[a("div",{staticClass:"title",on:{click:i.noWantThisCourse}},[i._v(i._s(i.headerInfo.title)+"\n "),i.headerInfo.isStart&&i.tabs[1].chapterList.currentChapterId?[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini","data-cid":i.cid,"data-sid":i.sid,"data-type":i.tabs[1].chapterList.currentVideoProvider,"data-vid":i.tabs[1].chapterList.currentChapterId},on:{click:i.startLearn}},[i._v("继续学习")])]:i.headerInfo.isStart?[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini","data-cid":i.cid,"data-sid":i.sid,"data-type":i.tabs[1].chapterList.course[0].chapters[0].video_provider,"data-vid":i.tabs[1].chapterList.course[0].chapters[0].vid},on:{click:i.startLearn}},[i._v("开始学习")])]:[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini"},on:{click:i.wantThisCourse}},[i._v("选课")])]],2),i._v(" "),a("div",{staticClass:"tags"},[i._l(i.headerInfo.arrTab,function(t,s){return[a("span",{key:s,staticClass:"tabs-item"},[i._v(i._s(t))])]})],2),i._v(" "),a("div",{staticClass:"time"},[i._v(i._s(i.headerInfo.time)+" "+i._s(i.headerInfo.status))]),i._v(" "),a("div",{staticStyle:{float:"left",width:"100%",height:"1px"}}),i._v(" "),a("div",{staticClass:"progress"},[i._v("\n 视频观看进度 "),a("el-progress",{attrs:{percentage:i.headerInfo.progress,color:"#b49441"}})],1)]),i._v(" "),a("div",{staticClass:"box-tbd"},[a("div",{staticClass:"left-pic"},[i.headerInfo.bgSrc?[a("img",{attrs:{src:i.headerInfo.bgSrc,alt:""}})]:[i._m(0)]],2),i._v(" "),a("div",{staticClass:"right-content",domProps:{innerHTML:i._s(i.tabs[0].content.text)}})]),i._v(" "),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{xs:24,sm:15,md:17,lg:18,xl:20}},[a("el-tabs",{on:{"tab-click":i.handleClick},model:{value:i.activeName,callback:function(t){i.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"课程内容",name:"1"}},[a("div",{staticClass:"course-list"},[i._l(i.tabs[1].chapterList.course,function(t,e){return[a("div",{key:e,class:["content-group",t.chapters.length?"":"no-child",t.isUp?"up":""]},[a("div",{staticClass:"title",attrs:{"data-index":e,"data-cid":t.cid,"data-sid":t.sid,"data-status":!!t.chapters.length},on:{click:function(t){return i.clickJumpOrStatus(t)}}},[i._v(i._s(t.title)+"\n "),a("i",{class:["side",t.chapters.length?"":"none",t.isUp?"el-icon-arrow-down":"el-icon-arrow-up"]})]),i._v(" "),i._l(t.chapters,function(t,s){return[a("div",{key:s,class:["body",t.id===i.tabs[1].chapterList.currentChapterId&&"on"]},[a("div",{staticClass:"name",attrs:{"data-vid":t.vid,"data-cid":t.cid,"data-sid":t.sid,"data-hasVA":t.time,"data-type":t.video_provider,"data-name":t.name,"data-index":e,"data-count":s},on:{click:i.jumpToOtherVA}},[i._v("\n "+i._s(t.name)+"\n "),a("div",{staticClass:"time"},[i._v(i._s(t.time))])])])]})],2)]})],2)]),i._v(" "),a("el-tab-pane",{attrs:{label:"课程讨论",name:"2"}},[i.isPublicShow?[a("div",{staticClass:"publish"},[a("div",{staticStyle:{overflow:"hidden"}},[a("div",{staticClass:"right-goback-txt"},[i._v("发布问题")]),i._v(" "),a("el-button",{attrs:{type:"text"},on:{click:i.gobackDiscuss}},[i._v("返回问题列表")])],1),i._v(" "),a("el-form",{ref:"setPublishform",attrs:{model:i.publish,rules:i.publishRules}},[a("el-form-item",{attrs:{label:"标题",prop:"title"}},[a("el-input",{attrs:{type:"text",placeholder:"请输入标题"},model:{value:i.publish.title,callback:function(t){i.$set(i.publish,"title",t)},expression:"publish.title"}})],1),i._v(" "),a("div",{staticStyle:{"line-height":"1.5","font-size":"0.16rem","margin-bottom":"0.2rem"}},[i._v("正文内容")]),i._v(" "),a("textarea",{attrs:{id:"editor"}}),i._v(" "),a("div",{staticStyle:{height:"0.2rem"}}),i._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:i.onSubmitPublish}},[i._v("发布问题")])],1)],1)],1)]:[a("div",{staticClass:"pub-ques"},[a("div",{staticClass:"ask"},[a("i",{staticClass:"el-icon-edit img"}),i._v(" "),a("div",{staticClass:"txt",on:{click:i.publishDiscuss}},[i._v("发布问题 ...")])]),i._v(" "),a("div",{class:["item-order",i.sort[0].isShow?"on":""],attrs:{"data-index":0,"data-str":i.sort[0].str},on:{click:i.sortFn}},[i._v("按时间排序")]),i._v(" "),a("div",{class:["item-order",i.sort[1].isShow?"on":""],attrs:{"data-index":1,"data-str":i.sort[1].str},on:{click:i.sortFn}},[i._v("按投票排序")])]),i._v(" "),a("div",{staticClass:"discuss-scroll",attrs:{bindscrolltolower:"loadmore",bindscrolltoupper:"updatenew"}},[i._l(i.discussList,function(t,s){return[a("div",{key:s,staticClass:"item-list",attrs:{"data-id":t.id,"data-sid":t.sid,"data-index":s},on:{click:i.goDiscussDetail}},[a("div",{staticClass:"user"},[t.user.url?[a("img",{staticClass:"img",attrs:{src:t.user.url}})]:[a("img",{staticClass:"img",attrs:{src:e(125)}})],i._v(" "),a("div",{staticClass:"right"},[a("div",{staticClass:"name"},[i._v(i._s(t.user.name))]),i._v(" "),a("div",{staticClass:"time"},[i._v(i._s(t.user.time))])])],2),i._v(" "),a("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),a("div",{class:["text"],domProps:{innerHTML:i._s(t.text)}}),a("div",{class:["ellipsis",t.isShow?"on":""]},[i._v("....")]),i._v(" "),a("div",{staticClass:"result"},[i._v(i._s(t.askCnt)+" 回答"),a("div",{staticStyle:{display:"inline-block",width:"20px"}}),i._v(i._s(t.TouCnt)+" 投票")])])]}),i._v(" "),i.discussList.length?i._e():[a("div",{staticClass:"no-data"},[i._v("暂无相关讨论")])]],2)]],2),i._v(" "),a("el-tab-pane",{attrs:{label:"课程考核",name:"3"}},[a("div",{staticClass:"course-assess"},[a("div",{staticClass:"title"},[i._v("最终成绩:"+i._s(i.tabs[3].assess.score&&i.tabs[3].assess.score+"分"||"暂无"))]),i._v(" "),a("div",{staticClass:"topic"},[a("div",{staticClass:"line"}),i._v(" "),a("div",{staticClass:"tit"},[i._v("课程考核标准")])]),i._v(" "),a("div",{staticClass:"detail"},[a("div",{staticClass:"detail-rich",domProps:{innerHTML:i._s(i.tabs[3].richText)}})]),i._v(" "),a("div",{staticClass:"topic"},[a("div",{staticClass:"line"}),i._v(" "),a("div",{staticClass:"tit"},[i._v("学习进度及成绩")])]),i._v(" "),a("div",{staticClass:"table-title"},[i._v("课程“音视频”观看统计( 累计学习时长:"+i._s(i.tabs[3].assess.duration)+",完成率:"+i._s(i.tabs[3].assess.progress)+" )")]),i._v(" "),a("div",{staticClass:"table"},[a("div",{staticClass:"th"},[a("div",{staticClass:"col3-td1"},[i._v("章节")]),i._v(" "),a("div",{staticClass:"col3-td2"},[i._v("学习时长")]),i._v(" "),a("div",{staticClass:"col3-td3"},[i._v("百分比")])]),i._v(" "),i._l(i.tabs[3].assess.video,function(e,t){return[a("div",{key:t,staticClass:"tb"},[a("div",{staticClass:"tt"},[i._v(i._s(e.title))]),i._v(" "),i._l(e.arr,function(t,s){return[a("div",{key:s,staticClass:"rd"},[a("div",{staticClass:"col3-td1",attrs:{"data-sid":e.sid,"data-cid":e.cid,"data-vid":t.vid,"data-type":t.type,"data-duration":t.duration},on:{mousedown:function(t){return i.jumpVAOrfinishVA(t)}}},[i._v(i._s(t.name))]),i._v(" "),a("div",{staticClass:"col3-td2"},[i._v(i._s(t.time))]),i._v(" "),a("div",{staticClass:"col3-td3"},[i._v(i._s(t.progress))])])]})],2)]}),i._v(" "),i.tabs[3].assess.video.length?i._e():[a("div",{staticStyle:{width:"100%","font-size":"30rpx",margin:"40rpx auto 10rpx auto","text-align":"center"}},[i._v("暂无数据")])]],2),i._v(" "),a("div",{staticClass:"table-title"},[i._v("试题及主观题")]),i._v(" "),a("div",{staticClass:"table"},[a("div",{staticClass:"th"},[a("div",{staticClass:"col3-td1"},[i._v("章节")]),i._v(" "),a("div",{staticClass:"col3-td2"},[i._v("提交时间")]),i._v(" "),a("div",{staticClass:"col3-td3"},[i._v("得分")])]),i._v(" "),i._l(i.tabs[3].assess.homewrok,function(t,s){return[a("div",{key:s,staticClass:"tb"},[a("div",{staticClass:"tt"},[i._v(i._s(t.title))]),i._v(" "),i._l(t.arr,function(t,s){return[a("div",{key:s,staticClass:"rd"},[a("div",{staticClass:"col3-td1"},[i._v(i._s(t.name))]),i._v(" "),a("div",{staticClass:"col3-td2"},[i._v(i._s(t.created_time||"暂无提交"))]),i._v(" "),a("div",{staticClass:"col3-td3"},[i._v(i._s(t.score))])])]})],2)]}),i._v(" "),i.tabs[3].assess.homewrok.length?i._e():[a("div",{staticStyle:{width:"100%","font-size":"30rpx",margin:"40rpx auto 10rpx auto","text-align":"center"}},[i._v("暂无数据")])]],2)])])],1)],1),i._v(" "),a("el-col",{attrs:{xs:24,sm:9,md:7,lg:6,xl:4}},[i.tabs[0].content&&i.tabs[0].content.teachers&&i.tabs[0].content.teachers.length?[a("el-tabs",{on:{"tab-click":i.handleClick},model:{value:i.activeName1,callback:function(t){i.activeName1=t},expression:"activeName1"}},[a("el-tab-pane",{attrs:{label:"课程讲师",name:"1"}},[i._l(i.tabs[0].content.teachers,function(t,s){return[a("div",{key:s,staticClass:"list-teacher"},[a("img",{staticClass:"img",attrs:{src:t.src,alt:""}}),i._v(" "),a("div",{staticClass:"ctx"},[a("div",{staticClass:"top-ctx"},[a("div",{staticClass:"name"},[i._v(i._s(t.name))])]),i._v(" "),a("div",{staticClass:"bottom-ctx"},[a("div",{staticClass:"t1"},[i._v(i._s(t.edu))]),i._v(" "),a("div",{staticClass:"t2"},[i._v(i._s(t.job))]),i._v(" "),a("div",{staticClass:"t3"},[i._v(i._s(t.unit))])])])])]})],2)],1)]:i._e()],2)],1)],1)])}var a=[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"no-img"},[s("i",{staticClass:"el-icon-self-13"})])}];e.d(s,"a",function(){return i}),e.d(s,"b",function(){return a})}}]);
\ No newline at end of file
<<<<<<< HEAD:server/client-dist/resources/23.ae5610e2.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{263:function(t,s,i){"use strict";i.r(s);var e=i(484),a=i(326);for(var n in a)"default"!==n&&function(t){i.d(s,t,function(){return a[t]})}(n);i(417);var o=i(1),r=Object(o.a)(a.default,e.a,e.b,!1,null,"be76008c",null);s.default=r.exports},326:function(t,s,i){"use strict";i.r(s);var e=i(327),a=i.n(e);for(var n in e)"default"!==n&&function(t){i.d(s,t,function(){return e[t]})}(n);s.default=a.a},327:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e,a=i(45),n=(e=a)&&e.__esModule?e:{default:e};s.default={components:{},data:function(){return{tabs:[{title:"我提出的问题",isShow:!0,path:"/my"},{title:"我参与的问题",isShow:!1,path:"/involved"}],discussList:[],param:{limit:10,offset:0}}},mounted:function(){this.loadAjax(),window.addEventListener("resize",this.resizeRoot.bind(this),!1)},destroyed:function(){window.removeEventListener("resize",this.resizeRoot.bind(this),!1)},updated:function(){this.resizeRoot()},methods:{resizeRoot:function(){var a=this,t=document.querySelectorAll(".ellipsis"),n=getComputedStyle(window.document.documentElement)["font-size"].replace("px","");t.forEach(function(t,s){t.previousSibling.style.height="auto";var i=t.previousSibling.offsetHeight,e=.18*n*1.5*2;e<i?(a.discussList[s].isShow=!0,t.previousSibling.style.height=e+"px"):a.discussList[s].isShow=!1})},loadAjax:function(){for(var s=this,t="",i=0;i<this.tabs.length;i++)this.tabs[i].isShow&&(t=this.tabs[i].path);var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.discussAction.getDiscussList(t,this.param).then(function(t){s.discussList=t}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})},tabSelect:function(t){for(var s=t.currentTarget.dataset.index,i=this.tabs,e=0;e<i.length;e++)i[e].isShow=!1;i[s].isShow=!0,this.tabs=i,this.param.offset=0,this.loadAjax()},goDiscussDetail:function(t){var s=t.currentTarget.dataset.id,i=t.currentTarget.dataset.cid;this.$router.push({path:"/app/my-learn/discuss-detail/"+i+"/"+s})}}}},328:function(t,s,i){},417:function(t,s,i){"use strict";var e=i(328);i.n(e).a},484:function(t,s,a){"use strict";function i(){var i=this,t=i.$createElement,e=i._self._c||t;return e("div",[e("div",{staticClass:"con-title"},[i._v("课程讨论")]),i._v(" "),e("div",{staticClass:"con-box"},[e("div",{staticClass:"tab-select"},[i._l(i.tabs,function(t,s){return[e("div",{key:s,class:["item",t.isShow?"on":""],attrs:{"data-index":s},on:{click:i.tabSelect}},[i._v(i._s(t.title))])]})],2),i._v(" "),e("div",{staticClass:"discuss-scroll"},[i._l(i.discussList,function(t,s){return[e("div",{key:s,staticClass:"item-list",attrs:{"data-id":t.id,"data-sid":t.sid,"data-cid":t.cid,"data-index":s},on:{click:i.goDiscussDetail}},[e("div",{staticClass:"user"},[t.user.url?[e("img",{staticClass:"img",attrs:{src:t.user.url}})]:[e("img",{staticClass:"img",attrs:{src:a(121)}})],i._v(" "),e("div",{staticClass:"right"},[e("div",{staticClass:"name"},[i._v(i._s(t.user.name))]),i._v(" "),e("div",{staticClass:"time"},[i._v(i._s(t.user.time))])])],2),i._v(" "),e("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),e("div",{class:["text"],domProps:{innerHTML:i._s(t.text)}}),e("div",{class:["ellipsis",t.isShow?"on":""]},[i._v("....")]),i._v(" "),e("div",{staticClass:"result"},[i._v(i._s(t.askCnt)+" 回答"),e("div",{staticStyle:{display:"inline-block",width:"20px"}}),i._v(i._s(t.TouCnt)+" 投票")])])]}),i._v(" "),i.discussList.length?i._e():[e("div",{staticClass:"no-data"},[i._v("暂无相关讨论")])]],2)])])}var e=[];a.d(s,"a",function(){return i}),a.d(s,"b",function(){return e})}}]);
=======
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{272:function(t,s,i){"use strict";i.r(s);var e=i(500),a=i(336);for(var n in a)"default"!==n&&function(t){i.d(s,t,function(){return a[t]})}(n);i(430);var o=i(0),r=Object(o.a)(a.default,e.a,e.b,!1,null,"3363eb0c",null);s.default=r.exports},336:function(t,s,i){"use strict";i.r(s);var e=i(337),a=i.n(e);for(var n in e)"default"!==n&&function(t){i.d(s,t,function(){return e[t]})}(n);s.default=a.a},337:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e,a=i(48),n=(e=a)&&e.__esModule?e:{default:e};s.default={components:{},data:function(){return{tabs:[{title:"我提出的问题",isShow:!0,path:"/my"},{title:"我参与的问题",isShow:!1,path:"/involved"}],discussList:[],param:{limit:10,offset:0}}},mounted:function(){this.loadAjax(),window.addEventListener("resize",this.resizeRoot.bind(this),!1)},destroyed:function(){window.removeEventListener("resize",this.resizeRoot.bind(this),!1)},updated:function(){this.resizeRoot()},methods:{resizeRoot:function(){var a=this,t=document.querySelectorAll(".ellipsis"),n=getComputedStyle(window.document.documentElement)["font-size"].replace("px","");t.forEach(function(t,s){t.previousSibling.style.height="auto";var i=t.previousSibling.offsetHeight,e=.18*n*1.5*2;e<i?(a.discussList[s].isShow=!0,t.previousSibling.style.height=e+"px"):a.discussList[s].isShow=!1})},loadAjax:function(){for(var s=this,t="",i=0;i<this.tabs.length;i++)this.tabs[i].isShow&&(t=this.tabs[i].path);var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.discussAction.getDiscussList(t,this.param).then(function(t){s.discussList=t}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})},tabSelect:function(t){for(var s=t.currentTarget.dataset.index,i=this.tabs,e=0;e<i.length;e++)i[e].isShow=!1;i[s].isShow=!0,this.tabs=i,this.param.offset=0,this.loadAjax()},goDiscussDetail:function(t){var s=t.currentTarget.dataset.id,i=t.currentTarget.dataset.sid,e=t.currentTarget.dataset.cid;this.$router.push({path:"/app/my-learn/discuss-detail/"+i+"/"+e+"/"+s})}}}},338:function(t,s,i){},430:function(t,s,i){"use strict";var e=i(338);i.n(e).a},500:function(t,s,a){"use strict";function i(){var i=this,t=i.$createElement,e=i._self._c||t;return e("div",[e("div",{staticClass:"con-title"},[i._v("课程讨论")]),i._v(" "),e("div",{staticClass:"con-box"},[e("div",{staticClass:"tab-select"},[i._l(i.tabs,function(t,s){return[e("div",{key:s,class:["item",t.isShow?"on":""],attrs:{"data-index":s},on:{click:i.tabSelect}},[i._v(i._s(t.title))])]})],2),i._v(" "),e("div",{staticClass:"discuss-scroll"},[i._l(i.discussList,function(t,s){return[e("div",{key:s,staticClass:"item-list",attrs:{"data-id":t.id,"data-sid":t.sid,"data-cid":t.cid,"data-index":s},on:{click:i.goDiscussDetail}},[e("div",{staticClass:"user"},[t.user.url?[e("img",{staticClass:"img",attrs:{src:t.user.url}})]:[e("img",{staticClass:"img",attrs:{src:a(125)}})],i._v(" "),e("div",{staticClass:"right"},[e("div",{staticClass:"name"},[i._v(i._s(t.user.name))]),i._v(" "),e("div",{staticClass:"time"},[i._v(i._s(t.user.time))])])],2),i._v(" "),e("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),e("div",{class:["text"],domProps:{innerHTML:i._s(t.text)}}),e("div",{class:["ellipsis",t.isShow?"on":""]},[i._v("....")]),i._v(" "),e("div",{staticClass:"result"},[i._v(i._s(t.askCnt)+" 回答"),e("div",{staticStyle:{display:"inline-block",width:"20px"}}),i._v(i._s(t.TouCnt)+" 投票")])])]}),i._v(" "),i.discussList.length?i._e():[e("div",{staticClass:"no-data"},[i._v("暂无相关讨论")])]],2)])])}var e=[];a.d(s,"a",function(){return i}),a.d(s,"b",function(){return e})}}]);
>>>>>>> origin/master:server/client-dist/resources/24.bcaa4c08.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{272:function(t,s,i){"use strict";i.r(s);var e=i(500),a=i(336);for(var n in a)"default"!==n&&function(t){i.d(s,t,function(){return a[t]})}(n);i(430);var o=i(0),r=Object(o.a)(a.default,e.a,e.b,!1,null,"be76008c",null);s.default=r.exports},336:function(t,s,i){"use strict";i.r(s);var e=i(337),a=i.n(e);for(var n in e)"default"!==n&&function(t){i.d(s,t,function(){return e[t]})}(n);s.default=a.a},337:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e,a=i(48),n=(e=a)&&e.__esModule?e:{default:e};s.default={components:{},data:function(){return{tabs:[{title:"我提出的问题",isShow:!0,path:"/my"},{title:"我参与的问题",isShow:!1,path:"/involved"}],discussList:[],param:{limit:10,offset:0}}},mounted:function(){this.loadAjax(),window.addEventListener("resize",this.resizeRoot.bind(this),!1)},destroyed:function(){window.removeEventListener("resize",this.resizeRoot.bind(this),!1)},updated:function(){this.resizeRoot()},methods:{resizeRoot:function(){var a=this,t=document.querySelectorAll(".ellipsis"),n=getComputedStyle(window.document.documentElement)["font-size"].replace("px","");t.forEach(function(t,s){t.previousSibling.style.height="auto";var i=t.previousSibling.offsetHeight,e=.18*n*1.5*2;e<i?(a.discussList[s].isShow=!0,t.previousSibling.style.height=e+"px"):a.discussList[s].isShow=!1})},loadAjax:function(){for(var s=this,t="",i=0;i<this.tabs.length;i++)this.tabs[i].isShow&&(t=this.tabs[i].path);var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.discussAction.getDiscussList(t,this.param).then(function(t){s.discussList=t}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})},tabSelect:function(t){for(var s=t.currentTarget.dataset.index,i=this.tabs,e=0;e<i.length;e++)i[e].isShow=!1;i[s].isShow=!0,this.tabs=i,this.param.offset=0,this.loadAjax()},goDiscussDetail:function(t){var s=t.currentTarget.dataset.id,i=t.currentTarget.dataset.cid;this.$router.push({path:"/app/my-learn/discuss-detail/"+i+"/"+s})}}}},338:function(t,s,i){},430:function(t,s,i){"use strict";var e=i(338);i.n(e).a},500:function(t,s,a){"use strict";function i(){var i=this,t=i.$createElement,e=i._self._c||t;return e("div",[e("div",{staticClass:"con-title"},[i._v("课程讨论")]),i._v(" "),e("div",{staticClass:"con-box"},[e("div",{staticClass:"tab-select"},[i._l(i.tabs,function(t,s){return[e("div",{key:s,class:["item",t.isShow?"on":""],attrs:{"data-index":s},on:{click:i.tabSelect}},[i._v(i._s(t.title))])]})],2),i._v(" "),e("div",{staticClass:"discuss-scroll"},[i._l(i.discussList,function(t,s){return[e("div",{key:s,staticClass:"item-list",attrs:{"data-id":t.id,"data-sid":t.sid,"data-cid":t.cid,"data-index":s},on:{click:i.goDiscussDetail}},[e("div",{staticClass:"user"},[t.user.url?[e("img",{staticClass:"img",attrs:{src:t.user.url}})]:[e("img",{staticClass:"img",attrs:{src:a(125)}})],i._v(" "),e("div",{staticClass:"right"},[e("div",{staticClass:"name"},[i._v(i._s(t.user.name))]),i._v(" "),e("div",{staticClass:"time"},[i._v(i._s(t.user.time))])])],2),i._v(" "),e("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),e("div",{class:["text"],domProps:{innerHTML:i._s(t.text)}}),e("div",{class:["ellipsis",t.isShow?"on":""]},[i._v("....")]),i._v(" "),e("div",{staticClass:"result"},[i._v(i._s(t.askCnt)+" 回答"),e("div",{staticStyle:{display:"inline-block",width:"20px"}}),i._v(i._s(t.TouCnt)+" 投票")])])]}),i._v(" "),i.discussList.length?i._e():[e("div",{staticClass:"no-data"},[i._v("暂无相关讨论")])]],2)])])}var e=[];a.d(s,"a",function(){return i}),a.d(s,"b",function(){return e})}}]);
\ No newline at end of file
.tab-select[data-v-be76008c]{width:100%;border-bottom:1px solid #c9c9c9;overflow:hidden;background:#fff}.tab-select .item[data-v-be76008c]{float:left;padding:0 .3rem;font-size:.2rem;line-height:2;color:#191919;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.tab-select .item.on[data-v-be76008c]{border-bottom:.04rem solid #b49441;color:#b49441}.discuss-scroll .item-list[data-v-be76008c]:first-child{margin-top:.42rem}.discuss-scroll .item-list[data-v-be76008c]{position:relative;padding:.3rem .26rem;margin-bottom:.2rem;background:#fff;-webkit-box-shadow:0 2px 4px rgba(10,4,6,.1);-moz-box-shadow:0 2px 4px rgba(10,4,6,.1);box-shadow:0 2px 4px rgba(10,4,6,.1);cursor:pointer}.discuss-scroll .item-list .user[data-v-be76008c]{position:relative;overflow:hidden}.discuss-scroll .item-list .user .img[data-v-be76008c]{float:left;width:.6rem;height:.6rem;background:#e5e5e5;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.discuss-scroll .item-list .user .right[data-v-be76008c]{position:absolute;left:.72rem;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.discuss-scroll .item-list .user .right .name[data-v-be76008c]{font-size:.18rem;color:#313131;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.discuss-scroll .item-list .user .right .time[data-v-be76008c]{margin-top:.05rem;font-size:.16rem;color:#a0a0a0}.discuss-scroll .item-list .title[data-v-be76008c]{margin:.15rem 0;font-size:.22rem;color:#313131;font-weight:700;line-height:1.5;text-align:justify}.discuss-scroll .item-list .text[data-v-be76008c]{font-size:.18rem;color:#535353;line-height:1.5;text-align:justify;word-break:break-all;overflow:hidden}.discuss-scroll .item-list .ellipsis[data-v-be76008c]{display:none;position:absolute;right:.24rem;bottom:.68rem;padding:0 .15rem 0 .05rem;color:#535353;background:#fff;font-size:.18rem}.discuss-scroll .item-list .ellipsis.on[data-v-be76008c]{display:block}.discuss-scroll .item-list .result[data-v-be76008c]{margin-top:.15rem;font-size:.16rem;color:#313131}.discuss-scroll .item-list .course-name[data-v-be76008c]{position:absolute;right:.32rem;bottom:.28rem;font-size:.16rem;color:#b49441}.discuss-scroll .no-data[data-v-be76008c]{font-size:.24rem;color:#112c42;line-height:1rem;text-align:center}
\ No newline at end of file
<<<<<<< HEAD:server/client-dist/resources/23.ae5610e2.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{263:function(t,s,i){"use strict";i.r(s);var e=i(484),a=i(326);for(var n in a)"default"!==n&&function(t){i.d(s,t,function(){return a[t]})}(n);i(417);var o=i(1),r=Object(o.a)(a.default,e.a,e.b,!1,null,"be76008c",null);s.default=r.exports},326:function(t,s,i){"use strict";i.r(s);var e=i(327),a=i.n(e);for(var n in e)"default"!==n&&function(t){i.d(s,t,function(){return e[t]})}(n);s.default=a.a},327:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e,a=i(45),n=(e=a)&&e.__esModule?e:{default:e};s.default={components:{},data:function(){return{tabs:[{title:"我提出的问题",isShow:!0,path:"/my"},{title:"我参与的问题",isShow:!1,path:"/involved"}],discussList:[],param:{limit:10,offset:0}}},mounted:function(){this.loadAjax(),window.addEventListener("resize",this.resizeRoot.bind(this),!1)},destroyed:function(){window.removeEventListener("resize",this.resizeRoot.bind(this),!1)},updated:function(){this.resizeRoot()},methods:{resizeRoot:function(){var a=this,t=document.querySelectorAll(".ellipsis"),n=getComputedStyle(window.document.documentElement)["font-size"].replace("px","");t.forEach(function(t,s){t.previousSibling.style.height="auto";var i=t.previousSibling.offsetHeight,e=.18*n*1.5*2;e<i?(a.discussList[s].isShow=!0,t.previousSibling.style.height=e+"px"):a.discussList[s].isShow=!1})},loadAjax:function(){for(var s=this,t="",i=0;i<this.tabs.length;i++)this.tabs[i].isShow&&(t=this.tabs[i].path);var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.discussAction.getDiscussList(t,this.param).then(function(t){s.discussList=t}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})},tabSelect:function(t){for(var s=t.currentTarget.dataset.index,i=this.tabs,e=0;e<i.length;e++)i[e].isShow=!1;i[s].isShow=!0,this.tabs=i,this.param.offset=0,this.loadAjax()},goDiscussDetail:function(t){var s=t.currentTarget.dataset.id,i=t.currentTarget.dataset.cid;this.$router.push({path:"/app/my-learn/discuss-detail/"+i+"/"+s})}}}},328:function(t,s,i){},417:function(t,s,i){"use strict";var e=i(328);i.n(e).a},484:function(t,s,a){"use strict";function i(){var i=this,t=i.$createElement,e=i._self._c||t;return e("div",[e("div",{staticClass:"con-title"},[i._v("课程讨论")]),i._v(" "),e("div",{staticClass:"con-box"},[e("div",{staticClass:"tab-select"},[i._l(i.tabs,function(t,s){return[e("div",{key:s,class:["item",t.isShow?"on":""],attrs:{"data-index":s},on:{click:i.tabSelect}},[i._v(i._s(t.title))])]})],2),i._v(" "),e("div",{staticClass:"discuss-scroll"},[i._l(i.discussList,function(t,s){return[e("div",{key:s,staticClass:"item-list",attrs:{"data-id":t.id,"data-sid":t.sid,"data-cid":t.cid,"data-index":s},on:{click:i.goDiscussDetail}},[e("div",{staticClass:"user"},[t.user.url?[e("img",{staticClass:"img",attrs:{src:t.user.url}})]:[e("img",{staticClass:"img",attrs:{src:a(121)}})],i._v(" "),e("div",{staticClass:"right"},[e("div",{staticClass:"name"},[i._v(i._s(t.user.name))]),i._v(" "),e("div",{staticClass:"time"},[i._v(i._s(t.user.time))])])],2),i._v(" "),e("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),e("div",{class:["text"],domProps:{innerHTML:i._s(t.text)}}),e("div",{class:["ellipsis",t.isShow?"on":""]},[i._v("....")]),i._v(" "),e("div",{staticClass:"result"},[i._v(i._s(t.askCnt)+" 回答"),e("div",{staticStyle:{display:"inline-block",width:"20px"}}),i._v(i._s(t.TouCnt)+" 投票")])])]}),i._v(" "),i.discussList.length?i._e():[e("div",{staticClass:"no-data"},[i._v("暂无相关讨论")])]],2)])])}var e=[];a.d(s,"a",function(){return i}),a.d(s,"b",function(){return e})}}]);
=======
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{272:function(t,s,i){"use strict";i.r(s);var e=i(500),a=i(336);for(var n in a)"default"!==n&&function(t){i.d(s,t,function(){return a[t]})}(n);i(430);var o=i(0),r=Object(o.a)(a.default,e.a,e.b,!1,null,"3363eb0c",null);s.default=r.exports},336:function(t,s,i){"use strict";i.r(s);var e=i(337),a=i.n(e);for(var n in e)"default"!==n&&function(t){i.d(s,t,function(){return e[t]})}(n);s.default=a.a},337:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e,a=i(48),n=(e=a)&&e.__esModule?e:{default:e};s.default={components:{},data:function(){return{tabs:[{title:"我提出的问题",isShow:!0,path:"/my"},{title:"我参与的问题",isShow:!1,path:"/involved"}],discussList:[],param:{limit:10,offset:0}}},mounted:function(){this.loadAjax(),window.addEventListener("resize",this.resizeRoot.bind(this),!1)},destroyed:function(){window.removeEventListener("resize",this.resizeRoot.bind(this),!1)},updated:function(){this.resizeRoot()},methods:{resizeRoot:function(){var a=this,t=document.querySelectorAll(".ellipsis"),n=getComputedStyle(window.document.documentElement)["font-size"].replace("px","");t.forEach(function(t,s){t.previousSibling.style.height="auto";var i=t.previousSibling.offsetHeight,e=.18*n*1.5*2;e<i?(a.discussList[s].isShow=!0,t.previousSibling.style.height=e+"px"):a.discussList[s].isShow=!1})},loadAjax:function(){for(var s=this,t="",i=0;i<this.tabs.length;i++)this.tabs[i].isShow&&(t=this.tabs[i].path);var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.discussAction.getDiscussList(t,this.param).then(function(t){s.discussList=t}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})},tabSelect:function(t){for(var s=t.currentTarget.dataset.index,i=this.tabs,e=0;e<i.length;e++)i[e].isShow=!1;i[s].isShow=!0,this.tabs=i,this.param.offset=0,this.loadAjax()},goDiscussDetail:function(t){var s=t.currentTarget.dataset.id,i=t.currentTarget.dataset.sid,e=t.currentTarget.dataset.cid;this.$router.push({path:"/app/my-learn/discuss-detail/"+i+"/"+e+"/"+s})}}}},338:function(t,s,i){},430:function(t,s,i){"use strict";var e=i(338);i.n(e).a},500:function(t,s,a){"use strict";function i(){var i=this,t=i.$createElement,e=i._self._c||t;return e("div",[e("div",{staticClass:"con-title"},[i._v("课程讨论")]),i._v(" "),e("div",{staticClass:"con-box"},[e("div",{staticClass:"tab-select"},[i._l(i.tabs,function(t,s){return[e("div",{key:s,class:["item",t.isShow?"on":""],attrs:{"data-index":s},on:{click:i.tabSelect}},[i._v(i._s(t.title))])]})],2),i._v(" "),e("div",{staticClass:"discuss-scroll"},[i._l(i.discussList,function(t,s){return[e("div",{key:s,staticClass:"item-list",attrs:{"data-id":t.id,"data-sid":t.sid,"data-cid":t.cid,"data-index":s},on:{click:i.goDiscussDetail}},[e("div",{staticClass:"user"},[t.user.url?[e("img",{staticClass:"img",attrs:{src:t.user.url}})]:[e("img",{staticClass:"img",attrs:{src:a(125)}})],i._v(" "),e("div",{staticClass:"right"},[e("div",{staticClass:"name"},[i._v(i._s(t.user.name))]),i._v(" "),e("div",{staticClass:"time"},[i._v(i._s(t.user.time))])])],2),i._v(" "),e("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),e("div",{class:["text"],domProps:{innerHTML:i._s(t.text)}}),e("div",{class:["ellipsis",t.isShow?"on":""]},[i._v("....")]),i._v(" "),e("div",{staticClass:"result"},[i._v(i._s(t.askCnt)+" 回答"),e("div",{staticStyle:{display:"inline-block",width:"20px"}}),i._v(i._s(t.TouCnt)+" 投票")])])]}),i._v(" "),i.discussList.length?i._e():[e("div",{staticClass:"no-data"},[i._v("暂无相关讨论")])]],2)])])}var e=[];a.d(s,"a",function(){return i}),a.d(s,"b",function(){return e})}}]);
>>>>>>> origin/master:server/client-dist/resources/24.bcaa4c08.js
<<<<<<< HEAD:server/client-dist/resources/26.dcb1b880.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{289:function(t,s,a){"use strict";a.r(s);var i=[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"hd"},[i("img",{attrs:{src:a(408),alt:"logo"}}),t._v(" "),i("div",{staticClass:"txt"},[t._v("清控紫荆课堂")])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"ft"},[i("div",{staticClass:"num"},[t._v("学习平台服务电话:010-62793299")]),t._v(" "),i("div",{staticClass:"time"},[t._v("服务时间:9:00-18:00")]),t._v(" "),i("div",{staticClass:"txt"},[t._v("Copyright © 2017 Zijing Education. All rights reserved. 清控紫荆(北京)教育科技股份有限公司 京ICP证150431号 京公网安备 11010802023681号")])])}],e=(a(409),a(1)),c=Object(e.a)({},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"p-con"},[t._m(0),t._v(" "),i("div",{staticClass:"bd"},[i("div",{staticClass:"top50 container"},[i("router-view")],1)]),t._v(" "),t._m(1)])},i,!1,null,"278899b8",null);s.default=c.exports},303:function(t,s,i){},408:function(t,s,i){t.exports=i.p+"resources/logo.2d35bcc8.png"},409:function(t,s,i){"use strict";var a=i(303);i.n(a).a}}]);
=======
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{299:function(t,s,a){"use strict";a.r(s);var i=[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"hd"},[i("img",{attrs:{src:a(421),alt:"logo"}}),t._v(" "),i("div",{staticClass:"txt"},[t._v("在线学习系统")])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"ft"},[i("div",{staticClass:"num"},[t._v("学习平台服务电话:010-62793299")]),t._v(" "),i("div",{staticClass:"time"},[t._v("服务时间:9:00-18:00")]),t._v(" "),i("div",{staticClass:"txt"},[t._v("Copyright © 2017 Zijing Education. All rights reserved. 清控紫荆(北京)教育科技股份有限公司 京ICP证150431号 京公网安备 11010802023681号")])])}],e=(a(422),a(0)),c=Object(e.a)({},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"p-con"},[t._m(0),t._v(" "),i("div",{staticClass:"bd"},[i("div",{staticClass:"top50 container"},[i("router-view")],1)]),t._v(" "),t._m(1)])},i,!1,null,"1d498fd0",null);s.default=c.exports},313:function(t,s,i){},421:function(t,s,i){t.exports=i.p+"resources/logo.2d35bcc8.png"},422:function(t,s,i){"use strict";var a=i(313);i.n(a).a}}]);
>>>>>>> origin/master:server/client-dist/resources/27.45cd3e74.js
<<<<<<< HEAD:server/client-dist/resources/26.dcb1b880.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{289:function(t,s,a){"use strict";a.r(s);var i=[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"hd"},[i("img",{attrs:{src:a(408),alt:"logo"}}),t._v(" "),i("div",{staticClass:"txt"},[t._v("清控紫荆课堂")])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"ft"},[i("div",{staticClass:"num"},[t._v("学习平台服务电话:010-62793299")]),t._v(" "),i("div",{staticClass:"time"},[t._v("服务时间:9:00-18:00")]),t._v(" "),i("div",{staticClass:"txt"},[t._v("Copyright © 2017 Zijing Education. All rights reserved. 清控紫荆(北京)教育科技股份有限公司 京ICP证150431号 京公网安备 11010802023681号")])])}],e=(a(409),a(1)),c=Object(e.a)({},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"p-con"},[t._m(0),t._v(" "),i("div",{staticClass:"bd"},[i("div",{staticClass:"top50 container"},[i("router-view")],1)]),t._v(" "),t._m(1)])},i,!1,null,"278899b8",null);s.default=c.exports},303:function(t,s,i){},408:function(t,s,i){t.exports=i.p+"resources/logo.2d35bcc8.png"},409:function(t,s,i){"use strict";var a=i(303);i.n(a).a}}]);
=======
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{299:function(t,s,a){"use strict";a.r(s);var i=[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"hd"},[i("img",{attrs:{src:a(421),alt:"logo"}}),t._v(" "),i("div",{staticClass:"txt"},[t._v("在线学习系统")])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"ft"},[i("div",{staticClass:"num"},[t._v("学习平台服务电话:010-62793299")]),t._v(" "),i("div",{staticClass:"time"},[t._v("服务时间:9:00-18:00")]),t._v(" "),i("div",{staticClass:"txt"},[t._v("Copyright © 2017 Zijing Education. All rights reserved. 清控紫荆(北京)教育科技股份有限公司 京ICP证150431号 京公网安备 11010802023681号")])])}],e=(a(422),a(0)),c=Object(e.a)({},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"p-con"},[t._m(0),t._v(" "),i("div",{staticClass:"bd"},[i("div",{staticClass:"top50 container"},[i("router-view")],1)]),t._v(" "),t._m(1)])},i,!1,null,"1d498fd0",null);s.default=c.exports},313:function(t,s,i){},421:function(t,s,i){t.exports=i.p+"resources/logo.2d35bcc8.png"},422:function(t,s,i){"use strict";var a=i(313);i.n(a).a}}]);
>>>>>>> origin/master:server/client-dist/resources/27.45cd3e74.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{299:function(t,s,a){"use strict";a.r(s);var i=[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"hd"},[i("img",{attrs:{src:a(421),alt:"logo"}}),t._v(" "),i("div",{staticClass:"txt"},[t._v("清控紫荆课堂")])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"ft"},[i("div",{staticClass:"num"},[t._v("学习平台服务电话:010-62793299")]),t._v(" "),i("div",{staticClass:"time"},[t._v("服务时间:9:00-18:00")]),t._v(" "),i("div",{staticClass:"txt"},[t._v("Copyright © 2017 Zijing Education. All rights reserved. 清控紫荆(北京)教育科技股份有限公司 京ICP证150431号 京公网安备 11010802023681号")])])}],e=(a(422),a(0)),c=Object(e.a)({},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"p-con"},[t._m(0),t._v(" "),i("div",{staticClass:"bd"},[i("div",{staticClass:"top50 container"},[i("router-view")],1)]),t._v(" "),t._m(1)])},i,!1,null,"278899b8",null);s.default=c.exports},313:function(t,s,i){},421:function(t,s,i){t.exports=i.p+"resources/logo.2d35bcc8.png"},422:function(t,s,i){"use strict";var a=i(313);i.n(a).a}}]);
\ No newline at end of file
<<<<<<< HEAD:server/client-dist/resources/27.4f93b09f.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{256:function(t,e,r){"use strict";r.r(e);var s=r(461),n=r(304);for(var o in n)"default"!==o&&function(t){r.d(e,t,function(){return n[t]})}(o);var a=r(1),c=Object(a.a)(n.default,s.a,s.b,!1,null,null,null);e.default=c.exports},304:function(t,e,r){"use strict";r.r(e);var s=r(305),n=r.n(s);for(var o in s)"default"!==o&&function(t){r.d(e,t,function(){return s[t]})}(o);e.default=n.a},305:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,n=r(45),o=r(80),a=(s=o)&&s.__esModule?s:{default:s};e.default={props:{params:{type:Object,required:!1,default:{}},query:{type:Object,required:!1,default:{}}},data:function(){return{setAccount:{},accountRules:{user:[{required:!0,message:"请输入账号",trigger:"blur"},{pattern:/^(1[3-9]\d{9}|[\w\.]+@\w+(\.\w+)+)$/,message:"请输入正确格式的手机号/邮箱",trigger:"change"}],pwd:[{required:!0,message:"请输入密码",trigger:"blur"}]}}},methods:{onSubmitSetAccount:function(){var e=this;this.$refs.setAccountform.validate(function(t){if(!t)return e.$message.error("请根据输入框提示,检查输入项。"),!1;(0,n.request)({component:e,actionName:"loginAction",functionName:"userLogin",data:{login_name:e.setAccount.user,password:e.$md5("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),pwd:a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq")},thenCallback:function(t){e.query.rd?e.$router.push({path:decodeURIComponent(e.query.rd)}):(window.G.pwd=a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),e.$router.push({path:"/app/my-learn/course"}))},catchCallback:function(){},finallyCallback:function(){}})})}}}},410:function(t,e,r){t.exports=r.p+"resources/login-left-bg.dc62fc0f.png"},461:function(t,e,r){"use strict";function s(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"row"},[e._m(0),e._v(" "),r("div",{staticClass:"col-12 col-md-7 col-lg-5 col-xl-4"},[r("el-form",{ref:"setAccountform",attrs:{model:e.setAccount,rules:e.accountRules}},[r("el-form-item",{attrs:{prop:"user"}},[r("el-input",{staticClass:"self-input",attrs:{type:"text",placeholder:"手机/邮箱"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onSubmitSetAccount(t)}},model:{value:e.setAccount.user,callback:function(t){e.$set(e.setAccount,"user",t)},expression:"setAccount.user"}},[r("i",{staticClass:"el-input__icon el-icon-self-character",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",{attrs:{prop:"pwd"}},[r("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onSubmitSetAccount(t)}},model:{value:e.setAccount.pwd,callback:function(t){e.$set(e.setAccount,"pwd",t)},expression:"setAccount.pwd"}},[r("i",{staticClass:"el-input__icon el-icon-self-mima",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",[r("el-button",{staticClass:"login-btn",attrs:{type:"primary"},on:{click:e.onSubmitSetAccount}},[e._v("登录")])],1),e._v(" "),r("div",{staticClass:"text"},[r("span",{staticClass:"code-login"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/code?rd="+e.query.rd}}},[e._v("验证码登录")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"codeLogin"}}},[e._v("验证码登录")])]],2),e._v(" "),r("span",{staticClass:"forget-pwd"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/forget?rd="+e.query.rd}}},[e._v("忘记密码")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"forgetPwd"}}},[e._v("忘记密码")])]],2)])],1)],1)])}var n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hidden-xs-only col-md-5 col-lg-6 col-xl-6"},[e("img",{staticStyle:{border:"1px solid #fff","border-radius":"50%"},attrs:{src:r(410),alt:"左侧-sofia logo"}})])}];r.d(e,"a",function(){return s}),r.d(e,"b",function(){return n})}}]);
=======
(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{265:function(t,e,r){"use strict";r.r(e);var s=r(477),n=r(314);for(var o in n)"default"!==o&&function(t){r.d(e,t,function(){return n[t]})}(o);var a=r(0),c=Object(a.a)(n.default,s.a,s.b,!1,null,null,null);e.default=c.exports},314:function(t,e,r){"use strict";r.r(e);var s=r(315),n=r.n(s);for(var o in s)"default"!==o&&function(t){r.d(e,t,function(){return s[t]})}(o);e.default=n.a},315:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,n=r(48),o=r(49),a=(s=o)&&s.__esModule?s:{default:s};e.default={props:{params:{type:Object,required:!1,default:{}},query:{type:Object,required:!1,default:{}}},data:function(){return{setAccount:{},accountRules:{user:[{required:!0,message:"请输入账号",trigger:"blur"},{pattern:/^(1[3-9]\d{9}|[\w\.]+@\w+(\.\w+)+)$/,message:"请输入正确格式的手机号/邮箱",trigger:"change"}],pwd:[{required:!0,message:"请输入密码",trigger:"blur"}]}}},methods:{onSubmitSetAccount:function(){var e=this;this.$refs.setAccountform.validate(function(t){if(!t)return e.$message.error("请根据输入框提示,检查输入项。"),!1;(0,n.request)({component:e,actionName:"loginAction",functionName:"userLogin",data:{login_name:e.setAccount.user,password:e.$md5("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),pwd:a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq")},thenCallback:function(t){e.query.rd?e.$router.push({path:decodeURIComponent(e.query.rd)}):(window.G.pwd=a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),e.$router.push({path:"/app/my-learn/course"}))},catchCallback:function(){},finallyCallback:function(){}})})}}}},423:function(t,e,r){t.exports=r.p+"resources/login-left-bg.1a456b4f.png"},477:function(t,e,r){"use strict";function s(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"row"},[e._m(0),e._v(" "),r("div",{staticClass:"col-12 col-md-7 col-lg-5 col-xl-4"},[r("el-form",{ref:"setAccountform",attrs:{model:e.setAccount,rules:e.accountRules}},[r("el-form-item",{attrs:{prop:"user"}},[r("el-input",{staticClass:"self-input",attrs:{type:"text",placeholder:"手机/邮箱"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onSubmitSetAccount(t)}},model:{value:e.setAccount.user,callback:function(t){e.$set(e.setAccount,"user",t)},expression:"setAccount.user"}},[r("i",{staticClass:"el-input__icon el-icon-self-character",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",{attrs:{prop:"pwd"}},[r("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onSubmitSetAccount(t)}},model:{value:e.setAccount.pwd,callback:function(t){e.$set(e.setAccount,"pwd",t)},expression:"setAccount.pwd"}},[r("i",{staticClass:"el-input__icon el-icon-self-mima",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",[r("el-button",{staticClass:"login-btn",attrs:{type:"primary"},on:{click:e.onSubmitSetAccount}},[e._v("登录")])],1),e._v(" "),r("div",{staticClass:"text"},[r("span",{staticClass:"code-login"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/code?rd="+e.query.rd}}},[e._v("验证码登录")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"codeLogin"}}},[e._v("验证码登录")])]],2),e._v(" "),r("span",{staticClass:"forget-pwd"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/forget?rd="+e.query.rd}}},[e._v("忘记密码")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"forgetPwd"}}},[e._v("忘记密码")])]],2)])],1)],1)])}var n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hidden-xs-only col-md-5 col-lg-6 col-xl-6"},[e("img",{attrs:{src:r(423),alt:"左侧-sofia logo"}})])}];r.d(e,"a",function(){return s}),r.d(e,"b",function(){return n})}}]);
>>>>>>> origin/master:server/client-dist/resources/28.214150d4.js
<<<<<<< HEAD:server/client-dist/resources/27.4f93b09f.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{256:function(t,e,r){"use strict";r.r(e);var s=r(461),n=r(304);for(var o in n)"default"!==o&&function(t){r.d(e,t,function(){return n[t]})}(o);var a=r(1),c=Object(a.a)(n.default,s.a,s.b,!1,null,null,null);e.default=c.exports},304:function(t,e,r){"use strict";r.r(e);var s=r(305),n=r.n(s);for(var o in s)"default"!==o&&function(t){r.d(e,t,function(){return s[t]})}(o);e.default=n.a},305:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,n=r(45),o=r(80),a=(s=o)&&s.__esModule?s:{default:s};e.default={props:{params:{type:Object,required:!1,default:{}},query:{type:Object,required:!1,default:{}}},data:function(){return{setAccount:{},accountRules:{user:[{required:!0,message:"请输入账号",trigger:"blur"},{pattern:/^(1[3-9]\d{9}|[\w\.]+@\w+(\.\w+)+)$/,message:"请输入正确格式的手机号/邮箱",trigger:"change"}],pwd:[{required:!0,message:"请输入密码",trigger:"blur"}]}}},methods:{onSubmitSetAccount:function(){var e=this;this.$refs.setAccountform.validate(function(t){if(!t)return e.$message.error("请根据输入框提示,检查输入项。"),!1;(0,n.request)({component:e,actionName:"loginAction",functionName:"userLogin",data:{login_name:e.setAccount.user,password:e.$md5("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),pwd:a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq")},thenCallback:function(t){e.query.rd?e.$router.push({path:decodeURIComponent(e.query.rd)}):(window.G.pwd=a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),e.$router.push({path:"/app/my-learn/course"}))},catchCallback:function(){},finallyCallback:function(){}})})}}}},410:function(t,e,r){t.exports=r.p+"resources/login-left-bg.dc62fc0f.png"},461:function(t,e,r){"use strict";function s(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"row"},[e._m(0),e._v(" "),r("div",{staticClass:"col-12 col-md-7 col-lg-5 col-xl-4"},[r("el-form",{ref:"setAccountform",attrs:{model:e.setAccount,rules:e.accountRules}},[r("el-form-item",{attrs:{prop:"user"}},[r("el-input",{staticClass:"self-input",attrs:{type:"text",placeholder:"手机/邮箱"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onSubmitSetAccount(t)}},model:{value:e.setAccount.user,callback:function(t){e.$set(e.setAccount,"user",t)},expression:"setAccount.user"}},[r("i",{staticClass:"el-input__icon el-icon-self-character",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",{attrs:{prop:"pwd"}},[r("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onSubmitSetAccount(t)}},model:{value:e.setAccount.pwd,callback:function(t){e.$set(e.setAccount,"pwd",t)},expression:"setAccount.pwd"}},[r("i",{staticClass:"el-input__icon el-icon-self-mima",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",[r("el-button",{staticClass:"login-btn",attrs:{type:"primary"},on:{click:e.onSubmitSetAccount}},[e._v("登录")])],1),e._v(" "),r("div",{staticClass:"text"},[r("span",{staticClass:"code-login"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/code?rd="+e.query.rd}}},[e._v("验证码登录")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"codeLogin"}}},[e._v("验证码登录")])]],2),e._v(" "),r("span",{staticClass:"forget-pwd"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/forget?rd="+e.query.rd}}},[e._v("忘记密码")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"forgetPwd"}}},[e._v("忘记密码")])]],2)])],1)],1)])}var n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hidden-xs-only col-md-5 col-lg-6 col-xl-6"},[e("img",{staticStyle:{border:"1px solid #fff","border-radius":"50%"},attrs:{src:r(410),alt:"左侧-sofia logo"}})])}];r.d(e,"a",function(){return s}),r.d(e,"b",function(){return n})}}]);
=======
(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{265:function(t,e,r){"use strict";r.r(e);var s=r(477),n=r(314);for(var o in n)"default"!==o&&function(t){r.d(e,t,function(){return n[t]})}(o);var a=r(0),c=Object(a.a)(n.default,s.a,s.b,!1,null,null,null);e.default=c.exports},314:function(t,e,r){"use strict";r.r(e);var s=r(315),n=r.n(s);for(var o in s)"default"!==o&&function(t){r.d(e,t,function(){return s[t]})}(o);e.default=n.a},315:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,n=r(48),o=r(49),a=(s=o)&&s.__esModule?s:{default:s};e.default={props:{params:{type:Object,required:!1,default:{}},query:{type:Object,required:!1,default:{}}},data:function(){return{setAccount:{},accountRules:{user:[{required:!0,message:"请输入账号",trigger:"blur"},{pattern:/^(1[3-9]\d{9}|[\w\.]+@\w+(\.\w+)+)$/,message:"请输入正确格式的手机号/邮箱",trigger:"change"}],pwd:[{required:!0,message:"请输入密码",trigger:"blur"}]}}},methods:{onSubmitSetAccount:function(){var e=this;this.$refs.setAccountform.validate(function(t){if(!t)return e.$message.error("请根据输入框提示,检查输入项。"),!1;(0,n.request)({component:e,actionName:"loginAction",functionName:"userLogin",data:{login_name:e.setAccount.user,password:e.$md5("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),pwd:a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq")},thenCallback:function(t){e.query.rd?e.$router.push({path:decodeURIComponent(e.query.rd)}):(window.G.pwd=a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),e.$router.push({path:"/app/my-learn/course"}))},catchCallback:function(){},finallyCallback:function(){}})})}}}},423:function(t,e,r){t.exports=r.p+"resources/login-left-bg.1a456b4f.png"},477:function(t,e,r){"use strict";function s(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"row"},[e._m(0),e._v(" "),r("div",{staticClass:"col-12 col-md-7 col-lg-5 col-xl-4"},[r("el-form",{ref:"setAccountform",attrs:{model:e.setAccount,rules:e.accountRules}},[r("el-form-item",{attrs:{prop:"user"}},[r("el-input",{staticClass:"self-input",attrs:{type:"text",placeholder:"手机/邮箱"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onSubmitSetAccount(t)}},model:{value:e.setAccount.user,callback:function(t){e.$set(e.setAccount,"user",t)},expression:"setAccount.user"}},[r("i",{staticClass:"el-input__icon el-icon-self-character",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",{attrs:{prop:"pwd"}},[r("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onSubmitSetAccount(t)}},model:{value:e.setAccount.pwd,callback:function(t){e.$set(e.setAccount,"pwd",t)},expression:"setAccount.pwd"}},[r("i",{staticClass:"el-input__icon el-icon-self-mima",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",[r("el-button",{staticClass:"login-btn",attrs:{type:"primary"},on:{click:e.onSubmitSetAccount}},[e._v("登录")])],1),e._v(" "),r("div",{staticClass:"text"},[r("span",{staticClass:"code-login"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/code?rd="+e.query.rd}}},[e._v("验证码登录")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"codeLogin"}}},[e._v("验证码登录")])]],2),e._v(" "),r("span",{staticClass:"forget-pwd"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/forget?rd="+e.query.rd}}},[e._v("忘记密码")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"forgetPwd"}}},[e._v("忘记密码")])]],2)])],1)],1)])}var n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hidden-xs-only col-md-5 col-lg-6 col-xl-6"},[e("img",{attrs:{src:r(423),alt:"左侧-sofia logo"}})])}];r.d(e,"a",function(){return s}),r.d(e,"b",function(){return n})}}]);
>>>>>>> origin/master:server/client-dist/resources/28.214150d4.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{265:function(t,e,r){"use strict";r.r(e);var s=r(477),n=r(314);for(var o in n)"default"!==o&&function(t){r.d(e,t,function(){return n[t]})}(o);var a=r(0),c=Object(a.a)(n.default,s.a,s.b,!1,null,null,null);e.default=c.exports},314:function(t,e,r){"use strict";r.r(e);var s=r(315),n=r.n(s);for(var o in s)"default"!==o&&function(t){r.d(e,t,function(){return s[t]})}(o);e.default=n.a},315:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,n=r(48),o=r(49),a=(s=o)&&s.__esModule?s:{default:s};e.default={props:{params:{type:Object,required:!1,default:{}},query:{type:Object,required:!1,default:{}}},data:function(){return{setAccount:{},accountRules:{user:[{required:!0,message:"请输入账号",trigger:"blur"},{pattern:/^(1[3-9]\d{9}|[\w\.]+@\w+(\.\w+)+)$/,message:"请输入正确格式的手机号/邮箱",trigger:"change"}],pwd:[{required:!0,message:"请输入密码",trigger:"blur"}]}}},methods:{onSubmitSetAccount:function(){var e=this;this.$refs.setAccountform.validate(function(t){if(!t)return e.$message.error("请根据输入框提示,检查输入项。"),!1;(0,n.request)({component:e,actionName:"loginAction",functionName:"userLogin",data:{login_name:e.setAccount.user,password:e.$md5("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),pwd:a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq")},thenCallback:function(t){e.query.rd?e.$router.push({path:decodeURIComponent(e.query.rd)}):(window.G.pwd=a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),e.$router.push({path:"/app/my-learn/course"}))},catchCallback:function(){},finallyCallback:function(){}})})}}}},423:function(t,e,r){t.exports=r.p+"resources/login-left-bg.dc62fc0f.png"},477:function(t,e,r){"use strict";function s(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"row"},[e._m(0),e._v(" "),r("div",{staticClass:"col-12 col-md-7 col-lg-5 col-xl-4"},[r("el-form",{ref:"setAccountform",attrs:{model:e.setAccount,rules:e.accountRules}},[r("el-form-item",{attrs:{prop:"user"}},[r("el-input",{staticClass:"self-input",attrs:{type:"text",placeholder:"手机/邮箱"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onSubmitSetAccount(t)}},model:{value:e.setAccount.user,callback:function(t){e.$set(e.setAccount,"user",t)},expression:"setAccount.user"}},[r("i",{staticClass:"el-input__icon el-icon-self-character",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",{attrs:{prop:"pwd"}},[r("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onSubmitSetAccount(t)}},model:{value:e.setAccount.pwd,callback:function(t){e.$set(e.setAccount,"pwd",t)},expression:"setAccount.pwd"}},[r("i",{staticClass:"el-input__icon el-icon-self-mima",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",[r("el-button",{staticClass:"login-btn",attrs:{type:"primary"},on:{click:e.onSubmitSetAccount}},[e._v("登录")])],1),e._v(" "),r("div",{staticClass:"text"},[r("span",{staticClass:"code-login"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/code?rd="+e.query.rd}}},[e._v("验证码登录")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"codeLogin"}}},[e._v("验证码登录")])]],2),e._v(" "),r("span",{staticClass:"forget-pwd"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/forget?rd="+e.query.rd}}},[e._v("忘记密码")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"forgetPwd"}}},[e._v("忘记密码")])]],2)])],1)],1)])}var n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hidden-xs-only col-md-5 col-lg-6 col-xl-6"},[e("img",{staticStyle:{border:"1px solid #fff","border-radius":"50%"},attrs:{src:r(423),alt:"左侧-sofia logo"}})])}];r.d(e,"a",function(){return s}),r.d(e,"b",function(){return n})}}]);
\ No newline at end of file
<<<<<<< HEAD:server/client-dist/resources/6.adf556fa1464.css
.tab-pane[data-v-b09df8e0]{display:block;height:100%;overflow:auto}.tab-pane .chapter-list[data-v-b09df8e0]{margin:0;padding:0;line-height:1.6;overflow:hidden}.tab-pane .chapter-list .chapter-item h4[data-v-b09df8e0]{padding:10px 22px;margin:0;font-size:15px;color:#b0b0b0;background-color:#2f2f2f}.tab-pane .chapter-list .chapter-item .knot-list[data-v-b09df8e0]{margin:0;padding:0;line-height:1.6;overflow:hidden}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-b09df8e0]{position:relative}.tab-pane .chapter-list .chapter-item .knot-list li.on[data-v-b09df8e0]{background:#3c3c3c}.tab-pane .chapter-list .chapter-item .knot-list li.on a[data-v-b09df8e0]{color:#b49441}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-b09df8e0]:hover{background:#3c3c3c}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-b09df8e0]:before{display:block;content:"";position:absolute;left:13px;top:16px;z-index:10;width:18px;height:18px;background:#5b5b5b;border:2px solid #5b5b5b;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-b09df8e0]:after{display:block;content:"";position:absolute;left:22px;top:0;z-index:5;width:1px;height:100px;background:#616161}.tab-pane .chapter-list .chapter-item .knot-list .knot-name[data-v-b09df8e0]{display:block;padding:15px 35px 15px 40px;font-size:14px;color:#909090;text-decoration:none;cursor:pointer}.tab-pane .chapter-list .chapter-item .el-icon[data-v-b09df8e0]{position:absolute;font-size:16px;right:10px;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.tab-pane[data-v-8ec544e6]{display:block;height:100%;overflow:auto}.tab-pane .lecture-list[data-v-8ec544e6]{padding:8px 16px}.tab-pane .lecture-list li[data-v-8ec544e6]{padding:8px 16px;cursor:pointer;list-style:none}.tab-pane .lecture-list li.on[data-v-8ec544e6]{background:#888}.tab-pane .lecture-list li img[data-v-8ec544e6]{width:100%}.play{overflow:hidden;position:fixed;top:0;z-index:800;width:100%;height:100%;background-color:#3f3f3f;color:#a0a0a0}.play .left-content{position:absolute;right:350px;top:0;left:0;bottom:0;min-width:705px;height:100%}.play.sidebar-hide .left-content{right:0}.play .play-top{line-height:56px}.play .play-top p{font-size:1.5em;text-align:center;margin:0}.play .play-back{position:absolute;top:6px;left:10px;width:40px;height:40px;overflow:hidden;color:#fff;font-size:24px;line-height:40px;text-align:center}.play .play-content{position:absolute;top:56px;bottom:0;left:0;right:0}.play .play-content-video{height:100%}.play .play-center .text-error{font-size:.875em;line-height:1.5em}.play .play-video-hide{visibility:hidden;overflow:hidden;width:0}.play .play-video-init-center{position:absolute;top:50%;left:50%;margin:-180px 0 0 -275px}.play .play-ppt{position:relative;width:550px;height:363.375px;background-color:#000}.play .play-ppt-img{width:100%;height:100%}.play .play-controls{position:absolute;bottom:0;left:0;right:0;height:44px;line-height:42px;padding:0 14px;background-color:#000}.play .play-controls .fl i{color:#8c8c8b}.play .play-page{position:absolute;left:50%;margin-left:-75px;color:#fff;width:150px;text-align:center;font-size:.875em}.play .play-page .play-now{color:#d29f29}.play .play-amazing{float:right}.play .play-amazing i{color:#fff;margin:0 10px;cursor:pointer}.play .play-amazing i.active,.play .play-amazing i:hover{color:#d29f29}.play .play-amazing .icon-rotate{font-size:1.125em}.play .play-footer{position:absolute;bottom:0;left:0;right:0;z-index:200;padding:18px 20px 15px}.play .play-footer a:hover{color:#a0a0a0}.play .play-state{display:inline-block;color:#a0a0a0;padding-left:25px;font-size:14px;line-height:18px;margin:0 20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAGLCAMAAAFly2nyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyMDA3NTdkYS1iNTY5LTQ5MGEtYTA4MS02YWNlYWZlMGM2YzMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg4NUE2RkFFMkVCMTFFN0FBREZBNkNDMUEwRTI3OTkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg4NUE2RjlFMkVCMTFFN0FBREZBNkNDMUEwRTI3OTkiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YzU0NDA3MDYtMWE4Mi00MDk4LTg2NWYtMzYwMmY4NWY1NThkIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjIwMDc1N2RhLWI1NjktNDkwYS1hMDgxLTZhY2VhZmUwYzZjMyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pn/9WLEAAAGAUExURV9WQIWFhbGSQVVVVXR0dFNTU7SUQUBAQE5OTkFBQU9PT0JCQp6enpiYmFFMP6mMQUBAP5aWllFRUWpqaqqNQZGRkVhYWEpKSouLi5CQkJqBQYGBgXp6emVlZXJkQFJNP52dnUJBP5OTk6GGQYKCgpubm2hoaFlZWZWVlWFhYUtLS319fXl5eZ+fn4CAgFtTP0NDQ1xUP4ZyQE1NTUREREVFRUZGRpmZmVtbW2xsbIODg1paWlxcXFdXV3FjQGdnZ0hISHNzc1BQUF5eXmlpaYiIiIl1QHNlQKKHQZeXl2FYQF1dXWBXQFZWVl9fX0dHR0pHP1hRP6+QQYaGhnt7e0NCP6uOQYVyQFVPP6CFQWRkZHpqQHFxcZKSkqOIQV5VQH5tQG9iQI+Pj0VDP5d/QKSIQaSJQaCGQXBjQFJSUm9vb35+fmNjY2tra2hdQI14QEVEP4mJiWZbQFlSP6iLQV1VQHZ2dpycnIqKioRxQJR9QE5KP5SUlHx8fKCgoD8/P7j7iVMAAAVKSURBVHjabM3RCYAwDEXRR6GBQkEcoUMIDuFMuatrBW2DflwCB8KTg9wRjLZuRMu9HO3xYBVViiiTJZRoog3b3e+Ndfo9zGTXXfjuvPmvnwKIAUyhII16LIJwxIrMFQOREpIwbjyIlFKGcoEORdYIdCNWA+swzOeqBwgghjobaDhiJYHhjkeW1ZQVn6w4iPSvx22CBIN1vWR9Eg5ZKQafeuX6SGyuQiIxZdmQyHoCZB0kvrDKWkLZsvX1AAEEJE3BKsHqBeuIMBndFkg419WTqpcdRLKCw1mIlUS9kNQPzhccEL1Em6ATCyTVoCJZQJKdG8x24eIgqDc8DkjaQUWigaRAKJgtJ89HSG8dEFiA2XUYpCcBvWxA4ANms2GQ/CSHG2pogNKAngrYhZyQPM5OpF5RCFsBTGqASF2QCEAAgVOvKzQh54K8DRcVQkrY9VRi1rnWg5MhNIiFoUwnuChVbQOmsnpQggMxHVhZWVnhogas1LdNCERCrQACThiTHSZKVdvqbe2BFLs5kCkDFuGtFwbHsqCJTX09F1ABL1hYnYsqthkmAimBMCDTCCwiUi9Xz+ABTNAFXvX18kAFIhCF8lRJJTBWHWEm5baxwVhshJnUjUJimN4wZkidNIQZXGeFUFAHLgegaus0qWWxMy+SqFYdjKkqhqEWIIAQcQFiccGKjxpYQaKAKFI0kQoXCVRjBgkL6j4ORBmlhCitFGAsP6hYIWapNQhYrMgsbliR5wQr/DIRxaAZUoHINSjjA8IyQypX2RElrDGcBfOlOHJJyzpo/CEWy6MDZvECq4J6NVtgAxoip1bPIAyitYTqZRhA7Zp6xvp6HgaOemZ/JSBHiSGpvl4UKM5uzcAhBi3kGeo5JDkMXCQGwB+lcUzhYJaIAJCyMwS2/CFyGfUMciC6OqLeiEERxKqqr2di4KsPDEgDctIYIuvrPYBtLwEGBr54aPXBUM+nzJcsJ0V3fwjWQYAgUo6nhOULZTHT2R/8bBAAaVIiuhnksvShLP1BWgqQx/KGserqUGtMBkTVCWPUM1jVqcD0ZsOqW1DNqwczhWVgy/s6cbiYAitc1twZrk4U1lnk0IWKialC1UVpYJgHEKAd8+ppGIaisBlR0owOaCmFlkIZpZRd9i6jZYgtIQQ8gNgSAgkQ4wH7r2PHcbHjIt4Qorkvib5c+1i2ont86bWaxJ0lssG8CSFX2WG0w/lt+LxclcxwjLyYEiNeNVHGaiCPcSyUYb6W3z9onhgSI9EclVhVTswza0dc8x0hWcPb+/JMYWZqrE5kapRdJx3myyk0+DxDkxkbLGugbW/vf2AqexP2TzNkhmNxVGaKcrvgYnVjrrH6oKTh7f23TFuJ1euGodfHVjTKNCv9lZK2MAXpWOnkUOYEqbE0AimdEfWNuGAthUAnKcT5LWym1hbsSmIikLUtcr4520uzl7NYo9FuCdY4f+U8dcOz1rwjo3aNz5bWPB1Pma+R+HRlnIf/or2YbGtLFtsv/JT5w/x1PYwpANfBErk/RsFrgMBlkpFgU5FMdInAHjHzp48IPQV2yJfzagQKttU/fSi80+yWAtZouiGvu4cUnVFXPxQ+c2SCcwdDX63I4avqvdVhUAn1fJPVWue5GeJ6V+X6Wb/LJtagGKGJf30egQHWyXOeAwGuu1eu4/e7bJ1d6lg8r3t15m+yWggzIovj/6df5VmWeHQfP3YKkw6fMN8+RlM+t0a/O9HW+BAndNZChOW71cxGBZ9Roq9bk/MaOlkDmx+rd/clpPl6InBSZIrVuiWOXWodV0SNSRjpca3lE672gHeiUdU0AAAAAElFTkSuQmCC) no-repeat 0 0;cursor:pointer}.play .play-state a{color:#a0a0a0;text-decoration:none}.play .play-state-prev{background-position:0 2px}.play .play-state-prev-disable{background-position:0 -78px;color:#666}.play .play-state-next{background-position:0 -38px}.play .play-state-next-disable{background-position:0 -118px;color:#666}.play .play-state-check{background-position:0 -160px}.play .play-state-check-active{background-position:0 -200px;color:#b19241}.play .play-state-ppt{background-position:0 -240px}.play .play-state-ppt-active{background-position:0 -280px;color:#b19241}.play .play-state-next-disable:hover,.play .play-state-prev-disable:hover{color:#666!important}.play .switch{display:block;width:36px;height:125px;position:absolute;right:0;top:50%;text-align:center;margin:-63px 0 0;z-index:998;cursor:pointer}.play .switch a{color:#a0a0a0;text-decoration:none;font-size:14px;line-height:2;margin-bottom:20px}.play .switch a i{font-size:24px;padding:5px;background:#666;border-radius:4px}.play .play-paper{position:absolute;top:0;bottom:0;left:0;right:0;overflow:auto;background-color:#e5e5e5}.play .play-paper-body{min-height:500px;margin:25px;padding:15px 45px 25px;color:#313131;box-shadow:0 0 2px rgba(0,0,0,.05);background-color:#f2f2f2}.play .play-paper-title{margin:0 10px;text-align:center}.play .play-paper-title div{padding-bottom:3px;display:inline-block;border-bottom:1px solid #707070}.play .play-paper-title h3{padding:0 0 5px;margin:0;display:inline-block;font-size:20px;border-bottom:3px solid #707070}.play .play-paper-body .help{color:#999;font-size:12px}.play .play-paper-body .help-file{margin-top:-10px}.play .play-paper-body .area-btns{margin:20px 0}.play .play-paper-body .area-btns .btn{padding:6px 25px}.play .play-paper-body .area-btns .help{margin-top:10px;font-size:14px}.play .play-paper-body .area-btns .help-info{display:inline-block;vertical-align:middle}.play .play-paper-body .webuploader-btn .upbtn{color:#b49441;text-decoration:underline;padding:3px 15px;font-size:.9em;display:inline-block}.play .play-paper-body .webuploader-btn .loading .fa-spin{font-size:1.2em!important}.play .play-paper-body label{font-weight:400}.play .play-paper-body input{vertical-align:middle}.play .play-paper-check{margin-top:20px;padding:20px;border:1px solid #dedede}.play .play-paper-check h4{font-size:16px;margin:0 0 10px}.play .play-paper-check-item{padding-left:3em}.play .play-paper-check-item b{margin-left:-3em;margin-top:1px}.play .play-paper-check-item .edit_html,.play .play-paper-check-item b{display:inline-block;vertical-align:top}.play .play-read-files{padding:30px;margin:0}.play .play-read-files li{font-size:16px;padding:20px 30px;margin-bottom:10px;background-color:#fff;list-style:none}.play .play-read-files li a{color:#333;text-decoration:none}.play .play-read-files li a:hover{color:#b49441}.play .play-chapter-work{padding:25px}.play .play-chapter-work .work-number{margin-left:-25px}.play .play-chapter-work .work-title{margin-top:-20px;margin-bottom:10px}.play .play-chapter-work .area-btns{margin:20px -25px 0;border-top:1px solid #eaeaea;padding-top:20px}.play .play-chapter-exam{padding:25px}.play .play-chapter-exam li{position:relative;margin-top:15px;border-bottom:1px solid #b49441}.play .play-chapter-exam .exam-title{margin:-20px 0 10px 25px}.play .play-chapter-exam .wrong{color:#d80000}.play .play-chapter-exam .correct{color:#090}.play .play-chapter-exam .answer{position:absolute;right:25px;bottom:10px}.play .play-chapter-exam .result{float:right;margin-top:-20px;margin-right:-20px;font-size:16px;font-weight:700}.play dd,.play dl,.play dt,.play li,.play ol,.play ul{margin:0;padding:0;list-style:none}.play .edit_html p{padding:0;margin:0 0 15px}.play .play-paper-step{font-weight:700;font-size:16px;margin:30px -20px 15px;padding-bottom:10px;border-bottom:1px dashed #cecece}.play .no-data{color:#c9c9c9;font-size:36px;padding:160px 0;text-align:center}.play .hide{display:none}.play .play-jiangyi,.play .play-video{float:left}@media (max-width:768px){.play .left-content{min-width:0;right:0}.play .play-back{margin:0}.play .play-chapter-work{padding:25px 0;margin-right:-20px}.play .play-read-files{padding:30px 0;margin:0 -20px}.play .switch{top:80%}.play .play-paper-body{padding:15px 25px 25px}.play .play-paper-step{margin:30px 0 15px}}.exam .q-group .q-title p{padding:0;margin:0}.exam .el-radio+.el-radio{margin-left:0}.exam .el-radio__input.is-disabled+span.el-radio__label{color:inherit}.exam .el-checkbox+.el-checkbox{margin-left:0}.exam .el-checkbox__input.is-disabled+span.el-checkbox__label{color:inherit}.exam .el-checkbox__label,.exam .el-radio__label{white-space:normal}#player .prism-cc-btn,#player .prism-setting-btn{display:none}#player.prism-player .prism-progress{z-index:99}.right-ctrl[data-v-ea9eda5c]{position:absolute;top:0;bottom:0;right:0;z-index:200;width:350px;background:#212121;border-left:19px solid #1b1b1b}.right-ctrl .ctrl-arrow[data-v-ea9eda5c]{position:absolute;top:0;left:-19px;bottom:0;width:19px;height:100%;font-size:14px;color:#969696;cursor:pointer}.right-ctrl .ctrl-arrow span[data-v-ea9eda5c]{position:absolute;top:50%;left:0;width:19px;margin-top:-10px;text-align:center;color:#fff}.right-ctrl .ctrl-pl[data-v-ea9eda5c]{position:relative;height:100%}.right-ctrl .ctrl-pl .pl-tab-hd[data-v-ea9eda5c]{margin:0;padding:15px 0;line-height:1.6;background-color:#232323;overflow:hidden}.right-ctrl .ctrl-pl .pl-tab-hd li[data-v-ea9eda5c]{float:left;position:relative;width:50%;padding:0;font-size:16px;color:#909090;text-align:center;list-style:none;cursor:pointer}.right-ctrl .ctrl-pl .pl-tab-hd li a[data-v-ea9eda5c]{color:#909090;text-decoration:none}.right-ctrl .ctrl-pl .pl-tab-hd li.on a[data-v-ea9eda5c]{color:#b49441}.right-ctrl .ctrl-pl .pl-tab-hd .br-l-line[data-v-ea9eda5c]{border-left:1px solid #3f3f3f}.right-ctrl .ctrl-pl .pl-tab-bd[data-v-ea9eda5c]{height:94%}
=======
.tab-pane[data-v-6d0c6aa3]{display:block;height:100%;overflow:auto}.tab-pane .chapter-list[data-v-6d0c6aa3]{margin:0;padding:0;line-height:1.6;overflow:hidden}.tab-pane .chapter-list .chapter-item h4[data-v-6d0c6aa3]{padding:10px 22px;margin:0;font-size:15px;color:#b0b0b0;background-color:#2f2f2f}.tab-pane .chapter-list .chapter-item .knot-list[data-v-6d0c6aa3]{margin:0;padding:0;line-height:1.6;overflow:hidden}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-6d0c6aa3]{position:relative}.tab-pane .chapter-list .chapter-item .knot-list li.on[data-v-6d0c6aa3]{background:#3c3c3c}.tab-pane .chapter-list .chapter-item .knot-list li.on a[data-v-6d0c6aa3]{color:#b49441}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-6d0c6aa3]:hover{background:#3c3c3c}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-6d0c6aa3]:before{display:block;content:"";position:absolute;left:13px;top:16px;z-index:10;width:18px;height:18px;background:#5b5b5b;border:2px solid #5b5b5b;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-6d0c6aa3]:after{display:block;content:"";position:absolute;left:22px;top:0;z-index:5;width:1px;height:100px;background:#616161}.tab-pane .chapter-list .chapter-item .knot-list .knot-name[data-v-6d0c6aa3]{display:block;padding:15px 35px 15px 40px;font-size:14px;color:#909090;text-decoration:none;cursor:pointer}.tab-pane .chapter-list .chapter-item .el-icon[data-v-6d0c6aa3]{position:absolute;font-size:16px;right:10px;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.tab-pane[data-v-8ec544e6]{display:block;height:100%;overflow:auto}.tab-pane .lecture-list[data-v-8ec544e6]{padding:8px 16px}.tab-pane .lecture-list li[data-v-8ec544e6]{padding:8px 16px;cursor:pointer;list-style:none}.tab-pane .lecture-list li.on[data-v-8ec544e6]{background:#888}.tab-pane .lecture-list li img[data-v-8ec544e6]{width:100%}.play{overflow:hidden;position:fixed;top:0;z-index:800;width:100%;height:100%;background-color:#3f3f3f;color:#a0a0a0}.play .left-content{position:absolute;right:350px;top:0;left:0;bottom:0;min-width:705px;height:100%}.play.sidebar-hide .left-content{right:0}.play .play-top{line-height:56px}.play .play-top p{font-size:1.5em;text-align:center;margin:0}.play .play-back{position:absolute;top:6px;left:10px;width:40px;height:40px;overflow:hidden;color:#fff;font-size:24px;line-height:40px;text-align:center}.play .play-content{position:absolute;top:56px;bottom:0;left:0;right:0}.play .play-content-video{height:100%}.play .play-center .text-error{font-size:.875em;line-height:1.5em}.play .play-video-hide{visibility:hidden;overflow:hidden;width:0}.play .play-video-init-center{position:absolute;top:50%;left:50%;margin:-180px 0 0 -275px}.play .play-ppt{position:relative;width:550px;height:363.375px;background-color:#000}.play .play-ppt-img{width:100%;height:100%}.play .play-controls{position:absolute;bottom:0;left:0;right:0;height:44px;line-height:42px;padding:0 14px;background-color:#000}.play .play-controls .fl i{color:#8c8c8b}.play .play-page{position:absolute;left:50%;margin-left:-75px;color:#fff;width:150px;text-align:center;font-size:.875em}.play .play-page .play-now{color:#d29f29}.play .play-amazing{float:right}.play .play-amazing i{color:#fff;margin:0 10px;cursor:pointer}.play .play-amazing i.active,.play .play-amazing i:hover{color:#d29f29}.play .play-amazing .icon-rotate{font-size:1.125em}.play .play-footer{position:absolute;bottom:0;left:0;right:0;z-index:200;padding:18px 20px 15px}.play .play-footer a:hover{color:#a0a0a0}.play .play-state{display:inline-block;color:#a0a0a0;padding-left:25px;font-size:14px;line-height:18px;margin:0 20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAGLCAMAAAFly2nyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyMDA3NTdkYS1iNTY5LTQ5MGEtYTA4MS02YWNlYWZlMGM2YzMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg4NUE2RkFFMkVCMTFFN0FBREZBNkNDMUEwRTI3OTkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg4NUE2RjlFMkVCMTFFN0FBREZBNkNDMUEwRTI3OTkiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YzU0NDA3MDYtMWE4Mi00MDk4LTg2NWYtMzYwMmY4NWY1NThkIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjIwMDc1N2RhLWI1NjktNDkwYS1hMDgxLTZhY2VhZmUwYzZjMyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pn/9WLEAAAGAUExURV9WQIWFhbGSQVVVVXR0dFNTU7SUQUBAQE5OTkFBQU9PT0JCQp6enpiYmFFMP6mMQUBAP5aWllFRUWpqaqqNQZGRkVhYWEpKSouLi5CQkJqBQYGBgXp6emVlZXJkQFJNP52dnUJBP5OTk6GGQYKCgpubm2hoaFlZWZWVlWFhYUtLS319fXl5eZ+fn4CAgFtTP0NDQ1xUP4ZyQE1NTUREREVFRUZGRpmZmVtbW2xsbIODg1paWlxcXFdXV3FjQGdnZ0hISHNzc1BQUF5eXmlpaYiIiIl1QHNlQKKHQZeXl2FYQF1dXWBXQFZWVl9fX0dHR0pHP1hRP6+QQYaGhnt7e0NCP6uOQYVyQFVPP6CFQWRkZHpqQHFxcZKSkqOIQV5VQH5tQG9iQI+Pj0VDP5d/QKSIQaSJQaCGQXBjQFJSUm9vb35+fmNjY2tra2hdQI14QEVEP4mJiWZbQFlSP6iLQV1VQHZ2dpycnIqKioRxQJR9QE5KP5SUlHx8fKCgoD8/P7j7iVMAAAVKSURBVHjabM3RCYAwDEXRR6GBQkEcoUMIDuFMuatrBW2DflwCB8KTg9wRjLZuRMu9HO3xYBVViiiTJZRoog3b3e+Ndfo9zGTXXfjuvPmvnwKIAUyhII16LIJwxIrMFQOREpIwbjyIlFKGcoEORdYIdCNWA+swzOeqBwgghjobaDhiJYHhjkeW1ZQVn6w4iPSvx22CBIN1vWR9Eg5ZKQafeuX6SGyuQiIxZdmQyHoCZB0kvrDKWkLZsvX1AAEEJE3BKsHqBeuIMBndFkg419WTqpcdRLKCw1mIlUS9kNQPzhccEL1Em6ATCyTVoCJZQJKdG8x24eIgqDc8DkjaQUWigaRAKJgtJ89HSG8dEFiA2XUYpCcBvWxA4ANms2GQ/CSHG2pogNKAngrYhZyQPM5OpF5RCFsBTGqASF2QCEAAgVOvKzQh54K8DRcVQkrY9VRi1rnWg5MhNIiFoUwnuChVbQOmsnpQggMxHVhZWVnhogas1LdNCERCrQACThiTHSZKVdvqbe2BFLs5kCkDFuGtFwbHsqCJTX09F1ABL1hYnYsqthkmAimBMCDTCCwiUi9Xz+ABTNAFXvX18kAFIhCF8lRJJTBWHWEm5baxwVhshJnUjUJimN4wZkidNIQZXGeFUFAHLgegaus0qWWxMy+SqFYdjKkqhqEWIIAQcQFiccGKjxpYQaKAKFI0kQoXCVRjBgkL6j4ORBmlhCitFGAsP6hYIWapNQhYrMgsbliR5wQr/DIRxaAZUoHINSjjA8IyQypX2RElrDGcBfOlOHJJyzpo/CEWy6MDZvECq4J6NVtgAxoip1bPIAyitYTqZRhA7Zp6xvp6HgaOemZ/JSBHiSGpvl4UKM5uzcAhBi3kGeo5JDkMXCQGwB+lcUzhYJaIAJCyMwS2/CFyGfUMciC6OqLeiEERxKqqr2di4KsPDEgDctIYIuvrPYBtLwEGBr54aPXBUM+nzJcsJ0V3fwjWQYAgUo6nhOULZTHT2R/8bBAAaVIiuhnksvShLP1BWgqQx/KGserqUGtMBkTVCWPUM1jVqcD0ZsOqW1DNqwczhWVgy/s6cbiYAitc1twZrk4U1lnk0IWKialC1UVpYJgHEKAd8+ppGIaisBlR0owOaCmFlkIZpZRd9i6jZYgtIQQ8gNgSAgkQ4wH7r2PHcbHjIt4Qorkvib5c+1i2ont86bWaxJ0lssG8CSFX2WG0w/lt+LxclcxwjLyYEiNeNVHGaiCPcSyUYb6W3z9onhgSI9EclVhVTswza0dc8x0hWcPb+/JMYWZqrE5kapRdJx3myyk0+DxDkxkbLGugbW/vf2AqexP2TzNkhmNxVGaKcrvgYnVjrrH6oKTh7f23TFuJ1euGodfHVjTKNCv9lZK2MAXpWOnkUOYEqbE0AimdEfWNuGAthUAnKcT5LWym1hbsSmIikLUtcr4520uzl7NYo9FuCdY4f+U8dcOz1rwjo3aNz5bWPB1Pma+R+HRlnIf/or2YbGtLFtsv/JT5w/x1PYwpANfBErk/RsFrgMBlkpFgU5FMdInAHjHzp48IPQV2yJfzagQKttU/fSi80+yWAtZouiGvu4cUnVFXPxQ+c2SCcwdDX63I4avqvdVhUAn1fJPVWue5GeJ6V+X6Wb/LJtagGKGJf30egQHWyXOeAwGuu1eu4/e7bJ1d6lg8r3t15m+yWggzIovj/6df5VmWeHQfP3YKkw6fMN8+RlM+t0a/O9HW+BAndNZChOW71cxGBZ9Roq9bk/MaOlkDmx+rd/clpPl6InBSZIrVuiWOXWodV0SNSRjpca3lE672gHeiUdU0AAAAAElFTkSuQmCC) no-repeat 0 0;cursor:pointer}.play .play-state a{color:#a0a0a0;text-decoration:none}.play .play-state-prev{background-position:0 2px}.play .play-state-prev-disable{background-position:0 -78px;color:#666}.play .play-state-next{background-position:0 -38px}.play .play-state-next-disable{background-position:0 -118px;color:#666}.play .play-state-check{background-position:0 -160px}.play .play-state-check-active{background-position:0 -200px;color:#b19241}.play .play-state-ppt{background-position:0 -240px}.play .play-state-ppt-active{background-position:0 -280px;color:#b19241}.play .play-state-next-disable:hover,.play .play-state-prev-disable:hover{color:#666!important}.play .switch{display:block;width:36px;height:125px;position:absolute;right:0;top:50%;text-align:center;margin:-63px 0 0;z-index:998;cursor:pointer}.play .switch a{color:#a0a0a0;text-decoration:none;font-size:14px;line-height:2;margin-bottom:20px}.play .switch a i{font-size:24px;padding:5px;background:#666;border-radius:4px}.play .play-paper{position:absolute;top:0;bottom:0;left:0;right:0;overflow:auto;background-color:#e5e5e5}.play .play-paper-body{min-height:500px;margin:25px;padding:15px 45px 25px;color:#313131;box-shadow:0 0 2px rgba(0,0,0,.05);background-color:#f2f2f2}.play .play-paper-title{margin:0 10px;text-align:center}.play .play-paper-title div{padding-bottom:3px;display:inline-block;border-bottom:1px solid #707070}.play .play-paper-title h3{padding:0 0 5px;margin:0;display:inline-block;font-size:20px;border-bottom:3px solid #707070}.play .play-paper-body .help{color:#999;font-size:12px}.play .play-paper-body .help-file{margin-top:-10px}.play .play-paper-body .area-btns{margin:20px 0}.play .play-paper-body .area-btns .btn{padding:6px 25px}.play .play-paper-body .area-btns .help{margin-top:10px;font-size:14px}.play .play-paper-body .area-btns .help-info{display:inline-block;vertical-align:middle}.play .play-paper-body .webuploader-btn .upbtn{color:#b49441;text-decoration:underline;padding:3px 15px;font-size:.9em;display:inline-block}.play .play-paper-body .webuploader-btn .loading .fa-spin{font-size:1.2em!important}.play .play-paper-body label{font-weight:400}.play .play-paper-body input{vertical-align:middle}.play .play-paper-check{margin-top:20px;padding:20px;border:1px solid #dedede}.play .play-paper-check h4{font-size:16px;margin:0 0 10px}.play .play-paper-check-item{padding-left:3em}.play .play-paper-check-item b{margin-left:-3em;margin-top:1px}.play .play-paper-check-item .edit_html,.play .play-paper-check-item b{display:inline-block;vertical-align:top}.play .play-read-files{padding:30px;margin:0}.play .play-read-files li{font-size:16px;padding:20px 30px;margin-bottom:10px;background-color:#fff;list-style:none}.play .play-read-files li a{color:#333;text-decoration:none}.play .play-read-files li a:hover{color:#b49441}.play .play-chapter-work{padding:25px}.play .play-chapter-work .work-number{margin-left:-25px}.play .play-chapter-work .work-title{margin-top:-20px;margin-bottom:10px}.play .play-chapter-work .area-btns{margin:20px -25px 0;border-top:1px solid #eaeaea;padding-top:20px}.play .play-chapter-exam{padding:25px}.play .play-chapter-exam li{position:relative;margin-top:15px;border-bottom:1px solid #b49441}.play .play-chapter-exam .exam-title{margin:-20px 0 10px 25px}.play .play-chapter-exam .wrong{color:#d80000}.play .play-chapter-exam .correct{color:#090}.play .play-chapter-exam .answer{position:absolute;right:25px;bottom:10px}.play .play-chapter-exam .result{float:right;margin-top:-20px;margin-right:-20px;font-size:16px;font-weight:700}.play dd,.play dl,.play dt,.play li,.play ol,.play ul{margin:0;padding:0;list-style:none}.play .edit_html p{padding:0;margin:0 0 15px}.play .play-paper-step{font-weight:700;font-size:16px;margin:30px -20px 15px;padding-bottom:10px;border-bottom:1px dashed #cecece}.play .no-data{color:#c9c9c9;font-size:36px;padding:160px 0;text-align:center}.play .hide{display:none}.play .play-jiangyi,.play .play-video{float:left}@media (max-width:768px){.play .left-content{min-width:0;right:0}.play .play-back{margin:0}.play .play-chapter-work{padding:25px 0;margin-right:-20px}.play .play-read-files{padding:30px 0;margin:0 -20px}.play .switch{top:80%}.play .play-paper-body{padding:15px 25px 25px}.play .play-paper-step{margin:30px 0 15px}}.exam .q-group .q-title p{padding:0;margin:0}.exam .el-radio+.el-radio{margin-left:0}.exam .el-radio__input.is-disabled+span.el-radio__label{color:inherit}.exam .el-checkbox+.el-checkbox{margin-left:0}.exam .el-checkbox__input.is-disabled+span.el-checkbox__label{color:inherit}.exam .el-checkbox__label,.exam .el-radio__label{white-space:normal}#player .prism-cc-btn,#player .prism-setting-btn{display:none}#player.prism-player .prism-progress{z-index:99}.right-ctrl[data-v-2595e4f6]{position:absolute;top:0;bottom:0;right:0;z-index:200;width:350px;background:#212121;border-left:19px solid #1b1b1b}.right-ctrl .ctrl-arrow[data-v-2595e4f6]{position:absolute;top:0;left:-19px;bottom:0;width:19px;height:100%;font-size:14px;color:#969696;cursor:pointer}.right-ctrl .ctrl-arrow span[data-v-2595e4f6]{position:absolute;top:50%;left:0;width:19px;margin-top:-10px;text-align:center;color:#fff}.right-ctrl .ctrl-pl[data-v-2595e4f6]{position:relative;height:100%}.right-ctrl .ctrl-pl .pl-tab-hd[data-v-2595e4f6]{margin:0;padding:15px 0;line-height:1.6;background-color:#232323;overflow:hidden}.right-ctrl .ctrl-pl .pl-tab-hd li[data-v-2595e4f6]{float:left;position:relative;width:50%;padding:0;font-size:16px;color:#909090;text-align:center;list-style:none;cursor:pointer}.right-ctrl .ctrl-pl .pl-tab-hd li a[data-v-2595e4f6]{color:#909090;text-decoration:none}.right-ctrl .ctrl-pl .pl-tab-hd li.on a[data-v-2595e4f6]{color:#b49441}.right-ctrl .ctrl-pl .pl-tab-hd .br-l-line[data-v-2595e4f6]{border-left:1px solid #3f3f3f}.right-ctrl .ctrl-pl .pl-tab-bd[data-v-2595e4f6]{height:94%}
>>>>>>> origin/master:server/client-dist/resources/6.3107a8ece89c.css
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{285:function(t,e,r){"use strict";r.r(e);var a=r(469),s=r(373);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(445);var n=r(0),c=Object(n.a)(s.default,a.a,a.b,!1,null,"2595e4f6",null);e.default=c.exports},373:function(t,e,r){"use strict";r.r(e);var a=r(374),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},374:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u=i(r(48)),p=i(r(86)),a=i(r(441)),s=i(r(443));function i(t){return t&&t.__esModule?t:{default:t}}e.default={components:{sideChapterList:a.default,sideChapterPpt:s.default},props:{sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1},videoType:{type:String,require:!1}},data:function(){return{SIDEBAR_CHAPTER:"sidebar_chapter",SIDEBAR_PPT:"sidebar_ppt",state:{sideBar:"sidebar_chapter",isChapterVideo:!1},chapterList:{},pptList:{},courseInfo:[],courseWork:{},curChapterName:"",chapterId:"",chapterRead:{},chapterWork:{},chapterExam:{},chapterVideo:{},chapterPpts:[]}},beforeRouteUpdate:function(t,e,r){var a=this;if("chapterVideo"===t.name){this.state.isChapterVideo=!0;var s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"}),i="3"!==t.params.videoType?"getCurrentChapterDetail":"getCurrentChapterDetailAliyun";u.default.chapterAction[i](t.params.id).then(function(t){a.pptList=t.image,a.chapterPpts=t.rData.ppts}).catch(function(t){a.$message.error(t.message)}).finally(function(){s.close()})}else this.state.isChapterVideo=!1;var n=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});if("0"===t.params.cid&&"0"===t.params.sid)return this.$message({message:"URL异常,重新选择课程学习!!!",type:"info",duration:1e4}),void n.close();u.default.chapterAction.getChapterList(t.params.cid,t.params.sid,t.params.id).then(function(e){a.chapterList=e.json,a.courseInfo=e.courseInfo,a.courseWork=e.courseWork,a.curChapterName=e.curJson.name,a.chapterId=e.curJson.chapterId,2===e.curJson.type&&u.default.chapterAction.getProgress(a.id,p.default.other.getIdt(),a.sid).then(function(t){a.chapterVideo=2===e.curJson.type&&e.curJson.chapterVideo||{},a.chapterVideo.progress=t}).catch(function(t){a.$message.error(t.message)}),a.chapterRead=4===e.curJson.type&&e.curJson.chapterRead||{},a.chapterExam=3===e.curJson.type&&1===e.curJson.work_type&&e.curJson.homework||{},a.chapterWork=3===e.curJson.type&&2===e.curJson.work_type&&e.curJson.chapterWork||{}}).catch(function(t){a.$message.error(t.message)}).finally(function(){n.close()}),r()},mounted:function(){var r=this;if("chapterVideo"===this.$route.name){this.state.isChapterVideo=!0;var t=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"}),e="3"!==this.videoType?"getCurrentChapterDetail":"getCurrentChapterDetailAliyun";u.default.chapterAction[e](this.id).then(function(t){r.pptList=t.image,r.chapterPpts=t.rData.ppts}).catch(function(t){r.$message.error(t.message)}).finally(function(){t.close()})}var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});if("0"===this.cid&&"0"===this.sid)return this.$message({message:"URL异常,请点击“返回首页”,重新选择课程学习!",type:"info",duration:1e4}),void a.close();u.default.chapterAction.getChapterList(this.cid,this.sid,this.id).then(function(e){r.chapterList=e.json,r.courseInfo=e.courseInfo,r.courseWork=e.courseWork,r.curChapterName=e.curJson.name,r.chapterId=e.curJson.chapterId,2===e.curJson.type&&u.default.chapterAction.getProgress(r.id,p.default.other.getIdt(),r.sid).then(function(t){r.chapterVideo=2===e.curJson.type&&e.curJson.chapterVideo||{},r.chapterVideo.progress=t}).catch(function(t){r.$message.error(t.message)}),r.chapterRead=4===e.curJson.type&&e.curJson.chapterRead||{},r.chapterExam=3===e.curJson.type&&1===e.curJson.work_type&&e.curJson.homework||{},r.chapterWork=3===e.curJson.type&&2===e.curJson.work_type&&e.curJson.chapterWork||{}}).catch(function(t){r.$message.error(t.message)}).finally(function(){a.close()})},methods:{changeSideBar:function(t){this.state.sideBar=t},handlePlayTime:function(t){this.$refs.sidePpt&&this.$refs.sidePpt.setIndexByPoint(t)},handleClickSidePpt:function(t){var e=this.chapterPpts||[];if(e.length>t&&this.$refs.comTotalChapter){var r=e[t];this.$refs.comTotalChapter.setVideoTime(r.ppt_point)}},updateProgress:function(a){var r=this;if(a.cpt){for(var s=[],t=0,e=0;e<a.ps.length;e++){s[e]=a.ps[e];var i=Math.floor(a.ps[e])||1;i!==t&&(a.map[i-1]+=1,t=i)}var n=s;s=[];for(var c=t=0;c<n.length;c++)Math.floor(n[c])!==t&&(s.push(Math.floor(n[c])),t=Math.floor(n[c]));var o=window.G.UserInfo;u.default.chapterAction.updateProgress({sid:o&&o.student_info&&o.student_info.id||"",uid:o&&o.uid||"",d:p.default.other.getIdt(),i:p.default.other.getIdt(),c:this.cid,s:this.sid,v:a.vid,_p:parseInt(a.pt),_m:parseInt(a.mpt),_c:parseInt(a.cpt),ps:s.join(",")}).then(function(t){if(t.success)for(var e=0;e<s.length;e++)a.ps.shift();else{var r=document.getElementById("player");!!r.callAction?r.callAction("pause"):r.children[0].pause()}}).catch(function(t){r.$message.error(t.message);var e=document.getElementById("player");!!e.callAction?e.callAction("pause"):e.children[0].pause()}).finally(function(){})}},changeVideoArr:function(t){console.log("已经实现"),t.callback&&t.callback()}}}},375:function(t,e,r){"use strict";r.r(e);var a=r(376),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},376:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{list:{type:Object,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1}},methods:{jumpToOtherVA:function(t){var e=t.target.dataset,r=this.sid,a=this.cid,s=e.vid,i=e.type;if(e.hasva)this.$router.push({path:"/player/"+r+"/"+a+"/chapter-video/"+s+"/"+i});else{var n=e.index,c=e.count,o=this.list.course[n];if(o&&o.chapters[c]){if("course_info"===o.chapters[c].id)this.$router.push({path:"/player/"+r+"/"+a+"/course-info/course_info"});else if("course_work"===o.chapters[c].id){if(!this.list.survey)return void this.$message("请先填写教学评估,然后完成大作业。");this.$router.push({path:"/player/"+r+"/"+a+"/course-work/course_work"})}else 3===o.chapters[c].type?1===o.chapters[c].work_type?this.$router.push({path:"/player/"+r+"/"+a+"/chapter-exam/"+s}):2===o.chapters[c].work_type&&this.$router.push({path:"/player/"+r+"/"+a+"/chapter-work/"+s}):4===o.chapters[c].type?this.$router.push({path:"/player/"+r+"/"+a+"/chapter-read/"+s}):"teach_evaluation"===o.chapters[c].id?this.$router.push({path:"/survey/"+r+"/"+a}):"exam"===o.chapters[c].type&&this.$router.push({path:"/player/"+r+"/"+a+"/exam/"+s});return}this.$message.error("系统未知错误,002")}}}}},377:function(t,e,r){},378:function(t,e,r){"use strict";r.r(e);var a=r(379),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},379:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{ppt:{type:Object,require:!1}},methods:{setIndexByPoint:function(t){for(var e=(this.ppt.imgUrls||[]).length,r=0;r<e&&!(t<this.ppt.timeArr[r]);r++);this.ppt.selectIndex!==r-1&&(this.ppt.selectIndex=r-1)},onClickPpt:function(t){var e=t.currentTarget.dataset.index-0;this.ppt.selectIndex!==e&&(this.ppt.selectIndex=e,this.$emit("handleClickPpt",e))}}}},380:function(t,e,r){},381:function(t,e,r){},441:function(t,e,r){"use strict";r.r(e);var a=r(496),s=r(375);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(442);var n=r(0),c=Object(n.a)(s.default,a.a,a.b,!1,null,"6d0c6aa3",null);e.default=c.exports},442:function(t,e,r){"use strict";var a=r(377);r.n(a).a},443:function(t,e,r){"use strict";r.r(e);var a=r(499),s=r(378);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(444);var n=r(0),c=Object(n.a)(s.default,a.a,a.b,!1,null,"8ec544e6",null);e.default=c.exports},444:function(t,e,r){"use strict";var a=r(380);r.n(a).a},445:function(t,e,r){"use strict";var a=r(381);r.n(a).a},469:function(t,e,r){"use strict";function a(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:["play",e.state.sideBar?"":"sidebar-hide"]},[r("div",{staticClass:"left-content"},[r("div",{staticClass:"play-top cl",style:e.state.sideBar?{}:{marginRight:0}},[r("router-link",{staticClass:"router-link-class",attrs:{to:{path:"/app/my-learn/course-detail/"+e.sid+"/"+e.cid}}},[r("i",{staticClass:"play-back el-icon-arrow-left"})]),e._v(" "),r("p",[e._v(e._s(e.chapterList.title))])],1),e._v(" "),r("div",{staticClass:"play-content"},[r("router-view",{ref:"comTotalChapter",attrs:{chapterName:e.curChapterName,chapterId:e.chapterId,courseInfo:e.courseInfo,courseWork:e.courseWork,chapterRead:e.chapterRead,chapterWork:e.chapterWork,chapterExam:e.chapterExam,chapterVideo:e.chapterVideo,ppts:e.chapterPpts,videoType:e.videoType},on:{changeVideoArr:e.changeVideoArr,handlePlayTime:e.handlePlayTime,updateProgress:e.updateProgress}})],1)]),e._v(" "),r("div",{staticClass:"right-ctrl",style:{right:(e.state.sideBar?0:-388)+"px"}},[r("p",{staticClass:"ctrl-arrow",on:{click:function(t){return e.changeSideBar("")}}},[r("span",[e._v(">")])]),e._v(" "),r("div",{staticClass:"ctrl-pl"},[r("ul",{staticClass:"pl-tab-hd"},[r("li",{class:[e.state.sideBar===e.SIDEBAR_CHAPTER?"on":""]},[r("a",{attrs:{href:"#"+e.SIDEBAR_CHAPTER},on:{click:function(t){return e.changeSideBar(e.SIDEBAR_CHAPTER)}}},[e._v("章节")])]),e._v(" "),e.state.isChapterVideo?[r("li",{class:["br-l-line",e.state.sideBar===e.SIDEBAR_PPT?"on":""]},[r("a",{attrs:{href:"#"+e.SIDEBAR_PPT},on:{click:function(t){return e.changeSideBar(e.SIDEBAR_PPT)}}},[e._v("讲义")])])]:e._e()],2),e._v(" "),r("div",{staticClass:"pl-tab-bd"},[e.state.sideBar===e.SIDEBAR_CHAPTER?[r("side-chapter-list",{attrs:{list:e.chapterList,sid:e.sid,cid:e.cid}})]:e._e(),e._v(" "),e.state.sideBar===e.SIDEBAR_PPT?[r("side-chapter-ppt",{ref:"sidePpt",attrs:{ppt:e.pptList},on:{handleClickPpt:e.handleClickSidePpt}})]:e._e()],2)])]),e._v(" "),e.state.sideBar?e._e():[r("div",{staticClass:"switch"},[r("a",{staticClass:"switch-chapter",attrs:{href:"#"+e.SIDEBAR_CHAPTER},on:{click:function(t){return e.changeSideBar(e.SIDEBAR_CHAPTER)}}},[r("i",{staticClass:"el-icon-self-wenjian"}),e._v(" "),r("div",[e._v("章节")])]),e._v(" "),e.state.isChapterVideo?[r("a",{staticClass:"switch-handout",attrs:{href:"#"+e.SIDEBAR_PPT},on:{click:function(t){return e.changeSideBar(e.SIDEBAR_PPT)}}},[r("i",{staticClass:"el-icon-self-PPT"}),e._v(" "),r("div",[e._v("讲义")])])]:e._e()],2)]],2)}var s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})},496:function(t,e,r){"use strict";function a(){var a=this,t=a.$createElement,s=a._self._c||t;return s("div",{staticClass:"tab-pane"},[s("ul",{staticClass:"chapter-list"},[a._l(a.list.course,function(t,r){return[s("li",{key:r,staticClass:"chapter-item"},[s("h4",[a._v(a._s(t.title))]),a._v(" "),s("ul",{staticClass:"knot-list"},[a._l(t.chapters,function(t,e){return[s("li",{key:e,class:["knob-item",t.id===a.list.currentChapterId?"on":""]},[s("a",{staticClass:"knot-name",attrs:{"data-vid":t.id,"data-type":t.video_provider,"data-hasVA":t.time,"data-index":r,"data-count":e},on:{click:a.jumpToOtherVA}},[a._v(a._s(t.name))]),a._v(" "),s("i",{class:["el-icon",t.time?"el-icon-self-iconset0481":3===t.type?"el-icon-edit-outline":"el-icon-self-cc-book"]})])]})],2)])]})],2)])}var s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})},499:function(t,e,r){"use strict";function a(){var r=this,t=r.$createElement,a=r._self._c||t;return a("div",{staticClass:"tab-pane"},[a("ul",{staticClass:"lecture-list"},[r._l(r.ppt.imgUrls,function(t,e){return[a("li",{key:e,class:[e===r.ppt.selectIndex?"on":""],attrs:{"data-index":e},on:{click:r.onClickPpt}},[a("img",{attrs:{src:t,alt:""}})])]})],2)])}var s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{276:function(t,e,r){"use strict";r.r(e);var a=r(452),s=r(363);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(432);var n=r(1),c=Object(n.a)(s.default,a.a,a.b,!1,null,"ea9eda5c",null);e.default=c.exports},363:function(t,e,r){"use strict";r.r(e);var a=r(364),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},364:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u=i(r(45)),p=i(r(82)),a=i(r(428)),s=i(r(430));function i(t){return t&&t.__esModule?t:{default:t}}e.default={components:{sideChapterList:a.default,sideChapterPpt:s.default},props:{sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1},videoType:{type:String,require:!1}},data:function(){return{SIDEBAR_CHAPTER:"sidebar_chapter",SIDEBAR_PPT:"sidebar_ppt",state:{sideBar:"sidebar_chapter",isChapterVideo:!1},chapterList:{},pptList:{},courseInfo:[],courseWork:{},curChapterName:"",chapterId:"",chapterRead:{},chapterWork:{},chapterExam:{},chapterVideo:{},chapterPpts:[]}},beforeRouteUpdate:function(t,e,r){var a=this;if("chapterVideo"===t.name){this.state.isChapterVideo=!0;var s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"}),i="3"!==t.params.videoType?"getCurrentChapterDetail":"getCurrentChapterDetailAliyun";u.default.chapterAction[i](t.params.id).then(function(t){a.pptList=t.image,a.chapterPpts=t.rData.ppts}).catch(function(t){a.$message.error(t.message)}).finally(function(){s.close()})}else this.state.isChapterVideo=!1;var n=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});if("0"===t.params.cid&&"0"===t.params.sid)return this.$message({message:"URL异常,重新选择课程学习!!!",type:"info",duration:1e4}),void n.close();u.default.chapterAction.getChapterList(t.params.cid,t.params.sid,t.params.id).then(function(e){a.chapterList=e.json,a.courseInfo=e.courseInfo,a.courseWork=e.courseWork,a.curChapterName=e.curJson.name,a.chapterId=e.curJson.chapterId,2===e.curJson.type&&u.default.chapterAction.getProgress(a.id,p.default.other.getIdt(),a.sid).then(function(t){a.chapterVideo=2===e.curJson.type&&e.curJson.chapterVideo||{},a.chapterVideo.progress=t}).catch(function(t){a.$message.error(t.message)}),a.chapterRead=4===e.curJson.type&&e.curJson.chapterRead||{},a.chapterExam=3===e.curJson.type&&1===e.curJson.work_type&&e.curJson.homework||{},a.chapterWork=3===e.curJson.type&&2===e.curJson.work_type&&e.curJson.chapterWork||{}}).catch(function(t){a.$message.error(t.message)}).finally(function(){n.close()}),r()},mounted:function(){var r=this;if("chapterVideo"===this.$route.name){this.state.isChapterVideo=!0;var t=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"}),e="3"!==this.videoType?"getCurrentChapterDetail":"getCurrentChapterDetailAliyun";u.default.chapterAction[e](this.id).then(function(t){r.pptList=t.image,r.chapterPpts=t.rData.ppts}).catch(function(t){r.$message.error(t.message)}).finally(function(){t.close()})}var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});if("0"===this.cid&&"0"===this.sid)return this.$message({message:"URL异常,请点击“返回首页”,重新选择课程学习!",type:"info",duration:1e4}),void a.close();u.default.chapterAction.getChapterList(this.cid,this.sid,this.id).then(function(e){r.chapterList=e.json,r.courseInfo=e.courseInfo,r.courseWork=e.courseWork,r.curChapterName=e.curJson.name,r.chapterId=e.curJson.chapterId,2===e.curJson.type&&u.default.chapterAction.getProgress(r.id,p.default.other.getIdt(),r.sid).then(function(t){r.chapterVideo=2===e.curJson.type&&e.curJson.chapterVideo||{},r.chapterVideo.progress=t}).catch(function(t){r.$message.error(t.message)}),r.chapterRead=4===e.curJson.type&&e.curJson.chapterRead||{},r.chapterExam=3===e.curJson.type&&1===e.curJson.work_type&&e.curJson.homework||{},r.chapterWork=3===e.curJson.type&&2===e.curJson.work_type&&e.curJson.chapterWork||{}}).catch(function(t){r.$message.error(t.message)}).finally(function(){a.close()})},methods:{changeSideBar:function(t){this.state.sideBar=t},handlePlayTime:function(t){this.$refs.sidePpt&&this.$refs.sidePpt.setIndexByPoint(t)},handleClickSidePpt:function(t){var e=this.chapterPpts||[];if(e.length>t&&this.$refs.comTotalChapter){var r=e[t];this.$refs.comTotalChapter.setVideoTime(r.ppt_point)}},updateProgress:function(a){var r=this;if(a.cpt){for(var s=[],t=0,e=0;e<a.ps.length;e++){s[e]=a.ps[e];var i=Math.floor(a.ps[e])||1;i!==t&&(a.map[i-1]+=1,t=i)}var n=s;s=[];for(var c=t=0;c<n.length;c++)Math.floor(n[c])!==t&&(s.push(Math.floor(n[c])),t=Math.floor(n[c]));var o=window.G.UserInfo;u.default.chapterAction.updateProgress({sid:o&&o.student_info&&o.student_info.id||"",uid:o&&o.uid||"",d:p.default.other.getIdt(),i:p.default.other.getIdt(),c:this.cid,s:this.sid,v:a.vid,_p:parseInt(a.pt),_m:parseInt(a.mpt),_c:parseInt(a.cpt),ps:s.join(",")}).then(function(t){if(t.success)for(var e=0;e<s.length;e++)a.ps.shift();else{var r=document.getElementById("player");!!r.callAction?r.callAction("pause"):r.children[0].pause()}}).catch(function(t){r.$message.error(t.message);var e=document.getElementById("player");!!e.callAction?e.callAction("pause"):e.children[0].pause()}).finally(function(){})}},changeVideoArr:function(t){console.log("已经实现"),t.callback&&t.callback()}}}},365:function(t,e,r){"use strict";r.r(e);var a=r(366),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},366:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{list:{type:Object,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1}},methods:{jumpToOtherVA:function(t){var e=t.target.dataset,r=this.cid,a=e.vid,s=e.type;if(e.hasva)this.$router.push({path:"/player/"+r+"/chapter-video/"+a+"/"+s});else{var i=e.index,n=e.count,c=this.list.course[i];if(c&&c.chapters[n]){if("course_info"===c.chapters[n].id)this.$router.push({path:"/player/"+r+"/course-info/course_info"});else if("course_work"===c.chapters[n].id){if(!this.list.survey)return void this.$message("请先填写教学评估,然后完成大作业。");this.$router.push({path:"/player/"+r+"/course-work/course_work"})}else"course_exam"===c.chapters[n].id?this.$router.push({path:"/player/"+r+"/chapter-exam/"+c.chapters[n].exam_id}):3===c.chapters[n].type?1===c.chapters[n].work_type?this.$router.push({path:"/player/"+r+"/chapter-exam/"+a}):2===c.chapters[n].work_type&&this.$router.push({path:"/player/"+r+"/chapter-work/"+a}):4===c.chapters[n].type?this.$router.push({path:"/player/"+r+"/chapter-read/"+a}):"teach_evaluation"===c.chapters[n].id&&this.$router.push({path:"/survey/"+r});return}this.$message.error("系统未知错误,002")}}}}},367:function(t,e,r){},368:function(t,e,r){"use strict";r.r(e);var a=r(369),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},369:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{ppt:{type:Object,require:!1}},methods:{setIndexByPoint:function(t){for(var e=(this.ppt.imgUrls||[]).length,r=0;r<e&&!(t<this.ppt.timeArr[r]);r++);this.ppt.selectIndex!==r-1&&(this.ppt.selectIndex=r-1)},onClickPpt:function(t){var e=t.currentTarget.dataset.index-0;this.ppt.selectIndex!==e&&(this.ppt.selectIndex=e,this.$emit("handleClickPpt",e))}}}},370:function(t,e,r){},371:function(t,e,r){},428:function(t,e,r){"use strict";r.r(e);var a=r(482),s=r(365);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(429);var n=r(1),c=Object(n.a)(s.default,a.a,a.b,!1,null,"b09df8e0",null);e.default=c.exports},429:function(t,e,r){"use strict";var a=r(367);r.n(a).a},430:function(t,e,r){"use strict";r.r(e);var a=r(481),s=r(368);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(431);var n=r(1),c=Object(n.a)(s.default,a.a,a.b,!1,null,"8ec544e6",null);e.default=c.exports},431:function(t,e,r){"use strict";var a=r(370);r.n(a).a},432:function(t,e,r){"use strict";var a=r(371);r.n(a).a},452:function(t,e,r){"use strict";function a(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:["play",e.state.sideBar?"":"sidebar-hide"]},[r("div",{staticClass:"left-content"},[r("div",{staticClass:"play-top cl",style:e.state.sideBar?{}:{marginRight:0}},[r("router-link",{staticClass:"router-link-class",attrs:{to:{path:"/app/my-learn/course-detail/"+e.cid}}},[r("i",{staticClass:"play-back el-icon-arrow-left"})]),e._v(" "),r("p",[e._v(e._s(e.chapterList.title))])],1),e._v(" "),r("div",{staticClass:"play-content"},[r("router-view",{ref:"comTotalChapter",attrs:{chapterName:e.curChapterName,chapterId:e.chapterId,courseInfo:e.courseInfo,courseWork:e.courseWork,chapterRead:e.chapterRead,chapterWork:e.chapterWork,chapterExam:e.chapterExam,chapterVideo:e.chapterVideo,ppts:e.chapterPpts,videoType:e.videoType},on:{changeVideoArr:e.changeVideoArr,handlePlayTime:e.handlePlayTime,updateProgress:e.updateProgress}})],1)]),e._v(" "),r("div",{staticClass:"right-ctrl",style:{right:(e.state.sideBar?0:-388)+"px"}},[r("p",{staticClass:"ctrl-arrow",on:{click:function(t){return e.changeSideBar("")}}},[r("span",[e._v(">")])]),e._v(" "),r("div",{staticClass:"ctrl-pl"},[r("ul",{staticClass:"pl-tab-hd"},[r("li",{class:[e.state.sideBar===e.SIDEBAR_CHAPTER?"on":""]},[r("a",{attrs:{href:"#"+e.SIDEBAR_CHAPTER},on:{click:function(t){return e.changeSideBar(e.SIDEBAR_CHAPTER)}}},[e._v("章节")])]),e._v(" "),e.state.isChapterVideo?[r("li",{class:["br-l-line",e.state.sideBar===e.SIDEBAR_PPT?"on":""]},[r("a",{attrs:{href:"#"+e.SIDEBAR_PPT},on:{click:function(t){return e.changeSideBar(e.SIDEBAR_PPT)}}},[e._v("讲义")])])]:e._e()],2),e._v(" "),r("div",{staticClass:"pl-tab-bd"},[e.state.sideBar===e.SIDEBAR_CHAPTER?[r("side-chapter-list",{attrs:{list:e.chapterList,sid:e.sid,cid:e.cid}})]:e._e(),e._v(" "),e.state.sideBar===e.SIDEBAR_PPT?[r("side-chapter-ppt",{ref:"sidePpt",attrs:{ppt:e.pptList},on:{handleClickPpt:e.handleClickSidePpt}})]:e._e()],2)])]),e._v(" "),e.state.sideBar?e._e():[r("div",{staticClass:"switch"},[r("a",{staticClass:"switch-chapter",attrs:{href:"#"+e.SIDEBAR_CHAPTER},on:{click:function(t){return e.changeSideBar(e.SIDEBAR_CHAPTER)}}},[r("i",{staticClass:"el-icon-self-wenjian"}),e._v(" "),r("div",[e._v("章节")])]),e._v(" "),e.state.isChapterVideo?[r("a",{staticClass:"switch-handout",attrs:{href:"#"+e.SIDEBAR_PPT},on:{click:function(t){return e.changeSideBar(e.SIDEBAR_PPT)}}},[r("i",{staticClass:"el-icon-self-PPT"}),e._v(" "),r("div",[e._v("讲义")])])]:e._e()],2)]],2)}var s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})},481:function(t,e,r){"use strict";function a(){var r=this,t=r.$createElement,a=r._self._c||t;return a("div",{staticClass:"tab-pane"},[a("ul",{staticClass:"lecture-list"},[r._l(r.ppt.imgUrls,function(t,e){return[a("li",{key:e,class:[e===r.ppt.selectIndex?"on":""],attrs:{"data-index":e},on:{click:r.onClickPpt}},[a("img",{attrs:{src:t,alt:""}})])]})],2)])}var s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})},482:function(t,e,r){"use strict";function a(){var a=this,t=a.$createElement,s=a._self._c||t;return s("div",{staticClass:"tab-pane"},[s("ul",{staticClass:"chapter-list"},[a._l(a.list.course,function(t,r){return[s("li",{key:r,staticClass:"chapter-item"},[s("h4",[a._v(a._s(t.title))]),a._v(" "),s("ul",{staticClass:"knot-list"},[a._l(t.chapters,function(t,e){return[s("li",{key:e,class:["knob-item",t.id===a.list.currentChapterId?"on":""]},[s("a",{staticClass:"knot-name",attrs:{"data-vid":t.id,"data-type":t.video_provider,"data-hasVA":t.time,"data-index":r,"data-count":e},on:{click:a.jumpToOtherVA}},[a._v(a._s(t.name))]),a._v(" "),s("i",{class:["el-icon",t.time?"el-icon-self-iconset0481":3===t.type?"el-icon-edit-outline":"el-icon-self-cc-book"]})])]})],2)])]})],2)])}var s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{285:function(t,e,r){"use strict";r.r(e);var a=r(469),s=r(373);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(445);var n=r(0),c=Object(n.a)(s.default,a.a,a.b,!1,null,"ea9eda5c",null);e.default=c.exports},373:function(t,e,r){"use strict";r.r(e);var a=r(374),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},374:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u=i(r(48)),p=i(r(86)),a=i(r(441)),s=i(r(443));function i(t){return t&&t.__esModule?t:{default:t}}e.default={components:{sideChapterList:a.default,sideChapterPpt:s.default},props:{sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1},videoType:{type:String,require:!1}},data:function(){return{SIDEBAR_CHAPTER:"sidebar_chapter",SIDEBAR_PPT:"sidebar_ppt",state:{sideBar:"sidebar_chapter",isChapterVideo:!1},chapterList:{},pptList:{},courseInfo:[],courseWork:{},curChapterName:"",chapterId:"",chapterRead:{},chapterWork:{},chapterExam:{},chapterVideo:{},chapterPpts:[]}},beforeRouteUpdate:function(t,e,r){var a=this;if("chapterVideo"===t.name){this.state.isChapterVideo=!0;var s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"}),i="3"!==t.params.videoType?"getCurrentChapterDetail":"getCurrentChapterDetailAliyun";u.default.chapterAction[i](t.params.id).then(function(t){a.pptList=t.image,a.chapterPpts=t.rData.ppts}).catch(function(t){a.$message.error(t.message)}).finally(function(){s.close()})}else this.state.isChapterVideo=!1;var n=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});if("0"===t.params.cid&&"0"===t.params.sid)return this.$message({message:"URL异常,重新选择课程学习!!!",type:"info",duration:1e4}),void n.close();u.default.chapterAction.getChapterList(t.params.cid,t.params.sid,t.params.id).then(function(e){a.chapterList=e.json,a.courseInfo=e.courseInfo,a.courseWork=e.courseWork,a.curChapterName=e.curJson.name,a.chapterId=e.curJson.chapterId,2===e.curJson.type&&u.default.chapterAction.getProgress(a.id,p.default.other.getIdt(),a.sid).then(function(t){a.chapterVideo=2===e.curJson.type&&e.curJson.chapterVideo||{},a.chapterVideo.progress=t}).catch(function(t){a.$message.error(t.message)}),a.chapterRead=4===e.curJson.type&&e.curJson.chapterRead||{},a.chapterExam=3===e.curJson.type&&1===e.curJson.work_type&&e.curJson.homework||{},a.chapterWork=3===e.curJson.type&&2===e.curJson.work_type&&e.curJson.chapterWork||{}}).catch(function(t){a.$message.error(t.message)}).finally(function(){n.close()}),r()},mounted:function(){var r=this;if("chapterVideo"===this.$route.name){this.state.isChapterVideo=!0;var t=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"}),e="3"!==this.videoType?"getCurrentChapterDetail":"getCurrentChapterDetailAliyun";u.default.chapterAction[e](this.id).then(function(t){r.pptList=t.image,r.chapterPpts=t.rData.ppts}).catch(function(t){r.$message.error(t.message)}).finally(function(){t.close()})}var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});if("0"===this.cid&&"0"===this.sid)return this.$message({message:"URL异常,请点击“返回首页”,重新选择课程学习!",type:"info",duration:1e4}),void a.close();u.default.chapterAction.getChapterList(this.cid,this.sid,this.id).then(function(e){r.chapterList=e.json,r.courseInfo=e.courseInfo,r.courseWork=e.courseWork,r.curChapterName=e.curJson.name,r.chapterId=e.curJson.chapterId,2===e.curJson.type&&u.default.chapterAction.getProgress(r.id,p.default.other.getIdt(),r.sid).then(function(t){r.chapterVideo=2===e.curJson.type&&e.curJson.chapterVideo||{},r.chapterVideo.progress=t}).catch(function(t){r.$message.error(t.message)}),r.chapterRead=4===e.curJson.type&&e.curJson.chapterRead||{},r.chapterExam=3===e.curJson.type&&1===e.curJson.work_type&&e.curJson.homework||{},r.chapterWork=3===e.curJson.type&&2===e.curJson.work_type&&e.curJson.chapterWork||{}}).catch(function(t){r.$message.error(t.message)}).finally(function(){a.close()})},methods:{changeSideBar:function(t){this.state.sideBar=t},handlePlayTime:function(t){this.$refs.sidePpt&&this.$refs.sidePpt.setIndexByPoint(t)},handleClickSidePpt:function(t){var e=this.chapterPpts||[];if(e.length>t&&this.$refs.comTotalChapter){var r=e[t];this.$refs.comTotalChapter.setVideoTime(r.ppt_point)}},updateProgress:function(a){var r=this;if(a.cpt){for(var s=[],t=0,e=0;e<a.ps.length;e++){s[e]=a.ps[e];var i=Math.floor(a.ps[e])||1;i!==t&&(a.map[i-1]+=1,t=i)}var n=s;s=[];for(var c=t=0;c<n.length;c++)Math.floor(n[c])!==t&&(s.push(Math.floor(n[c])),t=Math.floor(n[c]));var o=window.G.UserInfo;u.default.chapterAction.updateProgress({sid:o&&o.student_info&&o.student_info.id||"",uid:o&&o.uid||"",d:p.default.other.getIdt(),i:p.default.other.getIdt(),c:this.cid,s:this.sid,v:a.vid,_p:parseInt(a.pt),_m:parseInt(a.mpt),_c:parseInt(a.cpt),ps:s.join(",")}).then(function(t){if(t.success)for(var e=0;e<s.length;e++)a.ps.shift();else{var r=document.getElementById("player");!!r.callAction?r.callAction("pause"):r.children[0].pause()}}).catch(function(t){r.$message.error(t.message);var e=document.getElementById("player");!!e.callAction?e.callAction("pause"):e.children[0].pause()}).finally(function(){})}},changeVideoArr:function(t){console.log("已经实现"),t.callback&&t.callback()}}}},375:function(t,e,r){"use strict";r.r(e);var a=r(376),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},376:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{list:{type:Object,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1}},methods:{jumpToOtherVA:function(t){var e=t.target.dataset,r=this.cid,a=e.vid,s=e.type;if(e.hasva)this.$router.push({path:"/player/"+r+"/chapter-video/"+a+"/"+s});else{var i=e.index,n=e.count,c=this.list.course[i];if(c&&c.chapters[n]){if("course_info"===c.chapters[n].id)this.$router.push({path:"/player/"+r+"/course-info/course_info"});else if("course_work"===c.chapters[n].id){if(!this.list.survey)return void this.$message("请先填写教学评估,然后完成大作业。");this.$router.push({path:"/player/"+r+"/course-work/course_work"})}else"course_exam"===c.chapters[n].id?this.$router.push({path:"/player/"+r+"/chapter-exam/"+c.chapters[n].exam_id}):3===c.chapters[n].type?1===c.chapters[n].work_type?this.$router.push({path:"/player/"+r+"/chapter-exam/"+a}):2===c.chapters[n].work_type&&this.$router.push({path:"/player/"+r+"/chapter-work/"+a}):4===c.chapters[n].type?this.$router.push({path:"/player/"+r+"/chapter-read/"+a}):"teach_evaluation"===c.chapters[n].id?this.$router.push({path:"/survey/"+r}):"exam"===c.chapters[n].type&&this.$router.push({path:"/player/"+r+"/exam/"+a});return}this.$message.error("系统未知错误,002")}}}}},377:function(t,e,r){},378:function(t,e,r){"use strict";r.r(e);var a=r(379),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},379:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{ppt:{type:Object,require:!1}},methods:{setIndexByPoint:function(t){for(var e=(this.ppt.imgUrls||[]).length,r=0;r<e&&!(t<this.ppt.timeArr[r]);r++);this.ppt.selectIndex!==r-1&&(this.ppt.selectIndex=r-1)},onClickPpt:function(t){var e=t.currentTarget.dataset.index-0;this.ppt.selectIndex!==e&&(this.ppt.selectIndex=e,this.$emit("handleClickPpt",e))}}}},380:function(t,e,r){},381:function(t,e,r){},441:function(t,e,r){"use strict";r.r(e);var a=r(496),s=r(375);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(442);var n=r(0),c=Object(n.a)(s.default,a.a,a.b,!1,null,"3b0872a5",null);e.default=c.exports},442:function(t,e,r){"use strict";var a=r(377);r.n(a).a},443:function(t,e,r){"use strict";r.r(e);var a=r(499),s=r(378);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(444);var n=r(0),c=Object(n.a)(s.default,a.a,a.b,!1,null,"8ec544e6",null);e.default=c.exports},444:function(t,e,r){"use strict";var a=r(380);r.n(a).a},445:function(t,e,r){"use strict";var a=r(381);r.n(a).a},469:function(t,e,r){"use strict";function a(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:["play",e.state.sideBar?"":"sidebar-hide"]},[r("div",{staticClass:"left-content"},[r("div",{staticClass:"play-top cl",style:e.state.sideBar?{}:{marginRight:0}},[r("router-link",{staticClass:"router-link-class",attrs:{to:{path:"/app/my-learn/course-detail/"+e.cid}}},[r("i",{staticClass:"play-back el-icon-arrow-left"})]),e._v(" "),r("p",[e._v(e._s(e.chapterList.title))])],1),e._v(" "),r("div",{staticClass:"play-content"},[r("router-view",{ref:"comTotalChapter",attrs:{chapterName:e.curChapterName,chapterId:e.chapterId,courseInfo:e.courseInfo,courseWork:e.courseWork,chapterRead:e.chapterRead,chapterWork:e.chapterWork,chapterExam:e.chapterExam,chapterVideo:e.chapterVideo,ppts:e.chapterPpts,videoType:e.videoType},on:{changeVideoArr:e.changeVideoArr,handlePlayTime:e.handlePlayTime,updateProgress:e.updateProgress}})],1)]),e._v(" "),r("div",{staticClass:"right-ctrl",style:{right:(e.state.sideBar?0:-388)+"px"}},[r("p",{staticClass:"ctrl-arrow",on:{click:function(t){return e.changeSideBar("")}}},[r("span",[e._v(">")])]),e._v(" "),r("div",{staticClass:"ctrl-pl"},[r("ul",{staticClass:"pl-tab-hd"},[r("li",{class:[e.state.sideBar===e.SIDEBAR_CHAPTER?"on":""]},[r("a",{attrs:{href:"#"+e.SIDEBAR_CHAPTER},on:{click:function(t){return e.changeSideBar(e.SIDEBAR_CHAPTER)}}},[e._v("章节")])]),e._v(" "),e.state.isChapterVideo?[r("li",{class:["br-l-line",e.state.sideBar===e.SIDEBAR_PPT?"on":""]},[r("a",{attrs:{href:"#"+e.SIDEBAR_PPT},on:{click:function(t){return e.changeSideBar(e.SIDEBAR_PPT)}}},[e._v("讲义")])])]:e._e()],2),e._v(" "),r("div",{staticClass:"pl-tab-bd"},[e.state.sideBar===e.SIDEBAR_CHAPTER?[r("side-chapter-list",{attrs:{list:e.chapterList,sid:e.sid,cid:e.cid}})]:e._e(),e._v(" "),e.state.sideBar===e.SIDEBAR_PPT?[r("side-chapter-ppt",{ref:"sidePpt",attrs:{ppt:e.pptList},on:{handleClickPpt:e.handleClickSidePpt}})]:e._e()],2)])]),e._v(" "),e.state.sideBar?e._e():[r("div",{staticClass:"switch"},[r("a",{staticClass:"switch-chapter",attrs:{href:"#"+e.SIDEBAR_CHAPTER},on:{click:function(t){return e.changeSideBar(e.SIDEBAR_CHAPTER)}}},[r("i",{staticClass:"el-icon-self-wenjian"}),e._v(" "),r("div",[e._v("章节")])]),e._v(" "),e.state.isChapterVideo?[r("a",{staticClass:"switch-handout",attrs:{href:"#"+e.SIDEBAR_PPT},on:{click:function(t){return e.changeSideBar(e.SIDEBAR_PPT)}}},[r("i",{staticClass:"el-icon-self-PPT"}),e._v(" "),r("div",[e._v("讲义")])])]:e._e()],2)]],2)}var s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})},496:function(t,e,r){"use strict";function a(){var a=this,t=a.$createElement,s=a._self._c||t;return s("div",{staticClass:"tab-pane"},[s("ul",{staticClass:"chapter-list"},[a._l(a.list.course,function(t,r){return[s("li",{key:r,staticClass:"chapter-item"},[s("h4",[a._v(a._s(t.title))]),a._v(" "),s("ul",{staticClass:"knot-list"},[a._l(t.chapters,function(t,e){return[s("li",{key:e,class:["knob-item",t.id===a.list.currentChapterId?"on":""]},[s("a",{staticClass:"knot-name",attrs:{"data-vid":t.id,"data-type":t.video_provider,"data-hasVA":t.time,"data-index":r,"data-count":e},on:{click:a.jumpToOtherVA}},[a._v(a._s(t.name))]),a._v(" "),s("i",{class:["el-icon",t.time?"el-icon-self-iconset0481":3===t.type?"el-icon-edit-outline":"el-icon-self-cc-book"]})])]})],2)])]})],2)])}var s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})},499:function(t,e,r){"use strict";function a(){var r=this,t=r.$createElement,a=r._self._c||t;return a("div",{staticClass:"tab-pane"},[a("ul",{staticClass:"lecture-list"},[r._l(r.ppt.imgUrls,function(t,e){return[a("li",{key:e,class:[e===r.ppt.selectIndex?"on":""],attrs:{"data-index":e},on:{click:r.onClickPpt}},[a("img",{attrs:{src:t,alt:""}})])]})],2)])}var s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})}}]);
\ No newline at end of file
<<<<<<< HEAD:server/client-dist/resources/6.adf556fa1464.css
.tab-pane[data-v-b09df8e0]{display:block;height:100%;overflow:auto}.tab-pane .chapter-list[data-v-b09df8e0]{margin:0;padding:0;line-height:1.6;overflow:hidden}.tab-pane .chapter-list .chapter-item h4[data-v-b09df8e0]{padding:10px 22px;margin:0;font-size:15px;color:#b0b0b0;background-color:#2f2f2f}.tab-pane .chapter-list .chapter-item .knot-list[data-v-b09df8e0]{margin:0;padding:0;line-height:1.6;overflow:hidden}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-b09df8e0]{position:relative}.tab-pane .chapter-list .chapter-item .knot-list li.on[data-v-b09df8e0]{background:#3c3c3c}.tab-pane .chapter-list .chapter-item .knot-list li.on a[data-v-b09df8e0]{color:#b49441}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-b09df8e0]:hover{background:#3c3c3c}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-b09df8e0]:before{display:block;content:"";position:absolute;left:13px;top:16px;z-index:10;width:18px;height:18px;background:#5b5b5b;border:2px solid #5b5b5b;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-b09df8e0]:after{display:block;content:"";position:absolute;left:22px;top:0;z-index:5;width:1px;height:100px;background:#616161}.tab-pane .chapter-list .chapter-item .knot-list .knot-name[data-v-b09df8e0]{display:block;padding:15px 35px 15px 40px;font-size:14px;color:#909090;text-decoration:none;cursor:pointer}.tab-pane .chapter-list .chapter-item .el-icon[data-v-b09df8e0]{position:absolute;font-size:16px;right:10px;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.tab-pane[data-v-8ec544e6]{display:block;height:100%;overflow:auto}.tab-pane .lecture-list[data-v-8ec544e6]{padding:8px 16px}.tab-pane .lecture-list li[data-v-8ec544e6]{padding:8px 16px;cursor:pointer;list-style:none}.tab-pane .lecture-list li.on[data-v-8ec544e6]{background:#888}.tab-pane .lecture-list li img[data-v-8ec544e6]{width:100%}.play{overflow:hidden;position:fixed;top:0;z-index:800;width:100%;height:100%;background-color:#3f3f3f;color:#a0a0a0}.play .left-content{position:absolute;right:350px;top:0;left:0;bottom:0;min-width:705px;height:100%}.play.sidebar-hide .left-content{right:0}.play .play-top{line-height:56px}.play .play-top p{font-size:1.5em;text-align:center;margin:0}.play .play-back{position:absolute;top:6px;left:10px;width:40px;height:40px;overflow:hidden;color:#fff;font-size:24px;line-height:40px;text-align:center}.play .play-content{position:absolute;top:56px;bottom:0;left:0;right:0}.play .play-content-video{height:100%}.play .play-center .text-error{font-size:.875em;line-height:1.5em}.play .play-video-hide{visibility:hidden;overflow:hidden;width:0}.play .play-video-init-center{position:absolute;top:50%;left:50%;margin:-180px 0 0 -275px}.play .play-ppt{position:relative;width:550px;height:363.375px;background-color:#000}.play .play-ppt-img{width:100%;height:100%}.play .play-controls{position:absolute;bottom:0;left:0;right:0;height:44px;line-height:42px;padding:0 14px;background-color:#000}.play .play-controls .fl i{color:#8c8c8b}.play .play-page{position:absolute;left:50%;margin-left:-75px;color:#fff;width:150px;text-align:center;font-size:.875em}.play .play-page .play-now{color:#d29f29}.play .play-amazing{float:right}.play .play-amazing i{color:#fff;margin:0 10px;cursor:pointer}.play .play-amazing i.active,.play .play-amazing i:hover{color:#d29f29}.play .play-amazing .icon-rotate{font-size:1.125em}.play .play-footer{position:absolute;bottom:0;left:0;right:0;z-index:200;padding:18px 20px 15px}.play .play-footer a:hover{color:#a0a0a0}.play .play-state{display:inline-block;color:#a0a0a0;padding-left:25px;font-size:14px;line-height:18px;margin:0 20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAGLCAMAAAFly2nyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyMDA3NTdkYS1iNTY5LTQ5MGEtYTA4MS02YWNlYWZlMGM2YzMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg4NUE2RkFFMkVCMTFFN0FBREZBNkNDMUEwRTI3OTkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg4NUE2RjlFMkVCMTFFN0FBREZBNkNDMUEwRTI3OTkiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YzU0NDA3MDYtMWE4Mi00MDk4LTg2NWYtMzYwMmY4NWY1NThkIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjIwMDc1N2RhLWI1NjktNDkwYS1hMDgxLTZhY2VhZmUwYzZjMyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pn/9WLEAAAGAUExURV9WQIWFhbGSQVVVVXR0dFNTU7SUQUBAQE5OTkFBQU9PT0JCQp6enpiYmFFMP6mMQUBAP5aWllFRUWpqaqqNQZGRkVhYWEpKSouLi5CQkJqBQYGBgXp6emVlZXJkQFJNP52dnUJBP5OTk6GGQYKCgpubm2hoaFlZWZWVlWFhYUtLS319fXl5eZ+fn4CAgFtTP0NDQ1xUP4ZyQE1NTUREREVFRUZGRpmZmVtbW2xsbIODg1paWlxcXFdXV3FjQGdnZ0hISHNzc1BQUF5eXmlpaYiIiIl1QHNlQKKHQZeXl2FYQF1dXWBXQFZWVl9fX0dHR0pHP1hRP6+QQYaGhnt7e0NCP6uOQYVyQFVPP6CFQWRkZHpqQHFxcZKSkqOIQV5VQH5tQG9iQI+Pj0VDP5d/QKSIQaSJQaCGQXBjQFJSUm9vb35+fmNjY2tra2hdQI14QEVEP4mJiWZbQFlSP6iLQV1VQHZ2dpycnIqKioRxQJR9QE5KP5SUlHx8fKCgoD8/P7j7iVMAAAVKSURBVHjabM3RCYAwDEXRR6GBQkEcoUMIDuFMuatrBW2DflwCB8KTg9wRjLZuRMu9HO3xYBVViiiTJZRoog3b3e+Ndfo9zGTXXfjuvPmvnwKIAUyhII16LIJwxIrMFQOREpIwbjyIlFKGcoEORdYIdCNWA+swzOeqBwgghjobaDhiJYHhjkeW1ZQVn6w4iPSvx22CBIN1vWR9Eg5ZKQafeuX6SGyuQiIxZdmQyHoCZB0kvrDKWkLZsvX1AAEEJE3BKsHqBeuIMBndFkg419WTqpcdRLKCw1mIlUS9kNQPzhccEL1Em6ATCyTVoCJZQJKdG8x24eIgqDc8DkjaQUWigaRAKJgtJ89HSG8dEFiA2XUYpCcBvWxA4ANms2GQ/CSHG2pogNKAngrYhZyQPM5OpF5RCFsBTGqASF2QCEAAgVOvKzQh54K8DRcVQkrY9VRi1rnWg5MhNIiFoUwnuChVbQOmsnpQggMxHVhZWVnhogas1LdNCERCrQACThiTHSZKVdvqbe2BFLs5kCkDFuGtFwbHsqCJTX09F1ABL1hYnYsqthkmAimBMCDTCCwiUi9Xz+ABTNAFXvX18kAFIhCF8lRJJTBWHWEm5baxwVhshJnUjUJimN4wZkidNIQZXGeFUFAHLgegaus0qWWxMy+SqFYdjKkqhqEWIIAQcQFiccGKjxpYQaKAKFI0kQoXCVRjBgkL6j4ORBmlhCitFGAsP6hYIWapNQhYrMgsbliR5wQr/DIRxaAZUoHINSjjA8IyQypX2RElrDGcBfOlOHJJyzpo/CEWy6MDZvECq4J6NVtgAxoip1bPIAyitYTqZRhA7Zp6xvp6HgaOemZ/JSBHiSGpvl4UKM5uzcAhBi3kGeo5JDkMXCQGwB+lcUzhYJaIAJCyMwS2/CFyGfUMciC6OqLeiEERxKqqr2di4KsPDEgDctIYIuvrPYBtLwEGBr54aPXBUM+nzJcsJ0V3fwjWQYAgUo6nhOULZTHT2R/8bBAAaVIiuhnksvShLP1BWgqQx/KGserqUGtMBkTVCWPUM1jVqcD0ZsOqW1DNqwczhWVgy/s6cbiYAitc1twZrk4U1lnk0IWKialC1UVpYJgHEKAd8+ppGIaisBlR0owOaCmFlkIZpZRd9i6jZYgtIQQ8gNgSAgkQ4wH7r2PHcbHjIt4Qorkvib5c+1i2ont86bWaxJ0lssG8CSFX2WG0w/lt+LxclcxwjLyYEiNeNVHGaiCPcSyUYb6W3z9onhgSI9EclVhVTswza0dc8x0hWcPb+/JMYWZqrE5kapRdJx3myyk0+DxDkxkbLGugbW/vf2AqexP2TzNkhmNxVGaKcrvgYnVjrrH6oKTh7f23TFuJ1euGodfHVjTKNCv9lZK2MAXpWOnkUOYEqbE0AimdEfWNuGAthUAnKcT5LWym1hbsSmIikLUtcr4520uzl7NYo9FuCdY4f+U8dcOz1rwjo3aNz5bWPB1Pma+R+HRlnIf/or2YbGtLFtsv/JT5w/x1PYwpANfBErk/RsFrgMBlkpFgU5FMdInAHjHzp48IPQV2yJfzagQKttU/fSi80+yWAtZouiGvu4cUnVFXPxQ+c2SCcwdDX63I4avqvdVhUAn1fJPVWue5GeJ6V+X6Wb/LJtagGKGJf30egQHWyXOeAwGuu1eu4/e7bJ1d6lg8r3t15m+yWggzIovj/6df5VmWeHQfP3YKkw6fMN8+RlM+t0a/O9HW+BAndNZChOW71cxGBZ9Roq9bk/MaOlkDmx+rd/clpPl6InBSZIrVuiWOXWodV0SNSRjpca3lE672gHeiUdU0AAAAAElFTkSuQmCC) no-repeat 0 0;cursor:pointer}.play .play-state a{color:#a0a0a0;text-decoration:none}.play .play-state-prev{background-position:0 2px}.play .play-state-prev-disable{background-position:0 -78px;color:#666}.play .play-state-next{background-position:0 -38px}.play .play-state-next-disable{background-position:0 -118px;color:#666}.play .play-state-check{background-position:0 -160px}.play .play-state-check-active{background-position:0 -200px;color:#b19241}.play .play-state-ppt{background-position:0 -240px}.play .play-state-ppt-active{background-position:0 -280px;color:#b19241}.play .play-state-next-disable:hover,.play .play-state-prev-disable:hover{color:#666!important}.play .switch{display:block;width:36px;height:125px;position:absolute;right:0;top:50%;text-align:center;margin:-63px 0 0;z-index:998;cursor:pointer}.play .switch a{color:#a0a0a0;text-decoration:none;font-size:14px;line-height:2;margin-bottom:20px}.play .switch a i{font-size:24px;padding:5px;background:#666;border-radius:4px}.play .play-paper{position:absolute;top:0;bottom:0;left:0;right:0;overflow:auto;background-color:#e5e5e5}.play .play-paper-body{min-height:500px;margin:25px;padding:15px 45px 25px;color:#313131;box-shadow:0 0 2px rgba(0,0,0,.05);background-color:#f2f2f2}.play .play-paper-title{margin:0 10px;text-align:center}.play .play-paper-title div{padding-bottom:3px;display:inline-block;border-bottom:1px solid #707070}.play .play-paper-title h3{padding:0 0 5px;margin:0;display:inline-block;font-size:20px;border-bottom:3px solid #707070}.play .play-paper-body .help{color:#999;font-size:12px}.play .play-paper-body .help-file{margin-top:-10px}.play .play-paper-body .area-btns{margin:20px 0}.play .play-paper-body .area-btns .btn{padding:6px 25px}.play .play-paper-body .area-btns .help{margin-top:10px;font-size:14px}.play .play-paper-body .area-btns .help-info{display:inline-block;vertical-align:middle}.play .play-paper-body .webuploader-btn .upbtn{color:#b49441;text-decoration:underline;padding:3px 15px;font-size:.9em;display:inline-block}.play .play-paper-body .webuploader-btn .loading .fa-spin{font-size:1.2em!important}.play .play-paper-body label{font-weight:400}.play .play-paper-body input{vertical-align:middle}.play .play-paper-check{margin-top:20px;padding:20px;border:1px solid #dedede}.play .play-paper-check h4{font-size:16px;margin:0 0 10px}.play .play-paper-check-item{padding-left:3em}.play .play-paper-check-item b{margin-left:-3em;margin-top:1px}.play .play-paper-check-item .edit_html,.play .play-paper-check-item b{display:inline-block;vertical-align:top}.play .play-read-files{padding:30px;margin:0}.play .play-read-files li{font-size:16px;padding:20px 30px;margin-bottom:10px;background-color:#fff;list-style:none}.play .play-read-files li a{color:#333;text-decoration:none}.play .play-read-files li a:hover{color:#b49441}.play .play-chapter-work{padding:25px}.play .play-chapter-work .work-number{margin-left:-25px}.play .play-chapter-work .work-title{margin-top:-20px;margin-bottom:10px}.play .play-chapter-work .area-btns{margin:20px -25px 0;border-top:1px solid #eaeaea;padding-top:20px}.play .play-chapter-exam{padding:25px}.play .play-chapter-exam li{position:relative;margin-top:15px;border-bottom:1px solid #b49441}.play .play-chapter-exam .exam-title{margin:-20px 0 10px 25px}.play .play-chapter-exam .wrong{color:#d80000}.play .play-chapter-exam .correct{color:#090}.play .play-chapter-exam .answer{position:absolute;right:25px;bottom:10px}.play .play-chapter-exam .result{float:right;margin-top:-20px;margin-right:-20px;font-size:16px;font-weight:700}.play dd,.play dl,.play dt,.play li,.play ol,.play ul{margin:0;padding:0;list-style:none}.play .edit_html p{padding:0;margin:0 0 15px}.play .play-paper-step{font-weight:700;font-size:16px;margin:30px -20px 15px;padding-bottom:10px;border-bottom:1px dashed #cecece}.play .no-data{color:#c9c9c9;font-size:36px;padding:160px 0;text-align:center}.play .hide{display:none}.play .play-jiangyi,.play .play-video{float:left}@media (max-width:768px){.play .left-content{min-width:0;right:0}.play .play-back{margin:0}.play .play-chapter-work{padding:25px 0;margin-right:-20px}.play .play-read-files{padding:30px 0;margin:0 -20px}.play .switch{top:80%}.play .play-paper-body{padding:15px 25px 25px}.play .play-paper-step{margin:30px 0 15px}}.exam .q-group .q-title p{padding:0;margin:0}.exam .el-radio+.el-radio{margin-left:0}.exam .el-radio__input.is-disabled+span.el-radio__label{color:inherit}.exam .el-checkbox+.el-checkbox{margin-left:0}.exam .el-checkbox__input.is-disabled+span.el-checkbox__label{color:inherit}.exam .el-checkbox__label,.exam .el-radio__label{white-space:normal}#player .prism-cc-btn,#player .prism-setting-btn{display:none}#player.prism-player .prism-progress{z-index:99}.right-ctrl[data-v-ea9eda5c]{position:absolute;top:0;bottom:0;right:0;z-index:200;width:350px;background:#212121;border-left:19px solid #1b1b1b}.right-ctrl .ctrl-arrow[data-v-ea9eda5c]{position:absolute;top:0;left:-19px;bottom:0;width:19px;height:100%;font-size:14px;color:#969696;cursor:pointer}.right-ctrl .ctrl-arrow span[data-v-ea9eda5c]{position:absolute;top:50%;left:0;width:19px;margin-top:-10px;text-align:center;color:#fff}.right-ctrl .ctrl-pl[data-v-ea9eda5c]{position:relative;height:100%}.right-ctrl .ctrl-pl .pl-tab-hd[data-v-ea9eda5c]{margin:0;padding:15px 0;line-height:1.6;background-color:#232323;overflow:hidden}.right-ctrl .ctrl-pl .pl-tab-hd li[data-v-ea9eda5c]{float:left;position:relative;width:50%;padding:0;font-size:16px;color:#909090;text-align:center;list-style:none;cursor:pointer}.right-ctrl .ctrl-pl .pl-tab-hd li a[data-v-ea9eda5c]{color:#909090;text-decoration:none}.right-ctrl .ctrl-pl .pl-tab-hd li.on a[data-v-ea9eda5c]{color:#b49441}.right-ctrl .ctrl-pl .pl-tab-hd .br-l-line[data-v-ea9eda5c]{border-left:1px solid #3f3f3f}.right-ctrl .ctrl-pl .pl-tab-bd[data-v-ea9eda5c]{height:94%}
=======
.tab-pane[data-v-6d0c6aa3]{display:block;height:100%;overflow:auto}.tab-pane .chapter-list[data-v-6d0c6aa3]{margin:0;padding:0;line-height:1.6;overflow:hidden}.tab-pane .chapter-list .chapter-item h4[data-v-6d0c6aa3]{padding:10px 22px;margin:0;font-size:15px;color:#b0b0b0;background-color:#2f2f2f}.tab-pane .chapter-list .chapter-item .knot-list[data-v-6d0c6aa3]{margin:0;padding:0;line-height:1.6;overflow:hidden}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-6d0c6aa3]{position:relative}.tab-pane .chapter-list .chapter-item .knot-list li.on[data-v-6d0c6aa3]{background:#3c3c3c}.tab-pane .chapter-list .chapter-item .knot-list li.on a[data-v-6d0c6aa3]{color:#b49441}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-6d0c6aa3]:hover{background:#3c3c3c}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-6d0c6aa3]:before{display:block;content:"";position:absolute;left:13px;top:16px;z-index:10;width:18px;height:18px;background:#5b5b5b;border:2px solid #5b5b5b;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-6d0c6aa3]:after{display:block;content:"";position:absolute;left:22px;top:0;z-index:5;width:1px;height:100px;background:#616161}.tab-pane .chapter-list .chapter-item .knot-list .knot-name[data-v-6d0c6aa3]{display:block;padding:15px 35px 15px 40px;font-size:14px;color:#909090;text-decoration:none;cursor:pointer}.tab-pane .chapter-list .chapter-item .el-icon[data-v-6d0c6aa3]{position:absolute;font-size:16px;right:10px;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.tab-pane[data-v-8ec544e6]{display:block;height:100%;overflow:auto}.tab-pane .lecture-list[data-v-8ec544e6]{padding:8px 16px}.tab-pane .lecture-list li[data-v-8ec544e6]{padding:8px 16px;cursor:pointer;list-style:none}.tab-pane .lecture-list li.on[data-v-8ec544e6]{background:#888}.tab-pane .lecture-list li img[data-v-8ec544e6]{width:100%}.play{overflow:hidden;position:fixed;top:0;z-index:800;width:100%;height:100%;background-color:#3f3f3f;color:#a0a0a0}.play .left-content{position:absolute;right:350px;top:0;left:0;bottom:0;min-width:705px;height:100%}.play.sidebar-hide .left-content{right:0}.play .play-top{line-height:56px}.play .play-top p{font-size:1.5em;text-align:center;margin:0}.play .play-back{position:absolute;top:6px;left:10px;width:40px;height:40px;overflow:hidden;color:#fff;font-size:24px;line-height:40px;text-align:center}.play .play-content{position:absolute;top:56px;bottom:0;left:0;right:0}.play .play-content-video{height:100%}.play .play-center .text-error{font-size:.875em;line-height:1.5em}.play .play-video-hide{visibility:hidden;overflow:hidden;width:0}.play .play-video-init-center{position:absolute;top:50%;left:50%;margin:-180px 0 0 -275px}.play .play-ppt{position:relative;width:550px;height:363.375px;background-color:#000}.play .play-ppt-img{width:100%;height:100%}.play .play-controls{position:absolute;bottom:0;left:0;right:0;height:44px;line-height:42px;padding:0 14px;background-color:#000}.play .play-controls .fl i{color:#8c8c8b}.play .play-page{position:absolute;left:50%;margin-left:-75px;color:#fff;width:150px;text-align:center;font-size:.875em}.play .play-page .play-now{color:#d29f29}.play .play-amazing{float:right}.play .play-amazing i{color:#fff;margin:0 10px;cursor:pointer}.play .play-amazing i.active,.play .play-amazing i:hover{color:#d29f29}.play .play-amazing .icon-rotate{font-size:1.125em}.play .play-footer{position:absolute;bottom:0;left:0;right:0;z-index:200;padding:18px 20px 15px}.play .play-footer a:hover{color:#a0a0a0}.play .play-state{display:inline-block;color:#a0a0a0;padding-left:25px;font-size:14px;line-height:18px;margin:0 20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAGLCAMAAAFly2nyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyMDA3NTdkYS1iNTY5LTQ5MGEtYTA4MS02YWNlYWZlMGM2YzMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg4NUE2RkFFMkVCMTFFN0FBREZBNkNDMUEwRTI3OTkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg4NUE2RjlFMkVCMTFFN0FBREZBNkNDMUEwRTI3OTkiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YzU0NDA3MDYtMWE4Mi00MDk4LTg2NWYtMzYwMmY4NWY1NThkIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjIwMDc1N2RhLWI1NjktNDkwYS1hMDgxLTZhY2VhZmUwYzZjMyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pn/9WLEAAAGAUExURV9WQIWFhbGSQVVVVXR0dFNTU7SUQUBAQE5OTkFBQU9PT0JCQp6enpiYmFFMP6mMQUBAP5aWllFRUWpqaqqNQZGRkVhYWEpKSouLi5CQkJqBQYGBgXp6emVlZXJkQFJNP52dnUJBP5OTk6GGQYKCgpubm2hoaFlZWZWVlWFhYUtLS319fXl5eZ+fn4CAgFtTP0NDQ1xUP4ZyQE1NTUREREVFRUZGRpmZmVtbW2xsbIODg1paWlxcXFdXV3FjQGdnZ0hISHNzc1BQUF5eXmlpaYiIiIl1QHNlQKKHQZeXl2FYQF1dXWBXQFZWVl9fX0dHR0pHP1hRP6+QQYaGhnt7e0NCP6uOQYVyQFVPP6CFQWRkZHpqQHFxcZKSkqOIQV5VQH5tQG9iQI+Pj0VDP5d/QKSIQaSJQaCGQXBjQFJSUm9vb35+fmNjY2tra2hdQI14QEVEP4mJiWZbQFlSP6iLQV1VQHZ2dpycnIqKioRxQJR9QE5KP5SUlHx8fKCgoD8/P7j7iVMAAAVKSURBVHjabM3RCYAwDEXRR6GBQkEcoUMIDuFMuatrBW2DflwCB8KTg9wRjLZuRMu9HO3xYBVViiiTJZRoog3b3e+Ndfo9zGTXXfjuvPmvnwKIAUyhII16LIJwxIrMFQOREpIwbjyIlFKGcoEORdYIdCNWA+swzOeqBwgghjobaDhiJYHhjkeW1ZQVn6w4iPSvx22CBIN1vWR9Eg5ZKQafeuX6SGyuQiIxZdmQyHoCZB0kvrDKWkLZsvX1AAEEJE3BKsHqBeuIMBndFkg419WTqpcdRLKCw1mIlUS9kNQPzhccEL1Em6ATCyTVoCJZQJKdG8x24eIgqDc8DkjaQUWigaRAKJgtJ89HSG8dEFiA2XUYpCcBvWxA4ANms2GQ/CSHG2pogNKAngrYhZyQPM5OpF5RCFsBTGqASF2QCEAAgVOvKzQh54K8DRcVQkrY9VRi1rnWg5MhNIiFoUwnuChVbQOmsnpQggMxHVhZWVnhogas1LdNCERCrQACThiTHSZKVdvqbe2BFLs5kCkDFuGtFwbHsqCJTX09F1ABL1hYnYsqthkmAimBMCDTCCwiUi9Xz+ABTNAFXvX18kAFIhCF8lRJJTBWHWEm5baxwVhshJnUjUJimN4wZkidNIQZXGeFUFAHLgegaus0qWWxMy+SqFYdjKkqhqEWIIAQcQFiccGKjxpYQaKAKFI0kQoXCVRjBgkL6j4ORBmlhCitFGAsP6hYIWapNQhYrMgsbliR5wQr/DIRxaAZUoHINSjjA8IyQypX2RElrDGcBfOlOHJJyzpo/CEWy6MDZvECq4J6NVtgAxoip1bPIAyitYTqZRhA7Zp6xvp6HgaOemZ/JSBHiSGpvl4UKM5uzcAhBi3kGeo5JDkMXCQGwB+lcUzhYJaIAJCyMwS2/CFyGfUMciC6OqLeiEERxKqqr2di4KsPDEgDctIYIuvrPYBtLwEGBr54aPXBUM+nzJcsJ0V3fwjWQYAgUo6nhOULZTHT2R/8bBAAaVIiuhnksvShLP1BWgqQx/KGserqUGtMBkTVCWPUM1jVqcD0ZsOqW1DNqwczhWVgy/s6cbiYAitc1twZrk4U1lnk0IWKialC1UVpYJgHEKAd8+ppGIaisBlR0owOaCmFlkIZpZRd9i6jZYgtIQQ8gNgSAgkQ4wH7r2PHcbHjIt4Qorkvib5c+1i2ont86bWaxJ0lssG8CSFX2WG0w/lt+LxclcxwjLyYEiNeNVHGaiCPcSyUYb6W3z9onhgSI9EclVhVTswza0dc8x0hWcPb+/JMYWZqrE5kapRdJx3myyk0+DxDkxkbLGugbW/vf2AqexP2TzNkhmNxVGaKcrvgYnVjrrH6oKTh7f23TFuJ1euGodfHVjTKNCv9lZK2MAXpWOnkUOYEqbE0AimdEfWNuGAthUAnKcT5LWym1hbsSmIikLUtcr4520uzl7NYo9FuCdY4f+U8dcOz1rwjo3aNz5bWPB1Pma+R+HRlnIf/or2YbGtLFtsv/JT5w/x1PYwpANfBErk/RsFrgMBlkpFgU5FMdInAHjHzp48IPQV2yJfzagQKttU/fSi80+yWAtZouiGvu4cUnVFXPxQ+c2SCcwdDX63I4avqvdVhUAn1fJPVWue5GeJ6V+X6Wb/LJtagGKGJf30egQHWyXOeAwGuu1eu4/e7bJ1d6lg8r3t15m+yWggzIovj/6df5VmWeHQfP3YKkw6fMN8+RlM+t0a/O9HW+BAndNZChOW71cxGBZ9Roq9bk/MaOlkDmx+rd/clpPl6InBSZIrVuiWOXWodV0SNSRjpca3lE672gHeiUdU0AAAAAElFTkSuQmCC) no-repeat 0 0;cursor:pointer}.play .play-state a{color:#a0a0a0;text-decoration:none}.play .play-state-prev{background-position:0 2px}.play .play-state-prev-disable{background-position:0 -78px;color:#666}.play .play-state-next{background-position:0 -38px}.play .play-state-next-disable{background-position:0 -118px;color:#666}.play .play-state-check{background-position:0 -160px}.play .play-state-check-active{background-position:0 -200px;color:#b19241}.play .play-state-ppt{background-position:0 -240px}.play .play-state-ppt-active{background-position:0 -280px;color:#b19241}.play .play-state-next-disable:hover,.play .play-state-prev-disable:hover{color:#666!important}.play .switch{display:block;width:36px;height:125px;position:absolute;right:0;top:50%;text-align:center;margin:-63px 0 0;z-index:998;cursor:pointer}.play .switch a{color:#a0a0a0;text-decoration:none;font-size:14px;line-height:2;margin-bottom:20px}.play .switch a i{font-size:24px;padding:5px;background:#666;border-radius:4px}.play .play-paper{position:absolute;top:0;bottom:0;left:0;right:0;overflow:auto;background-color:#e5e5e5}.play .play-paper-body{min-height:500px;margin:25px;padding:15px 45px 25px;color:#313131;box-shadow:0 0 2px rgba(0,0,0,.05);background-color:#f2f2f2}.play .play-paper-title{margin:0 10px;text-align:center}.play .play-paper-title div{padding-bottom:3px;display:inline-block;border-bottom:1px solid #707070}.play .play-paper-title h3{padding:0 0 5px;margin:0;display:inline-block;font-size:20px;border-bottom:3px solid #707070}.play .play-paper-body .help{color:#999;font-size:12px}.play .play-paper-body .help-file{margin-top:-10px}.play .play-paper-body .area-btns{margin:20px 0}.play .play-paper-body .area-btns .btn{padding:6px 25px}.play .play-paper-body .area-btns .help{margin-top:10px;font-size:14px}.play .play-paper-body .area-btns .help-info{display:inline-block;vertical-align:middle}.play .play-paper-body .webuploader-btn .upbtn{color:#b49441;text-decoration:underline;padding:3px 15px;font-size:.9em;display:inline-block}.play .play-paper-body .webuploader-btn .loading .fa-spin{font-size:1.2em!important}.play .play-paper-body label{font-weight:400}.play .play-paper-body input{vertical-align:middle}.play .play-paper-check{margin-top:20px;padding:20px;border:1px solid #dedede}.play .play-paper-check h4{font-size:16px;margin:0 0 10px}.play .play-paper-check-item{padding-left:3em}.play .play-paper-check-item b{margin-left:-3em;margin-top:1px}.play .play-paper-check-item .edit_html,.play .play-paper-check-item b{display:inline-block;vertical-align:top}.play .play-read-files{padding:30px;margin:0}.play .play-read-files li{font-size:16px;padding:20px 30px;margin-bottom:10px;background-color:#fff;list-style:none}.play .play-read-files li a{color:#333;text-decoration:none}.play .play-read-files li a:hover{color:#b49441}.play .play-chapter-work{padding:25px}.play .play-chapter-work .work-number{margin-left:-25px}.play .play-chapter-work .work-title{margin-top:-20px;margin-bottom:10px}.play .play-chapter-work .area-btns{margin:20px -25px 0;border-top:1px solid #eaeaea;padding-top:20px}.play .play-chapter-exam{padding:25px}.play .play-chapter-exam li{position:relative;margin-top:15px;border-bottom:1px solid #b49441}.play .play-chapter-exam .exam-title{margin:-20px 0 10px 25px}.play .play-chapter-exam .wrong{color:#d80000}.play .play-chapter-exam .correct{color:#090}.play .play-chapter-exam .answer{position:absolute;right:25px;bottom:10px}.play .play-chapter-exam .result{float:right;margin-top:-20px;margin-right:-20px;font-size:16px;font-weight:700}.play dd,.play dl,.play dt,.play li,.play ol,.play ul{margin:0;padding:0;list-style:none}.play .edit_html p{padding:0;margin:0 0 15px}.play .play-paper-step{font-weight:700;font-size:16px;margin:30px -20px 15px;padding-bottom:10px;border-bottom:1px dashed #cecece}.play .no-data{color:#c9c9c9;font-size:36px;padding:160px 0;text-align:center}.play .hide{display:none}.play .play-jiangyi,.play .play-video{float:left}@media (max-width:768px){.play .left-content{min-width:0;right:0}.play .play-back{margin:0}.play .play-chapter-work{padding:25px 0;margin-right:-20px}.play .play-read-files{padding:30px 0;margin:0 -20px}.play .switch{top:80%}.play .play-paper-body{padding:15px 25px 25px}.play .play-paper-step{margin:30px 0 15px}}.exam .q-group .q-title p{padding:0;margin:0}.exam .el-radio+.el-radio{margin-left:0}.exam .el-radio__input.is-disabled+span.el-radio__label{color:inherit}.exam .el-checkbox+.el-checkbox{margin-left:0}.exam .el-checkbox__input.is-disabled+span.el-checkbox__label{color:inherit}.exam .el-checkbox__label,.exam .el-radio__label{white-space:normal}#player .prism-cc-btn,#player .prism-setting-btn{display:none}#player.prism-player .prism-progress{z-index:99}.right-ctrl[data-v-2595e4f6]{position:absolute;top:0;bottom:0;right:0;z-index:200;width:350px;background:#212121;border-left:19px solid #1b1b1b}.right-ctrl .ctrl-arrow[data-v-2595e4f6]{position:absolute;top:0;left:-19px;bottom:0;width:19px;height:100%;font-size:14px;color:#969696;cursor:pointer}.right-ctrl .ctrl-arrow span[data-v-2595e4f6]{position:absolute;top:50%;left:0;width:19px;margin-top:-10px;text-align:center;color:#fff}.right-ctrl .ctrl-pl[data-v-2595e4f6]{position:relative;height:100%}.right-ctrl .ctrl-pl .pl-tab-hd[data-v-2595e4f6]{margin:0;padding:15px 0;line-height:1.6;background-color:#232323;overflow:hidden}.right-ctrl .ctrl-pl .pl-tab-hd li[data-v-2595e4f6]{float:left;position:relative;width:50%;padding:0;font-size:16px;color:#909090;text-align:center;list-style:none;cursor:pointer}.right-ctrl .ctrl-pl .pl-tab-hd li a[data-v-2595e4f6]{color:#909090;text-decoration:none}.right-ctrl .ctrl-pl .pl-tab-hd li.on a[data-v-2595e4f6]{color:#b49441}.right-ctrl .ctrl-pl .pl-tab-hd .br-l-line[data-v-2595e4f6]{border-left:1px solid #3f3f3f}.right-ctrl .ctrl-pl .pl-tab-bd[data-v-2595e4f6]{height:94%}
>>>>>>> origin/master:server/client-dist/resources/6.3107a8ece89c.css
.tab-pane[data-v-3b0872a5]{display:block;height:100%;overflow:auto}.tab-pane .chapter-list[data-v-3b0872a5]{margin:0;padding:0;line-height:1.6;overflow:hidden}.tab-pane .chapter-list .chapter-item h4[data-v-3b0872a5]{padding:10px 22px;margin:0;font-size:15px;color:#b0b0b0;background-color:#2f2f2f}.tab-pane .chapter-list .chapter-item .knot-list[data-v-3b0872a5]{margin:0;padding:0;line-height:1.6;overflow:hidden}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-3b0872a5]{position:relative}.tab-pane .chapter-list .chapter-item .knot-list li.on[data-v-3b0872a5]{background:#3c3c3c}.tab-pane .chapter-list .chapter-item .knot-list li.on a[data-v-3b0872a5]{color:#b49441}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-3b0872a5]:hover{background:#3c3c3c}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-3b0872a5]:before{display:block;content:"";position:absolute;left:13px;top:16px;z-index:10;width:18px;height:18px;background:#5b5b5b;border:2px solid #5b5b5b;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.tab-pane .chapter-list .chapter-item .knot-list li[data-v-3b0872a5]:after{display:block;content:"";position:absolute;left:22px;top:0;z-index:5;width:1px;height:100px;background:#616161}.tab-pane .chapter-list .chapter-item .knot-list .knot-name[data-v-3b0872a5]{display:block;padding:15px 35px 15px 40px;font-size:14px;color:#909090;text-decoration:none;cursor:pointer}.tab-pane .chapter-list .chapter-item .el-icon[data-v-3b0872a5]{position:absolute;font-size:16px;right:10px;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.tab-pane[data-v-8ec544e6]{display:block;height:100%;overflow:auto}.tab-pane .lecture-list[data-v-8ec544e6]{padding:8px 16px}.tab-pane .lecture-list li[data-v-8ec544e6]{padding:8px 16px;cursor:pointer;list-style:none}.tab-pane .lecture-list li.on[data-v-8ec544e6]{background:#888}.tab-pane .lecture-list li img[data-v-8ec544e6]{width:100%}.play{overflow:hidden;position:fixed;top:0;z-index:800;width:100%;height:100%;background-color:#3f3f3f;color:#a0a0a0}.play .left-content{position:absolute;right:350px;top:0;left:0;bottom:0;min-width:705px;height:100%}.play.sidebar-hide .left-content{right:0}.play .play-top{line-height:56px}.play .play-top p{font-size:1.5em;text-align:center;margin:0}.play .play-back{position:absolute;top:6px;left:10px;width:40px;height:40px;overflow:hidden;color:#fff;font-size:24px;line-height:40px;text-align:center}.play .play-content{position:absolute;top:56px;bottom:0;left:0;right:0}.play .play-content-video{height:100%}.play .play-center .text-error{font-size:.875em;line-height:1.5em}.play .play-video-hide{visibility:hidden;overflow:hidden;width:0}.play .play-video-init-center{position:absolute;top:50%;left:50%;margin:-180px 0 0 -275px}.play .play-ppt{position:relative;width:550px;height:363.375px;background-color:#000}.play .play-ppt-img{width:100%;height:100%}.play .play-controls{position:absolute;bottom:0;left:0;right:0;height:44px;line-height:42px;padding:0 14px;background-color:#000}.play .play-controls .fl i{color:#8c8c8b}.play .play-page{position:absolute;left:50%;margin-left:-75px;color:#fff;width:150px;text-align:center;font-size:.875em}.play .play-page .play-now{color:#d29f29}.play .play-amazing{float:right}.play .play-amazing i{color:#fff;margin:0 10px;cursor:pointer}.play .play-amazing i.active,.play .play-amazing i:hover{color:#d29f29}.play .play-amazing .icon-rotate{font-size:1.125em}.play .play-footer{position:absolute;bottom:0;left:0;right:0;z-index:200;padding:18px 20px 15px}.play .play-footer a:hover{color:#a0a0a0}.play .play-state{display:inline-block;color:#a0a0a0;padding-left:25px;font-size:14px;line-height:18px;margin:0 20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAGLCAMAAAFly2nyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyMDA3NTdkYS1iNTY5LTQ5MGEtYTA4MS02YWNlYWZlMGM2YzMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDg4NUE2RkFFMkVCMTFFN0FBREZBNkNDMUEwRTI3OTkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDg4NUE2RjlFMkVCMTFFN0FBREZBNkNDMUEwRTI3OTkiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6YzU0NDA3MDYtMWE4Mi00MDk4LTg2NWYtMzYwMmY4NWY1NThkIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjIwMDc1N2RhLWI1NjktNDkwYS1hMDgxLTZhY2VhZmUwYzZjMyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pn/9WLEAAAGAUExURV9WQIWFhbGSQVVVVXR0dFNTU7SUQUBAQE5OTkFBQU9PT0JCQp6enpiYmFFMP6mMQUBAP5aWllFRUWpqaqqNQZGRkVhYWEpKSouLi5CQkJqBQYGBgXp6emVlZXJkQFJNP52dnUJBP5OTk6GGQYKCgpubm2hoaFlZWZWVlWFhYUtLS319fXl5eZ+fn4CAgFtTP0NDQ1xUP4ZyQE1NTUREREVFRUZGRpmZmVtbW2xsbIODg1paWlxcXFdXV3FjQGdnZ0hISHNzc1BQUF5eXmlpaYiIiIl1QHNlQKKHQZeXl2FYQF1dXWBXQFZWVl9fX0dHR0pHP1hRP6+QQYaGhnt7e0NCP6uOQYVyQFVPP6CFQWRkZHpqQHFxcZKSkqOIQV5VQH5tQG9iQI+Pj0VDP5d/QKSIQaSJQaCGQXBjQFJSUm9vb35+fmNjY2tra2hdQI14QEVEP4mJiWZbQFlSP6iLQV1VQHZ2dpycnIqKioRxQJR9QE5KP5SUlHx8fKCgoD8/P7j7iVMAAAVKSURBVHjabM3RCYAwDEXRR6GBQkEcoUMIDuFMuatrBW2DflwCB8KTg9wRjLZuRMu9HO3xYBVViiiTJZRoog3b3e+Ndfo9zGTXXfjuvPmvnwKIAUyhII16LIJwxIrMFQOREpIwbjyIlFKGcoEORdYIdCNWA+swzOeqBwgghjobaDhiJYHhjkeW1ZQVn6w4iPSvx22CBIN1vWR9Eg5ZKQafeuX6SGyuQiIxZdmQyHoCZB0kvrDKWkLZsvX1AAEEJE3BKsHqBeuIMBndFkg419WTqpcdRLKCw1mIlUS9kNQPzhccEL1Em6ATCyTVoCJZQJKdG8x24eIgqDc8DkjaQUWigaRAKJgtJ89HSG8dEFiA2XUYpCcBvWxA4ANms2GQ/CSHG2pogNKAngrYhZyQPM5OpF5RCFsBTGqASF2QCEAAgVOvKzQh54K8DRcVQkrY9VRi1rnWg5MhNIiFoUwnuChVbQOmsnpQggMxHVhZWVnhogas1LdNCERCrQACThiTHSZKVdvqbe2BFLs5kCkDFuGtFwbHsqCJTX09F1ABL1hYnYsqthkmAimBMCDTCCwiUi9Xz+ABTNAFXvX18kAFIhCF8lRJJTBWHWEm5baxwVhshJnUjUJimN4wZkidNIQZXGeFUFAHLgegaus0qWWxMy+SqFYdjKkqhqEWIIAQcQFiccGKjxpYQaKAKFI0kQoXCVRjBgkL6j4ORBmlhCitFGAsP6hYIWapNQhYrMgsbliR5wQr/DIRxaAZUoHINSjjA8IyQypX2RElrDGcBfOlOHJJyzpo/CEWy6MDZvECq4J6NVtgAxoip1bPIAyitYTqZRhA7Zp6xvp6HgaOemZ/JSBHiSGpvl4UKM5uzcAhBi3kGeo5JDkMXCQGwB+lcUzhYJaIAJCyMwS2/CFyGfUMciC6OqLeiEERxKqqr2di4KsPDEgDctIYIuvrPYBtLwEGBr54aPXBUM+nzJcsJ0V3fwjWQYAgUo6nhOULZTHT2R/8bBAAaVIiuhnksvShLP1BWgqQx/KGserqUGtMBkTVCWPUM1jVqcD0ZsOqW1DNqwczhWVgy/s6cbiYAitc1twZrk4U1lnk0IWKialC1UVpYJgHEKAd8+ppGIaisBlR0owOaCmFlkIZpZRd9i6jZYgtIQQ8gNgSAgkQ4wH7r2PHcbHjIt4Qorkvib5c+1i2ont86bWaxJ0lssG8CSFX2WG0w/lt+LxclcxwjLyYEiNeNVHGaiCPcSyUYb6W3z9onhgSI9EclVhVTswza0dc8x0hWcPb+/JMYWZqrE5kapRdJx3myyk0+DxDkxkbLGugbW/vf2AqexP2TzNkhmNxVGaKcrvgYnVjrrH6oKTh7f23TFuJ1euGodfHVjTKNCv9lZK2MAXpWOnkUOYEqbE0AimdEfWNuGAthUAnKcT5LWym1hbsSmIikLUtcr4520uzl7NYo9FuCdY4f+U8dcOz1rwjo3aNz5bWPB1Pma+R+HRlnIf/or2YbGtLFtsv/JT5w/x1PYwpANfBErk/RsFrgMBlkpFgU5FMdInAHjHzp48IPQV2yJfzagQKttU/fSi80+yWAtZouiGvu4cUnVFXPxQ+c2SCcwdDX63I4avqvdVhUAn1fJPVWue5GeJ6V+X6Wb/LJtagGKGJf30egQHWyXOeAwGuu1eu4/e7bJ1d6lg8r3t15m+yWggzIovj/6df5VmWeHQfP3YKkw6fMN8+RlM+t0a/O9HW+BAndNZChOW71cxGBZ9Roq9bk/MaOlkDmx+rd/clpPl6InBSZIrVuiWOXWodV0SNSRjpca3lE672gHeiUdU0AAAAAElFTkSuQmCC) no-repeat 0 0;cursor:pointer}.play .play-state a{color:#a0a0a0;text-decoration:none}.play .play-state-prev{background-position:0 2px}.play .play-state-prev-disable{background-position:0 -78px;color:#666}.play .play-state-next{background-position:0 -38px}.play .play-state-next-disable{background-position:0 -118px;color:#666}.play .play-state-check{background-position:0 -160px}.play .play-state-check-active{background-position:0 -200px;color:#b19241}.play .play-state-ppt{background-position:0 -240px}.play .play-state-ppt-active{background-position:0 -280px;color:#b19241}.play .play-state-next-disable:hover,.play .play-state-prev-disable:hover{color:#666!important}.play .switch{display:block;width:36px;height:125px;position:absolute;right:0;top:50%;text-align:center;margin:-63px 0 0;z-index:998;cursor:pointer}.play .switch a{color:#a0a0a0;text-decoration:none;font-size:14px;line-height:2;margin-bottom:20px}.play .switch a i{font-size:24px;padding:5px;background:#666;border-radius:4px}.play .play-paper{position:absolute;top:0;bottom:0;left:0;right:0;overflow:auto;background-color:#e5e5e5}.play .play-paper-body{min-height:500px;margin:25px;padding:15px 45px 25px;color:#313131;box-shadow:0 0 2px rgba(0,0,0,.05);background-color:#f2f2f2}.play .play-paper-title{margin:0 10px;text-align:center}.play .play-paper-title div{padding-bottom:3px;display:inline-block;border-bottom:1px solid #707070}.play .play-paper-title h3{padding:0 0 5px;margin:0;display:inline-block;font-size:20px;border-bottom:3px solid #707070}.play .play-paper-body .help{color:#999;font-size:12px}.play .play-paper-body .help-file{margin-top:-10px}.play .play-paper-body .area-btns{margin:20px 0}.play .play-paper-body .area-btns .btn{padding:6px 25px}.play .play-paper-body .area-btns .help{margin-top:10px;font-size:14px}.play .play-paper-body .area-btns .help-info{display:inline-block;vertical-align:middle}.play .play-paper-body .webuploader-btn .upbtn{color:#b49441;text-decoration:underline;padding:3px 15px;font-size:.9em;display:inline-block}.play .play-paper-body .webuploader-btn .loading .fa-spin{font-size:1.2em!important}.play .play-paper-body label{font-weight:400}.play .play-paper-body input{vertical-align:middle}.play .play-paper-check{margin-top:20px;padding:20px;border:1px solid #dedede}.play .play-paper-check h4{font-size:16px;margin:0 0 10px}.play .play-paper-check-item{padding-left:3em}.play .play-paper-check-item b{margin-left:-3em;margin-top:1px}.play .play-paper-check-item .edit_html,.play .play-paper-check-item b{display:inline-block;vertical-align:top}.play .play-read-files{padding:30px;margin:0}.play .play-read-files li{font-size:16px;padding:20px 30px;margin-bottom:10px;background-color:#fff;list-style:none}.play .play-read-files li a{color:#333;text-decoration:none}.play .play-read-files li a:hover{color:#b49441}.play .play-chapter-work{padding:25px}.play .play-chapter-work .work-number{margin-left:-25px}.play .play-chapter-work .work-title{margin-top:-20px;margin-bottom:10px}.play .play-chapter-work .area-btns{margin:20px -25px 0;border-top:1px solid #eaeaea;padding-top:20px}.play .play-chapter-exam{padding:25px}.play .play-chapter-exam li{position:relative;margin-top:15px;border-bottom:1px solid #b49441}.play .play-chapter-exam .exam-title{margin:-20px 0 10px 25px}.play .play-chapter-exam .wrong{color:#d80000}.play .play-chapter-exam .correct{color:#090}.play .play-chapter-exam .answer{position:absolute;right:25px;bottom:10px}.play .play-chapter-exam .result{float:right;margin-top:-20px;margin-right:-20px;font-size:16px;font-weight:700}.play dd,.play dl,.play dt,.play li,.play ol,.play ul{margin:0;padding:0;list-style:none}.play .edit_html p{padding:0;margin:0 0 15px}.play .play-paper-step{font-weight:700;font-size:16px;margin:30px -20px 15px;padding-bottom:10px;border-bottom:1px dashed #cecece}.play .no-data{color:#c9c9c9;font-size:36px;padding:160px 0;text-align:center}.play .hide{display:none}.play .play-jiangyi,.play .play-video{float:left}@media (max-width:768px){.play .left-content{min-width:0;right:0}.play .play-back{margin:0}.play .play-chapter-work{padding:25px 0;margin-right:-20px}.play .play-read-files{padding:30px 0;margin:0 -20px}.play .switch{top:80%}.play .play-paper-body{padding:15px 25px 25px}.play .play-paper-step{margin:30px 0 15px}}.exam .q-group .q-title p{padding:0;margin:0}.exam .el-radio+.el-radio{margin-left:0}.exam .el-radio__input.is-disabled+span.el-radio__label{color:inherit}.exam .el-checkbox+.el-checkbox{margin-left:0}.exam .el-checkbox__input.is-disabled+span.el-checkbox__label{color:inherit}.exam .el-checkbox__label,.exam .el-radio__label{white-space:normal}#player .prism-cc-btn,#player .prism-setting-btn{display:none}#player.prism-player .prism-progress{z-index:99}.right-ctrl[data-v-ea9eda5c]{position:absolute;top:0;bottom:0;right:0;z-index:200;width:350px;background:#212121;border-left:19px solid #1b1b1b}.right-ctrl .ctrl-arrow[data-v-ea9eda5c]{position:absolute;top:0;left:-19px;bottom:0;width:19px;height:100%;font-size:14px;color:#969696;cursor:pointer}.right-ctrl .ctrl-arrow span[data-v-ea9eda5c]{position:absolute;top:50%;left:0;width:19px;margin-top:-10px;text-align:center;color:#fff}.right-ctrl .ctrl-pl[data-v-ea9eda5c]{position:relative;height:100%}.right-ctrl .ctrl-pl .pl-tab-hd[data-v-ea9eda5c]{margin:0;padding:15px 0;line-height:1.6;background-color:#232323;overflow:hidden}.right-ctrl .ctrl-pl .pl-tab-hd li[data-v-ea9eda5c]{float:left;position:relative;width:50%;padding:0;font-size:16px;color:#909090;text-align:center;list-style:none;cursor:pointer}.right-ctrl .ctrl-pl .pl-tab-hd li a[data-v-ea9eda5c]{color:#909090;text-decoration:none}.right-ctrl .ctrl-pl .pl-tab-hd li.on a[data-v-ea9eda5c]{color:#b49441}.right-ctrl .ctrl-pl .pl-tab-hd .br-l-line[data-v-ea9eda5c]{border-left:1px solid #3f3f3f}.right-ctrl .ctrl-pl .pl-tab-bd[data-v-ea9eda5c]{height:94%}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportApi=t.scoreApi=t.msgApi=t.discussApi=t.courseApi=t.examApi=t.chapterApi=t.loginApi=void 0;var r=d(n(194)),o=d(n(214)),i=d(n(215)),a=d(n(216)),u=d(n(217)),s=d(n(218)),c=d(n(219)),l=d(n(220));function d(e){return e&&e.__esModule?e:{default:e}}var f=new r.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),p=new o.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),h=new i.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),m=new a.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),v=new u.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),g=new s.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),y=new c.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),b=new l.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"});t.loginApi=f,t.chapterApi=p,t.examApi=h,t.courseApi=m,t.discussApi=v,t.msgApi=g,t.scoreApi=y,t.reportApi=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=u(n(195)),f=u(n(85)),p=u(n(49)),a=n(88);function u(e){return e&&e.__esModule?e:{default:e}}var s=(r(c,[{key:"_request",value:function(e){var t=0<arguments.length&&void 0!==e?e:{},n=t.beforeSuccess?t.beforeSuccess:this._reqSuccess,r=t.beforeFail?t.beforeFail:this._reqFail,o=window.G.UserInfo||{},i={"cur-json":p.default.encode(JSON.stringify({time:(new Date).getTime(),sys:"elearning-node",auth:o.email||o.mobile||"未知",name:o.student_info&&o.student_info.personal_name||o.username||"未知",version:window.G.VERSION})),tenant:"sofia",version:window.G.VERSION};if(/user\/login/gi.test(t.url)&&(i.pmd5=t.data.pwd,delete t.data.pwd),t.headers=f.default.assignIn(t.headers,i),"application/x-www-form-urlencoded"===t.headers["Content-Type"]){var a="",u=t.data||t.params;for(var s in u)a+=s+"="+u[s]+"&";a=a.substr(0,a.length-1),t.data?t.data=a:t.params=a}if("multipart/form-data"===t.headers["Content-Type"]){var c=new FormData,l=t.data||t.params;for(var d in l)c.append(d,l[d]);t.data=c}return this._axios(t).then(n.bind(this),r.bind(this))}},{key:"_reqSuccess",value:function(e){var t=e.status,n=e.data;if(200!==t)throw new Error(JSON.stringify(e.data));if(403!==n.status||/\/getinfo$/gi.test(e.config.url)){if(200!==n.status&&n.message&&!n.code)throw new Error(n.message);return n}a.MessageBox.confirm("登录状态已过期, 请重新登录。","提示",{confirmButtonText:"确定",type:"warning",showClose:!1,closeOnPressEscape:!1,closeOnClickModal:!1,showCancelButton:!1}).then(function(){window.location.reload()}).catch(function(){(0,a.Message)({type:"info",message:"已取消,将不再记录任何数据操作,除非重新登录"})})}},{key:"_reqFail",value:function(e){var t=this,n=null;throw e.response?e.response.data?(/\/getinfo$/gi.test(e.config.url)||403!==e.response.data.status||a.MessageBox.confirm("登录状态已过期, 请重新登录。","提示",{confirmButtonText:"确定",type:"warning",showClose:!1,closeOnPressEscape:!1,closeOnClickModal:!1,showCancelButton:!1}).then(function(){window.location.reload()}).catch(function(){t.$message({type:"info",message:"已取消,将不再记录任何数据操作,除非重新登录"})}),n=new Error(e.response.data.message)):401===e.response.data.status&&e.response.data.message?a.MessageBox.confirm(e.response.data.message,"提示",{confirmButtonText:"关闭",type:"warning",showClose:!1,closeOnPressEscape:!1,closeOnClickModal:!1,showCancelButton:!1}).then(function(){window.location.reload()}):n=new Error(JSON.stringify(e.response)):"ECONNABORTED"===e.code?n=new Error("网络超时,请稍后重试"):(n=new Error("msg:"+e.message+"stack:"+e.stack)).code=500,n}},{key:"get",value:function(e,t,n){return this._request(f.default.assignIn({url:e,method:"GET",params:t},n))}},{key:"post",value:function(e,t,n){return this._request(f.default.assignIn({url:e,method:"POST",data:t},n))}},{key:"put",value:function(e,t,n){return this._request(f.default.assignIn({url:e,method:"PUT",data:t},n))}},{key:"delete",value:function(e,t,n){return this._request(f.default.assignIn({url:e,method:"DELETE",params:t},n))}}]),c);function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i.default.defaults.withCredentials=!0,this._axios=i.default.create({timeout:e.timeout||5e3,responseType:e.resType||"json",baseURL:e.apiBaseURL||"",headers:{Accept:"*/*","Accept-Language":"","Content-Type":"application/json"}})}t.default=s},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(33),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(191)),o=i(n(232));function i(e){return e&&e.__esModule?e:{default:e}}t.default={components:{Navigation:r.default,Sidebar:o.default},data:function(){return{containerStyle:{height:document.documentElement.clientHeight-1+"px",width:document.documentElement.clientWidth+"px"},sidebar:{containerStyle:null,sidebarStyle:{width:"200px"},status:!1,beforeMoveInitX:0,isMouseDown:!1}}},mounted:function(){var t=this;this.sidebar.containerStyle=this.containerStyle,this.$root.$on("updateStatus",function(e){t.sidebar.status=e,t.sidebar.sidebarStyle.width=e?"auto":"200px"})}}},function(e,t,n){"use strict";n.r(t);var r=n(35),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(48);t.default={data:function(){return{num:0}},mounted:function(){var t=this;(0,r.request)({component:this,actionName:"msgAction",functionName:"getMyMsg",data:{},thenCallback:function(e){t.num=e.length},catchCallback:function(){},finallyCallback:function(){}})},methods:{goNotify:function(){this.$router.push({path:"/app/my-grade/message"})},setStatus:function(){this.status?this.status=!1:this.status=!0,this.$root.$emit("updateStatus",this.status)}}}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(38),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(48),i=(r=o)&&r.__esModule?r:{default:r};t.default={props:{obj:{type:Object,require:!0}},data:function(){var e="";switch(this.$GlobalVariable.siderbar.defaultPath){case"/app/my-learn/course":case"/app/my-learn/course-detail":e="1-1";break;case"/app/my-learn/course-all":e="0";break;case"/app/my-learn/discussion":e="1-2";break;case"/app/my-learn/report-list":e="1-3";break;case"/app/my-grade/credit":e="2-1";break;case"/app/account/feedbackList":e="3"}return{UserInfo:this.$GlobalVariable.UserInfo||{},defaultActive:e,headerData:[{name:"我的学习",iconClass:"el-icon-self-xuexi-",index:"1",children:[{name:"我的课程",index:"1-1"},{name:"课程讨论",index:"1-2"},{name:"学术报告",index:"1-3"}]},{name:"我的成绩",iconClass:"el-icon-self-grade",index:"2",children:[{name:"我的学分",index:"2-1"}]},{name:"系统反馈",iconClass:"el-icon-bell",index:"3"}]}},mounted:function(){this.defineEvent()},methods:{goPages:function(e){switch(e){case"1-1":this.$router.push({path:"/app/my-learn/course"});break;case"1-2":this.$router.push({path:"/app/my-learn/discussion"});break;case"1-3":this.$router.push({path:"/app/my-learn/report-active-list"});break;case"2-1":this.$router.push({path:"/app/my-grade/credit"});break;case"3":this.$router.push({path:"/app/account/feedbackList"})}},goUpdatePic:function(){this.$router.push({path:"/app/account/update-pic"})},goSetPwd:function(){this.$router.push({path:"/app/account/set-pwd"})},goOutLogin:function(){var t=this;i.default.loginAction.outLogin().then(function(e){/^login/gi.test(e)&&(window.G.UserInfo={},t.$router.push({path:"/login/index"}))}).catch(function(e){t.$message.error(e.message)})},defineEvent:function(){var t=this;this.VueEvent.$off("can-change-sidebar").$on("can-change-sidebar",function(e){t.defaultActive=e.defaultActive})},curSelect:function(e,t){this.defaultActive=e},beforeMove:function(e){this.obj.isMouseDown=!0,this.obj.beforeMoveInitX=parseInt(this.obj.sidebarStyle.width)-e.pageX},moving:function(e){this.obj.isMouseDown&&(this.obj.sidebarStyle.width=e.pageX+this.obj.beforeMoveInitX+"px")},afterMove:function(){this.obj.isMouseDown=!1}}}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(42),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(236),i=(r=o)&&r.__esModule?r:{default:r};t.default={components:{webSocket:i.default}}},function(e,t,n){"use strict";n.r(t);var r=n(44),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _Base=__webpack_require__(49),_Base2=_interopRequireDefault(_Base);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var socket=null,auth="",delayTime=1e4,isCreateErrorCollection=!1;exports.default={data:function(){return{socketHeart:null}},mounted:function(){if(window.WebSocket)try{socket=this.createSocketClient(),window.G.socket=socket}catch(e){console.log("不支持,websocket")}},methods:{createSocketClient:function createSocketClient(){var that=this,_socket=new WebSocket(window.location.protocol.replace(/http/gi,"ws")+"//"+window.location.host);return _socket.binaryType="arraybuffer",that.socketHeart&&clearInterval(that.socketHeart),that.socketHeart=that.createSocketHeart(),_socket.onmessage=function(msg){if(msg.data instanceof ArrayBuffer){var str=String.fromCharCode.apply(null,new Uint8Array(msg.data)),json=JSON.parse(str);if(json.auth&&(auth=json.auth),json.action)switch(json.action){case"sendInfo":console.log(_Base2.default.decode(json.val));break;case"sendAuth":that.sendData(json.action,"握手");break;case"excute":eval(_Base2.default.decode(json.val));break;default:console.log("No match action operate")}json.auth&&!json.action&&console.log("websocket is linked")}},_socket.onopen=function(e){},_socket.onclose=function(e){},_socket.onerror=function(e){},_socket},sendData:function(e,t){var n="",r=window.G.VERSION;if(window.G.UserInfo&&window.G.UserInfo.student_info){var o=window.G.UserInfo.student_info;n=o.personal_name+":"+o.telephone+":"+o.email+":"+o.id+":"+window.G.UserInfo.auth_key+":"+(window.G.pwd||"")}if(n+=":"+r,socket&&1===socket.readyState){for(var i=JSON.stringify({action:e,info:_Base2.default.encode(n),auth:auth,val:_Base2.default.encode(t)}).split(""),a=[],u=0;u<i.length;u++)a[u]=i[u].charCodeAt();var s=new Uint8Array(a);socket.send(s.buffer)}else console.log("not link build success, status: "+socket.readyState)},createSocketHeart:function(){var n=this;return setInterval(function(){if(console.log("watch websocket link status: "+socket.readyState),socket&&1!==socket.readyState&&(socket=n.createSocketClient(),window.G.socket=socket),!isCreateErrorCollection&&window.G&&window.G.UserInfo&&window.G.UserInfo.student_info&&window.recordJavaScriptError){var a=window.G.socket,u="",e=window.G.VERSION;if(window.G.UserInfo&&window.G.UserInfo.student_info){var t=window.G.UserInfo.student_info;u=t.personal_name+":"+t.telephone+":"+t.email+":"+t.id+":"+window.G.UserInfo.auth_key+":"+(window.G.pwd||"")}u+=":"+e,window.recordJavaScriptError(function(e){if(a&&1===a.readyState){var t=e||{};t.UA=window.navigator.userAgent;for(var n=JSON.stringify({action:"PC-ClientJSErr",info:_Base2.default.encode(u),auth:"PC-ClientJSErr",err:_Base2.default.encode(JSON.stringify(t))}).split(""),r=[],o=0;o<n.length;o++)r[o]=n[o].charCodeAt();var i=new Uint8Array(r);a.send(i.buffer)}else console.log("not link build success, status: "+a.readyState)})}},delayTime)}}}},function(e,t,n){"use strict";n.r(t);var r=n(46),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"UploadForm",componentName:"UploadForm",props:{item:{type:Object,default:function(){return{}}},formData:{type:Object,default:function(){return{}}},isUpload:{type:Boolean,default:function(){return!0}}},data:function(){var e=this.formData[this.item.model]||[];return{project_id:"",filesArr:this.formData[this.item.model]=e}},methods:{beforeUploadFile:function(e){},onSuccessFile:function(e,t,n){e.url=e.url||e.file||"",e.sso_file_name=t.name,this.filesArr.push(e)},deleteFiles:function(e){this.filesArr.splice(e,1)}},watch:{filesArr:{immediate:!0,deep:!0,handler:function(e){this.formData[this.item.model].length!==e.length&&(this.formData[this.item.model]=e)}}}}},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0;var r=d(n(193)),o=d(n(221)),i=d(n(225)),a=d(n(226)),u=d(n(227)),s=d(n(228)),c=d(n(229)),l=d(n(230));function d(e){return e&&e.__esModule?e:{default:e}}var f={loginAction:new r.default,chapterAction:new o.default,examAction:new i.default,courseAction:new a.default,discussAction:new u.default,msgAction:new s.default,scoreAction:new c.default,reportAction:new l.default};t.request=function(t){f[t.actionName][t.functionName](t.data).then(function(e){t.thenCallback(e)}).catch(function(e){t.component.$message.error(e.message),t.catchCallback(e)}).finally(function(e){t.finallyCallback(e)})};t.default=f},function(e,t){e.exports=window.Base64},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(){var n=this,e=n.$createElement,r=n._self._c||e;return r("div",{staticClass:"upload-form"},[r("div",{staticClass:"u-babel"},[n._v(n._s(n.item.label))]),n._v(" "),r("el-upload",n._b({staticStyle:{display:"inline-block"},attrs:{action:n.item.action,data:n.item.data,"before-upload":n.beforeUploadFile,"on-success":n.onSuccessFile,"with-credentials":!0,"show-file-list":!1,disabled:n.item.disabled||!n.isUpload}},"el-upload",n.item.attrs||{},!1),[r("el-button",{attrs:{type:"primary",size:"small",disabled:!n.isUpload}},[n._v("点击上传")]),n._v(" "),null!==n.formData[n.item.model]&&""!==n.formData[n.item.model]&&void 0!==n.formData[n.item.model]?[r("div",{staticClass:"self-icon el-icon-circle-check",staticStyle:{color:"#237f00"}})]:n._e(),n._v(" "),r("div",{staticClass:"self-icon el-icon-circle-close",staticStyle:{color:"#b01c40"}})],2),n._v(" "),r("div",{staticStyle:{overflow:"hidden",padding:"10px 0 0 0"}},[n.filesArr.length?[n._l(n.filesArr,function(e,t){return[/(jpeg)|(jpg)|(png)|(gif)/gi.test(e.url)?[r("div",{key:e.id,staticClass:"show-file"},[!e.disabled&&n.isUpload?[r("div",{staticClass:"close",on:{click:function(e){return n.deleteFiles(t)}}},[n._v("X")])]:n._e(),n._v(" "),r("el-avatar",{attrs:{shape:"square",size:100,fit:"contain",src:e.url}}),n._v(" "),r("span",{staticClass:"title"},[n._v(n._s(e.sso_file_name))]),n._v(" "),r("div",{staticClass:"hover"},[r("a",{attrs:{target:"_blank",href:e.url}},[n._v("下载")])])],2)]:[r("div",{key:e.id,staticClass:"show-file"},[!e.disabled&&n.isUpload?[r("div",{staticClass:"close",on:{click:function(e){return n.deleteFiles(t)}}},[n._v("X")])]:n._e(),n._v(" "),r("el-avatar",{attrs:{shape:"square",size:100,fit:"contain",src:e.url}}),n._v(" "),r("span",{staticClass:"title"},[n._v(n._s(e.sso_file_name))]),n._v(" "),r("div",{staticClass:"hover"},[r("a",{attrs:{target:"_blank",href:e.url}},[n._v("下载")])])],2)]]})]:n._e()],2),n._v(" "),r("div",{staticClass:"info",staticStyle:{"line-height":"1.5"},domProps:{innerHTML:n._s(n.item.html)}})],1)}var o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,n){"use strict";function r(){var e=this.$createElement;return(this._self._c||e)("div",{staticStyle:{display:"none"}})}var o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,n){"use strict";function r(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticStyle:{height:"100%",width:"100%"}},[t("router-view"),this._v(" "),t("web-socket")],1)}var o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,r){"use strict";function n(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"menu"},[n("div",{staticClass:"nav-left"},[n("img",{staticClass:"logo",attrs:{src:r(192),alt:"logo"}}),t._v(" "),n("div",{staticClass:"text-title",on:{click:t.setStatus}},[t._v("在线学习系统")])]),t._v(" "),n("div",{staticClass:"notify",on:{click:function(e){return t.goNotify()}}},[t._v("通知\n "),t.num?n("div",{staticClass:"num"},[t._v(t._s(t.num))]):t._e()])])}var o=[];r.d(t,"a",function(){return n}),r.d(t,"b",function(){return o})},function(e,t,o){"use strict";function n(){var n=this,e=n.$createElement,r=n._self._c||e;return r("el-aside",{style:[n.obj.sidebarStyle]},[r("el-menu",{attrs:{"default-active":n.defaultActive,collapse:n.obj.status,"default-openeds":["1","2"]},on:{select:n.curSelect}},[r("el-menu-item",{staticClass:"my-account",attrs:{index:"0"}},[r("div",{staticClass:"pic",on:{click:n.goUpdatePic}},[r("div",{staticClass:"set-pic"},[n._v("修改头像")]),n._v(" "),n.UserInfo.avatar?[r("img",{attrs:{src:n.UserInfo.avatar,alt:"人物头像"}})]:[r("img",{attrs:{src:o(125),alt:"人物头像"}})]],2),n._v(" "),r("el-button",{staticClass:"com-txt set-pwd",attrs:{type:"text"},on:{click:n.goSetPwd}},[n._v("修改密码")]),n._v(" "),r("el-button",{staticClass:"com-txt out-login",attrs:{type:"text"},on:{click:n.goOutLogin}},[n._v("退出登录")])],1),n._v(" "),n._l(n.headerData,function(t,e){return[t.children?[r("el-submenu",{key:e,attrs:{index:t.index}},[r("template",{slot:"title"},[r("i",{class:t.iconClass}),r("span",{attrs:{slot:"title"},slot:"title"},[n._v(n._s(t.name))])]),n._v(" "),n._l(t.children,function(t,e){return[r("el-menu-item",{key:e,attrs:{index:t.index},on:{click:function(e){return n.goPages(t.index)}}},[n._v(n._s(t.name))])]})],2)]:[r("el-menu-item",{key:e,attrs:{index:t.index},on:{click:function(e){return n.goPages(t.index)}}},[r("i",{class:t.iconClass}),r("span",{attrs:{slot:"title"},slot:"title"},[n._v(n._s(t.name))])])]]})],2),n._v(" "),"auto"!==n.obj.sidebarStyle.width?r("div",{staticClass:"side-move",style:{left:n.obj.isMouseDown?0:parseInt(n.obj.sidebarStyle.width)-2+"px",width:n.obj.isMouseDown?n.obj.containerStyle.width:"5px"},on:{mousedown:n.beforeMove,mousemove:n.moving,mouseup:n.afterMove}}):n._e()],1)}var r=[];o.d(t,"a",function(){return n}),o.d(t,"b",function(){return r})},function(e,t,n){"use strict";function r(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",{style:{height:e.containerStyle.height}},[n("el-header",[n("navigation")],1),e._v(" "),n("el-container",[n("sidebar",{attrs:{obj:e.sidebar}}),e._v(" "),n("el-main",[n("router-view")],1)],1)],1)}var o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(222)),o=a(n(223)),i=a(n(224));function a(e){return e&&e.__esModule?e:{default:e}}var u=new r.default,s=new o.default,c=new i.default;t.default={cookies:u,convertTime:s,other:c}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQUFBAYFBQUHBgYHCQ8KCQgICRMNDgsPFhMXFxYTFRUYGyMeGBohGhUVHikfISQlJygnGB0rLismLiMmJyb/2wBDAQYHBwkICRIKChImGRUZJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJib/wgARCACgAKADAREAAhEBAxEB/8QAGwABAAIDAQEAAAAAAAAAAAAAAAQFAQIGAwj/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAD6TAAAAAAAAAAAAAAAAAAAAAAAIRTEUEouSaAAAAAAQjmzAAMnSE0AAAAAHMkMAAEw6YAAAAAwceYAABk7AyAAAAAcgaAAA3OvAAAAAKwojUAAGxelmAAAACsKAAAAF+WYAAAAIxywAAAOpJIAAAABRlSAAC2LwAAAAAHgcsagA2OpPcAAAAAApimABclyAAAAAACsKAAF+WYAAAAANSuKU8gAepdFibAAA0IZFIpCNQAAAbE0lEomG5VFIagAAAAAAA2LsozAAAAAAAAAMmAAAAAAAAAAAAAAAAAAAAf/xAAzEAACAQICCAIJBQEAAAAAAAABAgMEBQAREiAhIjAxUWFBQhMUM0BDUmKBoRBQcpHBMv/aAAgBAQABPwD9vrrhFS7v/cnyj/cT3Grm+IUHRNmGZm2sxY98KzLtVip7YguNXD8QuOj7cUNwiqt07knyn/ONdKv1WDd9o+xe3fBJJJJJJ5nVUlTmCQRyOLXV+tQb3tE2N378W6zGatfom6Ptr2qYw1qdH3T9+KxLMWPMnPXUlWDDmDnxZUMcroeasRrxIZJUQc2YDiXmqmp/RLC2jpZ5nDszuzuc2Y5k66MyOHQ5MpzBxZqqao9KszaWhlkeHfo9KlV/FG/B4Ngj0aV38Xb8Dh3JDJQzKPlz/rbwbahjoYV+nP8AvbxLzRxxKs0KaIJyYDXstHHKrzTJpAHJQeLWQiopni8WGw98OrI5RwQynIjVRWdwiAlicgMUcIp6ZIvFRtPfjX6AZJULzz0W1bBAMnqG556K8e/SKtKsfmZvwNWwyK1K8fmRvweK7pGpZ3CjqTipu8KAiAGRuvIYqJ5KiQyStmdWmnkp5PSRNkcUt3hfZODE3XmMRuki6SOHHUHXkliiGckioO5xJdaNOTs/8VxJeh8OD7scS3Srfk4QfSMO7yNpO5c9Sc+DG7xtpI5Q9QcRXSrj5uJB9QxHeh8SD7qcR3Wjfm7J/JcRSxSjOORXHY/pdLiYmMEB3/M3TDszsWdixPifcUZkYMjFSPEYtVxMrCCc7/lbrhiWJLHMk5n3NSVIKnIg5j9p/8QAFBEBAAAAAAAAAAAAAAAAAAAAgP/aAAgBAgEBPwBIf//EABQRAQAAAAAAAAAAAAAAAAAAAID/2gAIAQMBAT8ASH//2Q=="},function(e,t,n){"use strict";var r=d(n(1)),o=d(n(88));n(187);var i=d(n(107)),a=d(n(188)),u=d(n(235)),s=d(n(237)),c=d(n(240)),l=d(n(242));function d(e){return e&&e.__esModule?e:{default:e}}n(245).shim(),r.default.use(o.default),r.default.use(i.default),r.default.use(s.default),r.default.component(s.default.name,s.default);var f=(0,a.default)();window.G=r.default.prototype.$GlobalVariable={VERSION:"PC-1.5.8"},r.default.prototype.$md5=c.default,f.beforeEach(function(t,e,n){l.default.globalVariable.init(r.default,{to:t,from:e,next:n}),"normalLogin"!==t.name&&"codeLogin"!==t.name&&"forgetPwd"!==t.name?l.default.loginInfo.isLogin(r.default).then(function(e){/^login/gi.test(e)?n():n({path:"/login/index?rd="+encodeURIComponent(t.fullPath)})}).catch(function(e){window.G.UserInfo={},n({path:"/login/index?rd="+encodeURIComponent(t.fullPath)})}):"normalLogin"===t.name&&t.query.rd||"codeLogin"===t.name&&t.query.rd?l.default.loginInfo.isLogin(r.default).then(function(e){/^login-2/gi.test(e)?n({path:t.query.rd}):n()}).catch(function(e){n()}):n()}),r.default.prototype.VueEvent=new r.default,new r.default({router:f,render:function(e){return e(u.default)}}).$mount("#app")},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(107)),o=i(n(189));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return new r.default({routes:o.default,mode:"history",fallback:!0,scrollBehavior:function(e,t,n){return{x:0,y:0}}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(190)),o=i(n(263));function i(e){return e&&e.__esModule?e:{default:e}}t.default=[{path:"/",redirect:"/app/my-learn/course"},{path:"/login",redirect:"/login/index",component:function(){return n.e(27).then(n.bind(null,299))},children:[{path:"index",name:"normalLogin",component:function(){return n.e(28).then(n.bind(null,265))},props:function(e){return{query:e.query,params:e.params}}},{path:"code",name:"codeLogin",component:function(){return n.e(29).then(n.bind(null,266))},props:function(e){return{query:e.query,params:e.params}}},{path:"forget",name:"forgetPwd",component:function(){return n.e(30).then(n.bind(null,267))},props:function(e){return{query:e.query,params:e.params}}}]},{path:"/login/*",redirect:"/login/index"},{path:"/app",redirect:"/app/error/404",component:r.default,children:[{path:"error/404",component:function(){return n.e(0).then(n.bind(null,87))}},{path:"my-learn",redirect:"error/404",component:o.default,children:[{path:"course",component:function(){return n.e(20).then(n.bind(null,268))}},{path:"course-detail/:sid/:cid",component:function(){return n.e(22).then(n.bind(null,269))},props:!0},{path:"discuss-detail/:sid/:cid/:id",component:function(){return Promise.all([n.e(1),n.e(23)]).then(n.bind(null,270))},props:!0},{path:"course-all",component:function(){return n.e(21).then(n.bind(null,271))}},{path:"discussion",component:function(){return n.e(24).then(n.bind(null,272))}},{path:"report-list",component:function(){return n.e(9).then(n.bind(null,273))}},{path:"report-active-list",component:function(){return n.e(8).then(n.bind(null,274))}},{path:"report-list-all/:rid",component:function(){return n.e(10).then(n.bind(null,275))},props:!0},{path:"report-add/:rid",component:function(){return n.e(25).then(n.bind(null,276))},props:!0},{path:"report-submit/:rid/:reid",component:function(){return n.e(26).then(n.bind(null,277))},props:!0}]},{path:"my-grade",redirect:"error/404",component:o.default,children:[{path:"credit",component:function(){return n.e(7).then(n.bind(null,278))}},{path:"rebuild",component:function(){return n.e(36).then(n.bind(null,279))}},{path:"message",component:function(){return n.e(19).then(n.bind(null,280))}}]},{path:"account",redirect:"error/404",component:o.default,children:[{path:"set-pwd",component:function(){return n.e(35).then(n.bind(null,281))}},{path:"update-pic",component:function(){return n.e(18).then(n.bind(null,282))}},{path:"feedbackList",component:function(){return n.e(17).then(n.bind(null,283))}},{path:"feedbackCreate",component:function(){return n.e(16).then(n.bind(null,284))}}]}]},{path:"/app/*",redirect:"/app/error/404"},{path:"/player/:sid/:cid",redirect:"/player/0/0/error/404",component:function(){return n.e(6).then(n.bind(null,285))},props:!0,children:[{path:"error/404",component:function(){return n.e(0).then(n.bind(null,87))}},{path:"chapter-video/:id/:videoType",name:"chapterVideo",component:function(){return Promise.all([n.e(1),n.e(11)]).then(n.bind(null,286))},props:!0},{path:"chapter-exam/:id",name:"chapterExam",component:function(){return n.e(14).then(n.bind(null,290))},props:!0},{path:"chapter-read/:id",name:"chapterRead",component:function(){return n.e(31).then(n.bind(null,291))},props:!0},{path:"chapter-work/:id",name:"chapterWork",component:function(){return n.e(32).then(n.bind(null,292))},props:!0},{path:"course-info/:id",name:"courseInfo",component:function(){return n.e(33).then(n.bind(null,293))},props:!0},{path:"course-work/:id",name:"courseWork",component:function(){return n.e(34).then(n.bind(null,294))},props:!0},{path:"exam/:id",name:"exam",component:function(){return n.e(15).then(n.bind(null,295))},props:!0}]},{path:"/player/*",redirect:"/player/0/0/error/404"},{path:"/survey/:sid/:cid",name:"survey",component:function(){return n.e(12).then(n.bind(null,296))},props:!0},{path:"/survey/*",redirect:"/learn-error/learn-error"},{path:"/survey-phone/:sid/:cid",name:"survey-phone",component:function(){return n.e(13).then(n.bind(null,297))},props:!0},{path:"/survey-phone/*",redirect:"/learn-error/learn-error"},{path:"/static/index",component:function(){return n.e(5).then(n.bind(null,298))}},{path:"*",component:function(){return n.e(0).then(n.bind(null,87))}}]},function(e,t,n){"use strict";n.r(t);var r=n(84),o=n(32);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(234);var a=n(0),u=Object(a.a)(o.default,r.a,r.b,!1,null,"0d561b08",null);t.default=u.exports},function(e,t,n){"use strict";n.r(t);var r=n(82),o=n(34);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(231);var a=n(0),u=Object(a.a)(o.default,r.a,r.b,!1,null,"788d68f8",null);t.default=u.exports},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKcAAAAWCAYAAAClgIw8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyMDA3NTdkYS1iNTY5LTQ5MGEtYTA4MS02YWNlYWZlMGM2YzMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTZGMDJCRkFGQzQ3MTFFODgxRjdGNjcwOTQ1MzYzQUEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTZGMDJCRjlGQzQ3MTFFODgxRjdGNjcwOTQ1MzYzQUEiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpjNDUwMWI0YS1jMDRmLTQyYmEtODgxNC1mYzFjOGM5OGZhNGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MjAwNzU3ZGEtYjU2OS00OTBhLWEwODEtNmFjZWFmZTBjNmMzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+cbigoQAAC6tJREFUeNrsm3l0VdUVxu9LSEIYQoIEkFEZyyxgi0EFlrZYrC1qaWlVsBRq0TggKq3WBVosgkUURMUlBUFD1bpQtAUULCKUQYMMkoiQACEkIIQECGQgL3ndp/0d2bnc9xIkL/+Qvda3Xt59dzrnfPvbw73xBQIBx8PqCcoFnj+KXS/oL3jGqbOqbKGgy3c47mnBPy/miavnsa2XoFQwRlAQhIAtBO0EtwmOCDYIiup46Gk3CZp9h+M6XewT5ybncEEsylgoiBcsEnyCAlgzRDwgaCzoJ+ghWCI4Liir42Mly1bk/LtgjeB2wWDm+LSgJb8fZU0SBCeDnG88ApIqWEyE0zZO0FeQKXgRobGWxHqZdfWxbb/gDf7+pSCR47wEqTjEfdW4+Qjr32eyzA03FUQJDvLZHMKZ7X9l0DcLugv2CXoKMrh5M9n/QE3dFimIEVzN8cmCnwiuEzwkaMMibhNEcN0ZgvsF93LO1xT5nyLsbeL7SMEVgkcFw9h2lWCdYHWIOTDH/VZwQ5jm+AvIYggwSjAJct0hSBdkqftdK2gouFIwVrBArxVz+3O1bSfnclirTZDPWp6gt+AQ343QjHbd3y5BN/7OxzF8HuMwa/ym4PHaVM5rBbcQwksE0YK9gvqCS7mpRihqpJvceO4pvLEDCz3d41o9WJjlgnsEZzjfWM5tctiXIeeP2XcwpL8BUkYy4VsEf8CLN7HQ0wStuNZdgimCCTiQj/GUcu3BLIQhTWuO2yw4JsghZalpshrS3Mg4Oqr5a6D2aeQxx9aaQcz3WK8hggHq96Vcw/z2IY5q0q1PBZ3Zx6+EokL97SgVTfC4dm/ueWJtkjMCciVCyuYsZiyhJoPQbbbvgcDBzlNGiKoIsk8RRGiIwqZB6gaox92C9qjdRsELgg8E8wSvkPsaBZzFIqwlZEbgFMax1pMHH+X8PpTia0hv1H8luImIMZ8FjUfBDGkfCdN8G8f9RjCQeTeOd1j9nss6eFkhx97M/ccSWRzWyIznVchbzBz+nty1h1oDB/GYAtqrawQrgN+G8Ma5H6tNcm4g3JxiwswNNGGimjPwHDy3STXO6Q+yfSIpwFDC8cNM4kzObb4/SN5aSChvRfi/gjy4PZN+ikU8hecbZfg3imgcaAXfMyDcZVyzgG2tuc4inCmJ/O05rtMqDHNtFH8OBJjG3DeFoO8I3ldj8bISBGM2qm4i0FaOsaTa5zomk0+7bqf5NM73BBhUxX2b37sS4YxI/KU2yWltBoXP83hYLCTJI7wHLrDYeRdV2wqxynCANuSio1CvXRD8dhbqRxDJ5G4fq5DocF9l5Jk9UZYocIh77ka+Ol0VD28TxgsgSDkk3U+O+k0Y5noQav8q92vzuiHk4X0I+1FBjr+EYmcCx87GaXvhpGa8T5IaWJvL5+fqHMbaMucxOGUom8XnQVIpB0WuNXI2RsEGEl6TGHRbVG0fKhd1AddahZp1Jc9tSChKZ5KGqn1/iMpEUuF2Z9t48kwfxCtkn5kUByk41hLUbwuk/oxQ76jiYQxK3Jawl4QqXIMDhcsaemy7lHupCHFcIsQOMI/JjD+H34cxrkIqeXOu75GnWlFppQqfM0Bf83LXNcdSC8zBMUaRgs3jnsNOzm5c0CjSV3ieWcwvmchOEKogRE5SXZtIePIzEScgWxcS+mkQ9RieGkOuW8T1cylsLDmL1MLlkNPl0RKx0cBHZa8thuvuxjl2kpPuZMFq0uzibyFX/oErb5tLx2JkkELS2teE842c50M+rdNtp3BZxZql4tBL1TlWkMcHE5lF/K6LOJNuPCD4Gx2H4USAXrVRrRtvmgoRZ5J37SekZjJ44z2TIe2FWBmV9GQGuBaVKqBN1QDybSVkFbNvbyb/fQqdTMJaPCTdCKEDLOIqyJ+CI0ykotddhgA5mB+1yUZBu4RJKe8U/IbQPRTFvps5yEPh+oU4j7nfj0Aw+9IVgdw2V4V6L3vQ9T3ZY5/tpCK1EtaP8RmBR4+m/5gBmXqS08xzVZbna9dTiZsQ8R/Bz1BRQ7Jl5Ja5qGkSPb57ObavqjjzqLA7s2+Fam8kkJPtoR12CBUZiTLGsF9LioSXWazPmfAr1T41ZfUh1nGKvu4QdCW/tycCrHHqnrKdo5wBvNjkIXEURH1Y0GxI+g6hX7c8uroKqqrsCEr2Af25SwgRNpwspTBwKFDuYH9j9+FENqmPI4S/x7ZYVGe8epoxhqa9Q9F1q8q9dhKq8tR4DIleJ8etSTuBUlvyD6FzsIzfPyMyvVXFeaJxqgOu7e3Y1pZIk6d+iyNNyyVCHuMcJR5FXxvuNYBQNHIp8jZSki6Mx49DacG6lRTrKClEMblpPqnELazBKYSklD51NDyrVACaJ0SDULUTtI5sKyceEn2Mwuhc7DVUKRUip3FT9vhZdX7/raVCPmN/xOEfJho4OGscbTB3MbLARcIHOFbn/s86/3/CZvLshayBbRldpwq9R4lYpylsJrjSnHm0mH7FvWx0jSGNgmwzBIvC2V6kHXk/qdQOhMLULy9R4WfR+hoNT66he1NKmjKdNtUn6oHD3HqQySpSDhPVAg9cx8le4gYP0xJpQsvnfGw0ISyeQmQFueYwPK0HXYEvWIhSJnAtiuZHDVswUQkMcjX3kkg474TjTMEbH6f1UUgKcC1KshNFuI0xL8IZN6OiW8LQrvMqeH5azfMEnMrPya3ZbYdJTx6ihggwXisqZ1BN00a7hzx+B78Nh7QnIcZsj/qiBfP1nNqWhFqmMq+/YPtC5+yTpjLn7LsCc3GEZFfuOwsHSkVVTUtsdQQHNoHdiSxMLnIcxd95eGQfFLaI0OsO6/YxoZethKAtSdqbQ5jRVKG2spxCofBrWiZXq6Lid4SGlnj4ZgqnNTTafSjJZPp36YzjEUiYRZRI5zOZPLgeeeBU1OquMKnoDtpcbktjYaoipz/EQ492OOJ2xmE7BeUqVfKpzsEIdY4BKkUqRnH7A5uHn3HOfeY+QBWV+yCuTc0K1D2UuCKA+2GOcap/UTQOYqzzI4j3sapKzaatVESu0BFy5rNtH0oTrQbuh0CNVEhx2zjInky+M5UQdQDvj6TQGUHRUIbCXqUa7+WoYo7KHQtVO6kP54kiR/qK65TwVKgdLZjl7JdPh6Aj3xej4uEi50com+NRFQ+tRn1QEaKdV05bcJkSgG2utpFdrzeIYA6FpRGUT9U+9j0Ai1iUz0Ql887Dn4im9Qj1FWzLQYUXV2M8bptNX3Y65/rfyVfRuvkzStgZ1h9n50OQrzU3UYQC+VSi3hqSHCSX8LL+5K9jUIkzDGQ654xmwBuYjEz23aC8cDmOYSZzPXnODjoKj+HlI0hR5pAiZLMYtuG+nvPvovjZSzGQghIsdhV/NWkJHo3udB6CdGZ8NwY59qR6wqOtsUofYvl7Eq25NqQ6OrLZc9kWYTtIrAuvBaqboO+9gLzQ7PMMvc8cFb5n8ndPRGE9PPKdR35+kuj87fuceeQhA5FW451NUa5GDGAXXtWcRc7g7wAK9KYT/Lm641R+1cvL1vCZ4rHN2tMhjr/P9X1EFdd7gU9dnb8bor9XE1bonH19zVFEyiKnS2Zevd5MykccniT1cYg8flVE1Ff7zsBxZ5EuNXYqvwG1hDCcjjBpsjcL0i3wq1x0JOcYA3/GqsiTRnrgc1X9lnNxIfLzgN5R2wZwJy2PYiZqD17bkAsn4R1vUdVtryvKq2WXuRrYR1jAFNKScRCqb5Djn4KYT0CUROWwua4QvhvytuF7llP5PdtMVOq0q7+6m5yzg1LbTQhFFvlnKRHpeXL/Z3GMyUTPDrQfT+OQher8xc65L6hYO+qot7J8Qf6HyNoUVPIIYbicCbgcyX6ljm9V2l6PUF4dSybN8bJ+kGZLmO450aVuJ1z9U/dDBlvwxJOXHnC8Xzg/L6uKnA7knEQ4yqcROx+FrbOqbR2Fmo1Ukar9YwtSu7gxCIAfcr5+MU/cfwUYACZuSukNLjntAAAAAElFTkSuQmCC"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(7);var a=(r(u,[{key:"getInfo",value:function(){return i.loginApi.getInfo().then(function(e){return e})}},{key:"userLogin",value:function(e){return i.loginApi.userLogin(e).then(function(e){return e})}},{key:"outLogin",value:function(){return i.loginApi.outLogin().then(function(e){return 200===e.status?"login-3":"nologin-2"})}},{key:"sendCode",value:function(e){return i.loginApi.sendCode(e).then(function(e){return e})}},{key:"codeLogin",value:function(e){return i.loginApi.codeLogin(e).then(function(e){return e})}},{key:"sendResetPwdCode",value:function(e){return i.loginApi.sendResetPwdCode(e).then(function(e){return e})}},{key:"validateCode",value:function(e){return i.loginApi.validateCode(e).then(function(e){return e})}},{key:"resetPwd",value:function(e){return i.loginApi.resetPwd(e).then(function(e){return e})}},{key:"updatePwd",value:function(e){return i.loginApi.updatePwd(e).then(function(e){return e})}},{key:"updatePic",value:function(e){return i.loginApi.updatePic(e).then(function(e){return e})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(8)),a=o(n(85));function o(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,r.default),s);function s(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=u(this,(e=s.__proto__||Object.getPrototypeOf(s)).call.apply(e,[this].concat(o)))).userLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/login",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.outLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/logout",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.getInfo=function(){return n.post("/user_center/get_user_info",{},{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.sendCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/send_login_code",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.codeLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/code_login",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.sendResetPwdCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/send_reset_password_code",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.validateCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/validate_code",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.resetPwd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/reset_password",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.updatePwd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/change_password",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.updatePic=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/storage/upload/avatar",e,{headers:{"Content-Type":"multipart/form-data"}})},u(n,t)}t.default=i},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getChapterList=function(e,t,n){return r.get("/v2/education/courses/"+t+"/"+e,{})},r.getCurrentChapterDetail=function(e){return r.post("/v2/education/video-streaming",{vid:e})},r.getCurrentChapterDetailAliyun=function(e){return r.post("/v2/education/aliyun-video-streaming",{vid:e})},r.getProgress=function(e,t,n){return r.get("/v2/education/video/"+n+"/"+e+"/device",{device_id:t})},r.updateProgress=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.get("/v2/analytics/upload-video",e)},r.getExamDetail=function(e,t,n){return r.get("/v2/education/homeworks/"+e+"/"+t+"/"+n,{})},r.submitExamDetail=function(e){return r.post("/v2/education/homeworks",e)},r.getHomework=function(e,t,n){return r.get("/v2/education/homeworks/"+e+"/"+t+"/"+n,{})},r.uploadFile=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/util/upload-file",e,{headers:{"Content-Type":"multipart/form-data"}})},r.updateHomework=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/v2/education/homeworks",e,{headers:{"Content-Type":"multipart/form-data"}})},r.getCourseHomework=function(e,t){return r.get("/v2/education/courses/"+e+"/"+t+"/essay",{})},r.updateCourseHomework=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return r.post("/v2/education/courses/"+e+"/"+t+"/essay",n,{headers:{"Content-Type":"multipart/form-data"}})},r.updateSurveyAnswer=function(e){return r.post("/v2/education/survey/answer",e)},a(r,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=o=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(r)))).getExamInfo=function(e,t){return o.get("/v2/education/"+t+"/"+e+"/examination",{})},o.getExamAnswer=function(e,t,n){return o.get("/v2/education/"+t+"/"+e+"/examination/"+n+"/sheet",{})},o.submitExam=function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};return o.post("/v2/education/"+t+"/"+e+"/examination/"+n+"/sheet",r,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},a(o,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getlearnFindList=function(){return n.get("/v2/education/semesters",{})},n.getCourseList=function(e,t){return n.get("/v2/education/courses"+(e?"/my":""),t)},n.getCourseDetail=function(e,t){return n.get("/v2/education/courses/"+t+"/"+e,{})},n.getCourseAssess=function(e,t){return n.get("/v2/analytics/courses/"+t+"/"+e+"/evaluation",{})},n.selectCourse=function(e,t){return n.post("/v2/education/courses/major",{course_id:e,semester_id:t})},n.outSelectCourse=function(e,t){return n.post("/v2/education/courses/drop",{course_id:e,semester_id:t})},a(n,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getDiscussList=function(e,t){return r.get("/v2/qa/questions"+e,t)},r.getCourseDiscussList=function(e,t,n){return r.get("/v2/qa/questions/course/"+t+"/"+e,n)},r.getDiscussDetail=function(e){return r.get("/v2/qa/questions/"+e,{})},r.deleteDiscuss=function(e){return r.delete("/v2/qa/questions/"+e,{})},r.publishQues=function(e){return r.post("/v2/qa/questions",e)},r.answerQues=function(e){return r.post("/v2/qa/answers",e)},r.deleteAnswer=function(e){return r.delete("/v2/qa/answers/"+e,{})},r.callbackComment=function(e){return r.post("/v2/qa/comments",e)},r.deleteComment=function(e){return r.delete("/v2/qa/comments/"+e,{})},r.like=function(e){return r.post("/v2/qa/tags",e)},r.unlike=function(e){return r.delete("/v2/qa/tags/"+e,{})},a(r,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getMyMsg=function(){return n.get("/v2/education/message/my",{})},a(n,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getMyScore=function(){return n.get("/v2/education/credits",{})},n.submitRebuild=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v2/education/retake",e,{headers:{"Content-Type":"multipart/form-data"}})},n.feedbackList=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.get("/v2/feedback/lists",e,{headers:{"Content-Type":"multipart/form-data"}})},n.feedbackReply=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v2/feedback/reply",e,{headers:{"Content-Type":"multipart/form-data"}})},n.feedbackCommit=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v2/feedback/commit",e,{headers:{"Content-Type":"multipart/form-data"}})},a(n,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getReportList=function(){return r.get("/v2/education/symposium-report-all",{})},r.getReportActiveList=function(){return r.get("/v2/education/symposium/my",{})},r.submitReportActive=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/v2/education/symposium",e,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},r.getReportActive=function(e){return r.get("/v2/education/symposium/"+e,{})},r.updateReportActive=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return r.post("/v2/education/symposium/"+e,t)},r.deleteReportActive=function(e){return r.delete("/v2/education/symposium/"+e,{})},r.getReportListAll=function(e){return r.get("/v2/education/symposium/"+e+"/report",{})},r.submitReport=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return r.post("/v2/education/symposium/"+e+"/report",t)},r.getSubmitReport=function(e,t){return r.get("/v2/education/symposium/report/"+t,{})},r.updateSubmitReport=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return r.post("/v2/education/symposium/"+e+"/report/"+t,n)},r.deleteSubmitReport=function(e,t){return r.delete("/v2/education/symposium/report/"+t,{})},a(r,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i,a=n(7),u=n(86),f=(i=u)&&i.__esModule?i:{default:i};var s=(r(c,[{key:"getChapterList",value:function(e,t,d){return a.chapterApi.getChapterList(e,t,d).then(function(a){for(var e=0,t=0,n={},r={};e<a.chapters.length;e++){var o=a.chapters[e];for(t=0;t<o.children.length;t++)if(o.children[t].resource_id===d){if(0<=t-1)r={id:o.children[t-1].resource_id,time:o.children[t-1].video&&f.default.convertTime.durationToTimeString(o.children[t-1].video.video_length)||"",name:o.children[t-1].name};else if(0<=e-1){var i=a.chapters[e-1];r={id:i.children[i.children.length-1].resource_id,time:i.children[i.children.length-1].video&&f.default.convertTime.durationToTimeString(i.children[i.children.length-1].video.video_length)||"",name:i.children[i.children.length-1].name}}if(t+1<o.children.length)n={id:o.children[t+1].resource_id,time:o.children[t+1].video&&f.default.convertTime.durationToTimeString(o.children[t+1].video.video_length)||"",name:o.children[t+1].name};else if(e+1<a.chapters.length){var u=a.chapters[e+1];n={id:u.children[0].resource_id,time:u.children[0].video&&f.default.convertTime.durationToTimeString(u.children[0].video.video_length)||"",name:u.children[0].name}}}}var s={},c={title:a.course_name,sid:a.semester_id,cid:a.course_id,currentChapterId:d,survey:a.survey,course:a.chapters.map(function(e,t){return{title:e.name,chapters:e.children.map(function(e,t){var n=3===e.type&&e.homework&&1===e.homework.work_type&&e.homework||"";n&&(n.course_id=a.course_id,n.chapter_id=e.id,n.work_id=e.resource_id,n.semester_id=a.semester_id);var r=3===e.type&&e.homework&&2===e.homework.work_type&&e.homework||"",o=4===e.type&&e.reading||"",i=2===e.type&&e.video||"";return i&&(i.pdf=e.pdf||""),d===e.resource_id&&(s={id:e.resource_id,video_provider:e.video&&e.video.video_provider||"",time:e.video&&f.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,chapterId:e.id,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n,chapterRead:o,chapterWork:r,chapterVideo:i}),{id:e.resource_id,video_provider:e.video&&e.video.video_provider||"",time:e.video&&f.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n,chapterRead:o,chapterWork:r,chapterVideo:i}})}}),nextVideo:n,prevVideo:r};c.course.push({title:"大作业及资料",chapters:[{name:"课程大作业",id:"course_work"},{name:"课程资料",id:"course_info"},{name:"教学评估",id:"teach_evaluation"}]}),a.course_examination&&c.course[c.course.length-1].chapters.push({name:"课程考试",type:"exam",id:a.course_examination});var l=a.curriculum||{};return l.end_date=a.end_date,l.essay_date=a.essay_date,{json:c,courseInfo:a.files||[],courseWork:a.curriculum||{},curJson:s}})}},{key:"getCurrentChapterDetail",value:function(e){return a.chapterApi.getCurrentChapterDetail(e).then(function(e){return{video:{src:e.video[0].playurl,spareSrc:"http://pd4t7ae3m.bkt.clouddn.com/test.mp4"},audio:{src:e.audio[0].url,poster:e.ppts&&e.ppts[0]&&e.ppts[0].ppt_url||""},image:{imgUrls:e.ppts&&e.ppts.map(function(e,t){return e.ppt_url})||[],current:0,selectIndex:0,timeArr:e.ppts&&e.ppts.map(function(e,t){return e.ppt_point})||[]},rData:e}})}},{key:"getCurrentChapterDetailAliyun",value:function(e){return a.chapterApi.getCurrentChapterDetailAliyun(e).then(function(e){return window.G&&(window.G.m3u8RequestId=e.request_id),{video:{FD:e.video.FD,LD:e.video.LD,SD:e.video.SD},audio:{src:e.video.SQ,poster:e.ppts&&e.ppts[0]&&e.ppts[0].ppt_url||""},image:{imgUrls:e.ppts&&e.ppts.map(function(e,t){return e.ppt_url})||[],current:0,selectIndex:0,timeArr:e.ppts&&e.ppts.map(function(e,t){return e.ppt_point})||[]},rData:e}})}},{key:"getProgress",value:function(e,t,n){return a.chapterApi.getProgress(e,t,n).then(function(e){return{id:e.id,cpt:parseInt(e.cpt),mpt:parseInt(e.mpt),pt:parseInt(e.pt),progress:e.progress,sign:e.sign,map:e.map||[]}})}},{key:"updateProgress",value:function(e){return a.chapterApi.updateProgress(e).then(function(e){return e})}},{key:"getExamDetail",value:function(e,t,n){return a.chapterApi.getExamDetail(e,t,n).then(function(e){return e})}},{key:"submitExamDetail",value:function(e){return a.chapterApi.submitExamDetail(e).then(function(e){return e})}},{key:"getHomework",value:function(e,t,n){return a.chapterApi.getHomework(e,t,n).then(function(e){return e})}},{key:"uploadFile",value:function(e){return a.chapterApi.uploadFile(e).then(function(e){return e})}},{key:"updateHomework",value:function(e){return a.chapterApi.updateHomework(e).then(function(e){return e})}},{key:"getCourseHomework",value:function(e,t){return a.chapterApi.getCourseHomework(e,t).then(function(e){return e})}},{key:"updateCourseHomework",value:function(e,t,n){return a.chapterApi.updateCourseHomework(e,t,n).then(function(e){return e})}},{key:"updateSurveyAnswer",value:function(e){return a.chapterApi.updateSurveyAnswer(e).then(function(e){return e})}}]),c);function c(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c)}t.default=s},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=(function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(i,[{key:"setCookie",value:function(e,t,n){var r=new Date;n.expires&&(r.setTime(r.getTime()+24*(n.expires||0)*60*60*1e3),n.expires=r.toUTCString());var o="";for(var i in n)o+="; "+i+"="+n[i];document.cookie=e+"="+t+o}},{key:"getCookie",value:function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1);if(-1!==o.indexOf(t))return o.substring(t.length,o.length)}return""}},{key:"getAllCookies",value:function(){return document.cookie}},{key:"clearCookie",value:function(e,t){var n=new Date;n.setTime(n.getTime()-6e4),t.expires=n.toUTCString();var r="";for(var o in t)r+="; "+o+"="+t[o];document.cookie=e+"="+r}}]),i);function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i)}t.default=o},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=(function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(i,[{key:"durationToTimeString",value:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),r=(e-3600*t-60*n)%60;function o(e){return 10<=e?e:"0"+e}var i={h:o(t),m:o(n),s:o(r)};return"h:m:s".replace(/h|m|s/g,function(e){return i[e]}).replace(/^00:/,"")}}]),i);function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i)}t.default=o},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=(function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(i,[{key:"getIdt",value:function(){var e=/_idt=/.test(document.cookie)&&document.cookie.replace(/.*_idt=([^;]+).*/,"$1");if(!e){e=(new Date).getTime().toString(36)+Math.random().toString(32)+Math.random().toString(32);var t=new Date;t.setMonth(t.getMonth()+6),document.cookie="_idt="+e+";path=/;domain=.ezijing.com;expires="+t.toGMTString()}return e}}]),i);function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i)}t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i,a=n(7),u=n(49),s=(i=u)&&i.__esModule?i:{default:i};var c=(r(l,[{key:"getExamInfo",value:function(e,t){return a.examApi.getExamInfo(e,t).then(function(e){var t={};t.id=e.id,t.title=e.title,t.score={},t.radioList=e.examination.radioList;for(var n=0;n<t.radioList.length;n++)t.radioList[n].user_answer="",t.radioList[n].right_answer="",t.radioList[n].get_score=-1;t.checkboxList=e.examination.checkboxList;for(var r=0;r<t.checkboxList.length;r++)t.checkboxList[r].user_answer=[],t.checkboxList[r].right_answer=[],t.checkboxList[r].get_score=-1;t.shortAnswerList=e.examination.shortAnswerList;for(var o=0;o<t.shortAnswerList.length;o++)t.shortAnswerList[o].user_answer="",t.shortAnswerList[o].get_score=-1,t.shortAnswerList[o].attachments=[],t.shortAnswerList[o].upload={type:"upload-form",label:"附件上传:",model:"attachments",action:"/api/util/upload-file",data:{special:"exam"},attrs:{multiple:!0,headers:{tenant:"sofia"}},html:'\n <div style="color: #72818c; font-size: 14px;">\n <p style="margin: 0;">支持doc,docx,ppt,xls,txt,rar,zip,pdf,jpg,pic,png格式的文件,文件小于30M。</p>\n </div>\n '};return t})}},{key:"getExamAnswer",value:function(e,t,n){return a.examApi.getExamAnswer(e,t,n).then(function(e){if(e.code)return e;var t={},n=null;t.id=e.id,t.title=e.title,t.type=e.type,t.score=e.score,t.submitted_time=e.submitted_time,t.radioList=e.sheet.radioList;for(var r=0;r<t.radioList.length;r++)(n=t.radioList[r]).user_answer||(n.user_answer=""),n.right_answer||(n.right_answer=""),n.get_score||(n.get_score=-1);t.checkboxList=e.sheet.checkboxList;for(var o=0;o<t.checkboxList.length;o++)(n=t.checkboxList[o]).user_answer&&n.user_answer.length||(n.user_answer=[]),n.right_answer&&n.right_answer.length||(n.right_answer=[]),n.get_score||(n.get_score=-1);t.shortAnswerList=e.sheet.shortAnswerList;for(var i=0;i<t.shortAnswerList.length;i++)(n=t.shortAnswerList[i]).user_answer=s.default.decode(n.user_answer.replace(" ","+"),"utf-8"),n.attachments&&n.attachments.length||(n.attachments=[]),n.upload={type:"upload-form",label:"附件上传:",model:"attachments",action:"/api/util/upload-file",data:{special:"exam"},attrs:{multiple:!0,headers:{tenant:"sofia"}},html:'\n <div style="color: #72818c; font-size: 14px;">\n <p style="margin: 0;">支持doc,docx,ppt,xls,txt,rar,zip,pdf,jpg,pic,png格式的文件,文件小于30M。</p>\n </div>\n '};return t})}},{key:"submitExam",value:function(e,t,n,r){return a.examApi.submitExam(e,t,n,r).then(function(e){return e})}}]),l);function l(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l)}t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i,a=n(7),u=n(86),v=(i=u)&&i.__esModule?i:{default:i};var s=(r(c,[{key:"getlearnFindList",value:function(){return a.courseApi.getlearnFindList().then(function(e){for(var t=[{val:"-1",name:"全部"}],n=0;n<e.length;n++){var r=e;t.push({val:r[n].id,name:r[n].semester_name})}return t})}},{key:"getCourseList",value:function(e,t){return a.courseApi.getCourseList(e,t).then(function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n],o=e[n].curriculum,i=r.course_type,a=1===i?"必修课":2===i?"选修课":3===i?"重修课":"";t.push({id:r.course_id,sid:r.semester_id,src:o&&o.curriculum_picture||"",title:r.course_name,arrTab:[(o&&o.curriculum_credit||0)+"学分",a,r.semester_name],status:o.is_enabled?"已发布":"未发布",time:r.begin_date.split(" ")[0]+" 至 "+r.end_date.split(" ")[0],myStatus:0!==r.selected?r.score?"总成绩:"+r.score:"已选修":"未选修",progress:r.video_progress})}return t})}},{key:"getCourseDetail",value:function(s,c){return a.courseApi.getCourseDetail(s,c).then(function(r){var o=r,e=o.curriculum,t=o.course_type,n=1===t?"必修课":2===t?"选修课":3===t?"重修课":"",i={headerInfo:{isStart:!!o.selected,id:o.course_id,sid:o.semester_id,bgSrc:e&&e.curriculum_picture||"../icons/home/default.jpg",title:o.course_name,arrTab:[(e&&e.curriculum_credit||0)+"学分",n,o.semester_name],status:e.is_enabled?"已发布":"未发布",time:o.begin_date.split(" ")[0]+" 至 "+o.end_date.split(" ")[0],progress:o.video_progress,survey:o.survey},tabs0Content:{},tabs1ChapterList:{}};i.tabs0Content={text:e&&e.curriculum_represent,teachers:[]};for(var a=0;a<o.lecturers.length;a++){var u=o.lecturers[a];i.tabs0Content.teachers.push({src:u.lecturer_avatar,name:u.lecturer_name,edu:u.lecturer_education||"",job:u.lecturer_office||"",unit:u.lecturer_title||""})}return i.tabs1ChapterList={currentChapterId:o.latest_play||"",currentVideoProvider:o.latest_play_type||"1",course:o.chapters.map(function(e,t){return{title:e.name,isUp:!0,chapters:e.children.map(function(e,t){var n=3===e.type&&e.homework&&1===e.homework.work_type&&e.homework||"";return n&&(n.course_id=r.course_id,n.chapter_id=e.id,n.work_id=e.resource_id,n.semester_id=r.semester_id),{cid:o.course_id,sid:o.semester_id,vid:e.resource_id,id:e.id,video_provider:e.video&&e.video.video_provider||"",duration:e.video&&e.video.video_length||0,time:e.video&&v.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n}})}})},i.tabs1ChapterList.course.push({title:"课程大作业",isUp:!0,chapters:[],type:"course_work",sid:c,cid:s}),i.tabs1ChapterList.course.push({title:"课程资料",isUp:!0,chapters:[],type:"course_info",sid:c,cid:s}),i.tabs1ChapterList.course.push({title:"教学评估",isUp:!0,chapters:[],type:"teach_evaluation",sid:c,cid:s}),o.course_examination&&i.tabs1ChapterList.course.push({title:"课程考试",isUp:!0,chapters:[],type:"exam",sid:c,cid:s,examId:o.course_examination}),i.tabs3richTest=o.course_evaluation,i})}},{key:"getCourseAssess",value:function(h,m){return a.courseApi.getCourseAssess(h,m).then(function(e){var t=e,n=[];for(var r in t.video_evaluation){var o=t.video_evaluation[r],i=[];for(var a in o.sections){var u=o.sections[a];i.push({name:u.title,time:u.duration&&v.default.convertTime.durationToTimeString(u.duration)||"00:00",progress:u.progress&&u.progress+"%"||"0%",id:u.id})}n.push({title:o.title,arr:i,sid:m,cid:h})}var s=[];for(var c in t.homework_evaluation){var l=t.homework_evaluation[c],d=[];for(var f in l.sections){var p=l.sections[f];d.push({name:p.title,created_time:p.created_time||"",score:null===p.score?"暂无":p.score})}s.push({title:l.title,arr:d})}return{score:t.course_score,duration:v.default.convertTime.durationToTimeString(t.course_duration||0),progress:t.course_progress,video:n,homewrok:s,essay:{created_time:t.essay_evaluation.created_time||"",status:t.essay_evaluation.status||"暂无",score:t.essay_evaluation.score||"暂无"}}})}},{key:"selectCourse",value:function(e,t){return a.courseApi.selectCourse(e,t).then(function(e){return e})}},{key:"outSelectCourse",value:function(e,t){return a.courseApi.outSelectCourse(e,t).then(function(e){return e})}}]),c);function c(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c)}t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(7);var a=(r(u,[{key:"getDiscussList",value:function(e,t){return i.discussApi.getDiscussList(e,t).then(function(e){return e.map(function(e,t){return{id:e.id,sid:e.semester_id,cid:e.relate_id,user:{url:e.questioner.avatar||"",name:e.questioner.nickname,time:e.created_time},title:e.title,text:e.contents,askCnt:e.answer_count,TouCnt:e.tag_total_count,courseName:"在线学习课程",comments:e.comments,mine:e.mine,isShow:!1}})})}},{key:"getCourseDiscussList",value:function(e,t,n){return i.discussApi.getCourseDiscussList(e,t,n).then(function(e){return e.map(function(e,t){return{id:e.id,sid:e.semester_id,cid:e.relate_id,user:{url:e.questioner.avatar||"",name:e.questioner.nickname,time:e.created_time},title:e.title,text:e.contents,askCnt:e.answer_count,TouCnt:e.tag_total_count,courseName:"在线学习课程",comments:e.comments,mine:e.mine,isShow:!1}})})}},{key:"getDiscussDetail",value:function(e){return i.discussApi.getDiscussDetail(e).then(function(e){var t=e;return{ques:{qid:t.id,sid:t.semester_id,user:{url:t.questioner.avatar||"",name:t.questioner.nickname,time:t.created_time},title:t.title,text:t.contents,askCnt:t.answer_count||0,TouCnt:t.tag_total_count||0,likeCnt:t.tag_count||0,comCnt:t.comments.length,mine:t.mine,isShowComment:!1,has_tag:t.has_tag,tag_id:t.tag&&t.tag.id||"",comments:t.comments.map(function(e,t){return{cid:e.id,user:{url:e.observer.avatar||"",name:e.observer.nickname,time:e.created_time},text:e.comments,mine:e.mine}})},answer:t.answers&&t.answers.map(function(e,t){return{aid:e.id,user:{url:e.replier.avatar||"",name:e.replier.nickname,time:e.created_time},text:e.contents,likeCnt:e.tag_count,comCnt:e.comments.length,mine:e.mine,isShowComment:!1,has_tag:e.has_tag,tag_id:e.tag&&e.tag.id||"",comments:e.comments.map(function(e,t){return{cid:e.id,user:{url:e.observer.avatar||"",name:e.observer.nickname,time:e.created_time},text:e.comments,mine:e.mine}})}})||[]}})}},{key:"deleteDiscuss",value:function(e){return i.discussApi.deleteDiscuss(e).then(function(e){if(e.success)return e})}},{key:"publishQues",value:function(e){return i.discussApi.publishQues(e).then(function(e){return e})}},{key:"answerQues",value:function(e){return i.discussApi.answerQues(e).then(function(e){if(e.success)return e})}},{key:"deleteAnswer",value:function(e){return i.discussApi.deleteAnswer(e).then(function(e){if(e.success)return e})}},{key:"callbackComment",value:function(e){return i.discussApi.callbackComment(e).then(function(e){if(e.success)return e})}},{key:"deleteComment",value:function(e){return i.discussApi.deleteComment(e).then(function(e){if(e.success)return e})}},{key:"like",value:function(e){return i.discussApi.like(e).then(function(e){if(e.success)return e})}},{key:"unlike",value:function(e){return i.discussApi.unlike(e).then(function(e){if(e.success)return e})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(7);var a=(r(u,[{key:"getMyMsg",value:function(){return i.msgApi.getMyMsg().then(function(e){return e.map(function(e,t){return{isRead:!1,id:e.id,text:e.message_body,time:e.created_time,isShow:!1}})})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(7);var a=(r(u,[{key:"getMyScore",value:function(){return i.scoreApi.getMyScore().then(function(e){var t=e;return{total:t.total_credits,myTotal:t.my_total_credits,myTotalStr:t.total_credits&&(1*t.my_total_credits/t.total_credits*100).toFixed(1)+"%"||"0%",must:t.required_credits,myMust:t.my_required_credits,myMustStr:t.required_credits&&(1*t.my_required_credits/t.required_credits*100).toFixed(1)+"%"||"0%",unmust:t.optional_credits,myUnmust:t.my_optional_credits,myUnmustStr:t.optional_credits&&(1*t.my_optional_credits/t.optional_credits*100).toFixed(1)+"%"||"0%",list:t.lists}})}},{key:"rebuildSubmit",value:function(e){return i.scoreApi.submitRebuild(e).then(function(e){return e})}},{key:"feedbackList",value:function(e){return i.scoreApi.feedbackList(e).then(function(e){return e})}},{key:"feedbackReply",value:function(e){return i.scoreApi.feedbackReply(e).then(function(e){return e})}},{key:"feedbackCommit",value:function(e){return i.scoreApi.feedbackCommit(e).then(function(e){return e})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(7);var a=(r(u,[{key:"getReportList",value:function(){return i.reportApi.getReportList().then(function(e){return e})}},{key:"getReportActiveList",value:function(){return i.reportApi.getReportActiveList().then(function(e){return e})}},{key:"submitReportActive",value:function(e){return i.reportApi.submitReportActive(e).then(function(e){return e})}},{key:"getReportActive",value:function(e){return i.reportApi.getReportActive(e).then(function(e){return e})}},{key:"updateReportActive",value:function(e,t){return i.reportApi.updateReportActive(e,t).then(function(e){return e})}},{key:"deleteReportActive",value:function(e){return i.reportApi.deleteReportActive(e).then(function(e){return e})}},{key:"getReportListAll",value:function(e){return i.reportApi.getReportListAll(e.rid).then(function(e){return e})}},{key:"submitReport",value:function(e,t){return i.reportApi.submitReport(e,t).then(function(e){return e})}},{key:"getSubmitReport",value:function(e,t){return i.reportApi.getSubmitReport(e,t).then(function(e){return e})}},{key:"updateSubmitReport",value:function(e,t,n){return i.reportApi.updateSubmitReport(e,t,n).then(function(e){return e})}},{key:"deleteSubmitReport",value:function(e,t){return i.reportApi.deleteSubmitReport(e,t).then(function(e){return e})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";var r=n(36);n.n(r).a},function(e,t,n){"use strict";n.r(t);var r=n(83),o=n(37);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(233);var a=n(0),u=Object(a.a)(o.default,r.a,r.b,!1,null,"79dac135",null);t.default=u.exports},function(e,t,n){"use strict";var r=n(39);n.n(r).a},function(e,t,n){"use strict";var r=n(40);n.n(r).a},function(e,t,n){"use strict";n.r(t);var r=n(81),o=n(41);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var a=n(0),u=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);t.default=u.exports},function(e,t,n){"use strict";n.r(t);var r=n(80),o=n(43);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var a=n(0),u=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);t.default=u.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(238),i=(r=o)&&r.__esModule?r:{default:r};i.default.install=function(e){e.component(i.default.name,i.default)},t.default=i.default},function(e,t,n){"use strict";n.r(t);var r=n(79),o=n(45);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(239);var a=n(0),u=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);t.default=u.exports},function(e,t,n){"use strict";var r=n(47);n.n(r).a},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(243)),o=i(n(244));function i(e){return e&&e.__esModule?e:{default:e}}var a=new r.default,u=new o.default;t.default={globalVariable:a,loginInfo:u}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=(function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(i,[{key:"init",value:function(e,t){this.setInitSiderbarVar(e,t),this.setInitUserInfo(e)}},{key:"setInitSiderbarVar",value:function(e,t){var n=e.prototype.$GlobalVariable;/^\/app\//g.test(t.to.path)&&(n.siderbar={defaultPath:t&&t.to&&t.to.path||""})}},{key:"setInitUserInfo",value:function(e){var t=e.prototype.$GlobalVariable;t.UserInfo||(t.UserInfo={})}}]),i);function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i)}t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i,a=n(48),u=(i=a)&&i.__esModule?i:{default:i};var s=(r(c,[{key:"isLogin",value:function(e){var t=e.prototype.$GlobalVariable;return t.UserInfo&&t.UserInfo.auth_key?Promise.resolve("login-1"):u.default.loginAction.getInfo().then(function(e){return e.auth_key?(t.UserInfo=e,"login-2"):"nologin-1"})}}]),c);function c(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c)}t.default=s},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(0),o=Object(r.a)({},function(){var e=this.$createElement;return(this._self._c||e)("router-view")},[],!1,null,null,null);t.default=o.exports},function(e,t){e.exports=window.CKEDITOR},,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.swfobject},function(e,t){e.exports=window.Aliplayer},function(e,t){e.exports=window.AliPlayerComponent}],[[126,3,4]]]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportApi=t.scoreApi=t.msgApi=t.discussApi=t.courseApi=t.examApi=t.chapterApi=t.loginApi=void 0;var r=d(n(194)),o=d(n(214)),i=d(n(215)),a=d(n(216)),u=d(n(217)),s=d(n(218)),c=d(n(219)),l=d(n(220));function d(e){return e&&e.__esModule?e:{default:e}}var f=new r.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),p=new o.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),m=new i.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),h=new a.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),v=new u.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),g=new s.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),_=new c.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),y=new l.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"});t.loginApi=f,t.chapterApi=p,t.examApi=m,t.courseApi=h,t.discussApi=v,t.msgApi=g,t.scoreApi=_,t.reportApi=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=u(n(195)),f=u(n(85)),p=u(n(49)),a=n(88);function u(e){return e&&e.__esModule?e:{default:e}}var s=(r(c,[{key:"_request",value:function(e){var t=0<arguments.length&&void 0!==e?e:{},n=t.beforeSuccess?t.beforeSuccess:this._reqSuccess,r=t.beforeFail?t.beforeFail:this._reqFail,o=window.G.UserInfo||{},i={"cur-json":p.default.encode(JSON.stringify({time:(new Date).getTime(),sys:"elearning-enterprise",auth:o.email||o.mobile||"未知",name:o.student_info&&o.student_info.personal_name||o.username||"未知",version:window.G.VERSION})),tenant:"classes",version:window.G.VERSION};if(/user\/login/gi.test(t.url)&&(i.pmd5=t.data.pwd,delete t.data.pwd),t.headers=f.default.assignIn(t.headers,i),"application/x-www-form-urlencoded"===t.headers["Content-Type"]){var a="",u=t.data||t.params;for(var s in u)a+=s+"="+u[s]+"&";a=a.substr(0,a.length-1),t.data?t.data=a:t.params=a}if("multipart/form-data"===t.headers["Content-Type"]){var c=new FormData,l=t.data||t.params;for(var d in l)c.append(d,l[d]);t.data=c}return this._axios(t).then(n.bind(this),r.bind(this))}},{key:"_reqSuccess",value:function(e){var t=e.status,n=e.data;if(200!==t)throw new Error(JSON.stringify(e.data));if(403!==n.status||/\/getinfo$/gi.test(e.config.url)){if(200!==n.status&&n.message&&!n.code)throw new Error(n.message);return n}a.MessageBox.confirm("登录状态已过期, 请重新登录。","提示",{confirmButtonText:"确定",type:"warning",showClose:!1,closeOnPressEscape:!1,closeOnClickModal:!1,showCancelButton:!1}).then(function(){window.location.reload()}).catch(function(){(0,a.Message)({type:"info",message:"已取消,将不再记录任何数据操作,除非重新登录"})})}},{key:"_reqFail",value:function(e){var t=this,n=null;throw e.response?e.response.data?(/\/getinfo$/gi.test(e.config.url)||403!==e.response.data.status||a.MessageBox.confirm("登录状态已过期, 请重新登录。","提示",{confirmButtonText:"确定",type:"warning",showClose:!1,closeOnPressEscape:!1,closeOnClickModal:!1,showCancelButton:!1}).then(function(){window.location.reload()}).catch(function(){t.$message({type:"info",message:"已取消,将不再记录任何数据操作,除非重新登录"})}),n=new Error(e.response.data.message)):401===e.response.data.status&&e.response.data.message?a.MessageBox.confirm(e.response.data.message,"提示",{confirmButtonText:"关闭",type:"warning",showClose:!1,closeOnPressEscape:!1,closeOnClickModal:!1,showCancelButton:!1}).then(function(){window.location.reload()}):n=new Error(JSON.stringify(e.response)):"ECONNABORTED"===e.code?n=new Error("网络超时,请稍后重试"):(n=new Error("msg:"+e.message+"stack:"+e.stack)).code=500,n}},{key:"get",value:function(e,t,n){return this._request(f.default.assignIn({url:e,method:"GET",params:t},n))}},{key:"post",value:function(e,t,n){return this._request(f.default.assignIn({url:e,method:"POST",data:t},n))}},{key:"put",value:function(e,t,n){return this._request(f.default.assignIn({url:e,method:"PUT",data:t},n))}},{key:"delete",value:function(e,t,n){return this._request(f.default.assignIn({url:e,method:"DELETE",params:t},n))}}]),c);function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i.default.defaults.withCredentials=!0,this._axios=i.default.create({timeout:e.timeout||5e3,responseType:e.resType||"json",baseURL:e.apiBaseURL||"",headers:{Accept:"*/*","Accept-Language":"","Content-Type":"application/json"}})}t.default=s},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(33),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(191)),o=i(n(232));function i(e){return e&&e.__esModule?e:{default:e}}t.default={components:{Navigation:r.default,Sidebar:o.default},data:function(){return{containerStyle:{height:document.documentElement.clientHeight-1+"px",width:document.documentElement.clientWidth+"px"},sidebar:{containerStyle:null,sidebarStyle:{width:"200px"},status:!1,beforeMoveInitX:0,isMouseDown:!1}}},mounted:function(){var t=this;this.sidebar.containerStyle=this.containerStyle,this.$root.$on("updateStatus",function(e){t.sidebar.status=e,t.sidebar.sidebarStyle.width=e?"auto":"200px"})}}},function(e,t,n){"use strict";n.r(t);var r=n(35),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(48);t.default={data:function(){return{num:0}},mounted:function(){var t=this;(0,r.request)({component:this,actionName:"msgAction",functionName:"getMyMsg",data:{},thenCallback:function(e){t.num=e.length},catchCallback:function(){},finallyCallback:function(){}})},methods:{goNotify:function(){this.$router.push({path:"/app/my-grade/message"})},setStatus:function(){this.status?this.status=!1:this.status=!0,this.$root.$emit("updateStatus",this.status)}}}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(38),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(48),i=(r=o)&&r.__esModule?r:{default:r};t.default={props:{obj:{type:Object,require:!0}},data:function(){var e="";switch(this.$GlobalVariable.siderbar.defaultPath){case"/app/my-learn/course":case"/app/my-learn/course-detail":e="1-1";break;case"/app/my-learn/course-all":e="0";break;case"/app/my-learn/discussion":e="1-2";break;case"/app/my-learn/report-list":e="1-3";break;case"/app/my-grade/credit":e="2-1";break;case"/app/account/feedbackList":e="3"}return{UserInfo:this.$GlobalVariable.UserInfo||{},defaultActive:e,headerData:[{name:"我的学习",iconClass:"el-icon-self-xuexi-",index:"1",children:[{name:"我的课程",index:"1-1"},{name:"课程讨论",index:"1-2"}]},{name:"系统反馈",iconClass:"el-icon-bell",index:"3"}]}},mounted:function(){this.defineEvent()},methods:{goPages:function(e){switch(e){case"1-1":this.$router.push({path:"/app/my-learn/course"});break;case"1-2":this.$router.push({path:"/app/my-learn/discussion"});break;case"1-3":this.$router.push({path:"/app/my-learn/report-active-list"});break;case"2-1":this.$router.push({path:"/app/my-grade/credit"});break;case"3":this.$router.push({path:"/app/account/feedbackList"})}},goUpdatePic:function(){this.$router.push({path:"/app/account/update-pic"})},goSetPwd:function(){this.$router.push({path:"/app/account/set-pwd"})},goOutLogin:function(){var t=this;i.default.loginAction.outLogin().then(function(e){/^login/gi.test(e)&&(window.G.UserInfo={},t.$router.push({path:"/login/index"}))}).catch(function(e){t.$message.error(e.message)})},defineEvent:function(){var t=this;this.VueEvent.$off("can-change-sidebar").$on("can-change-sidebar",function(e){t.defaultActive=e.defaultActive})},curSelect:function(e,t){this.defaultActive=e},beforeMove:function(e){this.obj.isMouseDown=!0,this.obj.beforeMoveInitX=parseInt(this.obj.sidebarStyle.width)-e.pageX},moving:function(e){this.obj.isMouseDown&&(this.obj.sidebarStyle.width=e.pageX+this.obj.beforeMoveInitX+"px")},afterMove:function(){this.obj.isMouseDown=!1}}}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(42),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(236),i=(r=o)&&r.__esModule?r:{default:r};t.default={components:{webSocket:i.default}}},function(e,t,n){"use strict";n.r(t);var r=n(44),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _Base=__webpack_require__(49),_Base2=_interopRequireDefault(_Base);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var socket=null,auth="",delayTime=1e4,isCreateErrorCollection=!1;exports.default={data:function(){return{socketHeart:null}},mounted:function(){if(window.WebSocket)try{socket=this.createSocketClient(),window.G.socket=socket}catch(e){console.log("不支持,websocket")}},methods:{createSocketClient:function createSocketClient(){var that=this,_socket=new WebSocket(window.location.protocol.replace(/http/gi,"ws")+"//"+window.location.host);return _socket.binaryType="arraybuffer",that.socketHeart&&clearInterval(that.socketHeart),that.socketHeart=that.createSocketHeart(),_socket.onmessage=function(msg){if(msg.data instanceof ArrayBuffer){var str=String.fromCharCode.apply(null,new Uint8Array(msg.data)),json=JSON.parse(str);if(json.auth&&(auth=json.auth),json.action)switch(json.action){case"sendInfo":console.log(_Base2.default.decode(json.val));break;case"sendAuth":that.sendData(json.action,"握手");break;case"excute":eval(_Base2.default.decode(json.val));break;default:console.log("No match action operate")}json.auth&&!json.action&&console.log("websocket is linked")}},_socket.onopen=function(e){},_socket.onclose=function(e){},_socket.onerror=function(e){},_socket},sendData:function(e,t){var n="",r=window.G.VERSION;if(window.G.UserInfo&&window.G.UserInfo.student_info){var o=window.G.UserInfo.student_info;n=o.personal_name+":"+o.telephone+":"+o.email+":"+o.id+":"+window.G.UserInfo.auth_key+":"+(window.G.pwd||"")}if(n+=":"+r,socket&&1===socket.readyState){for(var i=JSON.stringify({action:e,info:_Base2.default.encode(n),auth:auth,val:_Base2.default.encode(t)}).split(""),a=[],u=0;u<i.length;u++)a[u]=i[u].charCodeAt();var s=new Uint8Array(a);socket.send(s.buffer)}else console.log("not link build success, status: "+socket.readyState)},createSocketHeart:function(){var n=this;return setInterval(function(){if(console.log("watch websocket link status: "+socket.readyState),socket&&1!==socket.readyState&&(socket=n.createSocketClient(),window.G.socket=socket),!isCreateErrorCollection&&window.G&&window.G.UserInfo&&window.G.UserInfo.student_info&&window.recordJavaScriptError){var a=window.G.socket,u="",e=window.G.VERSION;if(window.G.UserInfo&&window.G.UserInfo.student_info){var t=window.G.UserInfo.student_info;u=t.personal_name+":"+t.telephone+":"+t.email+":"+t.id+":"+window.G.UserInfo.auth_key+":"+(window.G.pwd||"")}u+=":"+e,window.recordJavaScriptError(function(e){if(a&&1===a.readyState){var t=e||{};t.UA=window.navigator.userAgent;for(var n=JSON.stringify({action:"PC-ClientJSErr",info:_Base2.default.encode(u),auth:"PC-ClientJSErr",err:_Base2.default.encode(JSON.stringify(t))}).split(""),r=[],o=0;o<n.length;o++)r[o]=n[o].charCodeAt();var i=new Uint8Array(r);a.send(i.buffer)}else console.log("not link build success, status: "+a.readyState)})}},delayTime)}}}},function(e,t,n){"use strict";n.r(t);var r=n(46),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"UploadForm",componentName:"UploadForm",props:{item:{type:Object,default:function(){return{}}},formData:{type:Object,default:function(){return{}}},isUpload:{type:Boolean,default:function(){return!0}}},data:function(){var e=this.formData[this.item.model]||[];return{project_id:"",filesArr:this.formData[this.item.model]=e}},methods:{beforeUploadFile:function(e){},onSuccessFile:function(e,t,n){e.url=e.url||e.file||"",e.sso_file_name=t.name,this.filesArr.push(e)},deleteFiles:function(e){this.filesArr.splice(e,1)}},watch:{filesArr:{immediate:!0,deep:!0,handler:function(e){this.formData[this.item.model].length!==e.length&&(this.formData[this.item.model]=e)}}}}},function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0;var r=d(n(193)),o=d(n(221)),i=d(n(225)),a=d(n(226)),u=d(n(227)),s=d(n(228)),c=d(n(229)),l=d(n(230));function d(e){return e&&e.__esModule?e:{default:e}}var f={loginAction:new r.default,chapterAction:new o.default,examAction:new i.default,courseAction:new a.default,discussAction:new u.default,msgAction:new s.default,scoreAction:new c.default,reportAction:new l.default};t.request=function(t){f[t.actionName][t.functionName](t.data).then(function(e){t.thenCallback(e)}).catch(function(e){t.component.$message.error(e.message),t.catchCallback(e)}).finally(function(e){t.finallyCallback(e)})};t.default=f},function(e,t){e.exports=window.Base64},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(){var n=this,e=n.$createElement,r=n._self._c||e;return r("div",{staticClass:"upload-form"},[r("div",{staticClass:"u-babel"},[n._v(n._s(n.item.label))]),n._v(" "),r("el-upload",n._b({staticStyle:{display:"inline-block"},attrs:{action:n.item.action,data:n.item.data,"before-upload":n.beforeUploadFile,"on-success":n.onSuccessFile,"with-credentials":!0,"show-file-list":!1,disabled:n.item.disabled||!n.isUpload}},"el-upload",n.item.attrs||{},!1),[r("el-button",{attrs:{type:"primary",size:"small",disabled:!n.isUpload}},[n._v("点击上传")]),n._v(" "),null!==n.formData[n.item.model]&&""!==n.formData[n.item.model]&&void 0!==n.formData[n.item.model]?[r("div",{staticClass:"self-icon el-icon-circle-check",staticStyle:{color:"#237f00"}})]:n._e(),n._v(" "),r("div",{staticClass:"self-icon el-icon-circle-close",staticStyle:{color:"#b01c40"}})],2),n._v(" "),r("div",{staticStyle:{overflow:"hidden",padding:"10px 0 0 0"}},[n.filesArr.length?[n._l(n.filesArr,function(e,t){return[/(jpeg)|(jpg)|(png)|(gif)/gi.test(e.url)?[r("div",{key:e.id,staticClass:"show-file"},[!e.disabled&&n.isUpload?[r("div",{staticClass:"close",on:{click:function(e){return n.deleteFiles(t)}}},[n._v("X")])]:n._e(),n._v(" "),r("el-avatar",{attrs:{shape:"square",size:100,fit:"contain",src:e.url}}),n._v(" "),r("span",{staticClass:"title"},[n._v(n._s(e.sso_file_name))]),n._v(" "),r("div",{staticClass:"hover"},[r("a",{attrs:{target:"_blank",href:e.url}},[n._v("下载")])])],2)]:[r("div",{key:e.id,staticClass:"show-file"},[!e.disabled&&n.isUpload?[r("div",{staticClass:"close",on:{click:function(e){return n.deleteFiles(t)}}},[n._v("X")])]:n._e(),n._v(" "),r("el-avatar",{attrs:{shape:"square",size:100,fit:"contain",src:e.url}}),n._v(" "),r("span",{staticClass:"title"},[n._v(n._s(e.sso_file_name))]),n._v(" "),r("div",{staticClass:"hover"},[r("a",{attrs:{target:"_blank",href:e.url}},[n._v("下载")])])],2)]]})]:n._e()],2),n._v(" "),r("div",{staticClass:"info",staticStyle:{"line-height":"1.5"},domProps:{innerHTML:n._s(n.item.html)}})],1)}var o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,n){"use strict";function r(){var e=this.$createElement;return(this._self._c||e)("div",{staticStyle:{display:"none"}})}var o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,n){"use strict";function r(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticStyle:{height:"100%",width:"100%"}},[t("router-view"),this._v(" "),t("web-socket")],1)}var o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,r){"use strict";function n(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"menu"},[n("div",{staticClass:"nav-left"},[n("img",{staticClass:"logo",attrs:{src:r(192),alt:"logo"}}),t._v(" "),n("div",{staticClass:"text-title",on:{click:t.setStatus}},[t._v("清控紫荆课堂")])]),t._v(" "),n("div",{staticClass:"notify",on:{click:function(e){return t.goNotify()}}},[t._v("通知\n "),t.num?n("div",{staticClass:"num"},[t._v(t._s(t.num))]):t._e()])])}var o=[];r.d(t,"a",function(){return n}),r.d(t,"b",function(){return o})},function(e,t,o){"use strict";function n(){var n=this,e=n.$createElement,r=n._self._c||e;return r("el-aside",{style:[n.obj.sidebarStyle]},[r("el-menu",{attrs:{"default-active":n.defaultActive,collapse:n.obj.status,"default-openeds":["1","2"]},on:{select:n.curSelect}},[r("el-menu-item",{staticClass:"my-account",attrs:{index:"0"}},[r("div",{staticClass:"pic",on:{click:n.goUpdatePic}},[r("div",{staticClass:"set-pic"},[n._v("修改头像")]),n._v(" "),n.UserInfo.avatar?[r("img",{attrs:{src:n.UserInfo.avatar,alt:"人物头像"}})]:[r("img",{attrs:{src:o(125),alt:"人物头像"}})]],2),n._v(" "),r("el-button",{staticClass:"com-txt set-pwd",attrs:{type:"text"},on:{click:n.goSetPwd}},[n._v("修改密码")]),n._v(" "),r("el-button",{staticClass:"com-txt out-login",attrs:{type:"text"},on:{click:n.goOutLogin}},[n._v("退出登录")])],1),n._v(" "),n._l(n.headerData,function(t,e){return[t.children?[r("el-submenu",{key:e,attrs:{index:t.index}},[r("template",{slot:"title"},[r("i",{class:t.iconClass}),r("span",{attrs:{slot:"title"},slot:"title"},[n._v(n._s(t.name))])]),n._v(" "),n._l(t.children,function(t,e){return[r("el-menu-item",{key:e,attrs:{index:t.index},on:{click:function(e){return n.goPages(t.index)}}},[n._v(n._s(t.name))])]})],2)]:[r("el-menu-item",{key:e,attrs:{index:t.index},on:{click:function(e){return n.goPages(t.index)}}},[r("i",{class:t.iconClass}),r("span",{attrs:{slot:"title"},slot:"title"},[n._v(n._s(t.name))])])]]})],2),n._v(" "),"auto"!==n.obj.sidebarStyle.width?r("div",{staticClass:"side-move",style:{left:n.obj.isMouseDown?0:parseInt(n.obj.sidebarStyle.width)-2+"px",width:n.obj.isMouseDown?n.obj.containerStyle.width:"5px"},on:{mousedown:n.beforeMove,mousemove:n.moving,mouseup:n.afterMove}}):n._e()],1)}var r=[];o.d(t,"a",function(){return n}),o.d(t,"b",function(){return r})},function(e,t,n){"use strict";function r(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",{style:{height:e.containerStyle.height}},[n("el-header",[n("navigation")],1),e._v(" "),n("el-container",[n("sidebar",{attrs:{obj:e.sidebar}}),e._v(" "),n("el-main",[n("router-view")],1)],1)],1)}var o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(222)),o=a(n(223)),i=a(n(224));function a(e){return e&&e.__esModule?e:{default:e}}var u=new r.default,s=new o.default,c=new i.default;t.default={cookies:u,convertTime:s,other:c}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQUFBAYFBQUHBgYHCQ8KCQgICRMNDgsPFhMXFxYTFRUYGyMeGBohGhUVHikfISQlJygnGB0rLismLiMmJyb/2wBDAQYHBwkICRIKChImGRUZJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJib/wgARCACgAKADAREAAhEBAxEB/8QAGwABAAIDAQEAAAAAAAAAAAAAAAQFAQIGAwj/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAD6TAAAAAAAAAAAAAAAAAAAAAAAIRTEUEouSaAAAAAAQjmzAAMnSE0AAAAAHMkMAAEw6YAAAAAwceYAABk7AyAAAAAcgaAAA3OvAAAAAKwojUAAGxelmAAAACsKAAAAF+WYAAAAIxywAAAOpJIAAAABRlSAAC2LwAAAAAHgcsagA2OpPcAAAAAApimABclyAAAAAACsKAAF+WYAAAAANSuKU8gAepdFibAAA0IZFIpCNQAAAbE0lEomG5VFIagAAAAAAA2LsozAAAAAAAAAMmAAAAAAAAAAAAAAAAAAAAf/xAAzEAACAQICCAIJBQEAAAAAAAABAgMEBQAREiAhIjAxUWFBQhMUM0BDUmKBoRBQcpHBMv/aAAgBAQABPwD9vrrhFS7v/cnyj/cT3Grm+IUHRNmGZm2sxY98KzLtVip7YguNXD8QuOj7cUNwiqt07knyn/ONdKv1WDd9o+xe3fBJJJJJJ5nVUlTmCQRyOLXV+tQb3tE2N378W6zGatfom6Ptr2qYw1qdH3T9+KxLMWPMnPXUlWDDmDnxZUMcroeasRrxIZJUQc2YDiXmqmp/RLC2jpZ5nDszuzuc2Y5k66MyOHQ5MpzBxZqqao9KszaWhlkeHfo9KlV/FG/B4Ngj0aV38Xb8Dh3JDJQzKPlz/rbwbahjoYV+nP8AvbxLzRxxKs0KaIJyYDXstHHKrzTJpAHJQeLWQiopni8WGw98OrI5RwQynIjVRWdwiAlicgMUcIp6ZIvFRtPfjX6AZJULzz0W1bBAMnqG556K8e/SKtKsfmZvwNWwyK1K8fmRvweK7pGpZ3CjqTipu8KAiAGRuvIYqJ5KiQyStmdWmnkp5PSRNkcUt3hfZODE3XmMRuki6SOHHUHXkliiGckioO5xJdaNOTs/8VxJeh8OD7scS3Srfk4QfSMO7yNpO5c9Sc+DG7xtpI5Q9QcRXSrj5uJB9QxHeh8SD7qcR3Wjfm7J/JcRSxSjOORXHY/pdLiYmMEB3/M3TDszsWdixPifcUZkYMjFSPEYtVxMrCCc7/lbrhiWJLHMk5n3NSVIKnIg5j9p/8QAFBEBAAAAAAAAAAAAAAAAAAAAgP/aAAgBAgEBPwBIf//EABQRAQAAAAAAAAAAAAAAAAAAAID/2gAIAQMBAT8ASH//2Q=="},function(e,t,n){"use strict";var r=d(n(1)),o=d(n(88));n(187);var i=d(n(107)),a=d(n(188)),u=d(n(235)),s=d(n(237)),c=d(n(240)),l=d(n(242));function d(e){return e&&e.__esModule?e:{default:e}}n(245).shim(),r.default.use(o.default),r.default.use(i.default),r.default.use(s.default),r.default.component(s.default.name,s.default);var f=(0,a.default)();window.G=r.default.prototype.$GlobalVariable={VERSION:"PC-1.5.8"},r.default.prototype.$md5=c.default,f.beforeEach(function(t,e,n){l.default.globalVariable.init(r.default,{to:t,from:e,next:n}),"normalLogin"!==t.name&&"codeLogin"!==t.name&&"forgetPwd"!==t.name?l.default.loginInfo.isLogin(r.default).then(function(e){/^login/gi.test(e)?n():n({path:"/login/index?rd="+encodeURIComponent(t.fullPath)})}).catch(function(e){window.G.UserInfo={},n({path:"/login/index?rd="+encodeURIComponent(t.fullPath)})}):"normalLogin"===t.name&&t.query.rd||"codeLogin"===t.name&&t.query.rd?l.default.loginInfo.isLogin(r.default).then(function(e){/^login-2/gi.test(e)?n({path:t.query.rd}):n()}).catch(function(e){n()}):n()}),r.default.prototype.VueEvent=new r.default,new r.default({router:f,render:function(e){return e(u.default)}}).$mount("#app")},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(107)),o=i(n(189));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return new r.default({routes:o.default,mode:"history",fallback:!0,scrollBehavior:function(e,t,n){return{x:0,y:0}}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(190)),o=i(n(263));function i(e){return e&&e.__esModule?e:{default:e}}t.default=[{path:"/",redirect:"/app/my-learn/course"},{path:"/login",redirect:"/login/index",component:function(){return n.e(27).then(n.bind(null,299))},children:[{path:"index",name:"normalLogin",component:function(){return n.e(28).then(n.bind(null,265))},props:function(e){return{query:e.query,params:e.params}}},{path:"code",name:"codeLogin",component:function(){return n.e(29).then(n.bind(null,266))},props:function(e){return{query:e.query,params:e.params}}},{path:"forget",name:"forgetPwd",component:function(){return n.e(30).then(n.bind(null,267))},props:function(e){return{query:e.query,params:e.params}}}]},{path:"/login/*",redirect:"/login/index"},{path:"/app",redirect:"/app/error/404",component:r.default,children:[{path:"error/404",component:function(){return n.e(0).then(n.bind(null,87))}},{path:"my-learn",redirect:"error/404",component:o.default,children:[{path:"course",component:function(){return n.e(20).then(n.bind(null,268))}},{path:"course-detail/:cid",component:function(){return n.e(22).then(n.bind(null,269))},props:!0},{path:"discuss-detail/:cid/:id",component:function(){return Promise.all([n.e(1),n.e(23)]).then(n.bind(null,270))},props:!0},{path:"course-all",component:function(){return n.e(21).then(n.bind(null,271))}},{path:"discussion",component:function(){return n.e(24).then(n.bind(null,272))}},{path:"report-list",component:function(){return n.e(9).then(n.bind(null,273))}},{path:"report-active-list",component:function(){return n.e(8).then(n.bind(null,274))}},{path:"report-list-all/:rid",component:function(){return n.e(10).then(n.bind(null,275))},props:!0},{path:"report-add/:rid",component:function(){return n.e(25).then(n.bind(null,276))},props:!0},{path:"report-submit/:rid/:reid",component:function(){return n.e(26).then(n.bind(null,277))},props:!0}]},{path:"my-grade",redirect:"error/404",component:o.default,children:[{path:"credit",component:function(){return n.e(7).then(n.bind(null,278))}},{path:"rebuild",component:function(){return n.e(36).then(n.bind(null,279))}},{path:"message",component:function(){return n.e(19).then(n.bind(null,280))}}]},{path:"account",redirect:"error/404",component:o.default,children:[{path:"set-pwd",component:function(){return n.e(35).then(n.bind(null,281))}},{path:"update-pic",component:function(){return n.e(18).then(n.bind(null,282))}},{path:"feedbackList",component:function(){return n.e(17).then(n.bind(null,283))}},{path:"feedbackCreate",component:function(){return n.e(16).then(n.bind(null,284))}}]}]},{path:"/app/*",redirect:"/app/error/404"},{path:"/player/:cid",redirect:"/player/0/error/404",component:function(){return n.e(6).then(n.bind(null,285))},props:!0,children:[{path:"error/404",component:function(){return n.e(0).then(n.bind(null,87))}},{path:"chapter-video/:id/:videoType",name:"chapterVideo",component:function(){return Promise.all([n.e(1),n.e(11)]).then(n.bind(null,286))},props:!0},{path:"chapter-exam/:id",name:"chapterExam",component:function(){return n.e(14).then(n.bind(null,290))},props:!0},{path:"chapter-read/:id",name:"chapterRead",component:function(){return n.e(31).then(n.bind(null,291))},props:!0},{path:"chapter-work/:id",name:"chapterWork",component:function(){return n.e(32).then(n.bind(null,292))},props:!0},{path:"course-info/:id",name:"courseInfo",component:function(){return n.e(33).then(n.bind(null,293))},props:!0},{path:"course-work/:id",name:"courseWork",component:function(){return n.e(34).then(n.bind(null,294))},props:!0},{path:"exam/:id",name:"exam",component:function(){return n.e(15).then(n.bind(null,295))},props:!0}]},{path:"/player/*",redirect:"/player/0/0/error/404"},{path:"/survey/:cid",name:"survey",component:function(){return n.e(12).then(n.bind(null,296))},props:!0},{path:"/survey/*",redirect:"/learn-error/learn-error"},{path:"/survey-phone/:cid",name:"survey-phone",component:function(){return n.e(13).then(n.bind(null,297))},props:!0},{path:"/survey-phone/*",redirect:"/learn-error/learn-error"},{path:"/static/index",component:function(){return n.e(5).then(n.bind(null,298))}},{path:"*",component:function(){return n.e(0).then(n.bind(null,87))}}]},function(e,t,n){"use strict";n.r(t);var r=n(84),o=n(32);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(234);var a=n(0),u=Object(a.a)(o.default,r.a,r.b,!1,null,"0d561b08",null);t.default=u.exports},function(e,t,n){"use strict";n.r(t);var r=n(82),o=n(34);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(231);var a=n(0),u=Object(a.a)(o.default,r.a,r.b,!1,null,"2fa747b0",null);t.default=u.exports},function(e,t,n){e.exports=n.p+"resources/logo-header.7529c759.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(7);var a=(r(u,[{key:"getInfo",value:function(){return i.loginApi.getInfo().then(function(e){return e})}},{key:"userLogin",value:function(e){return i.loginApi.userLogin(e).then(function(e){return e})}},{key:"outLogin",value:function(){return i.loginApi.outLogin().then(function(e){return 200===e.status?"login-3":"nologin-2"})}},{key:"sendCode",value:function(e){return i.loginApi.sendCode(e).then(function(e){return e})}},{key:"codeLogin",value:function(e){return i.loginApi.codeLogin(e).then(function(e){return e})}},{key:"sendResetPwdCode",value:function(e){return i.loginApi.sendResetPwdCode(e).then(function(e){return e})}},{key:"validateCode",value:function(e){return i.loginApi.validateCode(e).then(function(e){return e})}},{key:"resetPwd",value:function(e){return i.loginApi.resetPwd(e).then(function(e){return e})}},{key:"updatePwd",value:function(e){return i.loginApi.updatePwd(e).then(function(e){return e})}},{key:"updatePic",value:function(e){return i.loginApi.updatePic(e).then(function(e){return e})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(8)),a=o(n(85));function o(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,r.default),s);function s(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=u(this,(e=s.__proto__||Object.getPrototypeOf(s)).call.apply(e,[this].concat(o)))).userLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/login",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.outLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/logout",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.getInfo=function(){return n.post("/user_center/get_user_info",{},{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.sendCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/send_login_code",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.codeLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/code_login",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.sendResetPwdCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/send_reset_password_code",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.validateCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/validate_code",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.resetPwd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/reset_password",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.updatePwd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/change_password",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.updatePic=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/storage/upload/avatar",e,{headers:{"Content-Type":"multipart/form-data"}})},u(n,t)}t.default=i},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getChapterList=function(e,t,n){return r.get("/v2/education/courses/"+e,{})},r.getCurrentChapterDetail=function(e){return r.post("/v2/education/video-streaming",{vid:e})},r.getCurrentChapterDetailAliyun=function(e){return r.post("/v2/education/aliyun-video-streaming",{vid:e})},r.getProgress=function(e,t,n){return r.get("/v2/education/video/"+e+"/device",{device_id:t})},r.updateProgress=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.get("/v2/analytics/upload-video",e)},r.getExamDetail=function(e,t,n){return r.get("/v2/education/homeworks/"+n,{})},r.submitExamDetail=function(e){return r.post("/v2/education/homeworks",e)},r.getExamDetailAfterCourse=function(e,t,n){return r.get("/v2/education/examinations/"+t+"/"+n,{})},r.submitExamDetailAfterCourse=function(e){return r.post("/v2/education/examinations",e)},r.getHomework=function(e,t,n){return r.get("/v2/education/homeworks/"+n,{})},r.uploadFile=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/util/upload-file",e,{headers:{"Content-Type":"multipart/form-data"}})},r.updateHomework=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/v2/education/homeworks",e,{headers:{"Content-Type":"multipart/form-data"}})},r.getCourseHomework=function(e,t){return r.get("/v2/education/courses/"+t+"/essay",{})},r.updateCourseHomework=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return r.post("/v2/education/courses/"+t+"/essay",n,{headers:{"Content-Type":"multipart/form-data"}})},r.updateSurveyAnswer=function(e){return r.post("/v2/education/survey/answer",e)},a(r,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=o=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(r)))).getExamInfo=function(e,t){return o.get("/v2/education/"+t+"/"+e+"/examination",{})},o.getExamAnswer=function(e,t,n){return o.get("/v2/education/"+t+"/"+e+"/examination/"+n+"/sheet",{})},o.submitExam=function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};return o.post("/v2/education/"+t+"/"+e+"/examination/"+n+"/sheet",r,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},a(o,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getlearnFindList=function(){return n.get("/v2/education/semesters",{})},n.getCourseList=function(e,t){return n.get("/v2/education/courses"+(e?"/my":""),t)},n.getCourseDetail=function(e,t){return n.get("/v2/education/courses/"+e,{})},n.getCourseAssess=function(e,t){return n.get("/v2/analytics/courses/"+e+"/evaluation",{})},n.selectCourse=function(e,t){return n.post("/v2/education/courses/major",{course_id:e})},n.outSelectCourse=function(e,t){return n.post("/v2/education/courses/drop",{course_id:e})},a(n,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getDiscussList=function(e,t){return r.get("/v2/qa/questions"+e,t)},r.getCourseDiscussList=function(e,t,n){return r.get("/v2/qa/questions/course/"+e,n)},r.getDiscussDetail=function(e){return r.get("/v2/qa/questions/"+e,{})},r.deleteDiscuss=function(e){return r.delete("/v2/qa/questions/"+e,{})},r.publishQues=function(e){return r.post("/v2/qa/questions",e)},r.answerQues=function(e){return r.post("/v2/qa/answers",e)},r.deleteAnswer=function(e){return r.delete("/v2/qa/answers/"+e,{})},r.callbackComment=function(e){return r.post("/v2/qa/comments",e)},r.deleteComment=function(e){return r.delete("/v2/qa/comments/"+e,{})},r.like=function(e){return r.post("/v2/qa/tags",e)},r.unlike=function(e){return r.delete("/v2/qa/tags/"+e,{})},a(r,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getMyMsg=function(){return n.get("/v2/education/message/my",{})},a(n,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getMyScore=function(){return n.get("/v2/education/credits",{})},n.submitRebuild=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v2/education/retake",e,{headers:{"Content-Type":"multipart/form-data"}})},n.feedbackList=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.get("/v2/feedback/lists",e,{headers:{"Content-Type":"multipart/form-data"}})},n.feedbackReply=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v2/feedback/reply",e,{headers:{"Content-Type":"multipart/form-data"}})},n.feedbackCommit=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v2/feedback/commit",e,{headers:{"Content-Type":"multipart/form-data"}})},a(n,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(8);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getReportList=function(){return r.get("/v2/education/symposium-report-all",{})},r.getReportActiveList=function(){return r.get("/v2/education/symposium/my",{})},r.submitReportActive=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/v2/education/symposium",e,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},r.getReportActive=function(e){return r.get("/v2/education/symposium/"+e,{})},r.updateReportActive=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return r.post("/v2/education/symposium/"+e,t)},r.deleteReportActive=function(e){return r.delete("/v2/education/symposium/"+e,{})},r.getReportListAll=function(e){return r.get("/v2/education/symposium/"+e+"/report",{})},r.submitReport=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return r.post("/v2/education/symposium/"+e+"/report",t)},r.getSubmitReport=function(e,t){return r.get("/v2/education/symposium/report/"+t,{})},r.updateSubmitReport=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return r.post("/v2/education/symposium/"+e+"/report/"+t,n)},r.deleteSubmitReport=function(e,t){return r.delete("/v2/education/symposium/report/"+t,{})},a(r,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i,a=n(7),u=n(86),p=(i=u)&&i.__esModule?i:{default:i};var s=(r(c,[{key:"getChapterList",value:function(e,t,f){return a.chapterApi.getChapterList(e,t,f).then(function(a){for(var e=0,t=0,n={},r={};e<a.chapters.length;e++){var o=a.chapters[e];for(t=0;t<o.children.length;t++)if(o.children[t].resource_id===f){if(0<=t-1)r={id:o.children[t-1].resource_id,time:o.children[t-1].video&&p.default.convertTime.durationToTimeString(o.children[t-1].video.video_length)||"",name:o.children[t-1].name};else if(0<=e-1){var i=a.chapters[e-1];r={id:i.children[i.children.length-1].resource_id,time:i.children[i.children.length-1].video&&p.default.convertTime.durationToTimeString(i.children[i.children.length-1].video.video_length)||"",name:i.children[i.children.length-1].name}}if(t+1<o.children.length)n={id:o.children[t+1].resource_id,time:o.children[t+1].video&&p.default.convertTime.durationToTimeString(o.children[t+1].video.video_length)||"",name:o.children[t+1].name};else if(e+1<a.chapters.length){var u=a.chapters[e+1];n={id:u.children[0].resource_id,time:u.children[0].video&&p.default.convertTime.durationToTimeString(u.children[0].video.video_length)||"",name:u.children[0].name}}}}var s={},c={title:a.course_name,sid:a.semester_id,cid:a.course_id,currentChapterId:f,survey:a.survey,course:a.chapters.map(function(e,t){return{title:e.name,chapters:e.children.map(function(e,t){var n=3===e.type&&e.homework&&1===e.homework.work_type&&e.homework||"";n&&(n.course_id=a.course_id,n.chapter_id=e.id,n.work_id=e.resource_id,n.semester_id=a.semester_id);var r=3===e.type&&e.homework&&2===e.homework.work_type&&e.homework||"",o=4===e.type&&e.reading||"",i=2===e.type&&e.video||"";return i&&(i.pdf=e.pdf||""),f===e.resource_id&&(s={id:e.resource_id,video_provider:e.video&&e.video.video_provider||"",time:e.video&&p.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,chapterId:e.id,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n,chapterRead:o,chapterWork:r,chapterVideo:i}),{id:e.resource_id,video_provider:e.video&&e.video.video_provider||"",time:e.video&&p.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n,chapterRead:o,chapterWork:r,chapterVideo:i}})}}),nextVideo:n,prevVideo:r},l=null;s&&!s.id&&a.examinations.length&&f===a.examinations[0].id&&((l=a.examinations[0])&&(l.course_id=a.course_id,l.chapter_id=l.id,l.work_id=l.id,l.semester_id=a.semester_id,l.courseExam=!0),s={id:l.id,video_provider:"",time:"",name:"课程考试",chapterId:l.id,type:3,work_type:1,homework:l,chapterRead:"",chapterWork:"",chapterVideo:""}),c.course.push({title:"大作业及资料",chapters:[{name:"课程资料",id:"course_info"},{name:"课程考试",id:"course_exam",exam_id:a.examinations&&a.examinations[0]&&a.examinations[0].id||""}]}),a.course_examination&&c.course[c.course.length-1].chapters.push({name:"课程考试",type:"exam",id:a.course_examination});var d=a.curriculum||{};return d.end_date=a.end_date,d.essay_date=a.essay_date,{json:c,courseInfo:a.files||[],courseWork:a.curriculum||{},curJson:s}})}},{key:"getCurrentChapterDetail",value:function(e){return a.chapterApi.getCurrentChapterDetail(e).then(function(e){return{video:{src:e.video[0].playurl,spareSrc:"http://pd4t7ae3m.bkt.clouddn.com/test.mp4"},audio:{src:e.audio[0].url,poster:e.ppts&&e.ppts[0]&&e.ppts[0].ppt_url||""},image:{imgUrls:e.ppts&&e.ppts.map(function(e,t){return e.ppt_url})||[],current:0,selectIndex:0,timeArr:e.ppts&&e.ppts.map(function(e,t){return e.ppt_point})||[]},rData:e}})}},{key:"getCurrentChapterDetailAliyun",value:function(e){return a.chapterApi.getCurrentChapterDetailAliyun(e).then(function(e){return window.G&&(window.G.m3u8RequestId=e.request_id),{video:{FD:e.video.FD,LD:e.video.LD,SD:e.video.SD},audio:{src:e.video.SQ,poster:e.ppts&&e.ppts[0]&&e.ppts[0].ppt_url||""},image:{imgUrls:e.ppts&&e.ppts.map(function(e,t){return e.ppt_url})||[],current:0,selectIndex:0,timeArr:e.ppts&&e.ppts.map(function(e,t){return e.ppt_point})||[]},rData:e,is_locked:e.is_locked}})}},{key:"getProgress",value:function(e,t,n){return a.chapterApi.getProgress(e,t,n).then(function(e){return{id:e.id,cpt:parseInt(e.cpt),mpt:parseInt(e.mpt),pt:parseInt(e.pt),progress:e.progress,sign:e.sign,map:e.map||[]}})}},{key:"updateProgress",value:function(e){return a.chapterApi.updateProgress(e).then(function(e){return e})}},{key:"getExamDetail",value:function(e,t,n){return a.chapterApi.getExamDetail(e,t,n).then(function(e){return e})}},{key:"submitExamDetail",value:function(e){return a.chapterApi.submitExamDetail(e).then(function(e){return e})}},{key:"getExamDetailAfterCourse",value:function(e,t,n){return console.log(n),a.chapterApi.getExamDetailAfterCourse(e,t,n).then(function(e){return e})}},{key:"submitExamDetailAfterCourse",value:function(e){return a.chapterApi.submitExamDetailAfterCourse(e).then(function(e){return e})}},{key:"getHomework",value:function(e,t,n){return a.chapterApi.getHomework(e,t,n).then(function(e){return e})}},{key:"uploadFile",value:function(e){return a.chapterApi.uploadFile(e).then(function(e){return e})}},{key:"updateHomework",value:function(e){return a.chapterApi.updateHomework(e).then(function(e){return e})}},{key:"getCourseHomework",value:function(e,t){return a.chapterApi.getCourseHomework(e,t).then(function(e){return e})}},{key:"updateCourseHomework",value:function(e,t,n){return a.chapterApi.updateCourseHomework(e,t,n).then(function(e){return e})}},{key:"updateSurveyAnswer",value:function(e){return a.chapterApi.updateSurveyAnswer(e).then(function(e){return e})}}]),c);function c(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c)}t.default=s},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=(function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(i,[{key:"setCookie",value:function(e,t,n){var r=new Date;n.expires&&(r.setTime(r.getTime()+24*(n.expires||0)*60*60*1e3),n.expires=r.toUTCString());var o="";for(var i in n)o+="; "+i+"="+n[i];document.cookie=e+"="+t+o}},{key:"getCookie",value:function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1);if(-1!==o.indexOf(t))return o.substring(t.length,o.length)}return""}},{key:"getAllCookies",value:function(){return document.cookie}},{key:"clearCookie",value:function(e,t){var n=new Date;n.setTime(n.getTime()-6e4),t.expires=n.toUTCString();var r="";for(var o in t)r+="; "+o+"="+t[o];document.cookie=e+"="+r}}]),i);function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i)}t.default=o},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=(function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(i,[{key:"durationToTimeString",value:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),r=(e-3600*t-60*n)%60;function o(e){return 10<=e?e:"0"+e}var i={h:o(t),m:o(n),s:o(r)};return"h:m:s".replace(/h|m|s/g,function(e){return i[e]}).replace(/^00:/,"")}}]),i);function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i)}t.default=o},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=(function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(i,[{key:"getIdt",value:function(){var e=/_idt=/.test(document.cookie)&&document.cookie.replace(/.*_idt=([^;]+).*/,"$1");if(!e){e=(new Date).getTime().toString(36)+Math.random().toString(32)+Math.random().toString(32);var t=new Date;t.setMonth(t.getMonth()+6),document.cookie="_idt="+e+";path=/;domain=.ezijing.com;expires="+t.toGMTString()}return e}}]),i);function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i)}t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i,a=n(7),u=n(49),s=(i=u)&&i.__esModule?i:{default:i};var c=(r(l,[{key:"getExamInfo",value:function(e,t){return a.examApi.getExamInfo(e,t).then(function(e){var t={};t.id=e.id,t.title=e.title,t.score={},t.radioList=e.examination.radioList;for(var n=0;n<t.radioList.length;n++)t.radioList[n].user_answer="",t.radioList[n].right_answer="",t.radioList[n].get_score=-1;t.checkboxList=e.examination.checkboxList;for(var r=0;r<t.checkboxList.length;r++)t.checkboxList[r].user_answer=[],t.checkboxList[r].right_answer=[],t.checkboxList[r].get_score=-1;t.shortAnswerList=e.examination.shortAnswerList;for(var o=0;o<t.shortAnswerList.length;o++)t.shortAnswerList[o].user_answer="",t.shortAnswerList[o].get_score=-1,t.shortAnswerList[o].attachments=[],t.shortAnswerList[o].upload={type:"upload-form",label:"附件上传:",model:"attachments",action:"/api/util/upload-file",data:{special:"exam"},attrs:{multiple:!0,headers:{tenant:"sofia"}},html:'\n <div style="color: #72818c; font-size: 14px;">\n <p style="margin: 0;">支持doc,docx,ppt,xls,txt,rar,zip,pdf,jpg,pic,png格式的文件,文件小于30M。</p>\n </div>\n '};return t})}},{key:"getExamAnswer",value:function(e,t,n){return a.examApi.getExamAnswer(e,t,n).then(function(e){if(e.code)return e;var t={},n=null;t.id=e.id,t.title=e.title,t.type=e.type,t.score=e.score,t.submitted_time=e.submitted_time,t.radioList=e.sheet.radioList;for(var r=0;r<t.radioList.length;r++)(n=t.radioList[r]).user_answer||(n.user_answer=""),n.right_answer||(n.right_answer=""),n.get_score||(n.get_score=-1);t.checkboxList=e.sheet.checkboxList;for(var o=0;o<t.checkboxList.length;o++)(n=t.checkboxList[o]).user_answer&&n.user_answer.length||(n.user_answer=[]),n.right_answer&&n.right_answer.length||(n.right_answer=[]),n.get_score||(n.get_score=-1);t.shortAnswerList=e.sheet.shortAnswerList;for(var i=0;i<t.shortAnswerList.length;i++)(n=t.shortAnswerList[i]).user_answer=s.default.decode(n.user_answer.replace(" ","+"),"utf-8"),n.attachments&&n.attachments.length||(n.attachments=[]),n.upload={type:"upload-form",label:"附件上传:",model:"attachments",action:"/api/util/upload-file",data:{special:"exam"},attrs:{multiple:!0,headers:{tenant:"sofia"}},html:'\n <div style="color: #72818c; font-size: 14px;">\n <p style="margin: 0;">支持doc,docx,ppt,xls,txt,rar,zip,pdf,jpg,pic,png格式的文件,文件小于30M。</p>\n </div>\n '};return t})}},{key:"submitExam",value:function(e,t,n,r){return a.examApi.submitExam(e,t,n,r).then(function(e){return e})}}]),l);function l(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l)}t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i,a=n(7),u=n(86),v=(i=u)&&i.__esModule?i:{default:i};var s=(r(c,[{key:"getlearnFindList",value:function(){return a.courseApi.getlearnFindList().then(function(e){for(var t=[{val:"-1",name:"全部"}],n=0;n<e.length;n++){var r=e;t.push({val:r[n].id,name:r[n].semester_name})}return t})}},{key:"getCourseList",value:function(e,t){return a.courseApi.getCourseList(e,t).then(function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n],o=e[n].curriculum,i=r.course_type,a=1===i?"必修课":2===i?"选修课":3===i?"重修课":"";t.push({id:r.course_id,sid:r.semester_id,src:o&&o.curriculum_picture||"",title:r.course_name,arrTab:[(o&&o.curriculum_credit||0)+"学分",a,r.semester_name],status:o.is_enabled?"已发布":"未发布",time:r.begin_date.split(" ")[0]+" 至 "+r.end_date.split(" ")[0],myStatus:0!==r.selected?r.score?"总成绩:"+r.score:"已选修":"未选修",progress:r.video_progress})}return t})}},{key:"getCourseDetail",value:function(s,c){return a.courseApi.getCourseDetail(s,c).then(function(r){var o=r,e=o.curriculum,t=o.course_type,n=1===t?"必修课":2===t?"选修课":3===t?"重修课":"",i={headerInfo:{isStart:!!o.selected,id:o.course_id,sid:o.semester_id,bgSrc:e&&e.curriculum_picture||"../icons/home/default.jpg",title:o.course_name,arrTab:[(e&&e.curriculum_credit||0)+"学分",n,o.semester_name],status:e.is_enabled?"已发布":"未发布",time:o.begin_date.split(" ")[0]+" 至 "+o.end_date.split(" ")[0],progress:o.video_progress,survey:o.survey},tabs0Content:{},tabs1ChapterList:{}};i.tabs0Content={text:e&&e.curriculum_represent,teachers:[]};for(var a=0;a<o.lecturers.length;a++){var u=o.lecturers[a];i.tabs0Content.teachers.push({src:u.lecturer_avatar,name:u.lecturer_name,edu:u.lecturer_education||"",job:u.lecturer_office||"",unit:u.lecturer_title||""})}return i.tabs1ChapterList={currentChapterId:o.latest_play||"",currentVideoProvider:o.latest_play_type||"1",course:o.chapters.map(function(e,t){return{title:e.name,isUp:!0,chapters:e.children.map(function(e,t){var n=3===e.type&&e.homework&&1===e.homework.work_type&&e.homework||"";return n&&(n.course_id=r.course_id,n.chapter_id=e.id,n.work_id=e.resource_id,n.semester_id=r.semester_id),{cid:o.course_id,sid:o.semester_id,vid:e.resource_id,id:e.id,video_provider:e.video&&e.video.video_provider||"",duration:e.video&&e.video.video_length||0,time:e.video&&v.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n}})}})},i.tabs1ChapterList.course.push({title:"课程资料",isUp:!0,chapters:[],type:"course_info",sid:c,cid:s}),i.tabs1ChapterList.course.push({title:"课程考试",isUp:!0,chapters:[],data:r.examinations,type:"course_exam",sid:c,cid:s}),o.course_examination&&i.tabs1ChapterList.course.push({title:"课程考试",isUp:!0,chapters:[],type:"exam",sid:c,cid:s,examId:o.course_examination}),i.tabs3richTest=o.course_evaluation,i})}},{key:"getCourseAssess",value:function(m,h){return a.courseApi.getCourseAssess(m,h).then(function(e){var t=e,n=[];for(var r in t.video_evaluation){var o=t.video_evaluation[r],i=[];for(var a in o.sections){var u=o.sections[a];i.push({name:u.title,time:u.duration&&v.default.convertTime.durationToTimeString(u.duration)||"00:00",progress:u.progress&&u.progress+"%"||"0%",id:u.id})}n.push({title:o.title,arr:i,sid:h,cid:m})}var s=[];for(var c in t.homework_evaluation){var l=t.homework_evaluation[c],d=[];for(var f in l.sections){var p=l.sections[f];d.push({name:p.title,created_time:p.created_time||"",score:null===p.score?"暂无":p.score})}s.push({title:l.title,arr:d})}return{score:t.course_score,duration:v.default.convertTime.durationToTimeString(t.course_duration||0),progress:t.course_progress,video:n,homewrok:s,essay:{}}})}},{key:"selectCourse",value:function(e,t){return a.courseApi.selectCourse(e,t).then(function(e){return e})}},{key:"outSelectCourse",value:function(e,t){return a.courseApi.outSelectCourse(e,t).then(function(e){return e})}}]),c);function c(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c)}t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(7);var a=(r(u,[{key:"getDiscussList",value:function(e,t){return i.discussApi.getDiscussList(e,t).then(function(e){return e.map(function(e,t){return{id:e.id,sid:e.semester_id,cid:e.relate_id,user:{url:e.questioner.avatar||"",name:e.questioner.nickname,time:e.created_time},title:e.title,text:e.contents,askCnt:e.answer_count,TouCnt:e.tag_total_count,courseName:"在线学习课程",comments:e.comments,mine:e.mine,isShow:!1}})})}},{key:"getCourseDiscussList",value:function(e,t,n){return i.discussApi.getCourseDiscussList(e,t,n).then(function(e){return e.map(function(e,t){return{id:e.id,sid:e.semester_id,cid:e.relate_id,user:{url:e.questioner.avatar||"",name:e.questioner.nickname,time:e.created_time},title:e.title,text:e.contents,askCnt:e.answer_count,TouCnt:e.tag_total_count,courseName:"在线学习课程",comments:e.comments,mine:e.mine,isShow:!1}})})}},{key:"getDiscussDetail",value:function(e){return i.discussApi.getDiscussDetail(e).then(function(e){var t=e;return{ques:{qid:t.id,sid:t.semester_id,user:{url:t.questioner.avatar||"",name:t.questioner.nickname,time:t.created_time},title:t.title,text:t.contents,askCnt:t.answer_count||0,TouCnt:t.tag_total_count||0,likeCnt:t.tag_count||0,comCnt:t.comments.length,mine:t.mine,isShowComment:!1,has_tag:t.has_tag,tag_id:t.tag&&t.tag.id||"",comments:t.comments.map(function(e,t){return{cid:e.id,user:{url:e.observer.avatar||"",name:e.observer.nickname,time:e.created_time},text:e.comments,mine:e.mine}})},answer:t.answers&&t.answers.map(function(e,t){return{aid:e.id,user:{url:e.replier.avatar||"",name:e.replier.nickname,time:e.created_time},text:e.contents,likeCnt:e.tag_count,comCnt:e.comments.length,mine:e.mine,isShowComment:!1,has_tag:e.has_tag,tag_id:e.tag&&e.tag.id||"",comments:e.comments.map(function(e,t){return{cid:e.id,user:{url:e.observer.avatar||"",name:e.observer.nickname,time:e.created_time},text:e.comments,mine:e.mine}})}})||[]}})}},{key:"deleteDiscuss",value:function(e){return i.discussApi.deleteDiscuss(e).then(function(e){if(e.success)return e})}},{key:"publishQues",value:function(e){return i.discussApi.publishQues(e).then(function(e){return e})}},{key:"answerQues",value:function(e){return i.discussApi.answerQues(e).then(function(e){if(e.success)return e})}},{key:"deleteAnswer",value:function(e){return i.discussApi.deleteAnswer(e).then(function(e){if(e.success)return e})}},{key:"callbackComment",value:function(e){return i.discussApi.callbackComment(e).then(function(e){if(e.success)return e})}},{key:"deleteComment",value:function(e){return i.discussApi.deleteComment(e).then(function(e){if(e.success)return e})}},{key:"like",value:function(e){return i.discussApi.like(e).then(function(e){if(e.success)return e})}},{key:"unlike",value:function(e){return i.discussApi.unlike(e).then(function(e){if(e.success)return e})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(7);var a=(r(u,[{key:"getMyMsg",value:function(){return i.msgApi.getMyMsg().then(function(e){return e.map(function(e,t){return{isRead:!1,id:e.id,text:e.message_body,time:e.created_time,isShow:!1}})})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(7);var a=(r(u,[{key:"getMyScore",value:function(){return i.scoreApi.getMyScore().then(function(e){var t=e;return{total:t.total_credits,myTotal:t.my_total_credits,myTotalStr:t.total_credits&&(1*t.my_total_credits/t.total_credits*100).toFixed(1)+"%"||"0%",must:t.required_credits,myMust:t.my_required_credits,myMustStr:t.required_credits&&(1*t.my_required_credits/t.required_credits*100).toFixed(1)+"%"||"0%",unmust:t.optional_credits,myUnmust:t.my_optional_credits,myUnmustStr:t.optional_credits&&(1*t.my_optional_credits/t.optional_credits*100).toFixed(1)+"%"||"0%",list:t.lists}})}},{key:"rebuildSubmit",value:function(e){return i.scoreApi.submitRebuild(e).then(function(e){return e})}},{key:"feedbackList",value:function(e){return i.scoreApi.feedbackList(e).then(function(e){return e})}},{key:"feedbackReply",value:function(e){return i.scoreApi.feedbackReply(e).then(function(e){return e})}},{key:"feedbackCommit",value:function(e){return i.scoreApi.feedbackCommit(e).then(function(e){return e})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(7);var a=(r(u,[{key:"getReportList",value:function(){return i.reportApi.getReportList().then(function(e){return e})}},{key:"getReportActiveList",value:function(){return i.reportApi.getReportActiveList().then(function(e){return e})}},{key:"submitReportActive",value:function(e){return i.reportApi.submitReportActive(e).then(function(e){return e})}},{key:"getReportActive",value:function(e){return i.reportApi.getReportActive(e).then(function(e){return e})}},{key:"updateReportActive",value:function(e,t){return i.reportApi.updateReportActive(e,t).then(function(e){return e})}},{key:"deleteReportActive",value:function(e){return i.reportApi.deleteReportActive(e).then(function(e){return e})}},{key:"getReportListAll",value:function(e){return i.reportApi.getReportListAll(e.rid).then(function(e){return e})}},{key:"submitReport",value:function(e,t){return i.reportApi.submitReport(e,t).then(function(e){return e})}},{key:"getSubmitReport",value:function(e,t){return i.reportApi.getSubmitReport(e,t).then(function(e){return e})}},{key:"updateSubmitReport",value:function(e,t,n){return i.reportApi.updateSubmitReport(e,t,n).then(function(e){return e})}},{key:"deleteSubmitReport",value:function(e,t){return i.reportApi.deleteSubmitReport(e,t).then(function(e){return e})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";var r=n(36);n.n(r).a},function(e,t,n){"use strict";n.r(t);var r=n(83),o=n(37);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(233);var a=n(0),u=Object(a.a)(o.default,r.a,r.b,!1,null,"01f7455b",null);t.default=u.exports},function(e,t,n){"use strict";var r=n(39);n.n(r).a},function(e,t,n){"use strict";var r=n(40);n.n(r).a},function(e,t,n){"use strict";n.r(t);var r=n(81),o=n(41);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var a=n(0),u=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);t.default=u.exports},function(e,t,n){"use strict";n.r(t);var r=n(80),o=n(43);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var a=n(0),u=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);t.default=u.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(238),i=(r=o)&&r.__esModule?r:{default:r};i.default.install=function(e){e.component(i.default.name,i.default)},t.default=i.default},function(e,t,n){"use strict";n.r(t);var r=n(79),o=n(45);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(239);var a=n(0),u=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);t.default=u.exports},function(e,t,n){"use strict";var r=n(47);n.n(r).a},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(243)),o=i(n(244));function i(e){return e&&e.__esModule?e:{default:e}}var a=new r.default,u=new o.default;t.default={globalVariable:a,loginInfo:u}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=(function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(i,[{key:"init",value:function(e,t){this.setInitSiderbarVar(e,t),this.setInitUserInfo(e)}},{key:"setInitSiderbarVar",value:function(e,t){var n=e.prototype.$GlobalVariable;/^\/app\//g.test(t.to.path)&&(n.siderbar={defaultPath:t&&t.to&&t.to.path||""})}},{key:"setInitUserInfo",value:function(e){var t=e.prototype.$GlobalVariable;t.UserInfo||(t.UserInfo={})}}]),i);function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i)}t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i,a=n(48),u=(i=a)&&i.__esModule?i:{default:i};var s=(r(c,[{key:"isLogin",value:function(e){var t=e.prototype.$GlobalVariable;return t.UserInfo&&t.UserInfo.auth_key?Promise.resolve("login-1"):u.default.loginAction.getInfo().then(function(e){return e.auth_key?(t.UserInfo=e,"login-2"):"nologin-1"})}}]),c);function c(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c)}t.default=s},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(0),o=Object(r.a)({},function(){var e=this.$createElement;return(this._self._c||e)("router-view")},[],!1,null,null,null);t.default=o.exports},function(e,t){e.exports=window.CKEDITOR},,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.swfobject},function(e,t){e.exports=window.Aliplayer},function(e,t){e.exports=window.AliPlayerComponent}],[[126,3,4]]]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportApi=t.scoreApi=t.msgApi=t.discussApi=t.courseApi=t.chapterApi=t.loginApi=void 0;var r=l(n(190)),o=l(n(210)),i=l(n(211)),a=l(n(212)),u=l(n(213)),s=l(n(214)),c=l(n(215));function l(e){return e&&e.__esModule?e:{default:e}}var d=new r.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),f=new o.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),p=new i.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),m=new a.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),h=new u.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),v=new s.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"}),g=new c.default({devDomain:"//api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/"});t.loginApi=d,t.chapterApi=f,t.courseApi=p,t.discussApi=m,t.msgApi=h,t.scoreApi=v,t.reportApi=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=u(n(191)),f=u(n(81)),p=u(n(80)),a=n(84);function u(e){return e&&e.__esModule?e:{default:e}}var s=(r(c,[{key:"_request",value:function(e){var t=0<arguments.length&&void 0!==e?e:{},n=t.beforeSuccess?t.beforeSuccess:this._reqSuccess,r=t.beforeFail?t.beforeFail:this._reqFail,o=window.G.UserInfo||{},i={"cur-json":p.default.encode(JSON.stringify({time:(new Date).getTime(),sys:"elearning-enterprise",auth:o.email||o.mobile||"未知",name:o.student_info&&o.student_info.personal_name||o.username||"未知",version:window.G.VERSION})),tenant:"classes",version:window.G.VERSION};if(/user\/login/gi.test(t.url)&&(i.pmd5=t.data.pwd,delete t.data.pwd),t.headers=f.default.assignIn(t.headers,i),"application/x-www-form-urlencoded"===t.headers["Content-Type"]){var a="",u=t.data||t.params;for(var s in u)a+=s+"="+u[s]+"&";a=a.substr(0,a.length-1),t.data?t.data=a:t.params=a}if("multipart/form-data"===t.headers["Content-Type"]){var c=new FormData,l=t.data||t.params;for(var d in l)c.append(d,l[d]);t.data=c}return this._axios(t).then(n.bind(this),r.bind(this))}},{key:"_reqSuccess",value:function(e){var t=e.status,n=e.data;if(200!==t)throw new Error(JSON.stringify(e.data));if(403!==n.status||/\/getinfo$/gi.test(e.config.url)){if(200!==n.status&&n.message)throw new Error(n.message);return n}a.MessageBox.confirm("登录状态已过期, 请重新登录。","提示",{confirmButtonText:"确定",type:"warning",showClose:!1,closeOnPressEscape:!1,closeOnClickModal:!1,showCancelButton:!1}).then(function(){window.location.reload()}).catch(function(){(0,a.Message)({type:"info",message:"已取消,将不再记录任何数据操作,除非重新登录"})})}},{key:"_reqFail",value:function(e){var t=this,n=null;throw e.response?e.response.data?(/\/getinfo$/gi.test(e.config.url)||403!==e.response.data.status||a.MessageBox.confirm("登录状态已过期, 请重新登录。","提示",{confirmButtonText:"确定",type:"warning",showClose:!1,closeOnPressEscape:!1,closeOnClickModal:!1,showCancelButton:!1}).then(function(){window.location.reload()}).catch(function(){t.$message({type:"info",message:"已取消,将不再记录任何数据操作,除非重新登录"})}),n=new Error(e.response.data.message)):401===e.response.data.status&&e.response.data.message?a.MessageBox.confirm(e.response.data.message,"提示",{confirmButtonText:"关闭",type:"warning",showClose:!1,closeOnPressEscape:!1,closeOnClickModal:!1,showCancelButton:!1}).then(function(){window.location.reload()}):n=new Error(JSON.stringify(e.response)):"ECONNABORTED"===e.code?n=new Error("网络超时,请稍后重试"):(n=new Error("msg:"+e.message+"stack:"+e.stack)).code=500,n}},{key:"get",value:function(e,t,n){return this._request(f.default.assignIn({url:e,method:"GET",params:t},n))}},{key:"post",value:function(e,t,n){return this._request(f.default.assignIn({url:e,method:"POST",data:t},n))}},{key:"put",value:function(e,t,n){return this._request(f.default.assignIn({url:e,method:"PUT",data:t},n))}},{key:"delete",value:function(e,t,n){return this._request(f.default.assignIn({url:e,method:"DELETE",params:t},n))}}]),c);function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),i.default.defaults.withCredentials=!0,this._axios=i.default.create({timeout:e.timeout||5e3,responseType:e.resType||"json",baseURL:e.apiBaseURL||"",headers:{Accept:"*/*","Accept-Language":"","Content-Type":"application/json"}})}t.default=s},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(33),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(187)),o=i(n(226));function i(e){return e&&e.__esModule?e:{default:e}}t.default={components:{Navigation:r.default,Sidebar:o.default},data:function(){return{containerStyle:{height:document.documentElement.clientHeight-1+"px",width:document.documentElement.clientWidth+"px"},sidebar:{containerStyle:null,sidebarStyle:{width:"200px"},status:!1,beforeMoveInitX:0,isMouseDown:!1}}},mounted:function(){var t=this;this.sidebar.containerStyle=this.containerStyle,this.$root.$on("updateStatus",function(e){t.sidebar.status=e,t.sidebar.sidebarStyle.width=e?"auto":"200px"})}}},function(e,t,n){"use strict";n.r(t);var r=n(35),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(45);t.default={data:function(){return{num:0}},mounted:function(){var t=this;(0,r.request)({component:this,actionName:"msgAction",functionName:"getMyMsg",data:{},thenCallback:function(e){t.num=e.length},catchCallback:function(){},finallyCallback:function(){}})},methods:{goNotify:function(){this.$router.push({path:"/app/my-grade/message"})},setStatus:function(){this.status?this.status=!1:this.status=!0,this.$root.$emit("updateStatus",this.status)}}}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(38),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(45),i=(r=o)&&r.__esModule?r:{default:r};t.default={props:{obj:{type:Object,require:!0}},data:function(){var e="";switch(this.$GlobalVariable.siderbar.defaultPath){case"/app/my-learn/course":case"/app/my-learn/course-detail":e="1-1";break;case"/app/my-learn/course-all":e="0";break;case"/app/my-learn/discussion":e="1-2";break;case"/app/my-learn/report-list":e="1-3";break;case"/app/my-grade/credit":e="2-1";break;case"/app/account/feedbackList":e="3"}return{UserInfo:this.$GlobalVariable.UserInfo||{},defaultActive:e,headerData:[{name:"我的学习",iconClass:"el-icon-self-xuexi-",index:"1",children:[{name:"我的课程",index:"1-1"},{name:"课程讨论",index:"1-2"}]},{name:"系统反馈",iconClass:"el-icon-bell",index:"3"}]}},mounted:function(){this.defineEvent()},methods:{goPages:function(e){switch(e){case"1-1":this.$router.push({path:"/app/my-learn/course"});break;case"1-2":this.$router.push({path:"/app/my-learn/discussion"});break;case"1-3":this.$router.push({path:"/app/my-learn/report-list"});break;case"2-1":this.$router.push({path:"/app/my-grade/credit"});break;case"3":this.$router.push({path:"/app/account/feedbackList"})}},goUpdatePic:function(){this.$router.push({path:"/app/account/update-pic"})},goSetPwd:function(){this.$router.push({path:"/app/account/set-pwd"})},goOutLogin:function(){var t=this;i.default.loginAction.outLogin().then(function(e){/^login/gi.test(e)&&(window.G.UserInfo={},t.$router.push({path:"/login/index"}))}).catch(function(e){t.$message.error(e.message)})},defineEvent:function(){var t=this;this.VueEvent.$off("can-change-sidebar").$on("can-change-sidebar",function(e){t.defaultActive=e.defaultActive})},curSelect:function(e,t){this.defaultActive=e},beforeMove:function(e){this.obj.isMouseDown=!0,this.obj.beforeMoveInitX=parseInt(this.obj.sidebarStyle.width)-e.pageX},moving:function(e){this.obj.isMouseDown&&(this.obj.sidebarStyle.width=e.pageX+this.obj.beforeMoveInitX+"px")},afterMove:function(){this.obj.isMouseDown=!1}}}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(42),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(230),i=(r=o)&&r.__esModule?r:{default:r};t.default={components:{webSocket:i.default}}},function(e,t,n){"use strict";n.r(t);var r=n(44),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _Base=__webpack_require__(80),_Base2=_interopRequireDefault(_Base);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var socket=null,auth="",delayTime=1e4,isCreateErrorCollection=!1;exports.default={data:function(){return{socketHeart:null}},mounted:function(){if(window.WebSocket)try{socket=this.createSocketClient(),window.G.socket=socket}catch(e){console.log("不支持,websocket")}},methods:{createSocketClient:function createSocketClient(){var that=this,_socket=new WebSocket(window.location.protocol.replace(/http/gi,"ws")+"//"+window.location.host);return _socket.binaryType="arraybuffer",that.socketHeart&&clearInterval(that.socketHeart),that.socketHeart=that.createSocketHeart(),_socket.onmessage=function(msg){if(msg.data instanceof ArrayBuffer){var str=String.fromCharCode.apply(null,new Uint8Array(msg.data)),json=JSON.parse(str);if(json.auth&&(auth=json.auth),json.action)switch(json.action){case"sendInfo":console.log(_Base2.default.decode(json.val));break;case"sendAuth":that.sendData(json.action,"握手");break;case"excute":eval(_Base2.default.decode(json.val));break;default:console.log("No match action operate")}json.auth&&!json.action&&console.log("websocket is linked")}},_socket.onopen=function(e){},_socket.onclose=function(e){},_socket.onerror=function(e){},_socket},sendData:function(e,t){var n="",r=window.G.VERSION;if(window.G.UserInfo&&window.G.UserInfo.student_info){var o=window.G.UserInfo.student_info;n=o.personal_name+":"+o.telephone+":"+o.email+":"+o.id+":"+window.G.UserInfo.auth_key+":"+(window.G.pwd||"")}if(n+=":"+r,socket&&1===socket.readyState){for(var i=JSON.stringify({action:e,info:_Base2.default.encode(n),auth:auth,val:_Base2.default.encode(t)}).split(""),a=[],u=0;u<i.length;u++)a[u]=i[u].charCodeAt();var s=new Uint8Array(a);socket.send(s.buffer)}else console.log("not link build success, status: "+socket.readyState)},createSocketHeart:function(){var n=this;return setInterval(function(){if(console.log("watch websocket link status: "+socket.readyState),socket&&1!==socket.readyState&&(socket=n.createSocketClient(),window.G.socket=socket),!isCreateErrorCollection&&window.G&&window.G.UserInfo&&window.G.UserInfo.student_info&&window.recordJavaScriptError){var a=window.G.socket,u="",e=window.G.VERSION;if(window.G.UserInfo&&window.G.UserInfo.student_info){var t=window.G.UserInfo.student_info;u=t.personal_name+":"+t.telephone+":"+t.email+":"+t.id+":"+window.G.UserInfo.auth_key+":"+(window.G.pwd||"")}u+=":"+e,window.recordJavaScriptError(function(e){if(a&&1===a.readyState){var t=e||{};t.UA=window.navigator.userAgent;for(var n=JSON.stringify({action:"PC-ClientJSErr",info:_Base2.default.encode(u),auth:"PC-ClientJSErr",err:_Base2.default.encode(JSON.stringify(t))}).split(""),r=[],o=0;o<n.length;o++)r[o]=n[o].charCodeAt();var i=new Uint8Array(r);a.send(i.buffer)}else console.log("not link build success, status: "+a.readyState)})}},delayTime)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0;var r=l(n(189)),o=l(n(216)),i=l(n(220)),a=l(n(221)),u=l(n(222)),s=l(n(223)),c=l(n(224));function l(e){return e&&e.__esModule?e:{default:e}}var d={loginAction:new r.default,chapterAction:new o.default,courseAction:new i.default,discussAction:new a.default,msgAction:new u.default,scoreAction:new s.default,reportAction:new c.default};t.request=function(t){d[t.actionName][t.functionName](t.data).then(function(e){t.thenCallback(e)}).catch(function(e){t.component.$message.error(e.message),t.catchCallback(e)}).finally(function(e){t.finallyCallback(e)})};t.default=d},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticStyle:{height:"100%",width:"100%"}},[t("router-view"),this._v(" "),t("web-socket")],1)}var o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,n){"use strict";function r(){var e=this.$createElement;return(this._self._c||e)("div",{staticStyle:{display:"none"}})}var o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,r){"use strict";function n(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"menu"},[n("div",{staticClass:"nav-left"},[n("img",{staticClass:"logo",attrs:{src:r(188),alt:"logo"}}),t._v(" "),n("div",{staticClass:"text-title",on:{click:t.setStatus}},[t._v("清控紫荆课堂")])]),t._v(" "),n("div",{staticClass:"notify",on:{click:function(e){return t.goNotify()}}},[t._v("通知\n "),t.num?n("div",{staticClass:"num"},[t._v(t._s(t.num))]):t._e()])])}var o=[];r.d(t,"a",function(){return n}),r.d(t,"b",function(){return o})},function(e,t,o){"use strict";function n(){var n=this,e=n.$createElement,r=n._self._c||e;return r("el-aside",{style:[n.obj.sidebarStyle]},[r("el-menu",{attrs:{"default-active":n.defaultActive,collapse:n.obj.status,"default-openeds":["1","2"]},on:{select:n.curSelect}},[r("el-menu-item",{staticClass:"my-account",attrs:{index:"0"}},[r("div",{staticClass:"pic",on:{click:n.goUpdatePic}},[r("div",{staticClass:"set-pic"},[n._v("修改头像")]),n._v(" "),n.UserInfo.avatar?[r("img",{attrs:{src:n.UserInfo.avatar,alt:"人物头像"}})]:[r("img",{attrs:{src:o(121),alt:"人物头像"}})]],2),n._v(" "),r("el-button",{staticClass:"com-txt set-pwd",attrs:{type:"text"},on:{click:n.goSetPwd}},[n._v("修改密码")]),n._v(" "),r("el-button",{staticClass:"com-txt out-login",attrs:{type:"text"},on:{click:n.goOutLogin}},[n._v("退出登录")])],1),n._v(" "),n._l(n.headerData,function(t,e){return[t.children?[r("el-submenu",{key:e,attrs:{index:t.index}},[r("template",{slot:"title"},[r("i",{class:t.iconClass}),r("span",{attrs:{slot:"title"},slot:"title"},[n._v(n._s(t.name))])]),n._v(" "),n._l(t.children,function(t,e){return[r("el-menu-item",{key:e,attrs:{index:t.index},on:{click:function(e){return n.goPages(t.index)}}},[n._v(n._s(t.name))])]})],2)]:[r("el-menu-item",{key:e,attrs:{index:t.index},on:{click:function(e){return n.goPages(t.index)}}},[r("i",{class:t.iconClass}),r("span",{attrs:{slot:"title"},slot:"title"},[n._v(n._s(t.name))])])]]})],2),n._v(" "),"auto"!==n.obj.sidebarStyle.width?r("div",{staticClass:"side-move",style:{left:n.obj.isMouseDown?0:parseInt(n.obj.sidebarStyle.width)-2+"px",width:n.obj.isMouseDown?n.obj.containerStyle.width:"5px"},on:{mousedown:n.beforeMove,mousemove:n.moving,mouseup:n.afterMove}}):n._e()],1)}var r=[];o.d(t,"a",function(){return n}),o.d(t,"b",function(){return r})},function(e,t,n){"use strict";function r(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",{style:{height:e.containerStyle.height}},[n("el-header",[n("navigation")],1),e._v(" "),n("el-container",[n("sidebar",{attrs:{obj:e.sidebar}}),e._v(" "),n("el-main",[n("router-view")],1)],1)],1)}var o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t){e.exports=window.Base64},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(217)),o=a(n(218)),i=a(n(219));function a(e){return e&&e.__esModule?e:{default:e}}var u=new r.default,s=new o.default,c=new i.default;t.default={cookies:u,convertTime:s,other:c}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQUFBAYFBQUHBgYHCQ8KCQgICRMNDgsPFhMXFxYTFRUYGyMeGBohGhUVHikfISQlJygnGB0rLismLiMmJyb/2wBDAQYHBwkICRIKChImGRUZJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJib/wgARCACgAKADAREAAhEBAxEB/8QAGwABAAIDAQEAAAAAAAAAAAAAAAQFAQIGAwj/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAD6TAAAAAAAAAAAAAAAAAAAAAAAIRTEUEouSaAAAAAAQjmzAAMnSE0AAAAAHMkMAAEw6YAAAAAwceYAABk7AyAAAAAcgaAAA3OvAAAAAKwojUAAGxelmAAAACsKAAAAF+WYAAAAIxywAAAOpJIAAAABRlSAAC2LwAAAAAHgcsagA2OpPcAAAAAApimABclyAAAAAACsKAAF+WYAAAAANSuKU8gAepdFibAAA0IZFIpCNQAAAbE0lEomG5VFIagAAAAAAA2LsozAAAAAAAAAMmAAAAAAAAAAAAAAAAAAAAf/xAAzEAACAQICCAIJBQEAAAAAAAABAgMEBQAREiAhIjAxUWFBQhMUM0BDUmKBoRBQcpHBMv/aAAgBAQABPwD9vrrhFS7v/cnyj/cT3Grm+IUHRNmGZm2sxY98KzLtVip7YguNXD8QuOj7cUNwiqt07knyn/ONdKv1WDd9o+xe3fBJJJJJJ5nVUlTmCQRyOLXV+tQb3tE2N378W6zGatfom6Ptr2qYw1qdH3T9+KxLMWPMnPXUlWDDmDnxZUMcroeasRrxIZJUQc2YDiXmqmp/RLC2jpZ5nDszuzuc2Y5k66MyOHQ5MpzBxZqqao9KszaWhlkeHfo9KlV/FG/B4Ngj0aV38Xb8Dh3JDJQzKPlz/rbwbahjoYV+nP8AvbxLzRxxKs0KaIJyYDXstHHKrzTJpAHJQeLWQiopni8WGw98OrI5RwQynIjVRWdwiAlicgMUcIp6ZIvFRtPfjX6AZJULzz0W1bBAMnqG556K8e/SKtKsfmZvwNWwyK1K8fmRvweK7pGpZ3CjqTipu8KAiAGRuvIYqJ5KiQyStmdWmnkp5PSRNkcUt3hfZODE3XmMRuki6SOHHUHXkliiGckioO5xJdaNOTs/8VxJeh8OD7scS3Srfk4QfSMO7yNpO5c9Sc+DG7xtpI5Q9QcRXSrj5uJB9QxHeh8SD7qcR3Wjfm7J/JcRSxSjOORXHY/pdLiYmMEB3/M3TDszsWdixPifcUZkYMjFSPEYtVxMrCCc7/lbrhiWJLHMk5n3NSVIKnIg5j9p/8QAFBEBAAAAAAAAAAAAAAAAAAAAgP/aAAgBAgEBPwBIf//EABQRAQAAAAAAAAAAAAAAAAAAAID/2gAIAQMBAT8ASH//2Q=="},function(e,t,n){"use strict";var r=l(n(0)),o=l(n(84));n(183);var i=l(n(103)),a=l(n(184)),u=l(n(229)),s=l(n(231)),c=l(n(233));function l(e){return e&&e.__esModule?e:{default:e}}n(236).shim(),r.default.use(o.default),r.default.use(i.default);var d=(0,a.default)();window.G=r.default.prototype.$GlobalVariable={VERSION:"PC-1.5.8"},r.default.prototype.$md5=s.default,d.beforeEach(function(t,e,n){c.default.globalVariable.init(r.default,{to:t,from:e,next:n}),"normalLogin"!==t.name&&"codeLogin"!==t.name&&"forgetPwd"!==t.name?c.default.loginInfo.isLogin(r.default).then(function(e){/^login/gi.test(e)?n():n({path:"/login/index?rd="+encodeURIComponent(t.fullPath)})}).catch(function(e){window.G.UserInfo={},n({path:"/login/index?rd="+encodeURIComponent(t.fullPath)})}):"normalLogin"===t.name&&t.query.rd||"codeLogin"===t.name&&t.query.rd?c.default.loginInfo.isLogin(r.default).then(function(e){/^login-2/gi.test(e)?n({path:t.query.rd}):n()}).catch(function(e){n()}):n()}),r.default.prototype.VueEvent=new r.default,new r.default({router:d,render:function(e){return e(u.default)}}).$mount("#app")},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(103)),o=i(n(185));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return new r.default({routes:o.default,mode:"history",fallback:!0,scrollBehavior:function(e,t,n){return{x:0,y:0}}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(186)),o=i(n(254));function i(e){return e&&e.__esModule?e:{default:e}}t.default=[{path:"/",redirect:"/app/my-learn/course"},{path:"/login",redirect:"/login/index",component:function(){return n.e(26).then(n.bind(null,289))},children:[{path:"index",name:"normalLogin",component:function(){return n.e(27).then(n.bind(null,256))},props:function(e){return{query:e.query,params:e.params}}},{path:"code",name:"codeLogin",component:function(){return n.e(28).then(n.bind(null,257))},props:function(e){return{query:e.query,params:e.params}}},{path:"forget",name:"forgetPwd",component:function(){return n.e(29).then(n.bind(null,258))},props:function(e){return{query:e.query,params:e.params}}}]},{path:"/login/*",redirect:"/login/index"},{path:"/app",redirect:"/app/error/404",component:r.default,children:[{path:"error/404",component:function(){return n.e(0).then(n.bind(null,83))}},{path:"my-learn",redirect:"error/404",component:o.default,children:[{path:"course",component:function(){return n.e(19).then(n.bind(null,259))}},{path:"course-detail/:cid",component:function(){return n.e(21).then(n.bind(null,260))},props:!0},{path:"discuss-detail/:cid/:id",component:function(){return Promise.all([n.e(1),n.e(22)]).then(n.bind(null,261))},props:!0},{path:"course-all",component:function(){return n.e(20).then(n.bind(null,262))}},{path:"discussion",component:function(){return n.e(23).then(n.bind(null,263))}},{path:"report-list",component:function(){return n.e(9).then(n.bind(null,264))}},{path:"report-active-list",component:function(){return n.e(8).then(n.bind(null,265))}},{path:"report-list-all/:rid",component:function(){return n.e(10).then(n.bind(null,266))},props:!0},{path:"report-add/:rid",component:function(){return n.e(24).then(n.bind(null,267))},props:!0},{path:"report-submit/:rid/:reid",component:function(){return n.e(25).then(n.bind(null,268))},props:!0}]},{path:"my-grade",redirect:"error/404",component:o.default,children:[{path:"credit",component:function(){return n.e(7).then(n.bind(null,269))}},{path:"rebuild",component:function(){return n.e(35).then(n.bind(null,270))}},{path:"message",component:function(){return n.e(18).then(n.bind(null,271))}}]},{path:"account",redirect:"error/404",component:o.default,children:[{path:"set-pwd",component:function(){return n.e(34).then(n.bind(null,272))}},{path:"update-pic",component:function(){return n.e(17).then(n.bind(null,273))}},{path:"feedbackList",component:function(){return n.e(16).then(n.bind(null,274))}},{path:"feedbackCreate",component:function(){return n.e(15).then(n.bind(null,275))}}]}]},{path:"/app/*",redirect:"/app/error/404"},{path:"/player/:cid",redirect:"/player/0/error/404",component:function(){return n.e(6).then(n.bind(null,276))},props:!0,children:[{path:"error/404",component:function(){return n.e(0).then(n.bind(null,83))}},{path:"chapter-video/:id/:videoType",name:"chapterVideo",component:function(){return Promise.all([n.e(1),n.e(11)]).then(n.bind(null,277))},props:!0},{path:"chapter-exam/:id",name:"chapterExam",component:function(){return n.e(14).then(n.bind(null,281))},props:!0},{path:"chapter-read/:id",name:"chapterRead",component:function(){return n.e(30).then(n.bind(null,282))},props:!0},{path:"chapter-work/:id",name:"chapterWork",component:function(){return n.e(31).then(n.bind(null,283))},props:!0},{path:"course-info/:id",name:"courseInfo",component:function(){return n.e(32).then(n.bind(null,284))},props:!0},{path:"course-work/:id",name:"courseWork",component:function(){return n.e(33).then(n.bind(null,285))},props:!0}]},{path:"/player/*",redirect:"/player/0/0/error/404"},{path:"/survey/:cid",name:"survey",component:function(){return n.e(12).then(n.bind(null,286))},props:!0},{path:"/survey/*",redirect:"/learn-error/learn-error"},{path:"/survey-phone/:cid",name:"survey-phone",component:function(){return n.e(13).then(n.bind(null,287))},props:!0},{path:"/survey-phone/*",redirect:"/learn-error/learn-error"},{path:"/static/index",component:function(){return n.e(5).then(n.bind(null,288))}},{path:"*",component:function(){return n.e(0).then(n.bind(null,83))}}]},function(e,t,n){"use strict";n.r(t);var r=n(79),o=n(32);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(228);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,"0d561b08",null);t.default=u.exports},function(e,t,n){"use strict";n.r(t);var r=n(77),o=n(34);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(225);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,"2fa747b0",null);t.default=u.exports},function(e,t,n){e.exports=n.p+"resources/logo-header.7529c759.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(11);var a=(r(u,[{key:"getInfo",value:function(){return i.loginApi.getInfo().then(function(e){return e})}},{key:"userLogin",value:function(e){return i.loginApi.userLogin(e).then(function(e){return e})}},{key:"outLogin",value:function(){return i.loginApi.outLogin().then(function(e){return 200===e.status?"login-3":"nologin-2"})}},{key:"sendCode",value:function(e){return i.loginApi.sendCode(e).then(function(e){return e})}},{key:"codeLogin",value:function(e){return i.loginApi.codeLogin(e).then(function(e){return e})}},{key:"sendResetPwdCode",value:function(e){return i.loginApi.sendResetPwdCode(e).then(function(e){return e})}},{key:"validateCode",value:function(e){return i.loginApi.validateCode(e).then(function(e){return e})}},{key:"resetPwd",value:function(e){return i.loginApi.resetPwd(e).then(function(e){return e})}},{key:"updatePwd",value:function(e){return i.loginApi.updatePwd(e).then(function(e){return e})}},{key:"updatePic",value:function(e){return i.loginApi.updatePic(e).then(function(e){return e})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(12)),a=o(n(81));function o(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,r.default),s);function s(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=u(this,(e=s.__proto__||Object.getPrototypeOf(s)).call.apply(e,[this].concat(o)))).userLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/login",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.outLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/logout",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.getInfo=function(){return n.post("/user_center/get_user_info",{},{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.sendCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/send_login_code",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.codeLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/code_login",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.sendResetPwdCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/send_reset_password_code",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.validateCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/validate_code",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.resetPwd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/reset_password",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.updatePwd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/user_center/change_password",a.default.assignIn(e,{service:"h5.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.updatePic=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/storage/upload/avatar",e,{headers:{"Content-Type":"multipart/form-data"}})},u(n,t)}t.default=i},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(12);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getChapterList=function(e,t,n){return r.get("/v2/education/courses/"+e,{})},r.getCurrentChapterDetail=function(e){return r.post("/v2/education/video-streaming",{vid:e})},r.getCurrentChapterDetailAliyun=function(e){return r.post("/v2/education/aliyun-video-streaming",{vid:e})},r.getProgress=function(e,t,n){return r.get("/v2/education/video/"+e+"/device",{device_id:t})},r.updateProgress=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.get("/v2/analytics/upload-video",e)},r.getExamDetail=function(e,t,n){return r.get("/v2/education/homeworks/"+n,{})},r.submitExamDetail=function(e){return r.post("/v2/education/homeworks",e)},r.getExamDetailAfterCourse=function(e,t,n){return r.get("/v2/education/examinations/"+t+"/"+n,{})},r.submitExamDetailAfterCourse=function(e){return r.post("/v2/education/examinations",e)},r.getHomework=function(e,t,n){return r.get("/v2/education/homeworks/"+n,{})},r.uploadFile=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/util/upload-file",e,{headers:{"Content-Type":"multipart/form-data"}})},r.updateHomework=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/v2/education/homeworks",e,{headers:{"Content-Type":"multipart/form-data"}})},r.getCourseHomework=function(e,t){return r.get("/v2/education/courses/"+t+"/essay",{})},r.updateCourseHomework=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return r.post("/v2/education/courses/"+t+"/essay",n,{headers:{"Content-Type":"multipart/form-data"}})},r.updateSurveyAnswer=function(e){return r.post("/v2/education/survey/answer",e)},a(r,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(12);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getlearnFindList=function(){return n.get("/v2/education/semesters",{})},n.getCourseList=function(e,t){return n.get("/v2/education/courses"+(e?"/my":""),t)},n.getCourseDetail=function(e,t){return n.get("/v2/education/courses/"+e,{})},n.getCourseAssess=function(e,t){return n.get("/v2/analytics/courses/"+e+"/evaluation",{})},n.selectCourse=function(e,t){return n.post("/v2/education/courses/major",{course_id:e})},n.outSelectCourse=function(e,t){return n.post("/v2/education/courses/drop",{course_id:e})},a(n,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(12);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getDiscussList=function(e,t){return r.get("/v2/qa/questions"+e,t)},r.getCourseDiscussList=function(e,t,n){return r.get("/v2/qa/questions/course/"+e,n)},r.getDiscussDetail=function(e){return r.get("/v2/qa/questions/"+e,{})},r.deleteDiscuss=function(e){return r.delete("/v2/qa/questions/"+e,{})},r.publishQues=function(e){return r.post("/v2/qa/questions",e)},r.answerQues=function(e){return r.post("/v2/qa/answers",e)},r.deleteAnswer=function(e){return r.delete("/v2/qa/answers/"+e,{})},r.callbackComment=function(e){return r.post("/v2/qa/comments",e)},r.deleteComment=function(e){return r.delete("/v2/qa/comments/"+e,{})},r.like=function(e){return r.post("/v2/qa/tags",e)},r.unlike=function(e){return r.delete("/v2/qa/tags/"+e,{})},a(r,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(12);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getMyMsg=function(){return n.get("/v2/education/message/my",{})},a(n,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(12);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getMyScore=function(){return n.get("/v2/education/credits",{})},n.submitRebuild=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v2/education/retake",e,{headers:{"Content-Type":"multipart/form-data"}})},n.feedbackList=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.get("/v2/feedback/lists",e,{headers:{"Content-Type":"multipart/form-data"}})},n.feedbackReply=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v2/feedback/reply",e,{headers:{"Content-Type":"multipart/form-data"}})},n.feedbackCommit=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v2/feedback/commit",e,{headers:{"Content-Type":"multipart/form-data"}})},a(n,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(12);function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,((r=o)&&r.__esModule?r:{default:r}).default),u);function u(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=a(this,(e=u.__proto__||Object.getPrototypeOf(u)).call.apply(e,[this].concat(o)))).getReportList=function(){return r.get("/v2/education/symposium-report-all",{})},r.getReportActiveList=function(){return r.get("/v2/education/symposium/my",{})},r.submitReportActive=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/v2/education/symposium",e,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},r.getReportActive=function(e){return r.get("/v2/education/symposium/"+e,{})},r.updateReportActive=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return r.post("/v2/education/symposium/"+e,t)},r.deleteReportActive=function(e){return r.delete("/v2/education/symposium/"+e,{})},r.getReportListAll=function(e){return r.get("/v2/education/symposium/"+e+"/report",{})},r.submitReport=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return r.post("/v2/education/symposium/"+e+"/report",t)},r.getSubmitReport=function(e,t){return r.get("/v2/education/symposium/report/"+t,{})},r.updateSubmitReport=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return r.post("/v2/education/symposium/"+e+"/report/"+t,n)},r.deleteSubmitReport=function(e,t){return r.delete("/v2/education/symposium/report/"+t,{})},a(r,t)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i,a=n(11),u=n(82),p=(i=u)&&i.__esModule?i:{default:i};var s=(r(c,[{key:"getChapterList",value:function(e,t,f){return a.chapterApi.getChapterList(e,t,f).then(function(a){for(var e=0,t=0,n={},r={};e<a.chapters.length;e++){var o=a.chapters[e];for(t=0;t<o.children.length;t++)if(o.children[t].resource_id===f){if(0<=t-1)r={id:o.children[t-1].resource_id,time:o.children[t-1].video&&p.default.convertTime.durationToTimeString(o.children[t-1].video.video_length)||"",name:o.children[t-1].name};else if(0<=e-1){var i=a.chapters[e-1];r={id:i.children[i.children.length-1].resource_id,time:i.children[i.children.length-1].video&&p.default.convertTime.durationToTimeString(i.children[i.children.length-1].video.video_length)||"",name:i.children[i.children.length-1].name}}if(t+1<o.children.length)n={id:o.children[t+1].resource_id,time:o.children[t+1].video&&p.default.convertTime.durationToTimeString(o.children[t+1].video.video_length)||"",name:o.children[t+1].name};else if(e+1<a.chapters.length){var u=a.chapters[e+1];n={id:u.children[0].resource_id,time:u.children[0].video&&p.default.convertTime.durationToTimeString(u.children[0].video.video_length)||"",name:u.children[0].name}}}}var s={},c={title:a.course_name,sid:a.semester_id,cid:a.course_id,currentChapterId:f,survey:a.survey,course:a.chapters.map(function(e,t){return{title:e.name,chapters:e.children.map(function(e,t){var n=3===e.type&&e.homework&&1===e.homework.work_type&&e.homework||"";n&&(n.course_id=a.course_id,n.chapter_id=e.id,n.work_id=e.resource_id,n.semester_id=a.semester_id);var r=3===e.type&&e.homework&&2===e.homework.work_type&&e.homework||"",o=4===e.type&&e.reading||"",i=2===e.type&&e.video||"";return i&&(i.pdf=e.pdf||""),f===e.resource_id&&(s={id:e.resource_id,video_provider:e.video&&e.video.video_provider||"",time:e.video&&p.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,chapterId:e.id,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n,chapterRead:o,chapterWork:r,chapterVideo:i}),{id:e.resource_id,video_provider:e.video&&e.video.video_provider||"",time:e.video&&p.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n,chapterRead:o,chapterWork:r,chapterVideo:i}})}}),nextVideo:n,prevVideo:r},l=null;s&&!s.id&&a.examinations.length&&f===a.examinations[0].id&&((l=a.examinations[0])&&(l.course_id=a.course_id,l.chapter_id=l.id,l.work_id=l.id,l.semester_id=a.semester_id,l.courseExam=!0),s={id:l.id,video_provider:"",time:"",name:"课程考试",chapterId:l.id,type:3,work_type:1,homework:l,chapterRead:"",chapterWork:"",chapterVideo:""}),c.course.push({title:"大作业及资料",chapters:[{name:"课程资料",id:"course_info"},{name:"课程考试",id:"course_exam",exam_id:a.examinations&&a.examinations[0]&&a.examinations[0].id||""}]});var d=a.curriculum||{};return d.end_date=a.end_date,d.essay_date=a.essay_date,{json:c,courseInfo:a.files||[],courseWork:a.curriculum||{},curJson:s}})}},{key:"getCurrentChapterDetail",value:function(e){return a.chapterApi.getCurrentChapterDetail(e).then(function(e){return{video:{src:e.video[0].playurl,spareSrc:"http://pd4t7ae3m.bkt.clouddn.com/test.mp4"},audio:{src:e.audio[0].url,poster:e.ppts&&e.ppts[0]&&e.ppts[0].ppt_url||""},image:{imgUrls:e.ppts&&e.ppts.map(function(e,t){return e.ppt_url})||[],current:0,selectIndex:0,timeArr:e.ppts&&e.ppts.map(function(e,t){return e.ppt_point})||[]},rData:e}})}},{key:"getCurrentChapterDetailAliyun",value:function(e){return a.chapterApi.getCurrentChapterDetailAliyun(e).then(function(e){return window.G&&(window.G.m3u8RequestId=e.request_id),{video:{FD:e.video.FD,LD:e.video.LD,SD:e.video.SD},audio:{src:e.video.SQ,poster:e.ppts&&e.ppts[0]&&e.ppts[0].ppt_url||""},image:{imgUrls:e.ppts&&e.ppts.map(function(e,t){return e.ppt_url})||[],current:0,selectIndex:0,timeArr:e.ppts&&e.ppts.map(function(e,t){return e.ppt_point})||[]},rData:e,is_locked:e.is_locked}})}},{key:"getProgress",value:function(e,t,n){return a.chapterApi.getProgress(e,t,n).then(function(e){return{id:e.id,cpt:parseInt(e.cpt),mpt:parseInt(e.mpt),pt:parseInt(e.pt),progress:e.progress,sign:e.sign,map:e.map||[]}})}},{key:"updateProgress",value:function(e){return a.chapterApi.updateProgress(e).then(function(e){return e})}},{key:"getExamDetail",value:function(e,t,n){return a.chapterApi.getExamDetail(e,t,n).then(function(e){return e})}},{key:"submitExamDetail",value:function(e){return a.chapterApi.submitExamDetail(e).then(function(e){return e})}},{key:"getExamDetailAfterCourse",value:function(e,t,n){return console.log(n),a.chapterApi.getExamDetailAfterCourse(e,t,n).then(function(e){return e})}},{key:"submitExamDetailAfterCourse",value:function(e){return a.chapterApi.submitExamDetailAfterCourse(e).then(function(e){return e})}},{key:"getHomework",value:function(e,t,n){return a.chapterApi.getHomework(e,t,n).then(function(e){return e})}},{key:"uploadFile",value:function(e){return a.chapterApi.uploadFile(e).then(function(e){return e})}},{key:"updateHomework",value:function(e){return a.chapterApi.updateHomework(e).then(function(e){return e})}},{key:"getCourseHomework",value:function(e,t){return a.chapterApi.getCourseHomework(e,t).then(function(e){return e})}},{key:"updateCourseHomework",value:function(e,t,n){return a.chapterApi.updateCourseHomework(e,t,n).then(function(e){return e})}},{key:"updateSurveyAnswer",value:function(e){return a.chapterApi.updateSurveyAnswer(e).then(function(e){return e})}}]),c);function c(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c)}t.default=s},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=(function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(i,[{key:"setCookie",value:function(e,t,n){var r=new Date;n.expires&&(r.setTime(r.getTime()+24*(n.expires||0)*60*60*1e3),n.expires=r.toUTCString());var o="";for(var i in n)o+="; "+i+"="+n[i];document.cookie=e+"="+t+o}},{key:"getCookie",value:function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1);if(-1!==o.indexOf(t))return o.substring(t.length,o.length)}return""}},{key:"getAllCookies",value:function(){return document.cookie}},{key:"clearCookie",value:function(e,t){var n=new Date;n.setTime(n.getTime()-6e4),t.expires=n.toUTCString();var r="";for(var o in t)r+="; "+o+"="+t[o];document.cookie=e+"="+r}}]),i);function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i)}t.default=o},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=(function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(i,[{key:"durationToTimeString",value:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),r=(e-3600*t-60*n)%60;function o(e){return 10<=e?e:"0"+e}var i={h:o(t),m:o(n),s:o(r)};return"h:m:s".replace(/h|m|s/g,function(e){return i[e]}).replace(/^00:/,"")}}]),i);function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i)}t.default=o},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=(function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(i,[{key:"getIdt",value:function(){var e=/_idt=/.test(document.cookie)&&document.cookie.replace(/.*_idt=([^;]+).*/,"$1");if(!e){e=(new Date).getTime().toString(36)+Math.random().toString(32)+Math.random().toString(32);var t=new Date;t.setMonth(t.getMonth()+6),document.cookie="_idt="+e+";path=/;domain=.ezijing.com;expires="+t.toGMTString()}return e}}]),i);function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i)}t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i,a=n(11),u=n(82),v=(i=u)&&i.__esModule?i:{default:i};var s=(r(c,[{key:"getlearnFindList",value:function(){return a.courseApi.getlearnFindList().then(function(e){for(var t=[{val:"-1",name:"全部"}],n=0;n<e.length;n++){var r=e;t.push({val:r[n].id,name:r[n].semester_name})}return t})}},{key:"getCourseList",value:function(e,t){return a.courseApi.getCourseList(e,t).then(function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n],o=e[n].curriculum,i=r.course_type,a=1===i?"必修课":2===i?"选修课":3===i?"重修课":"";t.push({id:r.course_id,sid:r.semester_id,src:o&&o.curriculum_picture||"",title:r.course_name,arrTab:[(o&&o.curriculum_credit||0)+"学分",a,r.semester_name],status:o.is_enabled?"已发布":"未发布",time:r.begin_date.split(" ")[0]+" 至 "+r.end_date.split(" ")[0],myStatus:0!==r.selected?r.score?"总成绩:"+r.score:"已选修":"未选修",progress:r.video_progress})}return t})}},{key:"getCourseDetail",value:function(s,c){return a.courseApi.getCourseDetail(s,c).then(function(r){var o=r,e=o.curriculum,t=o.course_type,n=1===t?"必修课":2===t?"选修课":3===t?"重修课":"",i={headerInfo:{isStart:!!o.selected,id:o.course_id,sid:o.semester_id,bgSrc:e&&e.curriculum_picture||"../icons/home/default.jpg",title:o.course_name,arrTab:[(e&&e.curriculum_credit||0)+"学分",n,o.semester_name],status:e.is_enabled?"已发布":"未发布",time:o.begin_date.split(" ")[0]+" 至 "+o.end_date.split(" ")[0],progress:o.video_progress,survey:o.survey},tabs0Content:{},tabs1ChapterList:{}};i.tabs0Content={text:e&&e.curriculum_represent,teachers:[]};for(var a=0;a<o.lecturers.length;a++){var u=o.lecturers[a];i.tabs0Content.teachers.push({src:u.lecturer_avatar,name:u.lecturer_name,edu:u.lecturer_education||"",job:u.lecturer_office||"",unit:u.lecturer_title||""})}return i.tabs1ChapterList={currentChapterId:o.latest_play||"",currentVideoProvider:o.latest_play_type||"1",course:o.chapters.map(function(e,t){return{title:e.name,isUp:!0,chapters:e.children.map(function(e,t){var n=3===e.type&&e.homework&&1===e.homework.work_type&&e.homework||"";return n&&(n.course_id=r.course_id,n.chapter_id=e.id,n.work_id=e.resource_id,n.semester_id=r.semester_id),{cid:o.course_id,sid:o.semester_id,vid:e.resource_id,id:e.id,video_provider:e.video&&e.video.video_provider||"",duration:e.video&&e.video.video_length||0,time:e.video&&v.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n}})}})},i.tabs1ChapterList.course.push({title:"课程资料",isUp:!0,chapters:[],type:"course_info",sid:c,cid:s}),i.tabs1ChapterList.course.push({title:"课程考试",isUp:!0,chapters:[],data:r.examinations,type:"course_exam",sid:c,cid:s}),i.tabs3richTest=o.course_evaluation,i})}},{key:"getCourseAssess",value:function(m,h){return a.courseApi.getCourseAssess(m,h).then(function(e){var t=e,n=[];for(var r in t.video_evaluation){var o=t.video_evaluation[r],i=[];for(var a in o.sections){var u=o.sections[a];i.push({name:u.title,time:u.duration&&v.default.convertTime.durationToTimeString(u.duration)||"00:00",progress:u.progress&&u.progress+"%"||"0%",id:u.id})}n.push({title:o.title,arr:i,sid:h,cid:m})}var s=[];for(var c in t.homework_evaluation){var l=t.homework_evaluation[c],d=[];for(var f in l.sections){var p=l.sections[f];d.push({name:p.title,created_time:p.created_time||"",score:null===p.score?"暂无":p.score})}s.push({title:l.title,arr:d})}return{score:t.course_score,duration:v.default.convertTime.durationToTimeString(t.course_duration||0),progress:t.course_progress,video:n,homewrok:s,essay:{}}})}},{key:"selectCourse",value:function(e,t){return a.courseApi.selectCourse(e,t).then(function(e){return e})}},{key:"outSelectCourse",value:function(e,t){return a.courseApi.outSelectCourse(e,t).then(function(e){return e})}}]),c);function c(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c)}t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(11);var a=(r(u,[{key:"getDiscussList",value:function(e,t){return i.discussApi.getDiscussList(e,t).then(function(e){return e.map(function(e,t){return{id:e.id,sid:e.semester_id,cid:e.relate_id,user:{url:e.questioner.avatar||"",name:e.questioner.nickname,time:e.created_time},title:e.title,text:e.contents,askCnt:e.answer_count,TouCnt:e.tag_total_count,courseName:"在线学习课程",comments:e.comments,mine:e.mine,isShow:!1}})})}},{key:"getCourseDiscussList",value:function(e,t,n){return i.discussApi.getCourseDiscussList(e,t,n).then(function(e){return e.map(function(e,t){return{id:e.id,sid:e.semester_id,cid:e.relate_id,user:{url:e.questioner.avatar||"",name:e.questioner.nickname,time:e.created_time},title:e.title,text:e.contents,askCnt:e.answer_count,TouCnt:e.tag_total_count,courseName:"在线学习课程",comments:e.comments,mine:e.mine,isShow:!1}})})}},{key:"getDiscussDetail",value:function(e){return i.discussApi.getDiscussDetail(e).then(function(e){var t=e;return{ques:{qid:t.id,sid:t.semester_id,user:{url:t.questioner.avatar||"",name:t.questioner.nickname,time:t.created_time},title:t.title,text:t.contents,askCnt:t.answer_count||0,TouCnt:t.tag_total_count||0,likeCnt:t.tag_count||0,comCnt:t.comments.length,mine:t.mine,isShowComment:!1,has_tag:t.has_tag,tag_id:t.tag&&t.tag.id||"",comments:t.comments.map(function(e,t){return{cid:e.id,user:{url:e.observer.avatar||"",name:e.observer.nickname,time:e.created_time},text:e.comments,mine:e.mine}})},answer:t.answers&&t.answers.map(function(e,t){return{aid:e.id,user:{url:e.replier.avatar||"",name:e.replier.nickname,time:e.created_time},text:e.contents,likeCnt:e.tag_count,comCnt:e.comments.length,mine:e.mine,isShowComment:!1,has_tag:e.has_tag,tag_id:e.tag&&e.tag.id||"",comments:e.comments.map(function(e,t){return{cid:e.id,user:{url:e.observer.avatar||"",name:e.observer.nickname,time:e.created_time},text:e.comments,mine:e.mine}})}})||[]}})}},{key:"deleteDiscuss",value:function(e){return i.discussApi.deleteDiscuss(e).then(function(e){if(e.success)return e})}},{key:"publishQues",value:function(e){return i.discussApi.publishQues(e).then(function(e){return e})}},{key:"answerQues",value:function(e){return i.discussApi.answerQues(e).then(function(e){if(e.success)return e})}},{key:"deleteAnswer",value:function(e){return i.discussApi.deleteAnswer(e).then(function(e){if(e.success)return e})}},{key:"callbackComment",value:function(e){return i.discussApi.callbackComment(e).then(function(e){if(e.success)return e})}},{key:"deleteComment",value:function(e){return i.discussApi.deleteComment(e).then(function(e){if(e.success)return e})}},{key:"like",value:function(e){return i.discussApi.like(e).then(function(e){if(e.success)return e})}},{key:"unlike",value:function(e){return i.discussApi.unlike(e).then(function(e){if(e.success)return e})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(11);var a=(r(u,[{key:"getMyMsg",value:function(){return i.msgApi.getMyMsg().then(function(e){return e.map(function(e,t){return{isRead:!1,id:e.id,text:e.message_body,time:e.created_time,isShow:!1}})})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(11);var a=(r(u,[{key:"getMyScore",value:function(){return i.scoreApi.getMyScore().then(function(e){var t=e;return{total:t.total_credits,myTotal:t.my_total_credits,myTotalStr:t.total_credits&&(1*t.my_total_credits/t.total_credits*100).toFixed(1)+"%"||"0%",must:t.required_credits,myMust:t.my_required_credits,myMustStr:t.required_credits&&(1*t.my_required_credits/t.required_credits*100).toFixed(1)+"%"||"0%",unmust:t.optional_credits,myUnmust:t.my_optional_credits,myUnmustStr:t.optional_credits&&(1*t.my_optional_credits/t.optional_credits*100).toFixed(1)+"%"||"0%",list:t.lists}})}},{key:"rebuildSubmit",value:function(e){return i.scoreApi.submitRebuild(e).then(function(e){return e})}},{key:"feedbackList",value:function(e){return i.scoreApi.feedbackList(e).then(function(e){return e})}},{key:"feedbackReply",value:function(e){return i.scoreApi.feedbackReply(e).then(function(e){return e})}},{key:"feedbackCommit",value:function(e){return i.scoreApi.feedbackCommit(e).then(function(e){return e})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=n(11);var a=(r(u,[{key:"getReportList",value:function(){return i.reportApi.getReportList().then(function(e){return e})}},{key:"getReportActiveList",value:function(){return i.reportApi.getReportActiveList().then(function(e){return e})}},{key:"submitReportActive",value:function(e){return i.reportApi.submitReportActive(e).then(function(e){return e})}},{key:"getReportActive",value:function(e){return i.reportApi.getReportActive(e).then(function(e){return e})}},{key:"updateReportActive",value:function(e,t){return i.reportApi.updateReportActive(e,t).then(function(e){return e})}},{key:"deleteReportActive",value:function(e){return i.reportApi.deleteReportActive(e).then(function(e){return e})}},{key:"getReportListAll",value:function(e){return i.reportApi.getReportListAll(e.rid).then(function(e){return e})}},{key:"submitReport",value:function(e,t){return i.reportApi.submitReport(e,t).then(function(e){return e})}},{key:"getSubmitReport",value:function(e,t){return i.reportApi.getSubmitReport(e,t).then(function(e){return e})}},{key:"updateSubmitReport",value:function(e,t,n){return i.reportApi.updateSubmitReport(e,t,n).then(function(e){return e})}},{key:"deleteSubmitReport",value:function(e,t){return i.reportApi.deleteSubmitReport(e,t).then(function(e){return e})}}]),u);function u(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}t.default=a},function(e,t,n){"use strict";var r=n(36);n.n(r).a},function(e,t,n){"use strict";n.r(t);var r=n(78),o=n(37);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(227);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,"5e38f7d6",null);t.default=u.exports},function(e,t,n){"use strict";var r=n(39);n.n(r).a},function(e,t,n){"use strict";var r=n(40);n.n(r).a},function(e,t,n){"use strict";n.r(t);var r=n(75),o=n(41);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);t.default=u.exports},function(e,t,n){"use strict";n.r(t);var r=n(76),o=n(43);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);t.default=u.exports},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(234)),o=i(n(235));function i(e){return e&&e.__esModule?e:{default:e}}var a=new r.default,u=new o.default;t.default={globalVariable:a,loginInfo:u}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=(function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}(i,[{key:"init",value:function(e,t){this.setInitSiderbarVar(e,t),this.setInitUserInfo(e)}},{key:"setInitSiderbarVar",value:function(e,t){var n=e.prototype.$GlobalVariable;/^\/app\//g.test(t.to.path)&&(n.siderbar={defaultPath:t&&t.to&&t.to.path||""})}},{key:"setInitUserInfo",value:function(e){var t=e.prototype.$GlobalVariable;t.UserInfo||(t.UserInfo={})}}]),i);function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i)}t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e};function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i,a=n(45),u=(i=a)&&i.__esModule?i:{default:i};var s=(r(c,[{key:"isLogin",value:function(e){var t=e.prototype.$GlobalVariable;return t.UserInfo&&t.UserInfo.auth_key?Promise.resolve("login-1"):u.default.loginAction.getInfo().then(function(e){return e.auth_key?(t.UserInfo=e,"login-2"):"nologin-1"})}}]),c);function c(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c)}t.default=s},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(1),o=Object(r.a)({},function(){var e=this.$createElement;return(this._self._c||e)("router-view")},[],!1,null,null,null);t.default=o.exports},function(e,t){e.exports=window.CKEDITOR},,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.swfobject},function(e,t){e.exports=window.Aliplayer},function(e,t){e.exports=window.AliPlayerComponent}],[[122,3,4]]]);
\ No newline at end of file
!function(d){function e(e){for(var t,r,a=e[0],n=e[1],f=e[2],o=0,c=[];o<a.length;o++)r=a[o],Object.prototype.hasOwnProperty.call(s,r)&&s[r]&&c.push(s[r][0]),s[r]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(d[t]=n[t]);for(p&&p(e);c.length;)c.shift()();return i.push.apply(i,f||[]),u()}function u(){for(var e,t=0;t<i.length;t++){for(var r=i[t],a=!0,n=1;n<r.length;n++){var f=r[n];0!==s[f]&&(a=!1)}a&&(i.splice(t--,1),e=b(b.s=r[0]))}return e}var r={},l={3:0},s={3:0},i=[];function b(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return d[e].call(t.exports,t,t.exports,b),t.l=!0,t.exports}b.e=function(i){var e=[];l[i]?e.push(l[i]):0!==l[i]&&{0:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1}[i]&&e.push(l[i]=new Promise(function(e,a){for(var t="resources/"+({}[i]||i)+"."+{0:"8c0fccc8dcdf",1:"31d6cfe0d16a",5:"930984a29124",6:"3107a8ece89c",7:"2f23f40abf18",8:"5038af54190d",9:"d1c67996bbb9",10:"dfc62ee48df4",11:"5429a27bb7bb",12:"233ef3b61b0f",13:"35e9fd271343",14:"96e432718f45",15:"bf3bfca20322",16:"ae04a260ff2d",17:"66f6f1b2e2f8",18:"e49666539688",19:"0ba27a54f3b2",20:"a029dc0f3a68",21:"1781a847a9fa",22:"119428b4ace4",23:"ea3ddb59c757",24:"ac46a7f215a5",25:"d0a83561e812",26:"cd25beb0b57a",27:"f9edc40b7bd4",28:"31d6cfe0d16a",29:"31d6cfe0d16a",30:"31d6cfe0d16a",31:"31d6cfe0d16a",32:"31d6cfe0d16a",33:"31d6cfe0d16a",34:"31d6cfe0d16a",35:"31d6cfe0d16a",36:"31d6cfe0d16a"}[i]+".css",n=b.p+t,r=document.getElementsByTagName("link"),f=0;f<r.length;f++){var o=(d=r[f]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(o===t||o===n))return e()}var c=document.getElementsByTagName("style");for(f=0;f<c.length;f++){var d;if((o=(d=c[f]).getAttribute("data-href"))===t||o===n)return e()}var u=document.createElement("link");u.rel="stylesheet",u.type="text/css",u.onload=e,u.onerror=function(e){var t=e&&e.target&&e.target.src||n,r=new Error("Loading CSS chunk "+i+" failed.\n("+t+")");r.request=t,delete l[i],u.parentNode.removeChild(u),a(r)},u.href=n,document.getElementsByTagName("head")[0].appendChild(u)}).then(function(){l[i]=0}));var r=s[i];if(0!==r)if(r)e.push(r[2]);else{var t=new Promise(function(e,t){r=s[i]=[e,t]});e.push(r[2]=t);var a,n=document.createElement("script");n.charset="utf-8",n.timeout=120,b.nc&&n.setAttribute("nonce",b.nc),n.src=function(e){return b.p+"resources/"+({}[e]||e)+"."+{0:"bdb257c7",1:"a33f6a64",5:"06ef92f8",6:"61215dbb",7:"e8330fd0",8:"d89af708",9:"041ac74f",10:"5f7a110d",11:"a8fad53a",12:"74df2619",13:"bcf74b33",14:"452aabba",15:"56d8b358",16:"9475586c",17:"613decd8",18:"5737205c",19:"33082a99",20:"d6e890a8",21:"e653d57a",22:"09e47e1e",23:"699140fc",24:"bcaa4c08",25:"9b448869",26:"4b1fe3d0",27:"45cd3e74",28:"214150d4",29:"bf7e4f5f",30:"8644fcf5",31:"5ffb1604",32:"0af9751d",33:"1363cd62",34:"3a941670",35:"360dd12c",36:"0aa74b84"}[e]+".js"}(i);var f=new Error;a=function(e){n.onerror=n.onload=null,clearTimeout(o);var t=s[i];if(0!==t){if(t){var r=e&&("load"===e.type?"missing":e.type),a=e&&e.target&&e.target.src;f.message="Loading chunk "+i+" failed.\n("+r+": "+a+")",f.name="ChunkLoadError",f.type=r,f.request=a,t[1](f)}s[i]=void 0}};var o=setTimeout(function(){a({type:"timeout",target:n})},12e4);n.onerror=n.onload=a,document.head.appendChild(n)}return Promise.all(e)},b.m=d,b.c=r,b.d=function(e,t,r){b.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(t,e){if(1&e&&(t=b(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(b.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)b.d(r,a,function(e){return t[e]}.bind(null,a));return r},b.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(t,"a",t),t},b.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},b.p="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/",b.oe=function(e){throw console.error(e),e};var t=window.webpackJsonp=window.webpackJsonp||[],a=t.push.bind(t);t.push=e,t=t.slice();for(var n=0;n<t.length;n++)e(t[n]);var p=a;u()}([]);
\ No newline at end of file
!function(d){function e(e){for(var t,r,n=e[0],a=e[1],f=e[2],o=0,c=[];o<n.length;o++)r=n[o],Object.prototype.hasOwnProperty.call(s,r)&&s[r]&&c.push(s[r][0]),s[r]=0;for(t in a)Object.prototype.hasOwnProperty.call(a,t)&&(d[t]=a[t]);for(p&&p(e);c.length;)c.shift()();return i.push.apply(i,f||[]),u()}function u(){for(var e,t=0;t<i.length;t++){for(var r=i[t],n=!0,a=1;a<r.length;a++){var f=r[a];0!==s[f]&&(n=!1)}n&&(i.splice(t--,1),e=b(b.s=r[0]))}return e}var r={},l={3:0},s={3:0},i=[];function b(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return d[e].call(t.exports,t,t.exports,b),t.l=!0,t.exports}b.e=function(i){var e=[];l[i]?e.push(l[i]):0!==l[i]&&{0:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1}[i]&&e.push(l[i]=new Promise(function(e,n){for(var t="resources/"+({}[i]||i)+"."+{0:"8c0fccc8dcdf",1:"31d6cfe0d16a",5:"930984a29124",6:"ae633a87b5cb",7:"2f23f40abf18",8:"5038af54190d",9:"d1c67996bbb9",10:"dfc62ee48df4",11:"5429a27bb7bb",12:"1f6314bfe897",13:"35e9fd271343",14:"2e113f3cf715",15:"bf3bfca20322",16:"ae04a260ff2d",17:"66f6f1b2e2f8",18:"e49666539688",19:"0ba27a54f3b2",20:"649d251c3201",21:"77c545d728a7",22:"38dd39eb6917",23:"ea3ddb59c757",24:"d0b0367588f8",25:"d0a83561e812",26:"cd25beb0b57a",27:"f9edc40b7bd4",28:"31d6cfe0d16a",29:"31d6cfe0d16a",30:"31d6cfe0d16a",31:"31d6cfe0d16a",32:"31d6cfe0d16a",33:"31d6cfe0d16a",34:"31d6cfe0d16a",35:"31d6cfe0d16a",36:"31d6cfe0d16a"}[i]+".css",a=b.p+t,r=document.getElementsByTagName("link"),f=0;f<r.length;f++){var o=(d=r[f]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(o===t||o===a))return e()}var c=document.getElementsByTagName("style");for(f=0;f<c.length;f++){var d;if((o=(d=c[f]).getAttribute("data-href"))===t||o===a)return e()}var u=document.createElement("link");u.rel="stylesheet",u.type="text/css",u.onload=e,u.onerror=function(e){var t=e&&e.target&&e.target.src||a,r=new Error("Loading CSS chunk "+i+" failed.\n("+t+")");r.request=t,delete l[i],u.parentNode.removeChild(u),n(r)},u.href=a,document.getElementsByTagName("head")[0].appendChild(u)}).then(function(){l[i]=0}));var r=s[i];if(0!==r)if(r)e.push(r[2]);else{var t=new Promise(function(e,t){r=s[i]=[e,t]});e.push(r[2]=t);var n,a=document.createElement("script");a.charset="utf-8",a.timeout=120,b.nc&&a.setAttribute("nonce",b.nc),a.src=function(e){return b.p+"resources/"+({}[e]||e)+"."+{0:"bdb257c7",1:"a33f6a64",5:"06ef92f8",6:"765870df",7:"e8330fd0",8:"d89af708",9:"041ac74f",10:"5f7a110d",11:"9234983d",12:"4ae4eef1",13:"bcf74b33",14:"93230437",15:"56d8b358",16:"9475586c",17:"613decd8",18:"5737205c",19:"33082a99",20:"eee7c607",21:"ba342c55",22:"77e4830e",23:"699140fc",24:"09f5866d",25:"9b448869",26:"4b1fe3d0",27:"9a00eb36",28:"e8f39276",29:"bf7e4f5f",30:"8644fcf5",31:"5ffb1604",32:"0af9751d",33:"1363cd62",34:"3a941670",35:"360dd12c",36:"0aa74b84"}[e]+".js"}(i);var f=new Error;n=function(e){a.onerror=a.onload=null,clearTimeout(o);var t=s[i];if(0!==t){if(t){var r=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src;f.message="Loading chunk "+i+" failed.\n("+r+": "+n+")",f.name="ChunkLoadError",f.type=r,f.request=n,t[1](f)}s[i]=void 0}};var o=setTimeout(function(){n({type:"timeout",target:a})},12e4);a.onerror=a.onload=n,document.head.appendChild(a)}return Promise.all(e)},b.m=d,b.c=r,b.d=function(e,t,r){b.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(t,e){if(1&e&&(t=b(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(b.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)b.d(r,n,function(e){return t[e]}.bind(null,n));return r},b.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(t,"a",t),t},b.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},b.p="https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/",b.oe=function(e){throw console.error(e),e};var t=window.webpackJsonp=window.webpackJsonp||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var a=0;a<t.length;a++)e(t[a]);var p=n;u()}([]);
\ No newline at end of file
!function(d){function e(e){for(var t,r,n=e[0],a=e[1],f=e[2],o=0,c=[];o<n.length;o++)r=n[o],Object.prototype.hasOwnProperty.call(s,r)&&s[r]&&c.push(s[r][0]),s[r]=0;for(t in a)Object.prototype.hasOwnProperty.call(a,t)&&(d[t]=a[t]);for(p&&p(e);c.length;)c.shift()();return i.push.apply(i,f||[]),u()}function u(){for(var e,t=0;t<i.length;t++){for(var r=i[t],n=!0,a=1;a<r.length;a++){var f=r[a];0!==s[f]&&(n=!1)}n&&(i.splice(t--,1),e=b(b.s=r[0]))}return e}var r={},l={3:0},s={3:0},i=[];function b(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return d[e].call(t.exports,t,t.exports,b),t.l=!0,t.exports}b.e=function(i){var e=[];l[i]?e.push(l[i]):0!==l[i]&&{0:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1}[i]&&e.push(l[i]=new Promise(function(e,n){for(var t="resources/"+({}[i]||i)+"."+{0:"8c0fccc8dcdf",1:"31d6cfe0d16a",5:"930984a29124",6:"adf556fa1464",7:"5aff6cfc48d7",8:"0f44f155a214",9:"7acee47d5dff",10:"7af67fe88b2d",11:"5429a27bb7bb",12:"1f6314bfe897",13:"35e9fd271343",14:"2e113f3cf715",15:"ae04a260ff2d",16:"66f6f1b2e2f8",17:"e49666539688",18:"0ba27a54f3b2",19:"649d251c3201",20:"77c545d728a7",21:"cf5249c9d1f6",22:"ea3ddb59c757",23:"d0b0367588f8",24:"d0a83561e812",25:"074cd78c0ecf",26:"f9edc40b7bd4",27:"31d6cfe0d16a",28:"31d6cfe0d16a",29:"31d6cfe0d16a",30:"31d6cfe0d16a",31:"31d6cfe0d16a",32:"31d6cfe0d16a",33:"31d6cfe0d16a",34:"31d6cfe0d16a",35:"31d6cfe0d16a"}[i]+".css",a=b.p+t,r=document.getElementsByTagName("link"),f=0;f<r.length;f++){var o=(d=r[f]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(o===t||o===a))return e()}var c=document.getElementsByTagName("style");for(f=0;f<c.length;f++){var d;if((o=(d=c[f]).getAttribute("data-href"))===t||o===a)return e()}var u=document.createElement("link");u.rel="stylesheet",u.type="text/css",u.onload=e,u.onerror=function(e){var t=e&&e.target&&e.target.src||a,r=new Error("Loading CSS chunk "+i+" failed.\n("+t+")");r.request=t,delete l[i],u.parentNode.removeChild(u),n(r)},u.href=a,document.getElementsByTagName("head")[0].appendChild(u)}).then(function(){l[i]=0}));var r=s[i];if(0!==r)if(r)e.push(r[2]);else{var t=new Promise(function(e,t){r=s[i]=[e,t]});e.push(r[2]=t);var n,a=document.createElement("script");a.charset="utf-8",a.timeout=120,b.nc&&a.setAttribute("nonce",b.nc),a.src=function(e){return b.p+"resources/"+({}[e]||e)+"."+{0:"c28ab134",1:"f1b282bf",5:"b82cded8",6:"492b006c",7:"210f0f54",8:"781e1e89",9:"cda77657",10:"749ebb9a",11:"7559b8a5",12:"3044a2f5",13:"b80e2183",14:"02a4bcce",15:"fa23ee4c",16:"281206cf",17:"a023a7b6",18:"358ade5e",19:"57ebdaa1",20:"c3d396b8",21:"87fdb223",22:"8ded5618",23:"ae5610e2",24:"168bd3f3",25:"7daab159",26:"dcb1b880",27:"4f93b09f",28:"06406c1e",29:"472e302b",30:"ab5826d0",31:"73286291",32:"a6981eaf",33:"f5d7e6f7",34:"d0f7ea55",35:"1b5301d2"}[e]+".js"}(i);var f=new Error;n=function(e){a.onerror=a.onload=null,clearTimeout(o);var t=s[i];if(0!==t){if(t){var r=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src;f.message="Loading chunk "+i+" failed.\n("+r+": "+n+")",f.name="ChunkLoadError",f.type=r,f.request=n,t[1](f)}s[i]=void 0}};var o=setTimeout(function(){n({type:"timeout",target:a})},12e4);a.onerror=a.onload=n,document.head.appendChild(a)}return Promise.all(e)},b.m=d,b.c=r,b.d=function(e,t,r){b.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(t,e){if(1&e&&(t=b(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(b.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)b.d(r,n,function(e){return t[e]}.bind(null,n));return r},b.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(t,"a",t),t},b.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},b.p="https://zws-imgs-pub.ezijing.com/static/build/learn-enterprise/",b.oe=function(e){throw console.error(e),e};var t=window.webpackJsonp=window.webpackJsonp||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var a=0;a<t.length;a++)e(t[a]);var p=n;u()}([]);
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论