(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ce50ca9a"],{"215f":function(e,t,o){var i=o("cbf7");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=o("499e").default;a("6aa98d72",i,!0,{sourceMap:!1,shadowMode:!1})},"3f7c":function(e,t,o){"use strict";o.r(t);var i=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"details-page"},[o("c-title",{attrs:{hide:!1,text:"课程视频详情"}}),o("div",{staticClass:"video-main"},[o("video",{ref:"goodsVideo",staticStyle:{width:"100%",height:"100%","object-fit":"scale-down"},style:e.videoFlag?"pointer-events: none;":"",attrs:{id:"goods_video",poster:e.courses.img,src:e.courses.link,"webkit-playsinline":"true",playsinline:"true","x5-playsinline":"true","x-webkit-airplay":"true","x5-video-ignore-metadata":"true",width:"100%",height:"100%"},on:{click:function(t){return e.onPlayer(t)},ended:function(t){return e.onPlayerEnded(t)},play:function(t){return e.onPlayerPlay(t)},loadedmetadata:function(t){return e.onLoadedmetadata(t)}}},[o("source",{attrs:{src:e.courses.link}})]),e.videoFlag?o("div",{staticClass:"video-pay flex-a-c flex-j-s",on:{click:function(t){return t.stopPropagation(),e.videoPay.apply(null,arguments)}}},[o("span",{staticClass:"iconfont icon-ht_more_right"})]):e._e(),e.timeFlag?o("div",{staticClass:"video-make flex-a-c flex-j-c"},[o("div",[o("h3",[e._v("距离开始还剩")]),o("div",{staticClass:"video-time"},[o("van-count-down",{attrs:{time:e.beforeDay(e.courses.limit_time)},scopedSlots:e._u([{key:"default",fn:function(t){return[o("span",{staticClass:"block"},[e._v(e._s(t.days))]),o("span",{staticClass:"colon"},[e._v("天")]),o("span",{staticClass:"block"},[e._v(e._s(t.hours))]),o("span",{staticClass:"colon"},[e._v(":")]),o("span",{staticClass:"block"},[e._v(e._s(t.minutes<10?"0":"")+e._s(t.minutes))]),o("span",{staticClass:"colon"},[e._v(":")]),o("span",{staticClass:"block"},[e._v(e._s(t.seconds))])]}}],null,!1,2127199024)})],1)])]):e._e()]),o("div",{staticClass:"goods-course"},[o("div",{staticClass:"course-title"},[o("div",{staticClass:"title-describe"},[o("div",{staticClass:"title-box"},[o("span",{staticClass:"datum-tag"},[e._v(e._s(e.courses.cycle)+"期")]),o("span",{staticClass:"title "},[e._v(e._s(e.courses.name))])]),o("p",{staticClass:"ell"},[e._v(e._s(e.courses.desc))])])]),o("div",{staticClass:"course-details"},[o("div",{staticClass:"title"},[e._v("课程介绍")]),o("div",{domProps:{innerHTML:e._s(e.description)}})]),o("div",{staticClass:"course-details"},[o("div",{staticClass:"title"},[e._v("主讲人介绍")]),o("div",{domProps:{innerHTML:e._s(e.textDescription)}})]),o("div",{staticClass:"relevance"},[o("h3",[e._v("关联题目")]),o("div",{staticClass:"title"},[e._v(e._s(e.courses.topic&&e.courses.topic.title))]),o("div",{staticClass:"topic-list"},e._l(e.courses.topic&&e.courses.topic.options,(function(t,i){return o("block",{key:i},[o("div",{staticClass:"flex-a-c flex-j-sb",class:t.has_answer?"on":""},[o("p",[e._v(e._s(i+1)+"、"+e._s(t.content))]),t.has_answer?o("p",{staticClass:"iconfont icon-info-tick"}):e._e()])])})),1),o("div",{staticClass:"award"},[e._v(" 奖励红包金额"),o("span",[e._v("¥"+e._s(parseFloat(e.courses.reward_price)||"0"))])])])]),o("div",{staticClass:"h-52"}),o("div",{staticClass:"footer-btn flex-a-c",class:[e.fun.isIphoneX()?"iphoneXStyle":""]},[o("div",{staticClass:"datum",class:e.courses.has_copy_button?"":"datum-p",on:{click:function(t){return t.stopPropagation(),e.datumTo.apply(null,arguments)}}},[o("p",{staticClass:"iconfont icon-zb_zhiboing"}),o("h3",[e._v("数据")])]),e.hasCopyButton?o("div",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.coursesLink,expression:"coursesLink",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.copyUrl,expression:"copyUrl",arg:"success"}],staticClass:"copyUrl"},[e._v("复制链接")]):e._e()])],1)},a=[],r=o("5530"),s=(o("a9e3"),o("14d9"),o("a4d3"),o("e01a"),o("ac1f"),o("5319"),{name:"",components:{},data:function(){return{coursesId:"",chatStrId:"",errorShow:!1,succeesShow:!1,efficacyType:1,goodsUrl:"",courses:{},hasCopyButton:!1,videoFlag:!1,coursesLink:"https://bztang.cdlfjy.com/addons/yun_shop/?menu#/category?i=1&type=5&shop_id&mid=166015",durationTime:"",duration:"",description:"",presentTime:"",textDescription:"",timeFlag:!1}},computed:{beforeDay:function(){return function(e){var t=1e3*e;if(Number(e))return 0===e&&(this.timeFlag=!1,this.videoFlag=!0),t-Number(this.presentTime)}}},watch:{},methods:{onPlayerPlay:function(e){this.videoFlag=!1},onLoadedmetadata:function(e){var t=document.getElementById("goods_video"),o=parseInt(t.duration);this.duration=o},onPlayerEnded:function(e){this.videoFlag=!0},onPlayer:function(e){e.preventDefault()},videoPay:function(){this.videoFlag=!1,this.$refs.goodsVideo.play()},sucClick:function(){this.succeesShow=!1},resetClick:function(){this.errorShow=!1},datumTo:function(){this.$router.push(this.fun.getUrl("courseDatum",{id:this.courses.id},{}))},copyUrl:function(){this.$toast("复制成功")},computingTime:function(e,t){if(0===t&&(this.videoFlag=!0),Number(t)){var o=Number(e)-Number(t);o>=0?this.timeFlag=!0:(this.timeFlag=!1,this.videoFlag=!0)}},coursesDetail:function(){var e=this,t={courses_id:Number(this.coursesId),chat_str_id:this.chatStrId};"work"===this.fun.getKey("client")&&(t=Object(r["a"])(Object(r["a"])({},this.getConfig),t)),$http.post("plugin.wechat-video-courses.frontend.controller.manage.courses.detail",t,"loading").then((function(t){if(1===t.result){var o,i,a,r=t.data;e.courses=r.courses,e.hasCopyButton=r.has_copy_button,e.coursesLink=r.courses_link,e.description=null===(o=e.courses)||void 0===o||null===(o=o.introduce)||void 0===o?void 0:o.replace(/\