(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/cats/product-list"],{"096d4":function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r("2f62");function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c=function(){r.e("pages/cats/cats-image").then(function(){return resolve(r("1f04"))}.bind(null,r)).catch(r.oe)},s={name:"product-list",props:["goods_list","theme"],components:{catsImage:c},data:function(){return{previewUrl:"",submitUrl:"",attrGroup:[],selectAttr:{},item:{},show:0}},computed:o(o({},(0,n.mapGetters)("mallConfig",{getVideo:"getVideo",isShowCart:"getShowCart"})),(0,n.mapState)({appSetting:function(t){return t.mallConfig.mall.setting},appImg:function(t){return t.mallConfig.__wxapp_img.mall},isListUnderlinePrice:function(t){return t.mallConfig.mall.setting.is_list_underline_price},platform:function(t){return t.gConfig.systemInfo.platform}})),methods:{specification:function(e){var r=this;"mch"===e.sign?(this.previewUrl=this.$api.mch.order_preview,this.submitUrl=this.$api.mch.order_submit):(this.previewUrl="",this.submitUrl=""),t.showLoading({text:"",mask:!0}),this.$request({url:this.$api.goods.attr,data:{id:e.id,mch_id:e.mch_id}}).then((function(n){if(t.hideLoading(),0===n.code){var i=Object.assign(e,n.data);r.$emit("attr",{previewUrl:r.previewUrl,submitUrl:r.submitUrl,attr_groups:e.attr_groups,goods:i})}else t.showToast({title:n.msg,icon:"none"})}))},route_go:function(e){e.video_url&&1==this.getVideo?t.navigateTo({url:"/pages/goods/video?goods_id=".concat(e.id,"&sign=").concat(e.sign)}):t.navigateTo({url:e.page_url})},onAttr:function(t){this.selectAttr=t}}};e.default=s}).call(this,r("543d")["default"])},"5f34":function(t,e,r){"use strict";r.r(e);var n=r("096d4"),i=r.n(n);for(var o in n)"default"!==o&&function(t){r.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"827c":function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},8696:function(t,e,r){},"99fbd":function(t,e,r){"use strict";r.r(e);var n=r("827c"),i=r("5f34");for(var o in i)"default"!==o&&function(t){r.d(e,t,(function(){return i[t]}))}(o);r("e3c3");var a,c=r("f0c5"),s=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"9d5c4e3a",null,!1,n["a"],a);e["default"]=s.exports},e3c3:function(t,e,r){"use strict";var n=r("8696"),i=r.n(n);i.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'pages/cats/product-list-create-component',
    {
        'pages/cats/product-list-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("99fbd"))
        })
    },
    [['pages/cats/product-list-create-component']]
]);
