goodsgroup.js 2.1 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/widgets/goodsgroup/goodsgroup"],{"0370":function(t,o,n){"use strict";n.r(o);var e=n("d12b"),r=n("0e2c");for(var u in r)["default"].indexOf(u)<0&&function(t){n.d(o,t,(function(){return r[t]}))}(u);var c=n("828b"),d=Object(c["a"])(r["default"],e["b"],e["c"],!1,null,"24ef731a",null,!1,e["a"],void 0);o["default"]=d.exports},"0e2c":function(t,o,n){"use strict";n.r(o);var e=n("4ad3"),r=n.n(e);for(var u in e)["default"].indexOf(u)<0&&function(t){n.d(o,t,(function(){return e[t]}))}(u);o["default"]=r.a},"4ad3":function(t,o,n){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var e={components:{goods:function(){n.e("components/widgets/goodsgroup/goods").then(function(){return resolve(n("344c"))}.bind(null,n)).catch(n.oe)}},props:{content:{type:[Object,Array]},styles:{type:[Object,Array]}},data:function(){return{}},methods:{navigate:function(t){this.$Router.push({path:"/pages/goods_detail/goods_detail",query:{id:t.id}})}},computed:{goods:function(){var t=this.content.data;return t.length?t:[]},btnStyle:function(){var t=this.styles,o=t.btn_bg_color,n=t.btn_color,e=t.btn_border_radius,r=t.btn_border_color,u=this.content.btn_bg_type,c={"background-color":o,color:n,"border-radius":"".concat(this.$px2rpx(e),"rpx"),"border-color":r};return 2==u&&delete c["background-color"],c}}};o.default=e},d12b:function(t,o,n){"use strict";n.d(o,"b",(function(){return r})),n.d(o,"c",(function(){return u})),n.d(o,"a",(function(){return e}));var e={widgetRoot:function(){return n.e("components/widget-root/widget-root").then(n.bind(null,"df5f"))}},r=function(){var t=this.$createElement;this._self._c},u=[]}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/widgets/goodsgroup/goodsgroup-create-component',
  4. {
  5. 'components/widgets/goodsgroup/goodsgroup-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('df3c')['createComponent'](__webpack_require__("0370"))
  7. })
  8. },
  9. [['components/widgets/goodsgroup/goodsgroup-create-component']]
  10. ]);