(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/app-index-cat/app-index-cat"],{2208:function(t,e,n){"use strict";n.r(e);var r=n("c938"),i=n("d9d1");for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);n("3d87");var o,c=n("f0c5"),u=Object(c["a"])(i["default"],r["b"],r["c"],!1,null,"d2761800",null,!1,r["a"],o);e["default"]=u.exports},"3d87":function(t,e,n){"use strict";var r=n("5596"),i=n.n(r);i.a},5596:function(t,e,n){},c938:function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return r}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.newData,(function(e,n){var r=t.__get_orig(e),i=t._f("listStyle")(e.list_style);return{$orig:r,f0:i}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},a=[]},d9d1:function(t,e,n){"use strict";n.r(e);var r=n("ecef"),i=n.n(r);for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);e["default"]=i.a},ecef:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("2f62");function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){n.e("components/page-component/u-goods-list/u-ordinary-list").then(function(){return resolve(n("1f2b"))}.bind(null,n)).catch(n.oe)},u={name:"app-index-cat",components:{uOrdinaryList:c},props:{theme:{type:Object},page_id:{type:Number},index:{type:Number},is_required:{type:Boolean}},data:function(){return{newData:{}}},methods:{route:function(e){t.navigateTo({url:"/pages/goods/list?cat_id=".concat(e)})},loadData:function(){var t=this;this.$request({url:this.$api.index.extra,data:{type:"mall",key:"cat",page_id:this.page_id,index:this.index}}).then((function(e){if(t.newData=e.data,0===e.code&&e.data){var n=t.$storage.getStorageSync("INDEX_MALL");n.home_pages[t.index].list=t.newData,t.$storage.setStorageSync("INDEX_MALL",n)}}))},getStorage:function(){var t=this.$storage.getStorageSync("INDEX_MALL");this.newData=t.home_pages[this.index].list},buyProduct:function(t){this.$emit("buyProduct",t)}},mounted:function(){this.is_required?this.loadData():this.getStorage()},computed:a({},(0,r.mapState)({isListUnderlinePrice:function(t){return t.mallConfig.mall.setting.is_list_underline_price}})),filters:{listStyle:function(t){return 1===t?-1:2===t?2:3===t?3:null}}};e.default=u}).call(this,n("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/page-component/app-index-cat/app-index-cat-create-component',
    {
        'components/page-component/app-index-cat/app-index-cat-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("2208"))
        })
    },
    [['components/page-component/app-index-cat/app-index-cat-create-component']]
]);
