(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/myTeam"],{1765:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={uniLoadMore:function(){return n.e("components/uni-load-more/uni-load-more").then(n.bind(null,"c87e"))}},o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.navList,(function(e,n){var a=t.__get_orig(e),o=!0===e.loaded&&0===e.orderList.length;return{$orig:a,g0:o}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},r=[]},2916:function(t,e,n){"use strict";(function(t,e){var a=n("4ea4");n("d1cd");a(n("66fd"));var o=a(n("7b2b"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"34b3":function(t,e,n){"use strict";n.r(e);var a=n("3e45"),o=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=o.a},"3e45":function(t,e,n){"use strict";(function(t){var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("2eee")),r=a(n("c973")),i=n("82ba"),u=(n("26cb"),{components:{empty:function(){n.e("components/empty").then(function(){return resolve(n("c38b"))}.bind(null,n)).catch(n.oe)},uniLoadMore:function(){n.e("components/uni-load-more/uni-load-more").then(function(){return resolve(n("c87e"))}.bind(null,n)).catch(n.oe)}},onReady:function(e){var n=this;t.getSystemInfo({success:function(e){var a=t.createSelectorQuery();a.select(".swiper-box").boundingClientRect(),a.exec((function(t){n.maxheight=e.windowHeight-t[0].top+"px",console.log("打印页面的剩余高度",n.maxheight)}))},fail:function(t){}})},data:function(){return{maxheight:"",tabCurrentIndex:0,navList:[{state:0,text:"一级推广",loadingType:"more",orderList:[],page:1,limit:10}],all:"",list:"",total:"",totalLevel:"",userInfo:{}}},onLoad:function(t){},onShow:function(){this.loadData()},methods:{navto:function(e){t.navigateTo({url:e})},loadData:function(t){var e=this;return(0,r.default)(o.default.mark((function n(){var a,r;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=e.tabCurrentIndex,r=e.navList[a],r.state,"tabChange"!==t||!0!==r.loaded){n.next=5;break}return n.abrupt("return");case 5:if("loading"!==r.loadingType){n.next=7;break}return n.abrupt("return");case 7:if("noMore"!==r.loadingType){n.next=9;break}return n.abrupt("return");case 9:r.loadingType="loading",(0,i.myspread)({page:r.page,limit:r.limit}).then((function(t){var n=t.data;console.log(n),e.total=n.total,e.totalLevel=n.totalLevel,n.list.length>0&&(e.list=n.list,r.orderList=r.orderList.concat(n.list),r.page++),e.$nextTick((function(){r.limit!=n.list.length?r.loadingType="noMore":r.loadingType="more"})),e.$set(r,"loaded",!0)})).catch((function(t){console.log(t)}));case 11:case"end":return n.stop()}}),n)})))()},changeTab:function(t){this.tabCurrentIndex=t.target.current,this.loadData("tabChange")},tabClick:function(t){this.tabCurrentIndex=t},toBack:function(){t.switchTab({url:"/pages/user/user"})},loadAll:function(){var t=this;getUserInfo().then((function(e){t.userInfo=e.data}))}}});e.default=u}).call(this,n("543d")["default"])},"71c9":function(t,e,n){},"7b2b":function(t,e,n){"use strict";n.r(e);var a=n("1765"),o=n("34b3");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("d69d");var i=n("f0c5"),u=Object(i["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=u.exports},d69d:function(t,e,n){"use strict";var a=n("71c9"),o=n.n(a);o.a}},[["2916","common/runtime","common/vendor"]]]);