(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/cats/goods-list"],{"11d9":function(t,e,i){"use strict";i.r(e);var n=i("f738"),r=i("451b");for(var o in r)"default"!==o&&function(t){i.d(e,t,(function(){return r[t]}))}(o);i("771e");var a,c=i("f0c5"),s=Object(c["a"])(r["default"],n["b"],n["c"],!1,null,"340b6140",null,!1,n["a"],a);e["default"]=s.exports},"451b":function(t,e,i){"use strict";i.r(e);var n=i("c23a"),r=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"771e":function(t,e,i){"use strict";var n=i("89de"),r=i.n(n);r.a},"89de":function(t,e,i){},c23a:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("2f62");function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function o(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){a(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function a(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var c=function(){i.e("pages/cats/cats-image").then(function(){return resolve(i("f89d"))}.bind(null,i)).catch(i.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(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}})),{},{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 i=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 r=Object.assign(e,n.data);i.$emit("attr",i.previewUrl,i.submitUrl,e.attr_groups,r)}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,i("543d")["default"])},f738:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var r=function(){var t=this,e=t.$createElement;t._self._c},o=[]}}]);
;(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__("11d9"))
        })
    },
    [['pages/cats/goods-list-create-component']]
]);
