(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/order-submit/app-submit-goods"],{25409:function(t,e,r){"use strict";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 i(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){u(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 u(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:"app-submit-goods",props:{list:{type:Object},plugin:{type:String},index:{type:Number},theme:String},data:function(){return{}},computed:i(i({},(0,n.mapState)({appImg:function(t){return t.mallConfig.__wxapp_img}})),{},{themeTextClass:function(){return this.theme&&this.theme.indexOf("gift")>0?"".concat(this.theme," ").concat(this.theme,"-color"):"".concat(this.theme," ").concat(this.theme,"-m-text")}}),methods:{priceFormat:function(t){return isNaN(t)?t:parseFloat(t).toFixed(2)}}};e.default=a},"6f2e":function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement,r=(t._self._c,"composition"!==t.plugin?t.__map(t.list.goods_list,(function(e,r){var n=t.__get_orig(e),o=t.__map(e.discounts,(function(e,r){var n=t.__get_orig(e),o=e.value<0?t.priceFormat(0-e.value):null,i=!(e.value<0)&&e.value>0?t.priceFormat(e.value):null;return{$orig:n,m0:o,m1:i}}));return{$orig:n,l0:o}})):null),n="composition"===t.plugin?t.__map(t.list.composition_list,(function(e,r){var n=t.__get_orig(e),o=t.__map(e.goods_list,(function(e,r){var n=t.__get_orig(e),o=t.__map(e.discounts,(function(e,r){var n=t.__get_orig(e),o=e.value<0?t.priceFormat(0-e.value):null,i=!(e.value<0)&&e.value>0?t.priceFormat(e.value):null;return{$orig:n,m2:o,m3:i}}));return{$orig:n,l2:o}}));return{$orig:n,l3:o}})):null;t.$mp.data=Object.assign({},{$root:{l1:r,l4:n}})},i=[]},"75d3":function(t,e,r){"use strict";r.r(e);var n=r("25409"),o=r.n(n);for(var i in n)"default"!==i&&function(t){r.d(e,t,(function(){return n[t]}))}(i);e["default"]=o.a},c121:function(t,e,r){"use strict";r.r(e);var n=r("6f2e"),o=r("75d3");for(var i in o)"default"!==i&&function(t){r.d(e,t,(function(){return o[t]}))}(i);r("f3e0");var u,a=r("f0c5"),c=Object(a["a"])(o["default"],n["b"],n["c"],!1,null,"09928e38",null,!1,n["a"],u);e["default"]=c.exports},d5b3:function(t,e,r){},f3e0:function(t,e,r){"use strict";var n=r("d5b3"),o=r.n(n);o.a}}]);
;(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__("c121"))
        })
    },
    [['pages/order-submit/app-submit-goods-create-component']]
]);
