(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["user/page/extension"],{355:function(e,n,t){"use strict";(function(e){var n=t(3);t(25);n(t(24));var o=n(t(356));wx.__webpack_require_UNI_MP_PLUGIN__=t,e(o.default)}).call(this,t(1)["createPage"])},356:function(e,n,t){"use strict";t.r(n);var o=t(357),a=t(359);for(var r in a)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(r);t(361);var i,c=t(39),l=Object(c["default"])(a["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],i);l.options.__file="user/page/extension.vue",n["default"]=l.exports},357:function(e,n,t){"use strict";t.r(n);var o=t(358);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},358:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return a})),t.d(n,"staticRenderFns",(function(){return i})),t.d(n,"recyclableRender",(function(){return r})),t.d(n,"components",(function(){return o}));try{o={uniLoadMore:function(){return t.e("components/uni-load-more/uni-load-more").then(t.bind(null,322))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var a=function(){var e=this,n=e.$createElement;e._self._c},r=!1,i=[];a._withStripped=!0},359:function(e,n,t){"use strict";t.r(n);var o=t(360),a=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=a.a},360:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=t(49),a=(t(27),function(){t.e("components/uni-load-more/uni-load-more").then(function(){return resolve(t(322))}.bind(null,t)).catch(t.oe)}),r=function(){t.e("components/empty").then(function(){return resolve(t(631))}.bind(null,t)).catch(t.oe)},i={components:{empty:r,uniLoadMore:a},onReady:function(){var n=this;e.createSelectorQuery().select(".content").fields({size:!0},(function(e){n.maxheight=e.height-Math.floor(e.width/750*470)-44})).exec()},data:function(){return{maxheight:"",tabCurrentIndex:0,navList:[{state:0,text:"一级推广",loadingType:"more",orderList:[],page:1,limit:10},{state:1,text:"二级推广",loadingType:"more",orderList:[],page:1,limit:10}],all:"",list:"",total:"",totalLevel:"",img:"http://kaifa.crmeb.net/uploads/attach/2019/08/20190807/723adbdd4e49a0f9394dfc700ab5dba3.png",userInfo:{}}},onLoad:function(e){},onShow:function(){this.loadData(),this.loadAll()},methods:{navto:function(n){e.navigateTo({url:n})},loadData:async function(e){var n=this,t=this.tabCurrentIndex,a=this.navList[t],r=a.state;"tabChange"===e&&!0===a.loaded||"loading"!==a.loadingType&&"noMore"!==a.loadingType&&(a.loadingType="loading",(0,o.getSpreadPeople)({page:a.page,limit:a.limit,keyword:"",grade:r}).then((function(e){var t=e.data;console.log(t),n.total=t.total,n.totalLevel=t.totalLevel,t.list.length>0&&(n.list=t.list,a.orderList=a.orderList.concat(t.list),a.page++),n.$nextTick((function(){a.limit!=t.list.length?a.loadingType="noMore":a.loadingType="more"})),n.$set(a,"loaded",!0)})).catch((function(e){console.log(e)})))},changeTab:function(e){this.tabCurrentIndex=e.target.current,this.loadData("tabChange")},tabClick:function(e){this.tabCurrentIndex=e},toBack:function(){e.switchTab({url:"/pages/user/user"})},loadAll:function(){var e=this;(0,o.getUserInfo)().then((function(n){e.userInfo=n.data,console.log(n,"6666666666666666666")}))}}};n.default=i}).call(this,t(1)["default"])},361:function(e,n,t){"use strict";t.r(n);var o=t(362),a=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=a.a},362:function(e,n,t){}},[[355,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/user/page/extension.js.map