(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesM/pages/mine_income"],{"275f":function(e,t,n){"use strict";(function(e){n("4518");a(n("66fd"));var t=a(n("5b8e"));function a(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},3743:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("a34a"));function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n,a,r,i,o){try{var u=e[i](o),c=u.value}catch(s){return void n(s)}u.done?t(c):Promise.resolve(c).then(a,r)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var o=e.apply(t,n);function u(e){i(o,a,r,u,c,"next",e)}function c(e){i(o,a,r,u,c,"throw",e)}u(void 0)}))}}var u={components:{},data:function(){return{data:null,memberId:0,isPromoter:!1,inComeItemList:[{itemName:"结算记录",itemIcon:"http://139.9.103.171:1888/img/image/settlementRecordsIcon.png"},{itemName:"收益记录",itemIcon:"http://139.9.103.171:1888/img/image/incomeRecord_icon.png"}]}},methods:{tapToMenu:function(t){if(0!=t&&1!=t&&2!=t||this.$auth.isPromoter())switch(t){case 0:e.navigateTo({url:"/pagesM/pages/balance_records"});break;case 1:e.navigateTo({url:"/pagesM/pages/earn_records"});break;case 2:e.navigateTo({url:"/pagesM/pages/my_invite"});break;case 3:e.navigateTo({url:"/pagesM/pages/applyToPromotion"});break;case 4:e.navigateBack({delta:1});break;default:break}},onLoadPage:function(){this.memberId=this.$auth.getMemberId(),this.$auth.isPromoter()&&(this.isPromoter=!0),this.getData()},getData:function(){var e=this;return o(a.default.mark((function t(){var n;return a.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$api.distributionCommission({_isShowLoading:!0});case 2:n=t.sent,e.data=n;case 4:case"end":return t.stop()}}),t)})))()}}};t.default=u}).call(this,n("543d")["default"])},"51f7":function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r=function(){var e=this,t=e.$createElement;e._self._c},i=[]},"5b8e":function(e,t,n){"use strict";n.r(t);var a=n("51f7"),r=n("6109");for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("c9c9");var o,u=n("f0c5"),c=Object(u["a"])(r["default"],a["b"],a["c"],!1,null,"f8afad58",null,!1,a["a"],o);t["default"]=c.exports},6109:function(e,t,n){"use strict";n.r(t);var a=n("3743"),r=n.n(a);for(var i in a)"default"!==i&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},"69aa":function(e,t,n){},c9c9:function(e,t,n){"use strict";var a=n("69aa"),r=n.n(a);r.a}},[["275f","common/runtime","common/vendor"]]]);