(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/team"],{"0f56":function(t,e,n){"use strict";n.r(e);var a=n("12e7"),r=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},"12e7":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(n("a34a")),r=n("ef8a");n("26cb");function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e,n,a,r,o,i){try{var u=t[o](i),c=u.value}catch(l){return void n(l)}u.done?e(c):Promise.resolve(c).then(a,r)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,r){var o=t.apply(e,n);function u(t){i(o,a,r,u,c,"next",t)}function c(t){i(o,a,r,u,c,"throw",t)}u(void 0)}))}}var c={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.height)}))},fail:function(t){}})},data:function(){return{maxheight:"",tabCurrentIndex:0,navList:[{state:0,text:"直接推荐",loadingType:"more",orderList:[],page:1,limit:10}],all:"",list:""}},onLoad:function(t){},onShow:function(){this.loadData()},methods:{navto:function(e){t.navigateTo({url:e})},loadData:function(t){var e=this;return u(a.default.mark((function n(){var o,i;return a.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(o=e.tabCurrentIndex,i=e.navList[o],i.state,"tabChange"!==t||!0!==i.loaded){n.next=5;break}return n.abrupt("return");case 5:if("loading"!==i.loadingType){n.next=7;break}return n.abrupt("return");case 7:if("noMore"!==i.loadingType){n.next=9;break}return n.abrupt("return");case 9:i.loadingType="loading",(0,r.spread)({page:i.page,limit:i.limit}).then((function(t){var n=t.data;console.log(n),e.total=n.total,e.totalLevel=n.totalLevel,e.all=e.total+e.totalLevel,n.list.length>0&&(e.list=n.list,i.orderList=i.orderList.concat(n.list),i.page++),e.$nextTick((function(){i.limit!=n.list.length?i.loadingType="noMore":i.loadingType="more"})),e.$set(i,"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"})}}};e.default=c}).call(this,n("543d")["default"])},"1da5":function(t,e,n){"use strict";var a=n("ed28"),r=n.n(a);r.a},"67f8":function(t,e,n){"use strict";(function(t){n("e27b");a(n("66fd"));var e=a(n("6cfa"));function a(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=n,t(e.default)}).call(this,n("543d")["createPage"])},"6cfa":function(t,e,n){"use strict";n.r(e);var a=n("933e"),r=n("0f56");for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("1da5");var i,u=n("f0c5"),c=Object(u["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);e["default"]=c.exports},"933e":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var r=function(){var t=this,e=t.$createElement;t._self._c},o=[]},ed28:function(t,e,n){}},[["67f8","common/runtime","common/vendor"]]]);