文件
mashangyoujiu/Public/DIY/js/chunk-3a40c93c.8485cd36.js

3 行
41 KiB
JavaScript
可执行文件

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3a40c93c"],{"02f6":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAIAAAAOgl99AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTgxMEU0MUM3MEQ1MTFFQTlGNjk5M0JGMUFGQjYxNjEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTgxMEU0MUQ3MEQ1MTFFQTlGNjk5M0JGMUFGQjYxNjEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5ODEwRTQxQTcwRDUxMUVBOUY2OTkzQkYxQUZCNjE2MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5ODEwRTQxQjcwRDUxMUVBOUY2OTkzQkYxQUZCNjE2MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pq1cXiIAAAIHSURBVHjaYiyZ92zh3ncMAw1WlskzMQwaMOqUQe4UFjxyrMyM6Z7CmZ7CInwsf/79v/30Z9XiF8euf6V3qAjxMi8rlauLEBflZ2FkBDlLS45jdYV8cYAoMxMjXZ0CtNJehwcznHJ9RRz1uOnnFHkxNk9jPqxSXOxMkXaC9HOKqhQbMIJw6VGSwCc7fDPz7We/3n3+i0vPvRf4ZKnslIevfm0/+wmr1Lef/5Yfek/XHNS74fXBK1/QBH///T9585v9l77S1SnAKIjqftS04uXrj3/+/wc54tqjH6EdD4FO/PvvP71LW6D1U7a8AaLR6pBEAKwEbLW5VaXYaRtBBIGZGldDpLixCtevP/9XH/3QsfrVq49/6O0UMX6WzgRJTxM+SM3IzsoY4yAYYMHft+H1zO1vgYmMHhHEx8VcEih6olfV25QPrYbm4WAC1uSHOlU8jHnJqL1ZSEoWgZZ8dRESEoL4dClLsC0skDt161vZgufXH/+gvlPgyYKRCN8C1Zirc+1qUiIpAbGQmiyIB6QmICbykgXxgPgExEJJsiAeEJOAWChMFsQDggkI3SkK4my68hwbTnwCItqV8Y56PJtOfvr+6x8+pzx4+Wvu7oHpQo/2DodYRxWY++VE2Ohg8cGrX24++YnPKYnOQsDkTQenlM5/juaUQRxB4V0PR5PtqFMGu1MAAgwAHNzTUUqjZi0AAAAASUVORK5CYII="},"0c47":function(t,e,n){"use strict";var o=n("da84"),a=n("d44e");a(o.JSON,"JSON",!0)},"131a":function(t,e,n){"use strict";var o=n("23e7"),a=n("d2bb");o({target:"Object",stat:!0},{setPrototypeOf:a})},"159b":function(t,e,n){"use strict";var o=n("da84"),a=n("fdbc"),i=n("785a"),r=n("17c2"),l=n("9112"),c=function(t){if(t&&t.forEach!==r)try{l(t,"forEach",r)}catch(e){t.forEach=r}};for(var s in a)a[s]&&c(o[s]&&o[s].prototype);c(i)},"17c2":function(t,e,n){"use strict";var o=n("b727").forEach,a=n("a640"),i=a("forEach");t.exports=i?[].forEach:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}},"1da1":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n("d3b7");function o(t,e,n,o,a,i,r){try{var l=t[i](r),c=l.value}catch(s){return void n(s)}l.done?e(c):Promise.resolve(c).then(o,a)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(a,i){var r=t.apply(e,n);function l(t){o(r,a,i,l,c,"next",t)}function c(t){o(r,a,i,l,c,"throw",t)}l(void 0)}))}}},"1efd":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAIAAAAOgl99AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tb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kSuQmCC"},"1f68":function(t,e,n){"use strict";var o=n("83ab"),a=n("edd0"),i=n("861d"),r=n("1787"),l=n("7b0b"),c=n("1d80"),s=Object.getPrototypeOf,u=Object.setPrototypeOf,m=Object.prototype,p="__proto__";if(o&&s&&u&&!(p in m))try{a(m,p,{configurable:!0,get:function(){return s(l(this))},set:function(t){var e=c(this);r(t)&&i(e)&&u(e,t)}})}catch(d){}},"23dc":function(t,e,n){"use strict";var o=n("d44e");o(Math,"Math",!0)},2651:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAIAAAAOgl99AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo1OUUwODZFQkQ1NzBFQTExQUY4REJDRTg4RjhEMzk0QiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5Q0ExNjNCOTcwRDYxMUVBQkQ0RkI0QUQxMUZDRjIzOSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5Q0ExNjNCODcwRDYxMUVBQkQ0RkI0QUQxMUZDRjIzOSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU5RTA4NkVCRDU3MEVBMTFBRjhEQkNFODhGOEQzOTRCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjU5RTA4NkVCRDU3MEVBMTFBRjhEQkNFODhGOEQzOTRCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+IqFQDAAAAOVJREFUeNrsmD0KhDAQhV1ZsNBOQs6gl0hhn9taWOQa9jGdi50EBQkbthgkC/5U68qbbsB57xOH8OKj67qmaZZliX5aeZ7H0WUKKED5Q5Rn0CdJwjmP4x3Evu+ttdQyxtI03R6ZpslPOecCI5IKUbIsq6rKP7etW9f1GqUsy6IotkeMMf4AIxQyIinsClCAAhSgAAUoQAHKHbLtOI5Kqd1sOwzDum3bVmu9m20pTa6NSCpEmefZ36LPvtDrU6dGvo0u/IH8jV5KeSTx+wRPrRDiYOKnXxZkRFJYW6wtTlug3BjlLcAAXg+d/3su1YkAAAAASUVORK5CYII="},"27b4":function(t,e,n){},3410:function(t,e,n){"use strict";var o=n("23e7"),a=n("d039"),i=n("7b0b"),r=n("e163"),l=n("e177"),c=a((function(){r(1)}));o({target:"Object",stat:!0,forced:c,sham:!l},{getPrototypeOf:function(t){return r(i(t))}})},"410b":function(t,e,n){"use strict";n("6b51")},"53ca":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n("a4d3"),n("e01a"),n("d28b"),n("d3b7"),n("3ca3"),n("ddb0");function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}},"669b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAIAAAAOgl99AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUY1QzUyRjY3MEQ1MTFFQTg4NkVCOEM3NjAyNUUwQjAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUY1QzUyRjc3MEQ1MTFFQTg4NkVCOEM3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ck+Lx+OFw6HQ63W4XF6xRHA5HoVDI5XI8z99uwZTP5xuNxnA4hMlYoGAiIgylUkmbFKxgks9ms1artVgsaIEIlS1CoVClUvH7/TqvhcNhSZIGg0G73UbX/n2UL1sYfD+RSESjUSoDEVpbUPmJykDkZ7YwLuMGIq/YwriMGIi8bgvj0jcQ0W4lEQn1qvf1eEEQkLLz+ayHgp3KaDSyTocWyvMKgqFw8mDw4/l8vt1u9VCy2SzOhQxQ6vX6HYqJE6RcZVWQhWJqlE8BBgCVZdyVykfGQgAAAABJRU5ErkJggg=="},"85bc":function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"diy-goods"}},[e("el-form",{attrs:{model:t.componentData,"label-width":"80px","label-position":"top"}},[e("el-divider",{attrs:{"content-position":"left"}},[t._v("组件外框部分")]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"上边距"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:t.componentData.marginTop,callback:function(e){t.$set(t.componentData,"marginTop",e)},expression:"componentData.marginTop"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"下边距"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:t.componentData.marginBottom,callback:function(e){t.$set(t.componentData,"marginBottom",e)},expression:"componentData.marginBottom"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"左右边距"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:t.componentData.marginLR,callback:function(e){t.$set(t.componentData,"marginLR",e)},expression:"componentData.marginLR"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"组件圆角(px)"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:t.componentData.borderRadius,callback:function(e){t.$set(t.componentData,"borderRadius",e)},expression:"componentData.borderRadius"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"组件背景颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":t.bgBackgroundColorChange},model:{value:t.componentData.bgBackgroundColor,callback:function(e){t.$set(t.componentData,"bgBackgroundColor",e)},expression:"componentData.bgBackgroundColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:t.bgBackgroundColorReset}},[t._v("重置")])],1),e("el-divider",{attrs:{"content-position":"left"}},[t._v("商品部分")]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"商品上边距"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:t.componentData.marginTCh,callback:function(e){t.$set(t.componentData,"marginTCh",e)},expression:"componentData.marginTCh"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"商品下边距"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:t.componentData.marginBCh,callback:function(e){t.$set(t.componentData,"marginBCh",e)},expression:"componentData.marginBCh"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"商品左右边距"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:t.componentData.marginLRCh,callback:function(e){t.$set(t.componentData,"marginLRCh",e)},expression:"componentData.marginLRCh"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"商品圆角(px)"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:t.componentData.radiusCh,callback:function(e){t.$set(t.componentData,"radiusCh",e)},expression:"componentData.radiusCh"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"商品图片(高)"}},[e("el-input-number",{attrs:{min:0,max:960,step:1,size:"small"},model:{value:t.componentData.imageHeight,callback:function(e){t.$set(t.componentData,"imageHeight",e)},expression:"componentData.imageHeight"}})],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"内边距"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:t.componentData.paddingTRBL,callback:function(e){t.$set(t.componentData,"paddingTRBL",e)},expression:"componentData.paddingTRBL"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"商品背景颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":t.backgroundColorChange},model:{value:t.componentData.backgroundColor,callback:function(e){t.$set(t.componentData,"backgroundColor",e)},expression:"componentData.backgroundColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:t.backgroundColorReset}},[t._v("重置")])],1),e("el-form-item",{attrs:{label:"添加商品"}},[e("draggable",{staticClass:"goods-list",attrs:{forceFallback:"true",delay:"50",filter:".select"},model:{value:t.componentData.ids,callback:function(e){t.$set(t.componentData,"ids",e)},expression:"componentData.ids"}},[t.componentData.ids&&t.items[t.componentData.ids[0]]?t._l(t.componentData.ids,(function(n,o){return e("div",{key:o,staticClass:"goods"},[e("el-image",{attrs:{src:t.items[n].goods_img,fit:"fill"},scopedSlots:t._u([{key:"error",fn:function(){return[e("el-image",{staticClass:"img",attrs:{src:t.errorImage}})]},proxy:!0}],null,!0)}),e("div",{staticClass:"close",on:{click:function(e){return t.deleteGoods(o)}}},[e("i",{staticClass:"el-icon-error"})])],1)})):t._e(),e("div",{staticClass:"goods select",on:{click:function(e){t.goodsSelectDialog=!0}}},[e("i",{staticClass:"el-icon-plus"})])],2),t.countIdsNumErrorMessage?e("div",{staticClass:"countIdsNumErrorMessage"},[t._v(t._s(t.countIdsNumErrorMessage))]):t._e()],1),e("el-form-item",{attrs:{label:"列表样式"}},[e("el-button-group",[e("el-button",{class:{active:"one-per-line"==t.componentData.layout},on:{click:function(e){return t.typeSelect("one-per-line")}}},[e("el-image",{staticStyle:{width:"20px",height:"16px"},attrs:{src:"one-per-line"==t.componentData.layout?t.typeImages[3]:t.typeImages[0],fit:"fill"}})],1),e("el-button",{class:{active:"two-per-line"==t.componentData.layout},on:{click:function(e){return t.typeSelect("two-per-line")}}},[e("el-image",{staticStyle:{width:"20px",height:"16px"},attrs:{src:"two-per-line"==t.componentData.layout?t.typeImages[4]:t.typeImages[1],fit:"fill"}})],1),e("el-button",{class:{active:"three-per-line"==t.componentData.layout},on:{click:function(e){return t.typeSelect("three-per-line")}}},[e("el-image",{staticStyle:{width:"20px",height:"16px"},attrs:{src:"three-per-line"==t.componentData.layout?t.typeImages[5]:t.typeImages[2],fit:"fill"}})],1),e("el-button",{class:{active:"horizontal-scroll"==t.componentData.layout},on:{click:function(e){return t.typeSelect("horizontal-scroll")}}},[e("el-image",{staticStyle:{width:"20px",height:"16px"},attrs:{src:"horizontal-scroll"==t.componentData.layout?t.typeImages[7]:t.typeImages[6],fit:"fill"}})],1)],1)],1),e("el-divider",{attrs:{"content-position":"left"}},[t._v("商品名称部分")]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"字体颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":t.nameColorChange},model:{value:t.componentData.nameColor,callback:function(e){t.$set(t.componentData,"nameColor",e)},expression:"componentData.nameColor"}})],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"字体加粗"}},[e("el-switch",{model:{value:t.componentData.fontWeight,callback:function(e){t.$set(t.componentData,"fontWeight",e)},expression:"componentData.fontWeight"}})],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"字体大小"}},[e("el-input-number",{attrs:{min:11,max:50,step:1,size:"small"},model:{value:t.componentData.fontSize,callback:function(e){t.$set(t.componentData,"fontSize",e)},expression:"componentData.fontSize"}})],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"字体行高"}},[e("el-input-number",{attrs:{min:20,max:60,step:1,size:"small"},model:{value:t.componentData.lineHeight,callback:function(e){t.$set(t.componentData,"lineHeight",e)},expression:"componentData.lineHeight"}})],1),t.componentData.cart?[e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"购物车颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":t.cartColorChange},model:{value:t.componentData.cartColor,callback:function(e){t.$set(t.componentData,"cartColor",e)},expression:"componentData.cartColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:t.cartColorReset}},[t._v("重置")])],1),e("el-form-item",{attrs:{label:"类型选择"}},[e("el-radio-group",{model:{value:t.componentData.cartType,callback:function(e){t.$set(t.componentData,"cartType",e)},expression:"componentData.cartType"}},[e("el-radio",{attrs:{label:0}},[t._v("类型一")]),e("el-radio",{attrs:{label:1}},[t._v("类型二")]),e("el-radio",{attrs:{label:2}},[t._v("类型三")]),e("el-radio",{attrs:{label:3}},[t._v("类型四")])],1)],1)]:t._e(),e("el-divider",{attrs:{"content-position":"left"}},[t._v("价格部分")]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"显示价格"}},[e("el-switch",{model:{value:t.componentData.showPrice,callback:function(e){t.$set(t.componentData,"showPrice",e)},expression:"componentData.showPrice"}})],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"购买按钮"}},[e("div",{staticClass:"viewMoreSwitch"},[e("p",[t._v(t._s(t.componentData.cart?"显示":"不显示"))]),e("el-switch",{model:{value:t.componentData.cart,callback:function(e){t.$set(t.componentData,"cart",e)},expression:"componentData.cart"}})],1)]),e("el-form-item",{attrs:{label:"会员价样式"}},[e("el-radio-group",{staticClass:"three-per-line",model:{value:t.componentData.priceStyle,callback:function(e){t.$set(t.componentData,"priceStyle",e)},expression:"componentData.priceStyle"}},[e("el-radio",{attrs:{label:1}},[t._v("类型一")]),e("el-radio",{attrs:{label:2}},[t._v("类型二")]),e("el-radio",{attrs:{label:3}},[t._v("类型三")]),e("el-radio",{attrs:{label:4}},[t._v("类型四")]),e("el-radio",{attrs:{label:5}},[t._v("类型五")])],1)],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"会员价/零售价颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":t.priceColorChange},model:{value:t.componentData.priceColor,callback:function(e){t.$set(t.componentData,"priceColor",e)},expression:"componentData.priceColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:t.priceColorReset}},[t._v("重置")])],1),e("el-form-item",{attrs:{label:"Plus价样式"}},[e("el-radio-group",{staticClass:"three-per-line",model:{value:t.componentData.plusPriceStyle,callback:function(e){t.$set(t.componentData,"plusPriceStyle",e)},expression:"componentData.plusPriceStyle"}},[e("el-radio",{attrs:{label:1}},[t._v("类型一")]),e("el-radio",{attrs:{label:2}},[t._v("类型二")]),e("el-radio",{attrs:{label:3}},[t._v("类型三")]),e("el-radio",{attrs:{label:4}},[t._v("类型四")]),e("el-radio",{attrs:{label:5}},[t._v("类型五")]),e("el-radio",{attrs:{label:6}},[t._v("类型六")])],1)],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"plus价颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":t.plusPriceColorChange},model:{value:t.componentData.plusPriceColor,callback:function(e){t.$set(t.componentData,"plusPriceColor",e)},expression:"componentData.plusPriceColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:t.plusPriceColorReset}},[t._v("重置")])],1)],2),e("goodsDialog",{attrs:{visible:t.goodsSelectDialog,selection:"true"},on:{"update:visible":function(e){t.goodsSelectDialog=e},goodsSelect:t.onGoodsSelect}})],1)},a=[],i=n("c7eb"),r=n("2909"),l=n("b85c"),c=n("1da1"),s=(n("99af"),n("a15b"),n("14d9"),n("a434"),n("d3b7"),n("b76a")),u=n.n(s),m=n("cf52"),p={name:"diy-nav",props:["componentData"],data:function(){return{goodsSelectDialog:!1,typeImages:[n("84e9"),n("bc0f"),n("9158"),n("02f6"),n("669b"),n("b0a5"),n("2651"),n("1efd")],errorImage:"/Public/images/empty-image-1.png",items:{},countIdsNumErrorMessage:null}},methods:{bgBackgroundColorChange:function(t){this.componentData.bgBackgroundColor=t,console.log(this.componentData.bgBackgroundColor)},bgBackgroundColorReset:function(){this.componentData.bgBackgroundColor="rgba(255,255,255,1)"},backgroundColorChange:function(t){this.componentData.backgroundColor=t},nameColorChange:function(t){this.componentData.nameColor=t},backgroundColorReset:function(){this.componentData.backgroundColor="rgba(255,255,255,1)"},typeSelect:function(t){this.componentData.layout=t},priceColorChange:function(t){this.componentData.priceColor=t},plusPriceColorChange:function(t){this.componentData.plusPriceColor=t},cartColorChange:function(t){this.componentData.cartColor=t},priceColorReset:function(){this.componentData.priceColor="#f44"},plusPriceColorReset:function(){this.componentData.plusPriceColor="#f44"},cartColorReset:function(){this.componentData.cartColor="#f44"},onGoodsSelect:function(t){var e=this;return Object(c["a"])(Object(i["a"])().mark((function n(){var o,a,c,s,u;return Object(i["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(t&&t.length>0)){n.next=14;break}o=[],a=Object(l["a"])(t);try{for(a.s();!(c=a.n()).done;)s=c.value,o.push(s.id)}catch(i){a.e(i)}finally{a.f()}if(u=o.length+e.componentData.ids.length,!(u>20)){n.next=10;break}return e.countIdsNumErrorMessage="单个商品组件最多可添加20个商品,您最多还可以添加".concat(20-e.componentData.ids.length,"个商品。"),n.abrupt("return",!1);case 10:e.countIdsNumErrorMessage=null;case 11:return n.next=13,e.getItems([].concat(o,Object(r["a"])(e.componentData.ids)));case 13:e.componentData.ids=e.componentData.ids.concat(o);case 14:case"end":return n.stop()}}),n)})))()},deleteGoods:function(t){this.componentData.ids.splice(t,1),this.componentData.ids=Object(r["a"])(this.componentData.ids)},getItems:function(t){var e=this;return Object(c["a"])(Object(i["a"])().mark((function n(){var o;return Object(i["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t&&0!=t.length){n.next=2;break}return n.abrupt("return");case 2:return o=e.componentData.isMerchant?"/SmallProgramApi/Diy/merchantGoods":"/SmallProgramApi/Diy/getRecommendGoods",n.abrupt("return",new Promise((function(n){e.$http.post(o,{ids:t.join(","),ids_type:e.componentData.isMerchant?1:2}).then((function(o){if(1==o.data.status){var a=o.data.data;console.log("asdfasdf",a),e.items={};var i,r=Object(l["a"])(a);try{for(r.s();!(i=r.n()).done;){var c=i.value;e.$set(e.items,c.goods_id,c)}}catch(s){r.e(s)}finally{r.f()}e.compareIdsAndRealData(t,e.items),n(1)}}))})));case 4:case"end":return n.stop()}}),n)})))()},compareIdsAndRealData:function(t,e){if(t.length!=e.length)for(var n in t)e[t[n]]||this.deleteGoods(n)}},mounted:function(){this.getItems(this.componentData.ids)},components:{draggable:u.a,goodsDialog:m["a"]}},d=p,h=(n("410b"),n("2877")),b=Object(h["a"])(d,o,a,!1,null,"5ac68814",null);e["default"]=b.exports},9158:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAIAAAAOgl99AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NjhCNUUzNUU3MEQ1MTFFQTg5MUFFQjUxMDhERkZDNTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NjhCNUUzNUY3MEQ1MTFFQTg5MUFFQjUxMDhERkZDNTYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2OEI1RTM1QzcwRDUxMUVBODkxQUVCNTEwOERGRkM1NiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo2OEI1RTM1RDcwRDUxMUVBODkxQUVCNTEwOERGRkM1NiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuuMhOgAAADaSURBVHja7NcxCoMwFAZgDYUMuol4BnOJDNm9bQYHr5E9ulncRAyI9NFuxaQZCm3gf5uQ/HzKM+Tl4zj2fX8cR/bTqqqKZX9ToICSIOX29sw5b5qGsWvivu/zPJ/nWdd1URS+UFqzbVtklJdSlqVSilIu90/TRIcQ7RdCtG3ro2itiRIZhV4BBRRQQAEFFFCSoeQYydAr6Q8f1D5d14Wv6dTjUsrwjZ9WRkal8FXWdR2GITBHvSYXY4y11he6LEt8lJfinKOT5uMb3J8VXhMZhT8IFFC+Ug8BBgA5OYZ1nExMAAAAAABJRU5ErkJggg=="},"944a":function(t,e,n){"use strict";var o=n("d066"),a=n("e065"),i=n("d44e");a("toStringTag"),i(o("Symbol"),"Symbol")},a15b:function(t,e,n){"use strict";var o=n("23e7"),a=n("e330"),i=n("44ad"),r=n("fc6a"),l=n("a640"),c=a([].join),s=i!==Object,u=s||!l("join",",");o({target:"Array",proto:!0,forced:u},{join:function(t){return c(r(this),void 0===t?",":t)}})},a640:function(t,e,n){"use strict";var o=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&o((function(){n.call(null,e||function(){return 1},1)}))}},b0a5:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAIAAAAOgl99AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Nzc0MDQ5Q0Q3MEQ1MTFFQUFBMTJFRTZDRjA2QzhFQTkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6Nzc0MDQ5Q0U3MEQ1MTFFQUFBMTJFRTZDRjA2QzhFQTkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NzQwNDlDQjcwRDUxMUVBQUExMkVFNkNGMDZDOEVBOSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NzQwNDlDQzcwRDUxMUVBQUExMkVFNkNGMDZDOEVBOSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmdElw4AAADcSURBVHjaYrzy8Htw+4N3n/8yDChwMeBhYhg0YNQpo04Zgk5hQePLCLO6GvKyMjNiVf32858tpz/9/P3fw5hXToQNl6EHr365+eQnkUbhdIqGLHt9pDgXO/bQuvrox/7LX37+/pvoLOSox4PLKaXznwOdQqRRo2ll1CmjThl1yqhTRp0y6pRRpwwZpzCOdslG08rQ73wAk8+cXFk8zXRIGl9ZJo+/xb9w7zsijRoKoXLj8c/G5S/x9KO+/vgHZMzf+27vxS+4DD1x8yvxRo2WK6OZedQpw80pAAEGANaifPgj3Hl5AAAAAElFTkSuQmCC"},b636:function(t,e,n){"use strict";var o=n("e065");o("asyncIterator")},bc0f:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAoCAIAAAAOgl99AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi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return a}));n("a4d3"),n("e01a"),n("b636"),n("d28b"),n("944a"),n("d9e2"),n("14d9"),n("fb6a"),n("b0c0"),n("0c47"),n("23dc"),n("3410"),n("1f68"),n("131a"),n("d3b7"),n("3ca3"),n("159b"),n("ddb0");var o=n("53ca");function a(){
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
a=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},l="function"==typeof Symbol?Symbol:{},c=l.iterator||"@@iterator",s=l.asyncIterator||"@@asyncIterator",u=l.toStringTag||"@@toStringTag";function m(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{m({},"")}catch(t){m=function(t,e,n){return t[e]=n}}function p(t,e,n,o){var a=e&&e.prototype instanceof v?e:v,i=Object.create(a.prototype),l=new E(o||[]);return r(i,"_invoke",{value:k(t,n,l)}),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",b="suspendedYield",g="executing",A="completed",f={};function v(){}function D(){}function y(){}var R={};m(R,c,(function(){return this}));var w=Object.getPrototypeOf,G=w&&w(w(Y([])));G&&G!==n&&i.call(G,c)&&(R=G);var Z=y.prototype=v.prototype=Object.create(R);function I(t){["next","throw","return"].forEach((function(e){m(t,e,(function(t){return this._invoke(e,t)}))}))}function M(t,e){function n(a,r,l,c){var s=d(t[a],t,r);if("throw"!==s.type){var u=s.arg,m=u.value;return m&&"object"==Object(o["a"])(m)&&i.call(m,"__await")?e.resolve(m.__await).then((function(t){n("next",t,l,c)}),(function(t){n("throw",t,l,c)})):e.resolve(m).then((function(t){u.value=t,l(u)}),(function(t){return n("throw",t,l,c)}))}c(s.arg)}var a;r(this,"_invoke",{value:function(t,o){function i(){return new e((function(e,a){n(t,o,e,a)}))}return a=a?a.then(i,i):i()}})}function k(e,n,o){var a=h;return function(i,r){if(a===g)throw new Error("Generator is already running");if(a===A){if("throw"===i)throw r;return{value:t,done:!0}}for(o.method=i,o.arg=r;;){var l=o.delegate;if(l){var c=j(l,o);if(c){if(c===f)continue;return c}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(a===h)throw a=A,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);a=g;var s=d(e,n,o);if("normal"===s.type){if(a=o.done?A:b,s.arg===f)continue;return{value:s.arg,done:o.done}}"throw"===s.type&&(a=A,o.method="throw",o.arg=s.arg)}}}function j(e,n){var o=n.method,a=e.iterator[o];if(a===t)return n.delegate=null,"throw"===o&&e.iterator["return"]&&(n.method="return",n.arg=t,j(e,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),f;var i=d(a,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,f;var r=i.arg;return r?r.done?(n[e.resultName]=r.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,f):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function Y(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,r=function n(){for(;++a<e.length;)if(i.call(e,a))return n.value=e[a],n.done=!1,n;return n.value=t,n.done=!0,n};return r.next=r}}throw new TypeError(Object(o["a"])(e)+" is not iterable")}return D.prototype=y,r(Z,"constructor",{value:y,configurable:!0}),r(y,"constructor",{value:D,configurable:!0}),D.displayName=m(y,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===D||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,m(t,u,"GeneratorFunction")),t.prototype=Object.create(Z),t},e.awrap=function(t){return{__await:t}},I(M.prototype),m(M.prototype,s,(function(){return this})),e.AsyncIterator=M,e.async=function(t,n,o,a,i){void 0===i&&(i=Promise);var r=new M(p(t,n,o,a),i);return e.isGeneratorFunction(n)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},I(Z),m(Z,u,"Generator"),m(Z,c,(function(){return this})),m(Z,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var o in e)n.push(o);return n.reverse(),function t(){for(;n.length;){var o=n.pop();if(o in e)return t.value=o,t.done=!1,t}return t.done=!0,t}},e.values=Y,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(o,a){return l.type="throw",l.arg=e,n.next=o,a&&(n.method="next",n.arg=t),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a],l=r.completion;if("root"===r.tryLoc)return o("end");if(r.tryLoc<=this.prev){var c=i.call(r,"catchLoc"),s=i.call(r,"finallyLoc");if(c&&s){if(this.prev<r.catchLoc)return o(r.catchLoc,!0);if(this.prev<r.finallyLoc)return o(r.finallyLoc)}else if(c){if(this.prev<r.catchLoc)return o(r.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return o(r.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=t,r.arg=e,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(r)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var a=o.arg;S(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,o){return this.delegate={iterator:Y(e),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=t),f}},e}},cf52:function(t,e,n){"use strict";var o=function(){var t=this,e=t._self._c;return e("el-dialog",{staticClass:"common-goods-dialog",attrs:{title:"商品选择",width:"805px",top:"5vh",visible:t.childrenVisible,"append-to-body":""},on:{"update:visible":function(e){t.childrenVisible=e},close:t.onClose},scopedSlots:t._u([{key:"footer",fn:function(){return[e("el-pagination",{attrs:{background:"","page-size":8,layout:"prev, pager, next, jumper",total:t.total,"hide-on-single-page":""},on:{"current-change":t.paginationCurrentChange}}),e("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.dialogClose}},[t._v("确定")])]},proxy:!0}])},[e("el-input",{staticStyle:{width:"220px"},attrs:{size:"small",clearable:"",placeholder:"商品名称/货号/条码"},nativeOn:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:(e.preventDefault(),t.getTableData(1))}},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}},[e("template",{slot:"append"},[e("el-button",{attrs:{icon:"el-icon-search"},on:{click:function(e){return t.getTableData(1)}}})],1)],2),e("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,size:"small","tooltip-effect":"light"},on:{"selection-change":t.selectionChange}},[t.selection?e("el-table-column",{attrs:{type:"selection",width:"55"}}):t._e(),t.radio?e("el-table-column",{attrs:{width:"55"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("el-radio",{attrs:{label:n.$index},on:{change:t.tableRadioChange},model:{value:t.tableRadio,callback:function(e){t.tableRadio=e},expression:"tableRadio"}})]}}],null,!1,861188003)}):t._e(),e("el-table-column",{attrs:{label:"商品图标",width:"80"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("el-image",{staticClass:"img",attrs:{src:n.row.goods_img},scopedSlots:t._u([{key:"error",fn:function(){return[e("el-image",{staticClass:"img",attrs:{src:t.errorImage}})]},proxy:!0}],null,!0)})]}}])}),e("el-table-column",{attrs:{prop:"goods_name",label:"标题",width:"450"}}),e("el-table-column",{attrs:{prop:"add_time",label:"创建时间",width:"180"}})],1)],1)},a=[],i={name:"goods-dialog",props:["visible","selection","radio"],watch:{visible:{handler:function(t){this.childrenVisible=t},immediate:!0},childrenVisible:function(t){this.$emit("update:visible",t)}},mounted:function(){this.getTableData()},data:function(){return{tableData:[],multipleSelection:[],childrenVisible:!1,total:0,errorImage:"/Public/images/empty-image-1.png",tableRadio:"",keyword:""}},methods:{getTableData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n="/Retail/Diy/getGoodsList";-1!=location.href.indexOf("mer_index")&&(n="/SmallProgramApi/Diy/mGoodsList"),this.$http.post(n,{page:e,keyword:this.keyword,limit:8}).then((function(e){1==e.data.status&&(t.tableData=e.data.data,t.total=e.data.count)}))},paginationCurrentChange:function(t){this.getTableData(t),this.tableRadio=""},selectionChange:function(t){this.multipleSelection=t},dialogClose:function(){this.$emit("goodsSelect",this.multipleSelection),this.$emit("update:visible",!1)},onClose:function(){this.$refs.multipleTable.clearSelection(),this.radio&&(this.multipleSelection=[]),this.tableRadio=""},tableRadioChange:function(t){this.multipleSelection=[this.tableData[t]]}}},r=i,l=(n("d277"),n("2877")),c=Object(l["a"])(r,o,a,!1,null,null,null);e["a"]=c.exports},d277:function(t,e,n){"use strict";n("27b4")}}]);