(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3615a42e"],{"02ee":function(i,t,e){"use strict";e.r(t);var s=function(){var i=this,t=i.$createElement,s=i._self._c||t;return s("div",{ref:"container",staticClass:"commission-rank"},[s("div",{staticClass:"header"},[i.position?s("div",{staticClass:"rank"},[i._v("\n 您目前的排名为:第"),s("span",{staticClass:"num"},[i._v(i._s(i.position))]),i._v("名\n ")]):s("div",{staticClass:"rank"},[i._v("\n 您暂未上榜\n ")])]),s("div",{staticClass:"wrapper"},[s("div",{staticClass:"nav acea-row row-around"},i._l(i.navList,(function(t,e){return s("div",{key:e,staticClass:"item",class:i.active===e?"font-color-red":"",on:{click:function(t){return i.switchTap(e)}}},[i._v("\n "+i._s(t)+"\n ")])})),0),s("div",{staticClass:"list"},i._l(i.rankList,(function(t,A){return s("div",{key:A,staticClass:"item acea-row row-between-wrapper"},[s("div",{staticClass:"num"},A<=2?[0==A?s("img",{attrs:{src:e("10e7")}}):1==A?s("img",{attrs:{src:e("386e")}}):2==A?s("img",{attrs:{src:e("0aab")}}):i._e()]:[i._v(i._s(A+1))]),s("div",{staticClass:"picTxt acea-row row-between-wrapper"},[s("div",{staticClass:"pictrue"},[s("img",{attrs:{src:t.avatar}})]),s("div",{staticClass:"text line1"},[i._v(i._s(t.nickname))])]),s("div",{staticClass:"people font-color-red"},[i._v("¥"+i._s(t.brokerage_price))])])})),0)])])},A=[],n=(e("6d57"),e("cc57"),e("c24f")),a=e("08c1"),c="CommissionRank",I={name:c,props:{},data:function(){return{navList:["周排行","月排行"],active:0,rankList:[],page:1,limit:10,type:"week",position:0,loading:!1,loadend:!1}},computed:Object(a["b"])(["userInfo"]),watch:{$route:function(i){i.name===c&&(this.loaded=!1,this.page=1,this.$set(this,"rankList",[]),this.getBrokerageRankList())},active:function(){this.loaded=!1,this.page=1,this.$set(this,"rankList",[]),this.getBrokerageRankList()}},mounted:function(){var i=this;this.getBrokerageRankList(),this.$scroll(this.$refs.container,(function(){!i.loading&&i.getBrokerageRankList()}))},methods:{switchTap:function(i){this.active=i},getBrokerageRankList:function(){var i=this;this.loading||this.loaded||(this.loading=!0,Object(n["j"])({page:this.page,limit:this.limit,type:0===this.active?"week":"month"}).then((function(t){var e=t.data.rank,s=e.length