(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/cats/goods-list"],{"0af0":function(t,e,n){"use strict";var r=n("e30c"),i=n.n(r);i.a},1648:function(t,e,n){"use strict";n.r(e);var r=n("9401"),i=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},"8b8d":function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return r}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},9401: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 o(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){a(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 a(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("pages/cats/cats-image").then(function(){return resolve(n("1f04"))}.bind(null,n)).catch(n.oe)},s={name:"goods-list",props:["goods_list","theme"],components:{catsImage:c},data:function(){return{previewUrl:"",submitUrl:"",attrGroup:[],selectAttr:{},item:{},show:0}},computed:o(o({},(0,r.mapGetters)("mallConfig",{getVideo:"getVideo",isShowCart:"getShowCart"})),(0,r.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 n=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(r){if(t.hideLoading(),0===r.code){var i=Object.assign(e,r.data);n.$emit("attr",n.previewUrl,n.submitUrl,e.attr_groups,i)}else t.showToast({title:r.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,n("543d")["default"])},c3ce:function(t,e,n){"use strict";n.r(e);var r=n("8b8d"),i=n("1648");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("0af0");var a,c=n("f0c5"),s=Object(c["a"])(i["default"],r["b"],r["c"],!1,null,"ffd13c9a",null,!1,r["a"],a);e["default"]=s.exports},e30c:function(t,e,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'pages/cats/goods-list-create-component',
    {
        'pages/cats/goods-list-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("c3ce"))
        })
    },
    [['pages/cats/goods-list-create-component']]
]);
