require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/team/rank"],{"042c":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var o=function(){var t=this.$createElement,e=(this._self._c,this.contributeData.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},i=[]},"14fe":function(t,e,n){},"1a68":function(t,e,n){"use strict";var o=n("14fe"),i=n.n(o);i.a},"2ec2":function(t,e,n){"use strict";n.r(e);var o=n("4118"),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=i.a},4118:function(t,e,n){"use strict";(function(t){var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n("7ca3")),r=o(n("89cc")),a=n("92f9"),c=(n("4d38"),n("5088")),u=n("8f59");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f=t.getWindowInfo().statusBarHeight,d={data:function(){return{sysHeight:f,isScrolling:!1,berHeight:40,active:0,params:{page:1,limit:10},tabIndex:0,loading:!1,contributeType:"order_count",contributeData:[]}},mixins:[r.default],components:{home:function(){Promise.all([n.e("common/vendor"),n.e("components/home/index")]).then(function(){return resolve(n("0708"))}.bind(null,n)).catch(n.oe)},NavBar:function(){n.e("components/NavBar").then(function(){return resolve(n("a7d8"))}.bind(null,n)).catch(n.oe)},emptyPage:function(){n.e("components/emptyPage").then(function(){return resolve(n("398a"))}.bind(null,n)).catch(n.oe)}},computed:l(l({},(0,u.mapGetters)(["isLogin"])),{},{topCardStyle:function(){return{height:145+this.berHeight+"px"}},cardTop:function(){return{top:"-".concat(this.sysHeight+96,"px")}}}),onPageScroll:function(e){t.$emit("scroll"),e.scrollTop>50?this.isScrolling=!0:e.scrollTop<50&&(this.isScrolling=!1)},onLoad:function(){this.isLogin?this.getContribute():(0,c.toLogin)()},methods:{changeTab:function(t){this.active=t},toggleContribute:function(t){this.contributeType=t,this.params.page=1,this.contributeData=[],this.loading=!1,this.getContribute()},getContribute:function(){var t=this;this.loading||(this.loading=!0,(0,a.divisionTeamRankApi)({type:"user",sort:this.contributeType,page:this.params.page,limit:30}).then((function(e){var n=e.data,o=n.length<30;t.contributeData=t.contributeData.concat(n),t.params.page++,t.loading=o})))}},onReachBottom:function(){this.getContribute()}};e.default=d}).call(this,n("df3c")["default"])},a61b:function(t,e,n){"use strict";n.r(e);var o=n("042c"),i=n("2ec2");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("1a68");var a=n("828b"),c=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=c.exports},d078:function(t,e,n){"use strict";(function(t,e){var o=n("47a9");n("f076");o(n("3240"));var i=o(n("a61b"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])}},[["d078","common/runtime","common/vendor"]]]);