(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/category/category"],{4540:function(e,n,t){"use strict";t.r(n);var o=t("ca82"),i=t.n(o);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=i.a},8012:function(e,n,t){"use strict";var o={diyGoodsLevelCategory:function(){return t.e("components/diy-goods-level-category/diy-goods-level-category").then(t.bind(null,"42a9"))},loadingCover:function(){return t.e("components/loading-cover/loading-cover").then(t.bind(null,"cd2f"))},diyBottomNav:function(){return t.e("components/diy-bottom-nav/diy-bottom-nav").then(t.bind(null,"10f0"))}},i=function(){var e=this,n=e.$createElement;e._self._c},a=[];t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return o}))},8956:function(e,n,t){"use strict";(function(e){t("6b76");o(t("66fd"));var n=o(t("bf92"));function o(e){return e&&e.__esModule?e:{default:e}}e(n.default)}).call(this,t("543d")["createPage"])},bf92:function(e,n,t){"use strict";t.r(n);var o=t("8012"),i=t("4540");for(var a in i)"default"!==a&&function(e){t.d(n,e,(function(){return i[e]}))}(a);t("c3ec");var r,u=t("f0c5"),c=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],r);n["default"]=c.exports},c3ec:function(e,n,t){"use strict";var o=t("cdb3"),i=t.n(o);i.a},ca82:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i(t("4c22"));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(){t.e("components/diy-goods-level-category/diy-goods-level-category").then(function(){return resolve(t("42a9"))}.bind(null,t)).catch(t.oe)},r=function(){t.e("components/diy-bottom-nav/diy-bottom-nav").then(function(){return resolve(t("10f0"))}.bind(null,t)).catch(t.oe)},u={components:{diyBottomNav:r,diyGoodsLevelCategory:a},data:function(){return{diyData:[],iphoneX:!1,windowHeight:""}},mixins:[o.default],onLoad:function(){e.hideTabBar(),this.iphoneX=this.$util.uniappIsIPhoneX(),this.getDiyInfo()},onShow:function(){this.$langConfig.refresh(),this.getHeight(),this.$refs.goodsLevelCategory&&this.$refs.goodsLevelCategory[0].getCartData()},methods:{getHeight:function(){var n=this;e.getSystemInfo({success:function(e){n.windowHeight=e.windowHeight-57,n.iphoneX&&(n.windowHeight=n.windowHeight-33)}})},netFinish:function(e){var n=this;e&&this.$refs.loadingCover&&this.$refs.loadingCover.hide(),setTimeout((function(){n.$refs.loadingCover&&n.$refs.loadingCover.hide()}),1e3)},getDiyInfo:function(){var n=this;this.$api.sendRequest({url:"/api/diyview/info",data:{name:"DIYVIEW_GOODS_CATEGORY"},success:function(t){0==t.code&&t.data?(n.diyData=t.data,n.diyData.value&&(n.diyData=JSON.parse(n.diyData.value)),e.stopPullDownRefresh()):n.$refs.loadingCover&&n.$refs.loadingCover.hide()},fail:function(e){}})}}};n.default=u}).call(this,t("543d")["default"])},cdb3:function(e,n,t){}},[["8956","common/runtime","common/vendor"]]]);