require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/distributor/index"],{"0f5d":function(t,e,o){"use strict";(function(t,e){var n=o("47a9");o("f076");n(o("3240"));var r=n(o("9b54"));t.__webpack_require_UNI_MP_PLUGIN__=o,e(r.default)}).call(this,o("3223")["default"],o("df3c")["createPage"])},"2f57":function(t,e,o){"use strict";o.r(e);var n=o("4d06"),r=o.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(i);e["default"]=r.a},"2f5f":function(t,e,o){"use strict";var n=o("a33f"),r=o.n(n);r.a},"4d06":function(t,e,o){"use strict";(function(t){var n=o("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(o("7ca3")),i=o("0f73"),c=o("4d38"),a=o("8f59"),s=o("95b5");function u(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function l(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?u(Object(o),!0).forEach((function(e){(0,r.default)(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}t.getWindowInfo().statusBarHeight;var g={data:function(){return{imgHost:c.HTTP_REQUEST_URL,isScrolling:!1,menus:[{label:"零成本",pic:c.HTTP_REQUEST_URL+"/statics/images/promoter/promoter_group3.png"},{label:"高佣金",pic:c.HTTP_REQUEST_URL+"/statics/images/promoter/promoter_group6.png"},{label:"持续收入",pic:c.HTTP_REQUEST_URL+"/statics/images/promoter/promoter_group1.png"},{label:"佣金提现",pic:c.HTTP_REQUEST_URL+"/statics/images/promoter/promoter_group2.png"}],hotPage:1,hotLimit:10,hotScroll:!1,hostProduct:[]}},components:{home:function(){Promise.all([o.e("common/vendor"),o.e("components/home/index")]).then(function(){return resolve(o("0708"))}.bind(null,o)).catch(o.oe)},NavBar:function(){o.e("components/NavBar").then(function(){return resolve(o("a7d8"))}.bind(null,o)).catch(o.oe)},emptyPage:function(){o.e("components/emptyPage").then(function(){return resolve(o("398a"))}.bind(null,o)).catch(o.oe)}},computed:l(l({},(0,a.mapGetters)(["isLogin"])),{},{brokeragePrice:function(){return this.$store.state.app.store_brokerage_price},topCardStyle:function(){return{height:"646rpx",backgroundImage:"url("+this.imgHost+"/statics/images/promoter/promoter_group5.png)"}},contentBg:function(){return{height:"1474rpx",backgroundImage:"url("+this.imgHost+"/statics/images/promoter/promoter_group4.png)"}},fuliBg:function(){return{backgroundImage:"url("+this.imgHost+"/statics/images/promoter/promoter_card.png)"}},colorBox:function(){return{backgroundImage:"url("+this.imgHost+"/statics/images/promoter/promoter_color1.png)"}},btnBgStyle:function(){return{backgroundImage:"url("+this.imgHost+"/statics/images/promoter/promoter_button.png)"}}}),onPageScroll:function(e){t.$emit("scroll"),e.scrollTop>50?this.isScrolling=!0:e.scrollTop<50&&(this.isScrolling=!1)},onLoad:function(){this.getRecommendList()},methods:{getRecommendList:function(){var t=this;t.hotScroll||(0,i.getProductHot)(t.hotPage,t.hotLimit).then((function(e){t.hotPage++,t.hotScroll=e.data.length<t.hotLimit,t.hostProduct=t.hostProduct.concat(e.data)}))},goDetail:function(e){(0,s.goShopDetail)(e,this.uid).catch((function(o){t.navigateTo({url:"/pages/goods_details/index?id=".concat(e.id)})}))},lookInfo:function(){t.navigateTo({url:"/pages/users/user_distribution_info/index"})},goHomePage:function(){t.switchTab({url:"/pages/goods_cate/goods_cate"})}},onReachBottom:function(){this.getRecommendList()}};e.default=g}).call(this,o("df3c")["default"])},"9b54":function(t,e,o){"use strict";o.r(e);var n=o("fc50"),r=o("2f57");for(var i in r)["default"].indexOf(i)<0&&function(t){o.d(e,t,(function(){return r[t]}))}(i);o("f0c8"),o("2f5f");var c=o("828b"),a=Object(c["a"])(r["default"],n["b"],n["c"],!1,null,"4e02abdb",null,!1,n["a"],void 0);e["default"]=a.exports},a33f:function(t,e,o){},b5b5:function(t,e,o){},f0c8:function(t,e,o){"use strict";var n=o("b5b5"),r=o.n(n);r.a},fc50:function(t,e,o){"use strict";o.d(e,"b",(function(){return r})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){return n}));var n={easyLoadimage:function(){return o.e("components/easy-loadimage/easy-loadimage").then(o.bind(null,"94dd"))}},r=function(){var t=this,e=t.$createElement,o=(t._self._c,t.__get_style([t.topCardStyle])),n=t.__get_style([t.contentBg]),r=t.__get_style([t.fuliBg]),i=t.__get_style([t.colorBox]),c=t.hostProduct.length,a=t.__get_style([t.btnBgStyle]);t.$mp.data=Object.assign({},{$root:{s0:o,s1:n,s2:r,s3:i,g0:c,s4:a}})},i=[]}},[["0f5d","common/runtime","common/vendor"]]]);