(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods_cate/goods_cate"],{"10e1":function(e,t,n){"use strict";(function(e,t){var o=n("47a9");n("f076");o(n("3240"));var r=o(n("ca56"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(r.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},5661:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var o=function(){var e=this.$createElement;this._self._c},r=[]},7900:function(e,t,n){"use strict";n.r(t);var o=n("b44a"),r=n.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=r.a},b44a:function(e,t,n){"use strict";(function(e){var o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n("7ca3")),c=o(n("89cc")),i=(n("360a"),n("8f59"));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={computed:u(u({},(0,i.mapGetters)(["isLogin","uid","diyCategory","tabBarData"])),{},{level:function(){return this.diyCategory.level},activeIndex:function(){return this.diyCategory.index},showTemplateTwo:function(){if([2,3].includes(this.activeIndex)&&2==this.level||[1,2].includes(this.activeIndex)&&3==this.level)return!0},showTemplateThree:function(){if([1,4].includes(this.activeIndex)&&2==this.level)return!0},showTemplateFour:function(){if(5==this.activeIndex&&2==this.level||3==this.activeIndex&&3==this.level)return!0}}),components:{template1:function(){n.e("pages/goods_cate/template/template1").then(function(){return resolve(n("40f3"))}.bind(null,n)).catch(n.oe)},template2:function(){Promise.all([n.e("common/vendor"),n.e("pages/goods_cate/template/template2")]).then(function(){return resolve(n("a161"))}.bind(null,n)).catch(n.oe)},template3:function(){Promise.all([n.e("common/vendor"),n.e("pages/goods_cate/template/template3")]).then(function(){return resolve(n("ce85"))}.bind(null,n)).catch(n.oe)},template4:function(){Promise.all([n.e("common/vendor"),n.e("pages/goods_cate/template/template4")]).then(function(){return resolve(n("ad41"))}.bind(null,n)).catch(n.oe)},pageFooter:function(){n.e("components/pageFooter/index").then(function(){return resolve(n("b795"))}.bind(null,n)).catch(n.oe)},activityModal:function(){n.e("components/activityModal/index").then(function(){return resolve(n("b19b"))}.bind(null,n)).catch(n.oe)}},mixins:[c.default],data:function(){return{isFooter:!0,showBar:!0,reset:0}},onShow:function(){this.reset++},onUnload:function(){e.$off("newAttrNum")},methods:{toggleBar:function(e){this.showBar=e}},onPageScroll:function(t){this.showTemplateFour&&e.$emit("scroll")},onReachBottom:function(){this.showTemplateFour&&this.$refs.classFour.productslist()}};t.default=l}).call(this,n("df3c")["default"])},ca56:function(e,t,n){"use strict";n.r(t);var o=n("5661"),r=n("7900");for(var c in r)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(c);var i=n("828b"),a=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=a.exports}},[["10e1","common/runtime","common/vendor"]]]);