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MTFFOTgwQkZGQkNGNzI5QkI2NjIiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6M0QyQzk0OEEzRUYzMTFFOTgwQkZGQkNGNzI5QkI2NjIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7sozPSAAAA40lEQVR42mL8//8/Ay0BCzKHkZGRKE0vjZXNgNQpXPJiZ+5gtwAdFBQUOAApByj3x4QJEzqg7A1AHAPE+0jyARYAMrweyv4IxDALuIB4CxD7ELKEiYLg5YRa4kQrC4iyhIkKCQWvJUxUSo04LWGiYpLHagkLFQxeCMQLkPjfqG3BAyA+QMtIZqBlMh14C1jQyh4zaDEAAwpUtQAIeKBJjZMmQQQsLfdBC7DvNIsDaluCNZKpaQnOVEQtS/AmU2pYQjAfIFmCXMaAarZGKD5AcUaDWhKAZkEDFOO1gJHWzRaAAAMA7+k9wa3SSGsAAAAASUVORK5CYII="},"2b58":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"container",staticClass:"promoter-list"},[i("div",{staticClass:"header"},[i("div",{staticClass:"promoterHeader bg-color-red"},[i("div",{staticClass:"headerCon acea-row row-between-wrapper"},[i("div",[i("div",{staticClass:"name"},[t._v("推广人数")]),i("div",[i("span",{staticClass:"num"},[t._v(t._s(t.first+t.second))]),t._v("人\n ")])]),i("div",{staticClass:"iconfont icon-tuandui"})])]),i("div",{staticClass:"nav acea-row row-around"},[i("div",{staticClass:"item",class:0==t.screen.grade?"on":"",on:{click:function(e){return t.checkGrade(0)}}},[t._v("\n 一级("+t._s(t.first)+")\n ")]),i("div",{staticClass:"item",class:1==t.screen.grade?"on":"",on:{click:function(e){return t.checkGrade(1)}}},[t._v("\n 二级("+t._s(t.second)+")\n ")])]),i("div",{staticClass:"search acea-row row-between-wrapper"},[i("form",{on:{submit:function(e){return e.preventDefault(),t.submitForm(e)}}},[i("div",{staticClass:"input"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.screen.keyword,expression:"screen.keyword"}],attrs:{placeholder:"点击搜索会员名称"},domProps:{value:t.screen.keyword},on:{input:function(e){e.target.composing||t.$set(t.screen,"keyword",e.target.value)}}}),i("span",{staticClass:"iconfont icon-guanbi"})])]),i("div",{staticClass:"iconfont icon-sousuo2"})])]),i("div",{staticClass:"list"},[i("div",{staticClass:"sortNav acea-row row-middle",class:!0===t.fixedState?"on":""},[i("div",{staticClass:"sortItem",on:{click:function(e){return t.sort("childCount")}}},[t._v("\n 团队排序\n "),1==t.childCount?i("img",{attrs:{src:n("bbfe")}}):t._e(),2==t.childCount?i("img",{attrs:{src:n("3673")}}):t._e(),3==t.childCount?i("img",{attrs:{src:n("07c8")}}):t._e()]),i("div",{staticClass:"sortItem",on:{click:function(e){return t.sort("numberCount")}}},[t._v("\n 金额排序\n "),1==t.numberCount?i("img",{attrs:{src:n("bbfe")}}):t._e(),2==t.numberCount?i("img",{attrs:{src:n("3673")}}):t._e(),3==t.numberCount?i("img",{attrs:{src:n("07c8")}}):t._e()]),i("div",{staticClass:"sortItem",on:{click:function(e){return t.sort("orderCount")}}},[t._v("\n 订单排序\n "),1==t.orderCount?i("img",{attrs:{src:n("bbfe")}}):t._e(),2==t.orderCount?i("img",{attrs:{src:n("3673")}}):t._e(),3==t.orderCount?i("img",{attrs:{src:n("07c8")}}):t._e()])]),i("div",{class:!0===t.fixedState?"sortList":""},t._l(t.spreadList,function(e,n){return i("div",{key:n,staticClass:"item acea-row row-between-wrapper"},[i("div",{staticClass:"picTxt acea-row row-between-wrapper"},[i("div",{staticClass:"pictrue"},[i("img",{attrs:{src:e.avatar}})]),i("div",{staticClass:"text"},[i("div",{staticClass:"name line1"},[t._v(t._s(e.nickname))]),i("div",[t._v("加入时间: "+t._s(e.time))])])]),i("div",{staticClass:"right"},[i("div",[i("span",{staticClass:"font-color-red"},[t._v(t._s(e.childCount))]),t._v(" 人\n ")]),i("div",[t._v(t._s(e.orderCount)+" 单")]),i("div",[t._v(t._s(e.numberCount?e.numberCount:0)+" 元")])])])}),0)]),i("Loading",{attrs:{loaded:t.loaded,loading:t.loading}})],1)},s=[],o=n("c24f"),r=n("3a5e"),c={name:"PromoterList",components:{Loading:r["a"]},props:{},data:function(){return{fixedState:!1,screen:{page:1,limit:15,grade:0,keyword:"",sort:""},childCount:2,numberCount:2,orderCount:2,loaded:!1,loading:!1,spreadList:[],loadTitle:"",first:"",second:""}},mounted:function(){var t=this;this.getSpreadUsers(),this.$scroll(this.$refs.container,function(){!t.loading&&t.getSpreadUsers()})},watch:{"screen.sort":function(){this.screen.page=0,this.loaded=!1,this.loading=!1,this.spreadList=[],this.getSpreadUsers()}},methods:{handleScroll:function(){var t=document.documentElement.scrollTop||document.body.scrollTop,e=document.querySelector(".header").clientHeight;this.fixedState=t>=e},submitForm:function(){this.screen.page=0,this.loaded=!1,this.loading=!1,this.spreadList=[],this.getSpreadUsers()},getSpreadUsers:function(){var t=this,e=t.screen;t.loaded||t.loading||(t.loading=!0,Object(o["A"])(e).then(function(e){t.loading=!1,t.spreadList.push.apply(t.spreadList,e.data.list),t.loaded=e.data.list.length