chunk-126715f2.2c2b337f.js 12 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-126715f2"],{"07c8":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAF8GlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXA6Q3JlYXRlRGF0ZT0iMjAxOS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lNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PpkHYmwAAADoSURBVEiJ3dYxDsIgFIDhH+NS4yE8RVcbZwcP4CG4gbp15Ah6Ah2cm86ewiu4qBsOpQltCjQpLL6EBNKWj8DrC0JrTcqY2wMhRPiLegeQAw/XK3p9HQb6IaUsgMIMv0qp0vRvwB6oQuvxAmbyg+m/gBZYAHdgG0JmoRV4IjPIJhUwCpkKBJEYgBeJBTiRUBaNiQtwtsbv2MATqF0PY27RnwKdM5BS5jRloI1VVABY0qRaNnXiNjpbpJSqaArYJwmQAhk85JiIM4tiId40jYEE/wMLsWtMCZxMqycBFrLrAUfTvIBIfW35Ae5JPcEoqWSrAAAAAElFTkSuQmCC"},"2b58":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"container",staticClass:"promoter-list"},[n("div",{staticClass:"header"},[n("div",{staticClass:"promoterHeader bg-color-green"},[n("div",{staticClass:"headerCon acea-row row-between-wrapper"},[n("div",[n("div",{staticClass:"name"},[t._v("推广人数")]),n("div",[n("span",{staticClass:"num"},[t._v(t._s(t.first+t.second))]),t._v("人\n ")])]),n("div",{staticClass:"iconfont icon-tuandui"})])]),n("div",{staticClass:"nav acea-row row-around"},[n("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 ")]),n("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 ")])]),n("div",{staticClass:"search acea-row row-between-wrapper"},[n("form",{on:{submit:function(e){return e.preventDefault(),t.submitForm(e)}}},[n("div",{staticClass:"input"},[n("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)}}}),n("span",{staticClass:"iconfont icon-guanbi"})])]),n("div",{staticClass:"iconfont icon-sousuo2"})])]),n("div",{staticClass:"list"},[n("div",{staticClass:"sortNav acea-row row-middle",class:!0===t.fixedState?"on":""},[n("div",{staticClass:"sortItem",on:{click:function(e){return t.sort("childCount")}}},[t._v("\n 团队排序\n "),1==t.childCount?n("img",{attrs:{src:i("bbfe")}}):t._e(),2==t.childCount?n("img",{attrs:{src:i("3673")}}):t._e(),3==t.childCount?n("img",{attrs:{src:i("07c8")}}):t._e()]),n("div",{staticClass:"sortItem",on:{click:function(e){return t.sort("numberCount")}}},[t._v("\n 金额排序\n "),1==t.numberCount?n("img",{attrs:{src:i("bbfe")}}):t._e(),2==t.numberCount?n("img",{attrs:{src:i("3673")}}):t._e(),3==t.numberCount?n("img",{attrs:{src:i("07c8")}}):t._e()]),n("div",{staticClass:"sortItem",on:{click:function(e){return t.sort("orderCount")}}},[t._v("\n 订单排序\n "),1==t.orderCount?n("img",{attrs:{src:i("bbfe")}}):t._e(),2==t.orderCount?n("img",{attrs:{src:i("3673")}}):t._e(),3==t.orderCount?n("img",{attrs:{src:i("07c8")}}):t._e()])]),n("div",{class:!0===t.fixedState?"sortList":""},t._l(t.spreadList,function(e,i){return n("div",{key:i,staticClass:"item acea-row row-between-wrapper"},[n("div",{staticClass:"picTxt acea-row row-between-wrapper"},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:e.avatar}})]),n("div",{staticClass:"text"},[n("div",{staticClass:"name line1"},[t._v(t._s(e.nickname))]),n("div",[t._v("加入时间: "+t._s(e.time))])])]),n("div",{staticClass:"right"},[n("div",[n("span",{staticClass:"font-color-orange"},[t._v(t._s(e.childCount))]),t._v(" 人\n ")]),n("div",[t._v(t._s(e.orderCount)+" 单")]),n("div",[t._v(t._s(e.numberCount?e.numberCount:0)+" 元")])])])}),0)]),n("Loading",{attrs:{loaded:t.loaded,loading:t.loading}})],1)},c=[],s=i("c24f"),o=i("3a5e"),r={name:"PromoterList",components:{Loading:o["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(s["A"])(e).then(function(e){t.loading=!1,t.spreadList.push.apply(t.spreadList,e.data.list),t.loaded=e.data.list.length<t.screen.limit,t.loadTitle=t.loaded?"人家是有底线的":"上拉加载更多",t.screen.page=t.screen.page+1,t.first=e.data.total,t.second=e.data.totalLevel},function(e){t.$dialog.message(e.msg)},300))},checkGrade:function(t){t!=this.screen.grade&&(this.screen.page=1,this.screen.grade=t,this.loading=!1,this.loaded=!1,this.spreadList=[],this.getSpreadUsers())},sort:function(t){var e=this;switch(t){case"childCount":2==e.childCount?(e.childCount=1,e.orderCount=2,e.numberCount=2,e.screen.sort="childCount DESC"):1==e.childCount?(e.childCount=3,e.orderCount=2,e.numberCount=2,e.screen.sort="childCount ASC"):3==e.childCount&&(e.childCount=2,e.orderCount=2,e.numberCount=2,e.screen.sort="");break;case"numberCount":2==e.numberCount?(e.numberCount=1,e.orderCount=2,e.childCount=2,e.screen.sort="numberCount DESC"):1==e.numberCount?(e.numberCount=3,e.orderCount=2,e.childCount=2,e.screen.sort="numberCount ASC"):3==e.numberCount&&(e.numberCount=2,e.orderCount=2,e.childCount=2,e.screen.sort="");break;case"orderCount":2==e.orderCount?(e.orderCount=1,e.numberCount=2,e.childCount=2,e.screen.sort="orderCount DESC"):1==e.orderCount?(e.orderCount=3,e.numberCount=2,e.childCount=2,e.screen.sort="orderCount ASC"):3==e.orderCount&&(e.orderCount=2,e.numberCount=2,e.childCount=2,e.screen.sort="");break;default:e.screen.sort=""}}}},a=r,d=i("2877"),l=Object(d["a"])(a,n,c,!1,null,null,null);e["default"]=l.exports},3673:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QTNDNkI1QzczRUYzMTFFOUI2QjRBQ0VBRDRERUFGN0UiIHhtcE1NOklu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