(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/cats/product-list"],{5229:function(t,e,r){"use strict";var i;r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement;t._self._c},o=[]},"64e7":function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r("2f62");function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=function(){r.e("pages/cats/cats-image").then(function(){return resolve(r("f89d"))}.bind(null,r)).catch(r.oe)},s={name:"product-list",props:["goods_list","theme"],components:{catsImage:a},data:function(){return{previewUrl:"",submitUrl:"",attrGroup:[],selectAttr:{},item:{},show:0}},computed:o(o(o({},(0,i.mapGetters)("mallConfig",{getVideo:"getVideo",isShowCart:"getShowCart"})),(0,i.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}})),{},{themeObject:function(){return{back:this.theme+"-m-back "+this.theme,theme:this.theme,color:this.theme+"-m-text "+this.theme,sBack:this.theme+"-s-back "+this.theme}}}),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(i){if(t.hideLoading(),0===i.code){var n=Object.assign(e,i.data);r.$emit("attr",r.previewUrl,r.submitUrl,e.attr_groups,n)}else t.showToast({title:i.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"])},a91b:function(t,e,r){"use strict";r.r(e);var i=r("5229"),n=r("f392");for(var o in n)"default"!==o&&function(t){r.d(e,t,(function(){return n[t]}))}(o);r("cff2");var c,a=r("f0c5"),s=Object(a["a"])(n["default"],i["b"],i["c"],!1,null,"30fd8dd6",null,!1,i["a"],c);e["default"]=s.exports},cff2:function(t,e,r){"use strict";var i=r("e3ce"),n=r.n(i);n.a},e3ce:function(t,e,r){},f392:function(t,e,r){"use strict";r.r(e);var i=r("64e7"),n=r.n(i);for(var o in i)"default"!==o&&function(t){r.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.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__("a91b"))
        })
    },
    [['pages/cats/product-list-create-component']]
]);
