(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-college-coursedetails"],{"0312":function(t,e,a){"use strict";a.r(e);var n=a("efd2"),i=a("d1c9");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("5fa0");var c,s=a("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"55fc475c",null,!1,n["a"],c);e["default"]=u.exports},"53c3":function(t,e,a){"use strict";var n=a("ee27");a("d3b7"),a("ac1f"),a("25f0"),a("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("9dcd")),o={components:{uniTopBar:i.default},data:function(){return{id:"",fab:!1,content:"",height:"",toptitle:"课程详情",title:""}},onLoad:function(t){var e=this;this.height=this.StatusBar,e.id=t["id"],t.invite&&(uni.getStorageSync("invite")||uni.setStorageSync("invite",t.invite)),t.code?uni.getStorage({key:"invite",success:function(a){uni.request({url:"https://www.hongrensutui.com/api/index/user",data:{code:t.code,invite:a.data},method:"POST",success:function(t){uni.removeStorageSync("invite"),uni.setStorageSync("userInfo",t.data.data.info),e.userInfo=t.data.data.info,e.collegeDetails()}})},fail:function(a){uni.request({url:"https://www.hongrensutui.com/api/index/user",data:{code:t.code},method:"POST",success:function(t){uni.setStorageSync("userInfo",t.data.data.info),e.userInfo=t.data.data.info,e.collegeDetails()}})}}):uni.getStorage({key:"userInfo",success:function(t){""!=t.data&&null!=t.data?e.updateuser(t.data.id):wxlogin()},fail:function(t){wxlogin()}})},methods:{updateuser:function(t){var e=this;t&&uni.request({url:"https://www.hongrensutui.com/api/index/userinfo",data:{id:t},method:"POST",success:function(t){t.data.data.info?(uni.setStorageSync("userInfo",t.data.data.info),e.userInfo=t.data.data.info,e.collegeDetails()):wxlogin()}})},collegeDetails:function(){var t=this;uni.getStorage({key:"userInfo",success:function(e){uni.request({url:"https://www.hongrensutui.com/api/index/collegeDetails",data:{mid:t.userInfo.id,id:t.id},method:"POST",success:function(a){t.content=a.data.data.info;var n=a.data.data.info.content;t.content.content=n.replace(/\<img/gi,'<img style="border-radius: 1.5vw" '),t.share(t.content,e.data.company_id,e.data.id)}})},fail:function(e){uni.request({url:"https://www.hongrensutui.com/api/index/collegeDetails",data:{id:t.id},method:"POST",success:function(e){t.content=e.data.data.list;var a=e.data.data.list.content;t.content.content=a.replace(/\<img/gi,'<img style="border-radius: 1.5vw" '),t.share(t.content,0,0)}})}})},fabulous:function(){var t=this;t.fab||(t.fab=!0,t.content.fabulous=t.content.fabulous+1)},share:function(t){function e(e,a,n){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t,e,a){var n=t.title;t.sharetitle&&(n=t.sharetitle);var i=t.title+"，点击查看详情";if(t.sharecontent&&(i=t.sharecontent),t.img)var o=t.img;else o="https://www.hongrensutui.com/uploads/share/college_video_logo.png";share(n,i,o,a)}))}};e.default=o},"5fa0":function(t,e,a){"use strict";var n=a("a14c"),i=a.n(n);i.a},a14c:function(t,e,a){var n=a("d792");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("60573397",n,!0,{sourceMap:!1,shadowMode:!1})},d1c9:function(t,e,a){"use strict";a.r(e);var n=a("53c3"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},d792:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,".hongren[data-v-55fc475c]{bottom:0}.count[data-v-55fc475c]{padding:0 3vw}.tip[data-v-55fc475c]{padding-top:2.5vw;padding-bottom:1vw}.title[data-v-55fc475c]{color:#333;font-size:5vw;font-weight:700}.time[data-v-55fc475c]{color:#666;font-size:3.6vw;padding:3vw 0}.time .hits[data-v-55fc475c]{float:right}.time .hits .iconfont[data-v-55fc475c]{font-size:3.5vw;margin-left:1vw;color:#6c757d}.data[data-v-55fc475c]{color:#333;font-size:4.3vw;line-height:7vw;padding:4vw 0}.data img[data-v-55fc475c]{width:100%;border-radius:1.5vw}.data[data-v-55fc475c] img{margin-top:1.5vw;border-radius:1.5vw}.follow[data-v-55fc475c]{padding-top:6vw;padding-bottom:4vw}.fabulous[data-v-55fc475c]{width:16vw;height:16vw;left:50%;margin-left:-8vw;border-radius:50%;padding-top:3vw}.fabulous .iconfont[data-v-55fc475c]{font-size:6vw;color:#ccc}.fabulous .num[data-v-55fc475c]{font-size:3.2vw;margin-top:1vw;color:#777}.fabulous.active[data-v-55fc475c]{border:1px solid #f37b1d}.fabulous.active .num[data-v-55fc475c],\n.fabulous.active .iconfont[data-v-55fc475c]{color:#f37b1d}.encourage[data-v-55fc475c]{color:#999;margin-top:3vw;font-size:3.4vw}uni-video[data-v-55fc475c]{width:100%;height:200px;top:43px;box-shadow:0 1px 2px rgba(26,26,26,.1)}",""]),t.exports=e},efd2:function(t,e,a){"use strict";var n,i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("uni-top-bar",{attrs:{title:t.toptitle}}),a("v-uni-video",{attrs:{controls:!0,autoplay:"true",preload:"auto","x-webkit-airplay":"true","x5-playsinline":"true","webkit-playsinline":"true",playsinline:"true",src:t.content["video"]}}),a("v-uni-view",{staticClass:"hongren bg-fff",style:{top:t.height+43+200+"px"}},[a("v-uni-view",{staticClass:"count"},[a("v-uni-view",{staticClass:"tip"},[t._v("红人速推学院")]),a("v-uni-view",{staticClass:"title"},[t._v(t._s(t.content.title))]),a("v-uni-view",{staticClass:"time solid-bottom"},[t._l(t.content.type,(function(e,n){return a("v-uni-view",{key:n,staticClass:"cu-tag round bg-orange light"},[1==e?a("span",[t._v("#抖音")]):t._e(),0==e?a("span",[t._v("#快手")]):t._e()])})),a("v-uni-view",{staticClass:"cu-tag round light bg-grey"},[t._v(t._s(t.content.category))]),a("v-uni-view",{staticClass:"hits"},[t._v(t._s(t.content.views)+"人已学习")])],2),a("v-uni-view",{staticClass:"data"},[a("v-uni-view",{domProps:{innerHTML:t._s(t.content.content)}})],1)],1)],1)],1)},o=[];a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}))}}]);