(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-promoter-list-index"],{1493:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"promoter-list"},[i("v-uni-view",{staticClass:"promoter-header"},[i("v-uni-view",{staticClass:"search"},[i("v-uni-view",{staticClass:"search-content acea-row row-middle"},[i("v-uni-text",{staticClass:"iconfont icon-sousuo"}),i("v-uni-input",{attrs:{type:"text",placeholder:"搜索用户名称","confirm-type":"search",name:"search","placeholder-class":"placeholder"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.searchSubmitValue.apply(void 0,arguments)}},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}})],1)],1)],1),i("v-uni-view",{staticClass:"nav acea-row row-around"},[i("v-uni-view",{class:0==t.grade?"item on":"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setType(0)}}},[t._v("一级("+t._s(t.userInfo.one_level_count)+")")]),i("v-uni-view",{class:1==t.grade?"item on":"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setType(1)}}},[t._v("二级("+t._s(t.userInfo.two_level_count)+")")])],1),i("timeSlot",{on:{changeTime:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTime.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"list"},[i("v-uni-view",{staticClass:"sortNav acea-row row-middle"},["spread_count DESC"==t.sort?i("v-uni-view",{staticClass:"sortItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setSort("spread_count ASC")}}},[t._v("团队排序"),i("v-uni-image",{attrs:{src:t.domain+"/static/diy/sort1"+t.keyColor+".png"}})],1):"spread_count ASC"==t.sort?i("v-uni-view",{staticClass:"sortItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setSort("")}}},[t._v("团队排序"),i("v-uni-image",{attrs:{src:t.domain+"/static/diy/sort3"+t.keyColor+".png"}})],1):i("v-uni-view",{staticClass:"sortItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setSort("spread_count DESC")}}},[t._v("团队排序"),i("v-uni-image",{attrs:{src:t.domain+"/static/images/sort2.png"}})],1),"pay_price DESC"==t.sort?i("v-uni-view",{staticClass:"sortItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setSort("pay_price ASC")}}},[t._v("金额排序"),i("v-uni-image",{attrs:{src:t.domain+"/static/diy/sort1"+t.keyColor+".png"}})],1):"pay_price ASC"==t.sort?i("v-uni-view",{staticClass:"sortItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setSort("")}}},[t._v("金额排序"),i("v-uni-image",{attrs:{src:t.domain+"/static/diy/sort3"+t.keyColor+".png"}})],1):i("v-uni-view",{staticClass:"sortItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setSort("pay_price DESC")}}},[t._v("金额排序"),i("v-uni-image",{attrs:{src:t.domain+"/static/images/sort2.png"}})],1),"pay_count DESC"==t.sort?i("v-uni-view",{staticClass:"sortItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setSort("pay_count ASC")}}},[t._v("订单排序"),i("v-uni-image",{attrs:{src:t.domain+"/static/diy/sort1"+t.keyColor+".png"}})],1):"pay_count ASC"==t.sort?i("v-uni-view",{staticClass:"sortItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setSort("")}}},[t._v("订单排序"),i("v-uni-image",{attrs:{src:t.domain+"/static/diy/sort3"+t.keyColor+".png"}})],1):i("v-uni-view",{staticClass:"sortItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setSort("pay_count DESC")}}},[t._v("订单排序"),i("v-uni-image",{attrs:{src:t.domain+"/static/images/sort2.png"}})],1)],1),t._l(t.recordList,(function(e,a){return[i("v-uni-view",{key:a+"_0",staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:e.avatar?e.avatar:"/static/images/f.png"}})],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"name line1"},[t._v(t._s(e.nickname))]),i("v-uni-view",[t._v("加入时间: "+t._s(e.spread_time))])],1)],1),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",[i("v-uni-text",{staticClass:"num t-color"},[t._v(t._s(e.spread_count?e.spread_count:0))]),t._v("人")],1),i("v-uni-view",[i("v-uni-text",{staticClass:"num"},[t._v(t._s(e.pay_count?e.pay_count:0))]),t._v("单")],1),i("v-uni-view",[i("v-uni-text",{staticClass:"num"},[t._v(t._s(e.pay_price?e.pay_price:0))]),t._v("元")],1)],1)],1)]}))],2)],1)],1)},s=[]},"2f36":function(t,e,i){"use strict";i.r(e);var a=i("1493"),s=i("cd33");for(var o in s)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(o);i("3449");var n=i("828b"),r=Object(n["a"])(s["default"],a["b"],a["c"],!1,null,"a359b1ea",null,!1,a["a"],void 0);e["default"]=r.exports},3449:function(t,e,i){"use strict";var a=i("ca88"),s=i.n(a);s.a},"4b45":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4100"),i("c223"),i("64aa");var s=i("672a"),o=i("8f59"),n=i("aa10"),r=i("e44d"),c=a(i("4aed")),l={components:{timeSlot:c.default},data:function(){return{domain:n.HTTP_REQUEST_URL,total:0,totalLevel:0,teamCount:0,page:1,limit:20,keyword:"",start:0,stop:0,sort:"",grade:0,status:!1,recordList:[],userInfo:{},times:[]}},computed:(0,o.mapGetters)(["isLogin","viewColor","keyColor"]),onLoad:function(){this.isLogin?(this.userSpreadNewList(),this.getUserInfo()):(0,r.toLogin)()},onShow:function(){this.is_show&&(this.userSpreadNewList(),this.getUserInfo())},onHide:function(){this.is_show=!0},methods:{getUserInfo:function(){var t=this;(0,s.spreadInfo)().then((function(e){t.userInfo=e.data}))},setSort:function(t){this.sort=t,this.page=1,this.limit=20,this.status=!1,this.$set(this,"recordList",[]),this.userSpreadNewList()},changeTime:function(t){this.start=t.start,this.stop=t.stop,this.searchSubmitValue()},searchSubmitValue:function(t){this.page=1,this.limit=20,this.status=!1,this.$set(this,"recordList",[]),this.$set(this,"times",[]),this.userSpreadNewList()},setType:function(t){this.grade!=t&&(this.grade=t,this.page=1,this.limit=20,this.keyword="",this.sort="",this.status=!1,this.$set(this,"recordList",[]),this.userSpreadNewList())},userSpreadNewList:function(){var t=this,e=t.page,i=t.limit,a=t.status,o=t.keyword,n=t.sort,r=t.grade,c=t.start,l=t.stop,d=t.recordList,u=[];1!=a&&(0,s.spreadPeople)({page:e,limit:i,keyword:o,level:r+1,sort:n,start:c,stop:l}).then((function(a){var s=a.data.list.length,o=a.data.list;u=d.concat(o),t.total=a.data.total,t.totalLevel=a.data.totalLevel,t.teamCount=t.$util.$h.Add(Number(a.data.total),Number(a.data.totalLevel)),t.status=i>s,t.page=e+1,t.$set(t,"recordList",u)}))}},onReachBottom:function(){this.userSpreadNewList()}};e.default=l},a1e8:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.promoterHeader[data-v-a359b1ea]{background-image:linear-gradient(90deg,var(--view-bntColor21) 0,var(--view-bntColor22))}.t-color[data-v-a359b1ea]{color:var(--view-theme)}.promoter-header[data-v-a359b1ea]{width:100%}.search[data-v-a359b1ea]{padding:%?17?% %?30?%;background-color:var(--view-theme)}.search .search-content[data-v-a359b1ea]{width:100%;height:%?60?%;padding:0 %?30?%;border-radius:%?30?%;background-color:#fff;font-size:%?26?%}.search .iconfont[data-v-a359b1ea]{margin-right:%?10?%;font-size:%?26?%;color:#999}.search .placeholder[data-v-a359b1ea]{font-size:%?26?%;color:#999}.search .input[data-v-a359b1ea]{flex:1}.promoter-list .nav[data-v-a359b1ea]{background-color:#fff;height:%?86?%;line-height:%?86?%;font-size:%?28?%;color:#282828;border-bottom:1px solid #eee}.promoter-list .nav .item.on[data-v-a359b1ea]{border-bottom:%?5?% solid var(--view-theme);color:var(--view-theme)}.promoter-list .list[data-v-a359b1ea]{margin-top:%?12?%}.promoter-list .list .sortNav[data-v-a359b1ea]{background-color:#fff;height:%?76?%;border-bottom:1px solid #eee;color:#333;font-size:%?28?%}.promoter-list .list .sortNav .sortItem[data-v-a359b1ea]{text-align:center;flex:1}.promoter-list .list .sortNav .sortItem uni-image[data-v-a359b1ea]{width:%?24?%;height:%?24?%;margin-left:%?6?%;vertical-align:%?-3?%}.promoter-list .list .item[data-v-a359b1ea]{background-color:#fff;border-bottom:1px solid #eee;height:%?152?%;padding:0 %?30?% 0 %?20?%;font-size:%?24?%;color:#666}.promoter-list .list .item .picTxt[data-v-a359b1ea]{width:%?440?%}.promoter-list .list .item .picTxt .pictrue[data-v-a359b1ea]{width:%?106?%;height:%?106?%;border-radius:50%}.promoter-list .list .item .picTxt .pictrue uni-image[data-v-a359b1ea]{width:100%;height:100%;border-radius:50%;border:%?3?% solid #fff;box-shadow:0 0 %?10?% #aaa;box-sizing:border-box}.promoter-list .list .item .picTxt .text[data-v-a359b1ea]{width:%?304?%;font-size:%?24?%;color:#666}.promoter-list .list .item .picTxt .text .name[data-v-a359b1ea]{font-size:%?28?%;color:#333;margin-bottom:%?13?%}.promoter-list .list .item .right[data-v-a359b1ea]{width:%?240?%;text-align:right;font-size:%?22?%;color:#333}.promoter-list .list .item .right .num[data-v-a359b1ea]{margin-right:%?7?%}',""]),t.exports=e},ca88:function(t,e,i){var a=i("a1e8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var s=i("967d").default;s("7ea17b0c",a,!0,{sourceMap:!1,shadowMode:!1})},cd33:function(t,e,i){"use strict";i.r(e);var a=i("4b45"),s=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=s.a}}]);