require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/spreadData/contributionRank"],{1479:function(t,e,n){"use strict";var i=n("a273"),o=n.n(i);o.a},5306:function(t,e,n){"use strict";n.r(e);var i=n("e7f4"),o=n("cc65");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("1479");var c=n("828b"),a=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},5773:function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("f076");i(n("3240"));var o=i(n("5306"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},7533:function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("7ca3")),r=i(n("89cc")),c=n("92f9"),a=(n("4d38"),n("5088")),u=n("8f59");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}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,o.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,h={data:function(){return{sysHeight:f,isScrolling:!1,berHeight:40,active:0,params:{page:1,limit:10},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,a.toLogin)()},methods:{changeTab:function(t){this.active=t},getHeight:function(){t.createSelectorQuery().select(".TopBar").boundingClientRect((function(t){this.berHeight=t.height})).exec()},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,c.spreadContributeApi)(this.contributeType,this.params).then((function(e){var n=e.data,i=n.length<t.params.limit;t.contributeData=t.contributeData.concat(n),t.params.page++,t.loading=i})).catch((function(e){t.$util.Tips({title:e})})))}},onReachBottom:function(){this.getContribute()}};e.default=h}).call(this,n("df3c")["default"])},a273:function(t,e,n){},cc65:function(t,e,n){"use strict";n.r(e);var i=n("7533"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},e7f4:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=(this._self._c,this.contributeData.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},o=[]}},[["5773","common/runtime","common/vendor"]]]);