1 line
18 KiB
JavaScript
1 line
18 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4742a37e"],{"39ba":function(t,a,e){var i=e("549e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=e("499e").default;s("0f9d0a4a",i,!0,{sourceMap:!1,shadowMode:!1})},"549e":function(t,a,e){var i=e("24fb");a=i(!1),a.push([t.i,".noneTxt[data-v-d390486a]{text-align:center;color:#999}.recordlist[data-v-d390486a]{padding-bottom:3rem}.resurgence[data-v-d390486a]{margin:.63rem}.resurgence .list[data-v-d390486a]{background:#fff;border-radius:.31rem;padding:.78rem .81rem;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:.63rem}.resurgence .list .lis[data-v-d390486a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;font-size:.69rem;line-height:.66rem}.resurgence .list .lis .left[data-v-d390486a]{width:60%;text-align:left}.resurgence .list .lis .right[data-v-d390486a]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:left}.resurgence .list .lis .mbottom[data-v-d390486a]{margin-bottom:.59rem}.resurgence .list .taskName[data-v-d390486a]{font-size:.81rem;line-height:.75rem;margin-bottom:.59rem;text-align:left}.resurgence .list .time[data-v-d390486a]{font-size:.63rem;line-height:.5rem;text-align:left;color:#919191;margin-bottom:.9rem}.team[data-v-d390486a]{margin:0 .63rem}.team .title[data-v-d390486a]{padding:.91rem .84rem;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:.88rem;color:#333;text-align:left}.team .list[data-v-d390486a]{padding:.88rem;background:#fff;border-radius:.31rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-bottom:.63rem}.team .list .image[data-v-d390486a]{width:1.88rem;height:1.88rem;border-radius:100%;margin-right:.56rem}.team .list .image img[data-v-d390486a]{width:100%;height:100%;border-radius:100%}.team .list .user[data-v-d390486a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.team .list .user .top[data-v-d390486a]{width:100%;text-align:left;font-size:.75rem;line-height:.75rem}.team .list .user .mobile[data-v-d390486a]{width:100%;text-align:left;font-size:.63rem;color:#666;line-height:.63rem}.liveness[data-v-d390486a],.serviceCharge[data-v-d390486a]{margin:0 .63rem}.liveness .title[data-v-d390486a],.serviceCharge .title[data-v-d390486a]{padding:.91rem .84rem;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:.88rem;color:#333;text-align:left}.liveness .list[data-v-d390486a],.serviceCharge .list[data-v-d390486a]{padding:.75rem .84rem;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:.31rem;background:#fff;margin-bottom:.63rem}.liveness .list .lis[data-v-d390486a],.serviceCharge .list .lis[data-v-d390486a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;font-size:.69rem;line-height:.66rem}.liveness .list .lis .left[data-v-d390486a],.serviceCharge .list .lis .left[data-v-d390486a]{width:50%;text-align:left}.liveness .list .lis .right[data-v-d390486a],.serviceCharge .list .lis .right[data-v-d390486a]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:left}.liveness .list .lis .mbottom[data-v-d390486a],.serviceCharge .list .lis .mbottom[data-v-d390486a]{margin-bottom:.59rem}.liveness .list .timeTop[data-v-d390486a],.serviceCharge .list .timeTop[data-v-d390486a]{font-size:.63rem;margin-bottom:.9rem;color:#919191;text-align:left}.liveness .list .bottom[data-v-d390486a],.liveness .list .top[data-v-d390486a],.serviceCharge .list .bottom[data-v-d390486a],.serviceCharge .list .top[data-v-d390486a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.liveness .list .top[data-v-d390486a],.serviceCharge .list .top[data-v-d390486a]{margin-bottom:.81rem}.liveness .list .top .name[data-v-d390486a],.serviceCharge .list .top .name[data-v-d390486a]{font-size:.81rem;color:#333}.liveness .list .top .num[data-v-d390486a],.serviceCharge .list .top .num[data-v-d390486a]{font-size:.81rem;color:#f51d1d}.liveness .list .bottom .name[data-v-d390486a],.serviceCharge .list .bottom .name[data-v-d390486a]{color:#666;font-size:.69rem}.liveness .list .bottom .time[data-v-d390486a],.serviceCharge .list .bottom .time[data-v-d390486a]{font-size:.63rem;color:#919191}.award[data-v-d390486a]{margin:.63rem}.award .list[data-v-d390486a]{padding:.94rem .84rem;background:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-bottom:.63rem;border-radius:.31rem}.award .list .left[data-v-d390486a]{color:#000}.award .list .right[data-v-d390486a]{font-size:.81rem;color:#f51d1d}.lissix[data-v-d390486a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;text-align:left;font-size:.69rem}.lissix .mbottom[data-v-d390486a]{margin-bottom:.59rem}.lissix .left[data-v-d390486a],.lissix .right[data-v-d390486a]{width:50%}.List[data-v-d390486a]{margin:.63rem;padding-bottom:4rem}.List .schedule[data-v-d390486a]{padding:0 .63rem;background:#fff;text-align:left}.List .schedule .line[data-v-d390486a]{width:100%;height:1.0016px;background:#dfdfdf}.List .schedule .txt[data-v-d390486a]{padding:.75rem 0;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:.69rem}.List .schedule .txt .dcolor[data-v-d390486a]{color:#f51d1d}.List .taskLis_one[data-v-d390486a],.List .taskLis_two[data-v-d390486a]{margin-bottom:.63rem}.List .taskLis[data-v-d390486a]{padding:.72rem .63rem;border-radius:.31rem;background:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;border:1px solid #fff}.List .taskLis .taskLis_right[data-v-d390486a]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow:hidden}.List .taskLis .taskLis_right .taskLis_right-top[data-v-d390486a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.List .taskLis .taskLis_right .taskLis_right-top .title[data-v-d390486a]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:.81rem;text-align:left;margin-right:1.31rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.List .taskLis .taskLis_right .taskLis_right-top .loveTxt[data-v-d390486a]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;color:#f51d1d;font-size:.69rem}.List .taskLis .taskLis_right .taskLis_right-time[data-v-d390486a]{font-size:.63rem;color:#807e7e;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin:.66rem 0 .81rem 0}.List .taskLis .taskLis_right .taskLis_right-time .totalCount[data-v-d390486a]{color:#66a3e7}.List .taskLis .taskLis_right .taskLis_right-count[data-v-d390486a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.List .taskLis .taskLis_right .taskLis_right-count .countlis[data-v-d390486a]:last-child{margin-right:0}.List .taskLis .taskLis_right .taskLis_right-count .countlis[data-v-d390486a]{font-size:.63rem;color:#4c4c4c;font-weight:400;margin-right:1.09rem}.List .taskLis .taskLis_left[data-v-d390486a]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:4.38rem;height:4.38rem;background:#8b8b8b;border-radius:.19rem;margin-right:.59rem;overflow:hidden}.List .taskLis .taskLis_left img[data-v-d390486a]{width:100%;height:100%;margin:0}.List .taskLisSelect[data-v-d390486a]{border:1.0016px solid #f51d1d}",""]),t.exports=a},8733:function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{attrs:{id:"record"}},[e("c-title",{attrs:{hide:!1,text:t.typeClass+"记录"}}),e("recordlist",{attrs:{typeClass:t.type,show:t.show,info:t.rankingList,count:t.sub_team_count,usable_name:t.usable_name}})],1)},s=[],l=e("2909"),o=e("5530"),n=(e("99af"),e("ac0d")),r=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"recordlist"},[1==t.typeClass&&t.info?e("div",{staticClass:"award"},[t._l(t.info,(function(a,i){return e("div",{key:i,staticClass:"list"},[e("div",{staticClass:"left"},[t._v(t._s(a.day))]),e("div",{staticClass:"right"},[t._v("+"+t._s(a.reward))])])})),t.info.length<=0?e("div",{staticClass:"noneTxt"},[t._v("暂无记录")]):t._e()],2):t._e(),2==t.typeClass||3==t.typeClass?e("div",{staticClass:"liveness"},[2==t.typeClass?e("div",{staticClass:"title"},[t._v("累计总贡献值:"+t._s(t.count))]):t._e(),3==t.typeClass?e("div",{staticClass:"title"},[t._v("累计贡献值:"+t._s(t.count))]):t._e(),t.info&&t.info.data?t._l(t.info.data,(function(a,i){return e("div",{key:i,staticClass:"list"},[e("div",{staticClass:"top"},[e("div",{staticClass:"name"},[t._v(t._s(a.source_name))]),e("div",{staticClass:"num"},[t._v(t._s(1==a.type?"+":"-")+t._s(a.change_value))])]),a.bag?e("div",{staticClass:"bottom"},[e("div",{staticClass:"name"},[t._v(t._s(a.bag.name))]),e("div",{staticClass:"time"},[t._v(t._s(a.created_at))])]):t._e()])})):t._e(),t.info&&t.info.data.length<=0?e("div",{staticClass:"noneTxt"},[t._v("暂无记录")]):t._e()],2):t._e(),4==t.typeClass?e("div",{staticClass:"resurgence"},[t.info&&t.info.data?t._l(t.info.data,(function(a,i){return e("div",{key:i,staticClass:"list"},[a.bag?e("div",{staticClass:"taskName"},[t._v(t._s(a.bag.name))]):t._e(),e("div",{staticClass:"time"},[t._v(t._s(a.created_at))]),e("div",{staticClass:"lis"},[e("div",{staticClass:"left mbottom"},[t._v("复活时间:"+t._s(a.day))]),e("div",{staticClass:"right mbottom"},[t._v("支付方式:"+t._s(a.pay_type))])]),e("div",{staticClass:"lis"},[e("div",{staticClass:"left"},[t._v("支付单号:"+t._s(a.pay_sn))]),e("div",{staticClass:"right"},[t._v("支付金额:"+t._s(a.pay_amount))])])])})):t._e(),t.info&&t.info.data.length<=0?e("div",{staticClass:"noneTxt"},[t._v("暂无记录")]):t._e()],2):t._e(),5==t.typeClass||6==t.typeClass?e("div",{staticClass:"serviceCharge"},[e("div",{staticClass:"title"},[t._v("累计分红金额:"+t._s(t.count))]),t.info&&t.info.data?t._l(t.info.data,(function(a,i){return e("div",{key:i,staticClass:"list"},[e("div",{staticClass:"timeTop"},[t._v(t._s(a.created_at))]),5==t.typeClass?[e("div",{staticClass:"lis"},[e("div",{staticClass:"left mbottom"},[t._v("手续费总数:"+t._s(a.total))]),e("div",{staticClass:"right mbottom"},[t._v("等级人数:"+t._s(a.people_num)+"人")])]),e("div",{staticClass:"lis"},[e("div",{staticClass:"left"},[t._v("分红比例:"+t._s(a.bonus_rate)+"%")]),e("div",{staticClass:"right"},[t._v("分红金额:"+t._s(a.amount))])])]:t._e(),6==t.typeClass?[e("div",{staticClass:"lissix"},[t.show?e("div",{staticClass:"left mbottom"},[t._v("分红总金额:"+t._s(a.total))]):t._e(),e("div",{staticClass:"right mbottom"},[t._v("等级"+t._s(t.usable_name?t.usable_name:"可用爱心值")+":"+t._s(a.level_love_total))]),e("div",{staticClass:"left"},[t._v("本人持有:"+t._s(a.self_love))]),e("div",{staticClass:"right"},[t._v("分红金额:"+t._s(a.amount))])])]:t._e()],2)})):t._e(),t.info&&t.info.data.length<=0?e("div",{staticClass:"noneTxt"},[t._v("暂无记录")]):t._e()],2):t._e(),7==t.typeClass?e("div",{staticClass:"team"},[e("div",{staticClass:"title"},[t._v("下级团队人数:"+t._s(t.count))]),t.info&&t.info.data?t._l(t.info.data,(function(a,i){return e("div",{key:i,staticClass:"list"},[e("div",{staticClass:"image"},[e("img",{attrs:{src:a.avatar,alt:""}})]),e("div",{staticClass:"user"},[e("div",{staticClass:"top van-ellipsis"},[t._v(t._s(a.nickname)+"(id:"+t._s(a.uid)+")")]),a.mobile?e("div",{staticClass:"mobile van-ellipsis"},[t._v(t._s(a.mobile))]):t._e()])])})):t._e(),t.info&&t.info.data.length<=0?e("div",{staticClass:"noneTxt"},[t._v("暂无记录")]):t._e()],2):t._e(),8==t.typeClass?e("div",{staticClass:"List"},[t._l(t.info,(function(a,i){return[e("div",{key:i,staticClass:"cloum taskLis_two",on:{click:function(e){return t.tapTask(a.id)}}},[e("div",{staticClass:"taskLis"},[e("div",{staticClass:"taskLis_left"},[e("img",{attrs:{src:a.pic,alt:""}})]),e("div",{staticClass:"taskLis_right"},[e("div",{staticClass:"taskLis_right-top"},[e("div",{staticClass:"title"},[t._v(t._s(a.name))]),e("div",{staticClass:"loveTxt"},[t._v(t._s(a.love_amount)+t._s(t.usable_name))])]),e("div",{staticClass:"taskLis_right-time"},[e("div",{staticClass:"time"},[t._v("有效期 "+t._s(a.active_start)+"至 "+t._s(a.active_end))])]),e("div",{staticClass:"taskLis_right-count"},[e("div",{staticClass:"countlis"},[t._v("收益率 "+t._s(a.return_rate))]),e("div",{staticClass:"countlis"},[t._v("总释放 "+t._s(a.total_amount))]),e("div",{staticClass:"countlis"},[t._v("日释放 "+t._s(a.daily_amount))])])])]),e("div",{staticClass:"schedule"},[e("div",{staticClass:"line"}),e("div",{staticClass:"txt"},[t._v(" 任务:观看 "),e("span",{staticClass:"dcolor"},[t._v(t._s(a.daily.video))]),t._v(" 个视频,分享"),e("span",{staticClass:"dcolor"},[t._v(t._s(a.daily.share))]),t._v("个视频,转发"),e("span",{staticClass:"dcolor"},[t._v(t._s(a.daily.article))]),t._v("篇文章 ")])])])]}))],2):t._e()])},d=[],c=(e("14d9"),{props:{typeClass:{type:String,default:null},info:{type:null},count:{type:null},show:{type:Boolean,default:!1},usable_name:{type:String,default:""}},watch:{info:function(t,a){this.typeClass}},data:function(){return{selected:{}}},methods:{tapTask:function(t){this.$router.push(this.fun.getUrl("taskPackageTask",{id:t}))}},mounted:function(){}}),m=c,f=(e("bdf2"),e("2877")),v=Object(f["a"])(m,r,d,!1,null,"d390486a",null),g=v.exports,p={mixins:[n["a"]],data:function(){return{typeClass:"",type:"",url:"",sub_team_count:"",show:!1,reward_id:"",rankingList:[],usable_name:"",isLoadMore:!0,page:1,total_page:0,otherJson:{}}},activated:function(){this.init(),this.type=this.$route.params.type,this.reward_id=this.$route.params.id,1==this.type?(this.typeClass="奖励",this.url="plugin.task-package.frontend.daily.reward-record",this.otherJson={record_id:this.$route.params.id}):2==this.type?(this.typeClass="总贡献值",this.url="plugin.task-package.frontend.active-value.get-list"):3==this.type?(this.typeClass="贡献值",this.url="plugin.task-package.frontend.record.contribution-value"):4==this.type?(this.typeClass="复活",this.url="plugin.task-package.frontend.recovery.recovery-list"):5==this.type?(this.typeClass="手续费",this.url="plugin.task-package.frontend.record.procedures-fee"):6==this.type?(this.typeClass="平台流水",this.url="plugin.task-package.frontend.record.platform-flow"):7==this.type?(this.typeClass="下级团队",this.url="plugin.task-package.frontend.index.sub-team"):8==this.type&&(this.typeClass="兑换",this.url="plugin.task-package.frontend.record.get-list"),this.fun.setWXTitle(this.typeClass),this.getData()},methods:{init:function(){this.page=1,this.isLoadMore=!0,this.total_page=0},getData:function(){var t=this,a=Object(o["a"])({page:this.page},this.otherJson);$http.get(this.url,a,"加载中..").then((function(a){if(1==a.result){var e=a.data;4==t.type?t.rankingList=e:1==t.type||8==t.type?t.rankingList=e.data:t.rankingList=e.list,7==t.type?t.sub_team_count=a.data.sub_team_count:2==t.type?t.sub_team_count=a.data.total_amount:3==t.type?t.sub_team_count=a.data.total:5==t.type||6==t.type?(t.sub_team_count=a.data.total,6==t.type&&(t.show=a.data.show,t.usable_name=a.data.usable_name)):8==t.type&&(t.usable_name=e.usable_name),t.isLoadMore=!0,4==t.type||1==t.type||8==t.type?t.total_page=e.last_page:t.total_page=e.list.last_page,t.total_page||(t.page=0)}else t.page=t.page-1,t.isLoadMore=!1,t.$dialog.alert({message:a.msg})}))},getMoreData:function(){var t=this;if(this.isLoadMore=!1,!(this.page>=this.total_page)){this.page=this.page+1;var a=Object(o["a"])({page:this.page},this.otherJson);$http.post(this.url,a,"加载中").then((function(a){if(t.isLoadMore=!0,1===a.result){var e=[];4==t.type?(e=a.data.data,t.total_page=a.data.last_page,t.rankingList.data=[].concat(Object(l["a"])(t.rankingList.data),Object(l["a"])(e))):1==t.type||8==t.type?(e=a.data.data,t.total_page=a.data.last_page,t.rankingList=[].concat(Object(l["a"])(t.rankingList),Object(l["a"])(e))):(e=a.data.list.data,t.total_page=a.data.list.last_page,t.rankingList.data=[].concat(Object(l["a"])(t.rankingList.data),Object(l["a"])(e)))}else t.page=t.page-1,t.isLoadMore=!1}),(function(t){}))}}},components:{recordlist:g}},b=p,u=Object(f["a"])(b,i,s,!1,null,"56d24c81",null);a["default"]=u.exports},ac0d:function(t,a,e){"use strict";e.d(a,"a",(function(){return l}));var i=document.documentElement,s=document.body,l={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var t=0;return i&&i.scrollTop?t=i.scrollTop:s&&(t=s.scrollTop),t},getClientHeight:function(){var t=0;return t=s.clientHeight&&i.clientHeight?Math.min(s.clientHeight,i.clientHeight):Math.max(s.clientHeight,i.clientHeight),t},getScrollHeight:function(){return Math.max(s.scrollHeight,i.scrollHeight)},handleScroll:function(){this.otherScroll();var t=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=t>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},bdf2:function(t,a,e){"use strict";e("39ba")}}]); |