(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/order-submit/app-submit-goods"],{"165d":function(t,e,n){"use strict";n.r(e);var r=n("ab5b"),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},5937:function(t,e,n){},a699:function(t,e,n){"use strict";var r=n("5937"),i=n.n(r);i.a},ab5b:function(t,e,n){"use strict";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){u(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 u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a={name:"app-submit-goods",props:{list:{type:Object},plugin:{type:String},index:{type:Number},theme:[String,Object]},computed:o(o({},(0,r.mapState)({appImg:function(t){return t.mallConfig.__wxapp_img}})),{},{themeTextClass:function(){if("string"==typeof this.theme&&this.theme.indexOf("gift")>0)return"".concat(this.theme," ").concat(this.theme,"-color")},is_gift:function(){return!!("string"==typeof this.theme&&this.theme&&this.theme.indexOf("gift")>0)},newList:function(){return this.list}}),methods:{priceFormat:function(t){return isNaN(t)?t:parseFloat(t).toFixed(2)}},mounted:function(){console.log(this.list.goods_list)}};e.default=a},c5f6:function(t,e,n){"use strict";n.r(e);var r=n("ee09"),i=n("165d");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("a699");var u,a=n("f0c5"),c=Object(a["a"])(i["default"],r["b"],r["c"],!1,null,"130f57ec",null,!1,r["a"],u);e["default"]=c.exports},ee09: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,n=(t._self._c,"composition"!==t.plugin?t.__map(t.newList.goods_list,(function(e,n){var r=t.__get_orig(e),i=t.__map(e.discounts,(function(e,n){var r=t.__get_orig(e),i=e.value<0?t.priceFormat(0-e.value):null,o=!(e.value<0)&&e.value>0?t.priceFormat(e.value):null;return{$orig:r,m0:i,m1:o}}));return{$orig:r,l0:i}})):null),r="composition"===t.plugin?t.__map(t.newList.composition_list,(function(e,n){var r=t.__get_orig(e),i=t.__map(e.goods_list,(function(e,n){var r=t.__get_orig(e),i=t.__map(e.discounts,(function(e,n){var r=t.__get_orig(e),i=e.value<0?t.priceFormat(0-e.value):null,o=!(e.value<0)&&e.value>0?t.priceFormat(e.value):null;return{$orig:r,m2:i,m3:o}}));return{$orig:r,l2:i}}));return{$orig:r,l3:i}})):null;t.$mp.data=Object.assign({},{$root:{l1:n,l4:r}})},o=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'pages/order-submit/app-submit-goods-create-component',
    {
        'pages/order-submit/app-submit-goods-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("c5f6"))
        })
    },
    [['pages/order-submit/app-submit-goods-create-component']]
]);
