"use strict";(self["webpackChunkexchange"]=self["webpackChunkexchange"]||[]).push([[4433],{3717:function(t,e,s){s.d(e,{A:function(){return c}});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"assetsHead"}},[s("van-nav-bar",{attrs:{border:!1,title:t.title,"left-arrow":t.showLeft},on:{"click-left":t.onClickLeft},scopedSlots:t._u([{key:"right",fn:function(){return[t._t("default")]},proxy:!0}],null,!0)})],1)},i=[],o=(s(44114),{name:"assets-head",props:{title:{type:String,default:""},goHome:{type:Boolean,default:!1},goAssetsCenter:{type:Boolean,default:!1},goPerpetualContract:{type:Boolean,default:!1},showLeft:{type:Boolean,default:!0},backFunc:{type:Function},clickFunc:{type:Function}},methods:{onClickLeft(){this.goHome?this.$router.push("/"):this.goAssetsCenter?this.$router.push("/assetsCenter/assets"):this.goPerpetualContract?this.$router.go(-2):this.backFunc?this.backFunc():this.clickFunc?this.clickFunc():this.$router.go(-1)}}}),l=o,n=s(81656),r=(0,n.A)(l,a,i,!1,null,"77f40d14",null),c=r.exports},46296:function(t,e,s){s.r(e),s.d(e,{default:function(){return f}});var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"font-26 promote"},[a("assets-head",{attrs:{title:t.$t("推荐")}}),a("div",{staticClass:"advise w-828 h-220 p-40 box-border flex flex-col items-start justify-center",class:{"h-260 ":"CN"!==t.$i18n.locale}},["CN"===t.$i18n.locale?a("span",{staticClass:"font-600 font-50",staticStyle:{color:"#273549"}},[t._v(t._s(t.$t("邀请好友,一起赚币")))]):a("span",{staticClass:"font-900 w-445 font-55"},[t._v(t._s(t.$t("邀请好友,一起赚币")))]),a("span",{staticClass:"w-500 mt-20 font-40 font-600",staticStyle:{color:"#273549"}},[t._v(t._s(t.$t("马上充值即刻获取佣金")))])]),a("div",{staticClass:"performance-title"},[a("div",{staticClass:"performance-title-1 flex-col flex items-start",class:{"performance-title-1-1":"CN"!==t.$i18n.locale}},[t._v(" "+t._s(t.$t("我的总推广"))+" "),a("div",{staticClass:"performance-text text-left"},[t._v(t._s(t.promote_list.total&&t.promote_list.total.children))])]),a("div",{staticClass:"performance-title-2 flex-col flex items-center",class:{"performance-title-1-1":"CN"!==t.$i18n.locale}},[t._v(" "+t._s(t.$t("总充值"))+" "),a("div",{staticClass:"performance-text2 text-left"},[t._v(t._s(t.promote_list.recharge_sum?(1*t.promote_list.recharge_sum).toFixed(2):"0.00"))])]),a("div",{staticClass:"flex items-center w-160 justify-end colorMain",staticStyle:{"align-self":"start"}},[a("div",{staticClass:"performance-title-3",on:{click:function(e){return t.$router.push("/promote/rules")}}},[t._v(t._s(t.$t("规则")))]),a("img",{staticClass:"performance-title-4",attrs:{src:s(26059)}})])]),a("div",{staticClass:"numberOfPeople"},[a("div",{staticClass:"numberOfPeople-text flex flex-col align-center"},[t._v(" "+t._s(t.$t("一代人数"))+" "),a("div",{staticClass:"mt-20 numberOfPeople-text4 text-center"},[t._v(t._s(t.promote_list.total&&t.promote_list.total.level_1))])]),a("div",{staticClass:"numberOfPeople-text2 flex flex-col align-center"},[t._v(" "+t._s(t.$t("二代人数"))+" "),a("div",{staticClass:"mt-20 numberOfPeople-text5 flex-1 text-center "},[t._v(t._s(t.promote_list.total&&t.promote_list.total.level_2))])]),a("div",{staticClass:"numberOfPeople-text3 flex flex-col align-center"},[t._v(" "+t._s(t.$t("三代人数"))+" "),a("div",{staticClass:"mt-20 numberOfPeople-text6 flex-1 text-center "},[t._v(t._s(t.promote_list.total&&t.promote_list.total.level_3))])])]),a("div",{staticClass:"Recommend"},[a("div",{staticClass:"Recommend-text btnMain text-white",on:{click:t.ShareQRCode_push}},[t._v(t._s(t.$t("立即推广")))])]),a("div",{staticClass:"segmentation-max"}),a("div",{staticClass:"MyRecommendation-title"},[t._v(t._s(t.$t("我的推广")))]),a("div",{staticStyle:{width:"100%"}},[a("van-tabs",{ref:"tabs",attrs:{sticky:"",animated:""},on:{change:t.onChange},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},t._l(t.selectData,(function(e){return a("van-tab",{key:e.title,attrs:{title:e.title,name:e.type}},[a("div",{staticClass:"Recommendation-tab-title"},[a("div",{staticClass:"Recommendation-tab-title1"},[t._v(t._s(t.$t("用户名")))]),a("div",{staticClass:"Recommendation-tab-title1"},[t._v(t._s(t.$t("总人数")))]),a("div",{staticClass:"Recommendation-tab-title1"},[t._v(t._s(t.$t("总充值")))])]),a("van-list",{attrs:{finished:t.finished,"finished-text":t.$t("没有更多了"),"loading-text":t.$t("加载中...")},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.promote_list_data,(function(e,s){return a("div",{key:s,staticClass:"Recommendation-tab"},[a("div",{staticClass:"Recommendation-tab1"},[t._v(t._s(e.username))]),a("div",{staticClass:"Recommendation-tab1"},[t._v(t._s(e.reco_sum))]),a("div",{staticClass:"Recommendation-tab1"},[t._v(t._s((1*e.recharge_sum).toFixed(2)))])])})),0)],1)})),1)],1)],1)},i=[],o=(s(7287),s(10339)),l=(s(1751),s(26852)),n=(s(96356),s(162)),r=(s(44114),s(41280)),c=s(3717),d=s(94348),m={data(){return{active:"1",level:1,page_no:1,promote_list:[],promote_list_data:[],list:[],loading:!1,finished:!1,pageSize:10,selectData:[{title:this.$t("一代"),type:"1"},{title:this.$t("二代"),type:"2"},{title:this.$t("三代"),type:"3"}]}},components:{assetsHead:c.A,[n.A.name]:n.A,[l.A.name]:l.A,[o.A.name]:o.A},created(){},methods:{init(){this.promote_data()},onLoad(){this.promote_data()},promote_data(){const t=this;this.loading=!0,r.A.promote({level:t.level,page_no:t.page_no}).then((e=>{d.log(111,e),t.promote_list=e.data,this.promote_list_data=[...this.promote_list_data,...e.data.list],this.loading=!1,e.data.list.length(0,a.zi)({url:"api/promote!getPromote.action",method:"get"},t),o=t=>(0,a.zi)({url:"api/localuser!getShare.action",method:"get",isLoading:!1},t),l={promote:i,localuser:o};e.A=l},26059:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADQSURBVHgB5dbRDYIwEAbgK2ugriYbECdomcAwgbiakTG0Xh9IMGrvev190f+pBI6PS2lyRH+d7TF2uzHuCZiGMhjfPUWiaTPGQN8G76u1I/Io9CM4H9zEUECjTnqA99DHFczr4dq7QMaIIBpVgUhUDaLQIhCBFoO1qAmsQc3gO5Rf1l16d87VNFSXpw++KQrMIHcXuDu/XKdOZ6G7FOtP84Lx/g2aWsuxMGPFYC1WBCIwNYjCVCASE0E0lgWXmQaJpahmGhQmpuUuW/CY+Pt5ANfIkf4Wk67gAAAAAElFTkSuQmCC"}}]);