(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-extension"],{"05df":function(t,e,a){"use strict";a.r(e);var n=a("9678"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},3164:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var n={uniLoadMore:a("63a5").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"content-money"},[n("v-uni-view",{staticClass:"status_bar"}),n("v-uni-view",{staticClass:"body-title"},[n("v-uni-view",{staticClass:"goback-box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toBack.apply(void 0,arguments)}}},[n("v-uni-image",{staticClass:"goback",attrs:{src:a("31e8"),mode:""}})],1),n("v-uni-view",{staticClass:"header"},[t._v("我的推广")])],1),n("v-uni-view",{staticClass:"content-bg"},[n("v-uni-image",{attrs:{src:a("52a1"),mode:""}})],1),n("v-uni-view",{staticClass:"money-box"},[n("v-uni-view",{staticClass:"money"},[t._v(t._s(t.total))]),n("v-uni-view",[t._v("我的推广人数")])],1)],1),n("v-uni-swiper",{staticClass:"swiper-box",style:{height:t.maxheight},attrs:{current:t.tabCurrentIndex,duration:"300","disable-touch":!0},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTab.apply(void 0,arguments)}}},t._l(t.navList,(function(e,a){return n("v-uni-swiper-item",{key:a,staticClass:"tab-content"},[n("v-uni-scroll-view",{staticClass:"list-scroll-content",attrs:{"scroll-y":!0},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.loadData.apply(void 0,arguments)}}},[!0===e.loaded&&0===e.orderList.length?n("empty"):t._e(),t._l(e.orderList,(function(e,a){return n("v-uni-view",{key:a,staticClass:"order-item flex"},[n("v-uni-view",{staticClass:"title-box flex_item"},[n("v-uni-view",{staticClass:"title-avatar"},[n("v-uni-image",{attrs:{src:e.avatar}})],1),n("v-uni-view",{staticClass:"list_tpl"},[n("v-uni-view",{staticClass:"title"},[n("v-uni-text",[t._v(t._s(e.nickname))])],1),n("v-uni-view",{staticClass:"time"},[n("v-uni-text",[t._v(t._s(e.time))])],1)],1)],1)],1)})),n("uni-load-more",{attrs:{status:e.loadingType}})],2)],1)})),1)],1)},o=[]},"31e8":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAEgklEQVR4XuWbS6xeUxiG3ze0hqgyLSVpIkJUgpQyaIu6JBK30mqiQqsTvc9oa6gtZm0FQS8TA5epkhi5xAxjTExcEiYYvfIm30l2/qzV9F/7ts72Tc7g/Puc73n+tdZel28RizQkPQbg7kj/C5IflKCw5KGxn5H0KoD9M3lcSvKveXNbdAIknQCwPQF6mOShyQqQdDGA9wA8lYD8BcD1JP+cpABJywL+wQTg35ZC8qN54f356ruApKsD/q4E4K8Bf64EvnoBkm4E8C6AmxOAPwX8l6XwVQuQdEd889cmAL8P+O/awFcrQNLGgL8yAfhVwP/YFr5KAZKeCPhLEoDu6x7w3Pc7iaoGQUnPAXgzQ/YxgE0k/+mEPP5INQIk7QFwLAN3huSWLsEX/lYVAiR5BncwA3iS5I4+4KsYAyS9BmB3BvAYyX19wY8uQNJbAJ7NABbN7eeVNUoXkLQEwGkAj2cSPkDyyLwwJZ8fXICkKwL+vkzCO0keL4EpeWZQAZKuCfg1mWS3kjxVAlL6zGACJN0U8Dckkv033vFFK7pS+MEGQUlrAfibXZFI9veAL17RVS1A0gMBf3ki0Z8D3vP7UaLXLiDpyYC/KEH3Q8B7ZTda9CZA0vMATmbIvvErkKRbwKjRiwBJnr3l3uOfB7z7/ujRuQBJrwB4KUP2ScB71K8iOhUg6Q0AL2bIzpLcXAV1I4nOBEh6B8AzGcBeV3RtpLYWIMk7N2cAPJJJpPcV3WgCJC0HcBbAhkwSg6zoRhEgaWXA35ZJYD/Jo22SG+LZ4i4g6VsAt2SS3EEyNwcYguuC/0eRAEkPA/gw81+2kPSYsCiiVMA6ALnFy/QF+KuV9DWAW/+XXSAEeBB0U789I2Efydw2dzXdo6gLLGQfr0FLuCdDdIjk4WpoE4m0EhAtYWm0hEczoEdJzpazVOOktYBGa3gbwLYM2QmSL1RD3UikMwHRGl4HsCsDeprk07VJ6FRASHCffzkD6k1PH3BOcznc6A57AeSmwZ4/WMI0N0QaEs531O1NUEuY5pZYQ4KPvrxaTG2KejPUErw5Olp0PgbMkkS5i+cKqW1xFzpZgmeVo0TvAmJgdMGTD0Nd8jYbv4WEz8YwMIiAkOCSN58O+edsuOzFLcFlMIPGYAJCgluAJdyZodxM0mPGYDGogJDg4/H3AdyfodxOMlco1bmYwQWEBBdIWMKmDNFeki6d6T1GEbBAJcnbZj5CS8VBkj5k6TVGFRCtwUdouUKoIyQP9GlgdAEhwUdpuW/7OMmdfUmoQkBI8CrSq8lUnCK5tQ8J1QgICd5P8L5CKrwL7TrhaZbKNgZG3wbzXCFVLP1pSPDssZOoqgU0JNwbr8mrEpS+IOGW4HVE66hSQHQHl9L5ktR1CUpflLCE1uU11QoICS6ps4TVCQm+MGEJrQqsqhYQElxaZwkLt0SbLqZ9aaoxJngvwRIeSrSEaV+ba0g438VJvxVWkfxj3lGx+i4wCyTJhdSpCxRFxRiLTkCMC6nL05dN9upsqllLcsXZ+vjdudKahP8AipZeUEUx+60AAAAASUVORK5CYII="},"52a1":function(t,e,a){t.exports=a.p+"static/img/jfbg.98b2e9a0.png"},"562c":function(t,e,a){"use strict";var n=a("d35f"),i=a.n(n);i.a},9678:function(t,e,a){"use strict";var n=a("4ea4");a("99af"),a("ac1f"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var i=n(a("1da1")),o=a("d375"),r=(a("26cb"),n(a("63a5"))),c=n(a("ae35")),d={components:{empty:c.default,uniLoadMore:r.default},onReady:function(t){var e=this;uni.getSystemInfo({success:function(t){var a=uni.createSelectorQuery();a.select(".swiper-box").boundingClientRect(),a.exec((function(a){e.maxheight=t.windowHeight-a[0].top+"px",console.log("打印页面的剩余高度",e.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(t){uni.navigateTo({url:t})},loadData:function(t){var e=this;return(0,i.default)(regeneratorRuntime.mark((function a(){var n,i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(n=e.tabCurrentIndex,i=e.navList[n],i.state,"tabChange"!==t||!0!==i.loaded){a.next=5;break}return a.abrupt("return");case 5:if("loading"!==i.loadingType){a.next=7;break}return a.abrupt("return");case 7:if("noMore"!==i.loadingType){a.next=9;break}return a.abrupt("return");case 9:i.loadingType="loading",(0,o.getSpreadPeople)({page:i.page,limit:i.limit}).then((function(t){var a=t.data;console.log(a),e.total=a.total,e.totalLevel=a.totalLevel,a.list.length>0&&(e.list=a.list,i.orderList=i.orderList.concat(a.list),i.page++),e.$nextTick((function(){i.limit!=a.list.length?i.loadingType="noMore":i.loadingType="more"})),e.$set(i,"loaded",!0)})).catch((function(t){console.log(t)}));case 11:case"end":return a.stop()}}),a)})))()},changeTab:function(t){this.tabCurrentIndex=t.target.current,this.loadData("tabChange")},tabClick:function(t){this.tabCurrentIndex=t},toBack:function(){uni.switchTab({url:"/pages/user/user"})},loadAll:function(){var t=this;(0,o.getUserInfo)().then((function(e){t.userInfo=e.data,console.log(e,"6666666666666666666")}))}}};e.default=d},bdb7:function(t,e,a){"use strict";a.r(e);var n=a("3164"),i=a("05df");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("562c");var r,c=a("f0c5"),d=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"73e6ccef",null,!1,n["a"],r);e["default"]=d.exports},d35f:function(t,e,a){var n=a("e8b8");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("04bed49e",n,!0,{sourceMap:!1,shadowMode:!1})},d375:function(t,e,a){"use strict";var n=a("dbce");Object.defineProperty(e,"__esModule",{value:!0}),e.edit=o,e.orderData=r,e.getUserInfo=c,e.spreadBanner=d,e.getAddressList=l,e.addressEdit=u,e.addressDel=s,e.setAddressDefault=f,e.getCartList=g,e.getCartNum=p,e.cartDel=h,e.getcollectList=v,e.delcollect=m,e.upload=b,e.repurchase=w,e.getSpreadPeople=x,e.nickname=A,e.transfer=y,e.getVip=C,e.becomeVip=k,e.editStore=L,e.user_product=E,e.jfzz=S;var i=n(a("3e83"));function o(t){return(0,i.default)({url:"/api/user/edit",method:"post",data:t})}function r(t){return(0,i.default)({url:"/api/order/data",method:"get",data:t})}function c(t){return(0,i.default)({url:"/api/userinfo",method:"get",data:t})}function d(t){return(0,i.default)({url:"/api/spread/banner",method:"get",data:t})}function l(t){return(0,i.default)({url:"/api/address/list",method:"get",data:t})}function u(t){return(0,i.default)({url:"/api/address/edit",method:"post",data:t})}function s(t){return(0,i.default)({url:"/api/address/del",method:"post",data:t})}function f(t){return(0,i.default)({url:"/api/address/default/set",method:"post",data:t})}function g(t){return(0,i.default)({url:"/api/cart/list",method:"get",data:t})}function p(t){return(0,i.default)({url:"/api/cart/num",method:"post",data:t})}function h(t){return(0,i.default)({url:"/api/cart/del",method:"post",data:t})}function v(t){return(0,i.default)({url:"/api/collect/user",method:"get",data:t})}function m(t){return(0,i.default)({url:"/api/collect/del",method:"post",data:t})}function b(t){return(0,i.upFilse)({url:"/api/upload/image",method:"post",data:t})}function w(t){return(0,i.default)({url:"/api/user/repurchase",method:"get",data:t})}function x(t){return(0,i.default)({url:"/api/spread/people",method:"post",data:t})}function A(t){return(0,i.default)({url:"/api/nickname",method:"get",data:t})}function y(t){return(0,i.default)({url:"/api/transfer",method:"post",data:t})}function C(t){return(0,i.default)({url:"/api/level/lst",method:"get",data:t})}function k(t){return(0,i.default)({url:"/api/level/recharge",method:"post",data:t})}function L(t){return(0,i.default)({url:"/api/user/apply",method:"post",data:t})}function E(t){return(0,i.default)({url:"/api/user/user_product",method:"get",data:t})}function S(t){return(0,i.default)({url:"/api/user/accounts",method:"post",data:t})}},e8b8:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-73e6ccef]{background:#fff;height:100%}.status_bar[data-v-73e6ccef]{height:0;width:100%}.content-money[data-v-73e6ccef]{position:relative;height:%?480?%}.content-money .content-bg[data-v-73e6ccef]{position:absolute;top:0;left:0;right:0;width:%?750?%;height:%?480?%}.content-money .content-bg uni-image[data-v-73e6ccef]{width:100%;height:100%}.content-money .body-title[data-v-73e6ccef]{height:%?80?%;text-align:center;font-size:%?35?%;position:relative}.content-money .body-title .header[data-v-73e6ccef]{position:absolute;left:0;top:0;width:100%;font-size:%?36?%;font-family:PingFang SC;font-weight:700;color:#fffeff;height:%?80?%;font-size:%?36?%;font-weight:700;z-index:9;display:flex;justify-content:center;align-items:center}.content-money .body-title .goback-box[data-v-73e6ccef]{position:absolute;left:%?18?%;top:0;height:%?80?%;display:flex;align-items:center}.content-money .body-title .goback[data-v-73e6ccef]{z-index:100;width:%?34?%;height:%?34?%}.money-box[data-v-73e6ccef]{position:relative;z-index:2;padding-top:%?70?%;color:#fff;text-align:center}.money-box .money[data-v-73e6ccef]{font-size:%?72?%;font-family:PingFang SC;font-weight:700;color:#fff}.money-box .text[data-v-73e6ccef]{font-size:%?30?%}.swiper-box .order-item[data-v-73e6ccef]{padding:%?20?% %?30?%;line-height:1.5}.swiper-box .order-item .title-box[data-v-73e6ccef]{width:100%}.swiper-box .order-item .title-box .title-avatar[data-v-73e6ccef]{width:%?100?%;height:%?100?%;margin-right:%?25?%}.swiper-box .order-item .title-box .title-avatar uni-image[data-v-73e6ccef]{width:100%;height:100%;border-radius:100%}.swiper-box .order-item .title-box .list_tpl[data-v-73e6ccef]{width:85%}.swiper-box .order-item .title-box .list_tpl .title[data-v-73e6ccef]{font-size:%?32?%;color:#606266;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;justify-content:flex-start}.swiper-box .order-item .title-box .list_tpl .title uni-image[data-v-73e6ccef]{margin-left:%?9?%;width:%?147?%;height:%?32?%}.swiper-box .order-item .title-box .list_tpl .time[data-v-73e6ccef]{margin-top:%?15?%;font-size:%?22?%;color:#909399}.swiper-box .order-item .money[data-v-73e6ccef]{color:#db1935;font-size:%?32?%}.list-scroll-content[data-v-73e6ccef]{height:100%}.content[data-v-73e6ccef]{height:100%}.content .empty-content[data-v-73e6ccef]{background-color:#fff}.tg-wrapper[data-v-73e6ccef]{width:100%;background-color:#f7f7f7;padding:%?20?% 0}.tg-wrapper .tg-box[data-v-73e6ccef]{display:flex;justify-content:center;width:%?690?%;height:%?143?%;background-color:#fff;margin:0 auto;align-items:center}.tg-wrapper .tg-box .tg-item[data-v-73e6ccef]{width:33%;display:flex;flex-direction:column;justify-content:center;align-items:center}.tg-wrapper .tg-box .tg-item .tg-tit[data-v-73e6ccef]{font-size:%?24?%;font-family:PingFang SC;font-weight:700;color:#333}.tg-wrapper .tg-box .tg-item .tg-val[data-v-73e6ccef]{padding-top:%?15?%;font-size:%?34?%;font-family:PingFang SC;font-weight:700;color:#333}.tg-wrapper .tg-box .tg-jg[data-v-73e6ccef]{width:%?1?%;height:%?51?%;background:#ddd}body.?%PAGE?%[data-v-73e6ccef]{background:#fff}',""]),t.exports=e}}]);