徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
3.1 KiB

require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/commission_rank/index"],{"347a":function(t,n,a){"use strict";a.r(n);var e=a("43af"),i=a("6f32");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(n,t,(function(){return i[t]}))}(o);a("b891");var r=a("828b"),s=Object(r["a"])(i["default"],e["b"],e["c"],!1,null,"84ebb63e",null,!1,e["a"],void 0);n["default"]=s.exports},"43af":function(t,n,a){"use strict";a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return i})),a.d(n,"a",(function(){}));var e=function(){var t=this.$createElement,n=(this._self._c,this.rankList.length),a=this.rankList.length;this.$mp.data=Object.assign({},{$root:{g0:n,g1:a}})},i=[]},5212:function(t,n,a){},"6f32":function(t,n,a){"use strict";a.r(n);var e=a("f16c"),i=a.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){a.d(n,t,(function(){return e[t]}))}(o);n["default"]=i.a},8290:function(t,n,a){"use strict";(function(t,n){var e=a("47a9");a("7561");e(a("3240"));var i=e(a("347a"));t.__webpack_require_UNI_MP_PLUGIN__=a,n(i.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])},b891:function(t,n,a){"use strict";var e=a("5212"),i=a.n(e);i.a},f16c:function(t,n,a){"use strict";(function(t){var e=a("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a("77d7"),o=a("7ba4"),r=a("8f59"),s=e(a("cef6")),c=a("bad7"),u={components:{emptyPage:function(){a.e("components/emptyPage").then(function(){return resolve(a("bc18"))}.bind(null,a)).catch(a.oe)}},mixins:[s.default],data:function(){return{imgHost:c.HTTP_REQUEST_URL,getHeight:this.$util.getWXStatusHeight(),navList:["周排行","月排行"],active:0,rankInfo:{position:0,avatar:"",brokerage_price:"",nickname:""},rankList:[],page:1,limit:20,loadend:!1,loading:!1,loadTitle:"加载更多",type:"week",isAuto:!1,isShowAuth:!1}},computed:(0,r.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,n){},deep:!0}},onLoad:function(){this.isLogin?this.getBrokerageRankList():(0,o.toLogin)()},onShow:function(){t.removeStorageSync("form_type_cart")},methods:{onLoadFun:function(){this.getBrokerageRankList(),this.isShowAuth=!1},authColse:function(t){this.isShowAuth=t},goarrow:function(){t.navigateBack()},switchTap:function(t){this.active=t,this.type=t?"month":"week",this.page=1,this.loadend=!1,this.$set(this,"rankList",[]),this.getBrokerageRankList()},getBrokerageRankList:function(){var t=this;this.loadend||this.loading||(this.loading=!0,this.loadTitle="",(0,i.getBrokerageRank)({page:this.page,limit:this.limit,type:this.type}).then((function(n){var a=n.data.rank,e=a.length<t.limit;t.rankInfo.avatar=n.data.avatar,t.rankInfo.brokerage_price=n.data.brokerage_price,t.rankInfo.nickname=n.data.nickname,t.rankInfo.position=n.data.position,t.rankList.push.apply(t.rankList,a),t.loading=!1,t.loadend=e,t.loadTitle=e?"没有更多内容啦~":"加载更多",t.$set(t,"rankList",t.rankList),t.page+=1})).catch((function(n){t.loading=!1,t.loadTitle="加载更多"})))}},onReachBottom:function(){this.getBrokerageRankList()}};n.default=u}).call(this,a("df3c")["default"])}},[["8290","common/runtime","common/vendor"]]]);