(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{598:function(e,t,r){e.exports={}},638:function(e,t,r){"use strict";r(598)},723:function(e,t,r){"use strict";r.r(t);r(39),r(17),r(47);var o={props:{pageData:{type:Object,default:function(){}}},computed:{comCategoryList:function(){var e=[];return this.recursive(e,this.pageData.category_list),e}},methods:{recursive:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r={};r.id=t.id?t.id:null,r.name=t.name?t.name:null,r.pid=t.pid?t.pid:null,e.push(r),t.child&&this.recursive(e,t.child)},goCategory:function(e){switch(e){case 0:this.$router.push({name:"category-firstCategory",params:{firstCategory:this.comCategoryList[0].name.replace(/\s+/g,"-").replace("-&","").toLowerCase()}});break;case 1:this.$router.push({name:"category-firstCategory-secondCategory",params:{firstCategory:this.comCategoryList[0].name.replace(/\s+/g,"-").replace("-&","").toLowerCase(),secondCategory:this.comCategoryList[1].name.replace(/\s+/g,"-").replace("-&","").toLowerCase()}});break;case 2:this.$router.push({name:"category-firstCategory-secondCategory-thirdCategory",params:{firstCategory:this.comCategoryList[0].name.replace(/\s+/g,"-").replace("-&","").toLowerCase(),secondCategory:this.comCategoryList[1].name.replace(/\s+/g,"-").replace("-&","").toLowerCase(),thirdCategory:this.comCategoryList[2].name.replace(/\s+/g,"-").replace("-&","").toLowerCase()}});break;default:this.$router.push({path:"/category"})}}}},c=o,n=(r(638),r(22)),component=Object(n.a)(c,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"wrap"},[t("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[t("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[e._v("Home")]),e._v(" "),t("el-breadcrumb-item",{nativeOn:{click:function(t){return e.goCategory()}}},[e._v("All")]),e._v(" "),e._l(e.comCategoryList,(function(r,o){return t("el-breadcrumb-item",{key:r.id,nativeOn:{click:function(t){return e.goCategory(o)}}},[e._v(e._s(r.name))])})),e._v(" "),t("el-breadcrumb-item",{staticClass:"last-bread"},[e._v(e._s(e.pageData.product_code))])],2)],1)}),[],!1,null,"d96596a6",null);t.default=component.exports}}]);
//# sourceMappingURL=882fba3.js.map