(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/diy/goodsDiy"],{"3dde":function(t,e,i){},8688:function(t,e,i){"use strict";i.r(e);var n=i("c7c0"),o=i.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(u);e["default"]=o.a},"9e79":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},o=[]},a8aa:function(t,e,i){"use strict";i.r(e);var n=i("9e79"),o=i("8688");for(var u in o)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(u);i("b92a");var s=i("828b"),r=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=r.exports},b92a:function(t,e,i){"use strict";var n=i("3dde"),o=i.n(n);o.a},c7c0:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("f5e9")),u={name:"goodsDiy",props:["showStyle","showParams"],data:function(){return{goodsList:[]}},computed:{titleFontSize:function(){return t.upx2px(2*this.showStyle.titleFontSize)+"px"},titleBtnSize:function(){return t.upx2px(2*this.showStyle.titleBtnSize)+"px"},titleIconMore:function(){return o.default.svgToUrl("more",this.showStyle.titleBtnColor)},titleIconSize:function(){return t.upx2px(2*this.showStyle.titleIconSize)+"px"},titleSpace:function(){return t.upx2px(2*this.showStyle.titleSpace)+"px"},itemBorderRadius:function(){return t.upx2px(2*this.showStyle.itemBorderRadius)+"px"},imgHeight:function(){return t.upx2px(2*this.showStyle.imgHeight)+"px"},borderRadius:function(){return t.upx2px(2*this.showStyle.borderRadius)+"px"},nameSize:function(){return t.upx2px(2*this.showStyle.nameSize)+"px"},priceSize:function(){return t.upx2px(2*this.showStyle.priceSize)+"px"},paddingTop:function(){return t.upx2px(2*this.showStyle.paddingTop)+"px"},paddingLeft:function(){return t.upx2px(2*this.showStyle.paddingLeft)+"px"},itemSpace:function(){return t.upx2px(2*this.showStyle.itemSpace)+"px"}},watch:{showParams:{handler:function(t){t&&this.getGoodsList()},immediate:!0,deep:!0}},methods:{getGoodsList:function(){var e=this;this.$util.request("mall.goodsList",{page:1,limit:4}).then((function(i){1==i.code?e.goodsList=i.data.data:t.showToast({title:i.msg,icon:"none"})})).catch((function(t){console.error("获取商城商品",t)}))},toDetails:function(t){this.$util.toPage({mode:1,path:"/pagesMall/goods/details?id="+t})},toMore:function(){this.$util.toPage({mode:1,path:"/pages/mall/index"})}}};e.default=u}).call(this,i("df3c")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'pages/component/diy/goodsDiy-create-component',
    {
        'pages/component/diy/goodsDiy-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("a8aa"))
        })
    },
    [['pages/component/diy/goodsDiy-create-component']]
]);
