徐总多门店
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
2.9 KiB

require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/promoter_rank/index"],{"01db":function(t,n,e){"use strict";var i=e("92b1"),a=e.n(i);a.a},"2b44":function(t,n,e){"use strict";(function(t,n){var i=e("47a9");e("7561");i(e("3240"));var a=i(e("41a7"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(a.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},"41a7":function(t,n,e){"use strict";e.r(n);var i=e("76e4"),a=e("9263");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("01db");var s=e("828b"),c=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"0cb5537c",null,!1,i["a"],void 0);n["default"]=c.exports},"76e4":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement,n=(this._self._c,this.rankList.length),e=this.rankList.length;this.$mp.data=Object.assign({},{$root:{g0:n,g1:e}})},a=[]},9263:function(t,n,e){"use strict";e.r(n);var i=e("dab6"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},"92b1":function(t,n,e){},dab6:function(t,n,e){"use strict";(function(t){var i=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("77d7"),o=e("7ba4"),s=e("8f59"),c=i(e("cef6")),r=e("bad7"),u={components:{home:function(){Promise.all([e.e("common/vendor"),e.e("components/home/index")]).then(function(){return resolve(e("b7a2"))}.bind(null,e)).catch(e.oe)},emptyPage:function(){e.e("components/emptyPage").then(function(){return resolve(e("bc18"))}.bind(null,e)).catch(e.oe)}},mixins:[c.default],data:function(){return{imgHost:r.HTTP_REQUEST_URL,getHeight:this.$util.getWXStatusHeight(),navList:["周排行","月排行"],active:0,page:1,limit:20,type:"week",loading:!1,loadend:!1,rankInfo:{position:0,avatar:"",brokerage_price:"",nickname:""},rankList:[],isShowAuth:!1}},computed:(0,s.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,n){t&&this.getRanklist()},deep:!0}},onLoad:function(){this.isLogin?this.getRanklist():(0,o.toLogin)()},onShow:function(){t.removeStorageSync("form_type_cart")},methods:{onLoadFun:function(){this.getRanklist(),this.isShowAuth=!1},authColse:function(t){this.isShowAuth=t},goarrow:function(){t.navigateBack()},getRanklist:function(){var t=this;t.loadend||t.loading||(t.loading=!0,(0,a.getRankList)({page:t.page,limit:t.limit,type:t.type}).then((function(n){var e=n.data.list;t.rankInfo=n.data,t.rankList.push.apply(t.rankList,e),t.loadend=e.length<t.limit,t.loading=!1,t.$set(t,"rankList",t.rankList),t.page=t.page+1})).catch((function(n){t.loading=!1})))},switchTap:function(t){this.active!==t&&(this.active=t,this.type=t?"month":"week",this.page=1,this.loadend=!1,this.$set(this,"rankList",[]),this.getRanklist())}},onReachBottom:function(){this.getRanklist()}};n.default=u}).call(this,e("df3c")["default"])}},[["2b44","common/runtime","common/vendor"]]]);