徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
4.0 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods_cate/goods_cate"],{"00cd":function(e,t,n){"use strict";n.r(t);var o=n("69ec"),r=n("11b0");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var a=n("828b"),c=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=c.exports},"11b0":function(e,t,n){"use strict";n.r(t);var o=n("889b"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=r.a},"69ec":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=[]},"7b87":function(e,t,n){"use strict";(function(e,t){var o=n("47a9");n("7561");o(n("3240"));var r=o(n("00cd"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(r.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"889b":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")),i=o(n("cef6")),a=(n("a230"),n("8f59"));function c(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={computed:s(s({},(0,a.mapGetters)(["isLogin","uid","diyCategory","cartNum"])),{},{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("bc5e"))}.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("cd76"))}.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("47f0"))}.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("bbe4"))}.bind(null,n)).catch(n.oe)},pageFooter:function(){Promise.all([n.e("common/vendor"),n.e("components/pageFooter/index")]).then(function(){return resolve(n("9dbb"))}.bind(null,n)).catch(n.oe)}},mixins:[i.default],provide:function(){return{parent:this}},onShow:function(){var t=this;this.cartNum>0?e.setTabBarBadge({index:3,text:this.cartNum>99?"99+":this.cartNum+""}):e.hideTabBarRedDot({index:3}),setTimeout((function(e){t.showTemplateTwo?t.$refs.classTwo.getCartNum():t.showTemplateThree&&t.$refs.classThree.getCartNum()}),100)},data:function(){return{isFooter:!1,showBar:!1,pdHeight:0}},methods:{otherFun:function(e){e&&(this.showTemplateTwo?this.$refs.classTwo.updateFun(e):this.showTemplateThree&&this.$refs.classThree.updateFun(e))},newDataStatus:function(e,t){this.isFooter=!!e,this.showBar=!!e,this.pdHeight=t},toggleBar:function(e){this.showBar=e}},onPageScroll:function(t){(this.showTemplateFour||this.showTemplateTwo)&&e.$emit("scroll",t.scrollTop)},onReachBottom:function(){this.showTemplateFour&&this.$refs.classFour.productslist(),this.showTemplateTwo&&e.$emit("onReachBottom")}};t.default=u}).call(this,n("df3c")["default"])}},[["7b87","common/runtime","common/vendor"]]]);