(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/extension"],{"66d6":function(t,e,n){"use strict";var a=n("6d3a"),o=n.n(a);o.a},"6d3a":function(t,e,n){},"76fd":function(t,e,n){"use strict";n.r(e);var a=n("c057"),o=n("eb6a");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("66d6");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},"979d":function(t,e,n){"use strict";(function(t,e){var a=n("4ea4");n("3e59");a(n("66fd"));var o=a(n("76fd"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},c057: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,"de04"))}},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=[]},e3be: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("2280"),u=(n("26cb"),{components:{empty:function(){n.e("components/empty").then(function(){return resolve(n("f3ad"))}.bind(null,n)).catch(n.oe)},uniLoadMore:function(){n.e("components/uni-load-more/uni-load-more").then(function(){return resolve(n("de04"))}.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(),this.loadAll()},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.getSpreadPeople)({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/my"})},loadAll:function(){var t=this;(0,i.getUserInfo)().then((function(e){t.userInfo=e.data,console.log(e,"6666666666666666666")}))}}});e.default=u}).call(this,n("543d")["default"])},eb6a:function(t,e,n){"use strict";n.r(e);var a=n("e3be"),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}},[["979d","common/runtime","common/vendor"]]]);