(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/advance/components/index-product-list"],{"1d59":function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return u})),r.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement,r=(t._self._c,t.product.length>0?t.__map(t.newProduct,(function(e,r){var n=t.__get_orig(e),o=0==e.use_attr?Number(e.advanceGoods.deposit):null,u=0==e.use_attr?Number(e.advanceGoods.swell_deposit):null,i=1==e.use_attr?Number(e.attr[0].deposit):null,a=1==e.use_attr?Number(e.attr[0].swell_deposit):null,c=Number(e.price),l=Number(e.original_price);return{$orig:n,m0:o,m1:u,m2:i,m3:a,m4:c,m5:l}})):null);t.$mp.data=Object.assign({},{$root:{l0:r}})},u=[]},"1ec2":function(t,e,r){"use strict";r.r(e);var n=r("3f91"),o=r.n(n);for(var u in n)"default"!==u&&function(t){r.d(e,t,(function(){return n[t]}))}(u);e["default"]=o.a},"3f91":function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r("2f62");function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(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={name:"index-product-list",props:{product:{type:Array,default:function(){return[]}},theme:Object},methods:{route_jump:function(e){e.goodsWarehouse.video_url&&1==this.getVideo?t.navigateTo({url:"/pages/goods/video?goods_id=".concat(e.id,"&sign=advance")}):t.navigateTo({url:e.page_url})}},computed:u(u({newProduct:function(){for(var t=0;t<this.product.length;t++){var e=this.product[t].attr,r=function(t,e){var r=Number(t.deposit),n=Number(e.deposit);return r<n?-1:r>n?1:0};this.product[t].attr=e.sort(r)}return this.product}},(0,n.mapGetters)("mallConfig",{vip:"getVip",getVideo:"getVideo"})),(0,n.mapState)({appImg:function(t){return t.mallConfig.__wxapp_img.mall},appSetting:function(t){return t.mallConfig.mall.setting},mall:function(t){return t.mallConfig.mall}}))};e.default=a}).call(this,r("543d")["default"])},6861:function(t,e,r){"use strict";var n=r("e84f"),o=r.n(n);o.a},b92f:function(t,e,r){"use strict";r.r(e);var n=r("1d59"),o=r("1ec2");for(var u in o)"default"!==u&&function(t){r.d(e,t,(function(){return o[t]}))}(u);r("6861");var i,a=r("f0c5"),c=Object(a["a"])(o["default"],n["b"],n["c"],!1,null,"0f604040",null,!1,n["a"],i);e["default"]=c.exports},e84f:function(t,e,r){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'plugins/advance/components/index-product-list-create-component',
    {
        'plugins/advance/components/index-product-list-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("b92f"))
        })
    },
    [['plugins/advance/components/index-product-list-create-component']]
]);
