(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-738f6d32"],{"02ee":function(t,i,a){"use strict";a.r(i);var s=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",{ref:"container",staticClass:"commission-rank"},[a("div",{staticClass:"header"},[a("div",{staticClass:"rank"},[t._v("\n 您目前的排名"),a("span",{staticClass:"num"},[t._v(t._s(t.position))]),t._v("名\n ")])]),a("div",{staticClass:"wrapper"},[a("div",{staticClass:"nav acea-row row-around"},t._l(t.navList,function(i,s){return a("div",{key:s,staticClass:"item",class:t.active===s?"font-color-red":"",on:{click:function(i){return t.switchTap(s)}}},[t._v("\n "+t._s(i)+"\n ")])}),0),a("div",{staticClass:"list"},t._l(t.rankList,function(i,s){return a("div",{key:s,staticClass:"item acea-row row-between-wrapper"},[a("div",{staticClass:"num"},s<=2?[a("img",{attrs:{src:"@assets/images/medal0"+(s+1)+".png"}})]:[t._v(t._s(s+1))]),a("div",{staticClass:"picTxt acea-row row-between-wrapper"},[a("div",{staticClass:"pictrue"},[a("img",{attrs:{src:i.avatar}})]),a("div",{staticClass:"text line1"},[t._v(t._s(i.nickname))])]),a("div",{staticClass:"people font-color-red"},[t._v("¥"+t._s(i.brokerage_price))])])}),0)])])},n=[],e=(a("7f7f"),a("c24f")),r="CommissionRank",o={name:r,props:{},data:function(){return{navList:["周排行","月排行"],active:0,rankList:[],page:1,limit:10,type:"week",position:0,loading:!1,loadend:!1}},watch:{$route:function(t){t.name===r&&(this.loaded=!1,this.page=1,this.$set(this,"rankList",[]),this.getBrokerageRankList())}},mounted:function(){var t=this;this.getBrokerageRankList(),this.$scroll(this.$refs.container,function(){!t.loading&&t.getBrokerageRankList()})},methods:{switchTap:function(t){this.active=t},getBrokerageRankList:function(){var t=this;this.loading||this.loaded||(this.loading=!0,Object(e["j"])({page:this.page,limit:this.limit,type:this.type}).then(function(i){var a=i.data.rank,s=a.length