(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/help/help"],{1359:function(t,e,n){"use strict";n.r(e);var a=n("e0cc"),o=n("8fab");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("d45e");var c,d=n("f0c5"),r=Object(d["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],c);e["default"]=r.exports},"28fd":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=null,a={data:function(){return{percent:"0%",id:"",starId:"",info:"",dataList:""}},onLoad:function(t){console.log(t),this.id=t.id,this.starId=t.starId,this.getActiveInfo(t.id,t.starId),this.getTenLength(t.id,t.starId),this.loadgoAdd()},methods:{getActiveInfo:function(t,e){var n=this;this.request({url:this.path+"/api/xyb/star/activeInfo",data:{id:t,starId:e},success:function(t){var e=t.data;0==e.code&&(e.data.completeCount>e.data.targetDay-1?n.percent="100%":n.percent=Math.floor(e.data.completeCount/e.data.targetDay*100)+"%",n.info=e.data)}})},goBack:function(){t.navigateBack()},getTenLength:function(t,e){var n=this;this.request({url:this.path+"api/xyb/star/activeParticipateList",data:{id:t,starId:e,pageNum:1,pageSize:10},success:function(t){var e=t.data;n.dataList=e.rows,console.log(e)}})},joinActive:function(){this.request({url:this.path+"/api/xyb/star/participateActive",data:{activeId:this.id,starId:this.starId},success:function(t){var e=t.data;console.log(e)}})},goAdd:function(){n.show().then((function(){return console.log("激励视频 广告显示")}))},loadgoAdd:function(){var e=this;t.createRewardedVideoAd&&(n=t.createRewardedVideoAd({adUnitId:"adunit-b391eb6b37e844fe"}),n.onLoad((function(){console.log("激励视频 广告加载成功")})),n.onError((function(t){console.log(t)})),n.onClose((function(t){n.offClose(),console.log(t),(t&&t.isEnded||void 0===t)&&(e.joinActive(),e.getActiveInfo(e.id,e.starId),e.getTenLength(e.id,e.starId))})))}}};e.default=a}).call(this,n("543d")["default"])},"2ac5":function(t,e,n){},5907:function(t,e,n){"use strict";(function(t){n("9f3b");a(n("66fd"));var e=a(n("1359"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"8fab":function(t,e,n){"use strict";n.r(e);var a=n("28fd"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a},d45e:function(t,e,n){"use strict";var a=n("2ac5"),o=n.n(a);o.a},e0cc:function(t,e,n){"use strict";var a,o=function(){var t=this,e=t.$createElement;t._self._c},i=[];n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}))}},[["5907","common/runtime","common/vendor"]]]);