text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-about-course"],{"00b5":function(t,a,i){var e=i("24fb");a=e(!1),a.push([t.i,'.hongren[data-v-97b2288e]{bottom:0}.bg-fff[data-v-97b2288e]{padding-bottom:3vw}.bg-fff .item[data-v-97b2288e]:last-child{margin-bottom:0}.bg-fff>.title[data-v-97b2288e]{padding:5vw 3vw;font-size:4.5vw;font-weight:700;background-color:#fff}.bg-fff>.title .name[data-v-97b2288e]{background-image:url(https://www.hongrensutui.com/h5/img/wzbg2.png);background-repeat:repeat-x;background-position:bottom;display:inline-block;padding:0 1vw}\n/*数据列表*/.item[data-v-97b2288e]{margin:0 3vw;width:94vw;background-color:#f7f7f7;border-radius:1.5vw;margin-bottom:3vw;position:relative}.item .free[data-v-97b2288e]{position:absolute;width:8vw;border-top-left-radius:1.5vw;border-bottom-right-radius:1.5vw;left:0;z-index:100}.item .ptgz[data-v-97b2288e]{float:left;width:36vw;border-top-left-radius:1.5vw;border-bottom-left-radius:1.5vw}.item .title[data-v-97b2288e]{border-top-right-radius:1.5vw;border-bottom-right-radius:1.5vw;float:left;padding:0 3vw;width:58vw}.item .title .name[data-v-97b2288e]{font-size:3.8vw;font-weight:700;line-height:6vw;margin-top:2vw}.item .title .hits[data-v-97b2288e]{font-size:2.8vw;position:relative;top:2vw;float:left}.cu-bar[data-v-97b2288e]{position:static}.cu-dialog[data-v-97b2288e]{background-color:initial;width:auto;padding:4vw;height:auto}.cu-bar .action:first-child>uni-text[class*="cuIcon-"][data-v-97b2288e]{margin:0}.cu-bar.tabbar .action [class*="cuIcon-"][data-v-97b2288e]{width:auto}.bg-img[data-v-97b2288e]{position:relative}.cuIcon-close[data-v-97b2288e]:before{background-color:rgba(0,0,0,.5);padding:1.5vw;border-radius:50%}.wechat[data-v-97b2288e]{width:200px;height:200px}.tip[data-v-97b2288e]{color:#fff;margin:2vw 0;font-size:3.4vw}.auth[data-v-97b2288e]{padding:6vw;border-radius:1.5vw;background-color:#fff}.auth .title[data-v-97b2288e]{color:#333;margin-bottom:4vw}',""]),t.exports=a},"2f26":function(t,a,i){"use strict";var e=i("e149"),n=i.n(e);n.a},"3aa1":function(t,a,i){"use strict";var e,n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",[i("uni-top-bar",{attrs:{title:t.toptitle}}),i("v-uni-view",{staticClass:"hongren",style:{top:t.height+43+"px"}},t._l(t.video,(function(a,e){return a.video.length>0?i("v-uni-view",{key:e,staticClass:"bg-fff"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-view",{staticClass:"name"},[t._v(t._s(a.name))])],1),t._l(a.video,(function(a,e){return i("v-uni-view",{key:e,staticClass:"item clearfix",attrs:{"data-target":"Image"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.test(a.img,a.video)}}},[i("img",{staticClass:"free",attrs:{src:"https://www.hongrensutui.com/h5/img/free.png",mode:"widthFix"}}),a.img?i("img",{staticClass:"ptgz",attrs:{src:a["img"],mode:"widthFix"}}):i("img",{staticClass:"ptgz",attrs:{src:"https://www.hongrensutui.com/h5/img/noimg.jpg",mode:"widthFix"}}),i("v-uni-view",{staticClass:"title"},[i("v-uni-view",{staticClass:"name"},[t._v(t._s(a.title))]),i("v-uni-view",{staticClass:"cu-tag light bg-red round sm hits"},[t._v("已有"+t._s(a.views)+"人学习")])],1)],1)}))],2):t._e()})),1),i("v-uni-view",{staticClass:"cu-modal",class:"Image"==t.modalName?"show":""},[i("v-uni-view",{staticClass:"cu-dialog"},[i("v-uni-view",{staticClass:"bg-img"},["Image"==t.modalName?i("v-uni-video",{attrs:{controls:!0,poster:t.poster,autoplay:"true",src:t.src}}):t._e(),i("v-uni-view",{staticClass:"cu-bar justify-center text-white"},[i("v-uni-view",{staticClass:"action",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.hideModal.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"cuIcon-close"})],1)],1)],1)],1)],1),i("v-uni-view",{staticClass:"cu-modal",class:"Imageno"==t.modalName?"show":"",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.hideModal.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"cu-dialog"},[i("v-uni-view",{staticClass:"auth"},[i("v-uni-view",{staticClass:"title"},[t._v("十分抱歉，由于相关规范，小程序暂不支持查看。")])],1)],1)],1)],1)},o=[];i.d(a,"b",(function(){return n})),i.d(a,"c",(function(){return o})),i.d(a,"a",(function(){return e}))},"552c":function(t,a,i){"use strict";i.r(a);var e=i("ddcb"),n=i.n(e);for(var o in e)"default"!==o&&function(t){i.d(a,t,(function(){return e[t]}))}(o);a["default"]=n.a},c31d:function(t,a,i){"use strict";i.r(a);var e=i("3aa1"),n=i("552c");for(var o in n)"default"!==o&&function(t){i.d(a,t,(function(){return n[t]}))}(o);i("2f26");var s,r=i("f0c5"),u=Object(r["a"])(n["default"],e["b"],e["c"],!1,null,"97b2288e",null,!1,e["a"],s);a["default"]=u.exports},ddcb:function(t,a,i){"use strict";var e=i("ee27");i("d3b7"),i("25f0"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e(i("9dcd")),o={components:{uniTopBar:n.default},data:function(){return{height:"",video:"",src:"",poster:"",toptitle:"培训课程",card_id:0,course:0,modalName:null,backurl:location.href}},onLoad:function(t){var a=this,i=this;i.height=i.StatusBar,uni.request({url:"https://www.hongrensutui.com/api/index/course",success:function(t){a.course=t.data.data.course}}),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),i.getvideo(),i.share(t.data.data.info.company_id,t.data.data.info.id)}})},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),i.getvideo(),i.share(t.data.data.info.company_id,t.data.data.info.id)}})}}):uni.getStorage({key:"userInfo",success:function(t){""!=t.data&&null!=t.data?i.updateuser(t.data.id):wxlogin(i.backurl)},fail:function(t){wxlogin(i.backurl)}})},methods:{updateuser:function(t){var a=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),a.getvideo(),a.share(t.data.data.info.company_id,t.data.data.info.id)):wxlogin(a.backurl)}})},getvideo:function(){var t=this;uni.request({url:"https://www.hongrensutui.com/api/index/getvideo",method:"POST",success:function(a){a.data.data.info&&(t.video=a.data.data.info)}})},test:function(t,a){if(this.course){var i=this;i.src=a,i.poster=t,i.modalName="Image"}else this.modalName="Imageno"},hideModal:function(t){this.modalName=null},share:function(t){function a(a,i){return t.apply(this,arguments)}return a.toString=function(){return t.toString()},a}((function(t,a){var i=location.href,e="培训课程-红人速推 | 网红直播带货一站式服务平台",n="红人速推就是网红多 商家多，直播带货就上红人速推。",o="http://cdn.hongrensutui.com/uploads/share/home_logo2.png",s=i;if(t>0)s=s+"?invite="+a;share(i,e,n,o,s)}))}};a.default=o},e149:function(t,a,i){var e=i("00b5");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=i("4f06").default;n("7271f2f8",e,!0,{sourceMap:!1,shadowMode:!1})}}]);