| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-fe70afea"],{"008b":function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40"),o=s("0a6d"),i=s("a92d");let r=class extends l.e{constructor(){super(...arguments),this.goods=[]}handleConfirm(){this.$emit("input",this.goods)}};Object(a.a)([Object(l.c)({default:()=>({})})],r.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:!1})],r.prototype,"disabled",void 0),Object(a.a)([Object(l.c)()],r.prototype,"type",void 0),r=Object(a.a)([Object(l.a)({components:{LsDialog:o.a,Detail:i.a}})],r);var n=r,c=s("2877"),d=Object(c.a)(n,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("ls-dialog",{ref:"dialog",staticClass:"category-select",attrs:{title:"选择活动商品",width:"900px",top:"20vh",disabled:t.disabled},on:{confirm:t.handleConfirm}},[e("div",{staticClass:"category-select__trigger",attrs:{slot:"trigger"},slot:"trigger"},[t._t("trigger",(function(){return[e("el-button",{attrs:{disabled:t.disabled,size:"mini",type:"primary"}},[t._v("选择商品")])]}))],2),e("div",{staticClass:"p-l-20 p-r-20"},[e("detail",{ref:"detail",attrs:{type:t.type},model:{value:t.goods,callback:function(e){t.goods=e},expression:"goods"}})],1)])}),[],!1,null,"4c4d6820",null).exports,u=s("b76a"),b=s.n(u);let p=class extends l.e{get selectData(){return this.value}set selectData(t){const e=t.splice(0,this.limit);this.$emit("input",e),this.$emit("change",e)}handleDelete(t){this.selectData.splice(t,1)}};Object(a.a)([Object(l.c)({default:()=>[]})],p.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:!1})],p.prototype,"disabled",void 0),Object(a.a)([Object(l.c)()],p.prototype,"type",void 0),Object(a.a)([Object(l.c)({default:10})],p.prototype,"limit",void 0),p=Object(a.a)([Object(l.a)({components:{CDialog:d,Draggable:b.a}})],p);var m=p,g=(s("f1ae"),Object(c.a)(m,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"select"},[e("div",{staticClass:"flex"},[e("c-dialog",{attrs:{disabled:t.disabled,type:t.type},model:{value:t.selectData,callback:function(e){t.selectData=e},expression:"selectData"}},[t._t("trigger")],2),e("div",{staticClass:"m-r-20"},[e("span",{staticClass:"muted m-l-20"},[t._v("最多添加"+t._s(t.limit)+"件商品")])]),t.selectData.length?e("div",{staticClass:"clear"},[e("el-button",{attrs:{size:"small",type:"text"},on:{click:function(e){t.selectData=[]}}},[t._v("清空")])],1):t._e()],1),e("div",{staticClass:"goods-lists"},[e("draggable",{staticClass:"flex flex-wrap",attrs:{animation:"300"},model:{value:t.selectData,callback:function(e){t.selectData=e},expression:"selectData"}},t._l(t.selectData,(function(s,a){return e("div",{key:a,staticClass:"goods-item ls-del-wrap"},[e("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{fit:"cover",src:s.image}}),e("i",{staticClass:"el-icon-close ls-icon-del",on:{click:function(e){return t.handleDelete(a)}}})],1)})),0)],1)])}),[],!1,null,"6bca3959",null));e.a=g.exports},"01d1":function(t,e,s){},"035e":function(t,e,s){"use strict";s("ddf8")},"04d0":function(t,e,s){},"055f":function(t,e,s){},"06ac":function(t,e,s){},"0920":function(t,e,s){"use strict";s("13cd")},"0a44":function(t,e,s){"use strict";s.r(e);var a=s("9ab4"),l=s("1b40"),o=s("f77e"),i=s("9588"),r=s("e699");let n=class extends l.e{constructor(){super(...arguments),this.pagesInfo={name:"商品详情",type:5,common:{title:"商品详情",background_type:"0",bg_color:"#F5F5F5",background_image:""}},this.pageData=[{title:"商品评价",name:"reviews",show:1,operate:["hidden"],content:{},styles:{}},{title:"猜你喜欢",name:"goodsrecom",show:1,operate:["hidden"],content:{style:1,header_title:"为您推荐",show_title:1,show_price:1,show_scribing_price:1,show_btn:1,btn_text:"购买",btn_bg_type:1,data:[],tips:"根据系统算法,推荐同分类的9款商品。优先推荐高销量且排序在前的商品。"},styles:{header_title_color:"#333333",header_title_size:18,title_color:"#101010",scribing_price_color:"#999999",price_color:"#FF2C3C",btn_bg_color:"#FF2C3C",btn_color:"#FFFFFF",btn_border_radius:30,btn_border_color:"",root_bg_color:"",bg_color:"#FFFFFF",content_bg_color:"#FFFFFF",margin:10,padding_top:10,padding_horizontal:10,padding_bottom:0,border_radius_top:4,border_radius_bottom:4}}]}async getPages(){this.$store.dispatch("getPages",{type:5})}created(){this.getPages()}};n=Object(a.a)([Object(l.a)({components:{DecorateWidget:o.a,DecoratePhone:i.a,DecorateAttr:r.a}})],n);var c=n,d=(s("179a"),s("2877")),u=Object(d.a)(c,(function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"decorate-user flex"},[t("decorate-phone",{attrs:{disabledDrag:!0}},[t("div",{attrs:{slot:"header"},slot:"header"},[t("img",{staticClass:"block",staticStyle:{width:"100%"},attrs:{src:s("18d6"),alt:""}})])]),t("decorate-attr",{attrs:{config:{setBg:!1}}})],1)}),[],!1,null,"c9e798be",null);e.default=u.exports},"0b27":function(t,e,s){"use strict";s("726b")},"0cbf":function(t,e,s){"use strict";s.d(e,"a",(function(){return l})),s.d(e,"e",(function(){return o})),s.d(e,"g",(function(){return i})),s.d(e,"c",(function(){return r})),s.d(e,"h",(function(){return n})),s.d(e,"l",(function(){return c})),s.d(e,"k",(function(){return d})),s.d(e,"d",(function(){return u})),s.d(e,"f",(function(){return b})),s.d(e,"m",(function(){return p})),s.d(e,"i",(function(){return m})),s.d(e,"n",(function(){return g})),s.d(e,"j",(function(){return f})),s.d(e,"b",(function(){return v}));var a=s("f175");const l=t=>a.a.post("/marketing.coupon/add",t),o=t=>a.a.post("/marketing.coupon/edit",t),i=t=>a.a.get("/marketing.coupon/lists",{params:t}),r=t=>a.a.post("/marketing.coupon/delete",t),n=t=>a.a.post("/marketing.coupon/open",t),c=t=>a.a.post("/marketing.coupon/stop",t),d=t=>a.a.post("/marketing.coupon/sort",t),u=t=>a.a.get("/marketing.coupon/detail",{params:{id:t}}),b=t=>a.a.get("/marketing.coupon/info",{params:{id:t}}),p=()=>a.a.get("/marketing.coupon/survey"),m=t=>a.a.get("/marketing.coupon/record",{params:t}),g=t=>a.a.post("/marketing.coupon/void",t),f=t=>a.a.post("/marketing.coupon/send",t),v=t=>a.a.get("/marketing.coupon/commonLists",{params:t})},"0dc1":function(t,e,s){},"0ff6":function(t,e,s){},"101c":function(t,e,s){"use strict";s("2ee8")},1162:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAABuCAMAAADxhdbJAAAB4FBMVEUAAAD////////+sJH+r47628/9tpr71sf9vqX64tj4+vr69fX+s5b57ej4+fr4+vr4+Pf4+fn4+Pf39vX39/b71MT4+vv18/H89PT64NX63tP4+Pj4+fn49/b59PL48/L69/f59vb57ur8yrb8yLT4+Pj49/b59vb49vX59vb49/X4+Pf49/f48e749/f70L/9war4/P74+fr39/n4+Pf49/b49vX73ND72Mr8zrz9v6b49/b4+fn49/f59/f4+Pj4+Pb4+Pb9wan/p4T49/f49/b59/f59vX39vb39/f++Pj////49PP80sL8w6772cz49/b4+Pf59fX49vT59vX69fX29vb////8z738zLn9spX59vb39/f64db73tL8xbD56OH59/b/on7/////o3///v3/n3r/oHv/nXf/nnj/oXz4/v/4/f7/nHb/pYD49vX/qoj4+fr4+/z/rIr49fP4/P3/qIX4+Pf/9PH/08L/m3T4+vv//Pr/4tb/zrv/9/T58vH/7OT/5tv/xK3/spP/18f/yrb/uJz/tZj/ro3/pYL/39L/28358e3/7+j/6eD65t7/wKj/vKL/s5X/+ff/0b//x7P/uZ7/8ez/sJD/mnP56uX/rIz/2cn/p4P/pIHzqTa8AAAAYnRSTlMAAgT+/vz+/f38+y3+/PXr6ePWhhr88hcT/fzs2LBPNzEp/v398KiSgGNKQCP+/Pz78/HKtLJv/fz8/N3c0b63jkT+/rqsoWdSHhAG/f39/ODGnXRaMx0K/Pz8dTv+/f37eYAbf38AAAmxSURBVGjerZpnWxNBEICDdBCkCCpgQ5ooKAiIoth7772FZXsujQRMQu9NpGP/q+4d4ImX7B6G+RLIs9n3ZnZ2bmZ3HLYkIcH42LV/36OrJ87k7sj2erN35J45cfXRvv27zBFbI9v0qXZXVzXm1XHu63S73R1CxEenj/O6vMaqC7t14LatYCXovMym1uwwZx3f0lPLlocSkzzBoD8pcWi5LDX9Wwfj4ezWpkydplZRbcWdTZfrWdj9LfX4Sw8MYQgRopQihCDEIeh5eTz1mzvM6i837dTHx6nZgcp6zqeL3iUB5CIU6OJcE6ALJS4EksqKpjmvrzwg1VBNO3KlkLtPnk6CGBnT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"},1248:function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40");let o=class extends l.e{constructor(){super(...arguments),this.active="content"}};Object(a.a)([Object(l.c)()],o.prototype,"title",void 0),o=Object(a.a)([Object(l.a)({components:{}})],o);var i=o,r=(s("fcda"),s("2877")),n=Object(r.a)(i,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"attribute-tabs"},[e("div",{staticClass:"flex attribute-header"},[e("div",{staticClass:"attribute-title lg weight-500 flex-1"},[t._v(t._s(t.title))]),t.$slots.default?t._e():e("div",{staticClass:"tabs-header flex"},[e("div",{staticClass:"tabs-header__item",class:{active:"content"==t.active},on:{click:function(e){t.active="content"}}},[e("span",[t._v("内容")])]),e("div",{staticClass:"tabs-header__item",class:{active:"styles"==t.active},on:{click:function(e){t.active="styles"}}},[e("span",[t._v("样式")])])])]),t.$slots.default?e("div",{staticClass:"attribute-content"},[t._t("default")],2):e("div",{staticClass:"tabs"},[e("div",{staticClass:"tabs-content"},[e("div",{directives:[{name:"show",rawName:"v-show",value:"content"==t.active,expression:"active == 'content'"}]},[t._t("content")],2),e("div",{directives:[{name:"show",rawName:"v-show",value:"styles"==t.active,expression:"active == 'styles'"}]},[t._t("styles")],2)])])])}),[],!1,null,"5fc3ecec",null);e.a=n.exports},"125c":function(t,e,s){},"131b":function(t,e,s){"use strict";s.d(e,"g",(function(){return l})),s.d(e,"b",(function(){return o})),s.d(e,"e",(function(){return i})),s.d(e,"i",(function(){return r})),s.d(e,"d",(function(){return n})),s.d(e,"c",(function(){return c})),s.d(e,"a",(function(){return d})),s.d(e,"f",(function(){return u})),s.d(e,"h",(function(){return b}));var a=s("f175");const l=t=>a.a.get("/lucky_draw.lucky_draw/lists",{params:t}),o=t=>a.a.post("/lucky_draw.lucky_draw/delete",t),i=t=>a.a.post("/lucky_draw.lucky_draw/end",t),r=t=>a.a.post("/lucky_draw.lucky_draw/start",t),n=t=>a.a.post("lucky_draw.lucky_draw/edit",t),c=t=>a.a.get("/lucky_draw.lucky_draw/detail",{params:t}),d=t=>a.a.post("lucky_draw.lucky_draw/add",t),u=()=>a.a.get("lucky_draw.lucky_draw/getPrizeType"),b=t=>a.a.get("lucky_draw.lucky_draw/record",{params:t})},"13cd":function(t,e,s){},"14a1d":function(t,e,s){},"167a":function(t,e){t.exports="data:image/png;base64,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"},"179a":function(t,e,s){"use strict";s("6bc3")},"17d0":function(t,e,s){"use strict";s("903c")},1824:function(t,e,s){"use strict";s("7013")},"18b3":function(t,e,s){"use strict";s("45b3")},"18d6":function(t,e,s){t.exports=s.p+"img/goods_detail.7b0bc738.png"},"1a24":function(t,e,s){},"1a52":function(t,e,s){"use strict";s("eb8c")},"1ac6":function(t,e,s){"use strict";s("870f")},"1b20":function(t,e,s){},"1c02":function(t,e,s){},"1c67":function(t,e,s){},"1e31":function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40");let o=class extends l.e{};Object(a.a)([Object(l.c)({default:1})],o.prototype,"type",void 0),Object(a.a)([Object(l.c)({default:"left"})],o.prototype,"align",void 0),Object(a.a)([Object(l.c)({default:"#FF2C3C"})],o.prototype,"color",void 0),Object(a.a)([Object(l.c)({default:10})],o.prototype,"bottom",void 0),o=Object(a.a)([l.a],o);var i=o,r=(s("f4fd"),s("2877")),n=Object(r.a)(i,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"indicator",style:{bottom:t.bottom+"px"}},[1==t.type||2==t.type?e("div",{staticClass:"indicator-content",class:{fillet:1==t.type,circle:2==t.type},style:{"text-align":t.align}},[e("span",{staticClass:"indicator-item active",style:{"background-color":t.color}}),e("span",{staticClass:"indicator-item"}),e("span",{staticClass:"indicator-item"})]):t._e(),3==t.type?e("div",{style:{"text-align":t.align}},[e("span",{staticClass:"indicator-number"},[t._v("1/5")])]):t._e()])}),[],!1,null,"60a26eae",null);e.a=n.exports},"1ee0":function(t,e,s){"use strict";s("768b")},"218b":function(t,e,s){"use strict";s("1c67")},"22f6":function(t,e){t.exports="data:image/gif;base64,R0lGODlhEgASAIABAP///wAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGOTZDRkFBNTVGNDcxMUVBOTdDOERBODgyMkI4NkVFNSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGOTZDRkFBNjVGNDcxMUVBOTdDOERBODgyMkI4NkVFNSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkY5NkNGQUEzNUY0NzExRUE5N0M4REE4ODIyQjg2RUU1IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkY5NkNGQUE0NUY0NzExRUE5N0M4REE4ODIyQjg2RUU1Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkECRQAAQAsAAAAABIAEgAAAiuMj4nA6sbAc3FW2N4NW+2efBk1gkuJSpjKpYfIwq+7zjHd3rrN137em0wKACH5BAkUAAEALAAAAAASABIAAAIqjI+py+0AXYJAItqw0Yv7uIHBV4XlKJKHaq7pe7JoDLv0beftPuu9tSgAACH5BAkUAAEALAAAAAASABIAAAIojI+py+0PI5hngmYrZdn08IUbOIqXV6YnuZpaq74yCtcze7t0PkZIAQAh+QQJFAABACwAAAAAEgASAAACKYyPqcvtCuJDEcxTr8mMBw9Jm7h4Jnlao/qhLptirwzPK43felv3mlIAACH5BAkUAAEALAAAAAASABIAAAIqjI+pCL3fwFtxqmqZywfz4HnXBpKhiUrGqZYt26XxK6+1O+c2zev4pygAACH5BAkUAAEALAAAAAASABIAAAIpjI+py+0K4kMRzFOxZNn08IUbOIqWV6YnuZpaq74yCtcze7t0Hu+XUgAAIfkECRQAAQAsAAAAABIAEgAAAiqMj6nL7R+AhEeCOo3FV+f4bV4HkmLJpaOKrm4Ln3JImzU72zp+vyeFKAAAIfkECRQAAQAsAAAAABIAEgAAAiqMj6l74LwcaI9JOm0NV2e+KR34jeZ2luiqtthrpDA5yzFb47e75x/EKAAAIfkEBRQAAQAsAAAAABIAEgAAAiuMj4nA6sbAc3FW2N4NW+2efBk1gkuJSpjKpYfIwq+7zjHd3rrN137em0wKADsvL1NESTFSa1V0TlVVMFJ6RXRUMGhOV2s4dFZVWXhRa1l0VFVWTlRVaz1bRVdFSVNIT1BdIENvcHlyaWdodChDKSAyMDE3IFBob25peG5lc3QgSW5jLg=="},"234f":function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40"),o=s("e648");let i=class extends l.e{get selectData(){return this.value}set selectData(t){this.$emit("input",t),this.$emit("change",t)}handleDelete(){this.selectData.name="",this.selectData.id=""}};Object(a.a)([Object(l.c)({default:()=>[]})],i.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:!1})],i.prototype,"disabled",void 0),Object(a.a)([Object(l.c)()],i.prototype,"level",void 0),i=Object(a.a)([Object(l.a)({components:{CDialog:o.a}})],i);var r=i,n=s("2877"),c=Object(n.a)(r,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"select"},[e("c-dialog",{attrs:{disabled:t.disabled,level:t.level},model:{value:t.selectData,callback:function(e){t.selectData=e},expression:"selectData"}},[t._t("trigger")],2),e("div",{staticClass:"m-t-20"},[t.value.name?e("el-form-item",{attrs:{label:"分类名称"}},[e("div",{staticClass:"ls-del-wrap"},[e("el-input",{staticStyle:{width:"220px"},attrs:{readonly:""},model:{value:t.value.name,callback:function(e){t.$set(t.value,"name",e)},expression:"value.name"}}),e("i",{staticClass:"el-icon-close ls-icon-del",on:{click:t.handleDelete}})],1)]):t._e()],1)],1)}),[],!1,null,"86aea474",null);e.a=c.exports},"24d7":function(t,e,s){"use strict";s("db8b")},"25f8":function(t,e,s){},27423:function(t,e,s){"use strict";s("9c36")},"27ba":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAgVBMVEUAAAAvOv8zMzMwMDA9dPowMDBMfv8pKSAvLy89dPovLy9Ihv8tLS0zMzMvLy8wMDAuLi4wMDAvLy8vLy8qKiowMDA+cvo+dPo9c/o9cP8+c/owMDAuLi4xMTEvLy85cf89dPo9dPo9c/s8dPo9cvo6dPs6cPtEd/8wMDAwMDA+dPrUfSOGAAAAKXRSTlMAAQr19vkKBvj5kQY5GY3sztzZYR6vke3PGY3w0l5dCdzZr2FdOTkesBmdmJEAAAHWSURBVFjD7Vdrc4IwEEyQh4DUNw9bxbeF//8DezCxwKJdZ+wnxx0Z5TbZHDG3N6hXgza4xyCPQ9gNCcllGej6vs8AD/NHwWQ8HAiG40kwkggwBsibUcoKhkULw8BSGhnkO/O/C8dpePm99CSMDPKNQFCPcgY1nHrEh4SRAb6ZP6rWmK0jq0a0nlWryHMig/yvwEfhFNOFCcjXYlrUSyCDvDLwvkRxrjxt4Km5BCYeMsg3W/gp+xq1nymSnR9bChnk9VVgUBQDc9uJAAP8W+At8F8C5ChzAVJMXICVMy2mrqFsroayuRoGL+cmhVuWRg2liXjLm6aKuWGG1NYxN8iQNxbMDTPE1uYZmNZFGwsR4K2NPwJK4wJsExuBsAMjwHujmX+O08RuIUnjs1GgvVEuN7bLHuzYFYr3xmr+vvR9nC+RfSgk741axfV8327BrxVWMo72Rq1O1eq7Y+a2kB13VRYnoZmhaLUq/XJ7wWK6bEuTArO0MJW1DirUHYTqIOE0VFwgT2THs76hZPLPJPkDpuraIuD2BEz8LfBiAneOMj9IpJjYUeblTIuJ9UZWzqw3VszqL0OhvVE+IbE0YuvEVFljobb++Gtf7raQN/yzL57Pv/o+jx9QV4jEEnZc9wAAAABJRU5ErkJggg=="},2841:function(t,e,s){},"294c":function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40"),o=s("f50c"),i=s("234f"),r=s("d6d3");let n=class extends l.e{};Object(a.a)([Object(l.c)()],n.prototype,"content",void 0),n=Object(a.a)([Object(l.a)({components:{GoodsSelect:o.a,CategorySelect:i.a,Slider:r.a}})],n);var c=n,d=s("2877"),u=Object(d.a)(c,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("el-form-item",{attrs:{label:"添加商品"}},[e("el-radio-group",{model:{value:t.content.goods_type,callback:function(e){t.$set(t.content,"goods_type",e)},expression:"content.goods_type"}},[e("el-radio",{attrs:{label:1}},[t._v("手动选择")]),e("el-radio",{attrs:{label:2}},[t._v("选择分类")])],1)],1),e("div",{staticClass:"p-10 bg-white"},[e("div",{directives:[{name:"show",rawName:"v-show",value:1==t.content.goods_type,expression:"content.goods_type == 1"}]},[e("goods-select",{attrs:{"show-virtual-goods":!0},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1),e("div",{directives:[{name:"show",rawName:"v-show",value:2==t.content.goods_type,expression:"content.goods_type == 2"}]},[e("category-select",{model:{value:t.content.category,callback:function(e){t.$set(t.content,"category",e)},expression:"content.category"}}),e("el-form-item",{staticStyle:{"margin-bottom":"0"},attrs:{label:"显示件数"}},[e("slider",{attrs:{min:1,max:50},model:{value:t.content.category.num,callback:function(e){t.$set(t.content.category,"num",e)},expression:"content.category.num"}}),e("div",{staticClass:"muted"},[t._v("最多显示50个")])],1)],1)])],1)}),[],!1,null,null,null);e.a=u.exports},"2b1d":function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40"),o=s("0a6d"),i=(s("14d9"),s("e9f5"),s("f665"),s("7d54"),s("dcb0")),r=s("a92d"),n=s("b6c4");let c=class extends l.e{constructor(){super(...arguments),this.linkList=[]}get link(){return this.value}set link(t){this.$emit("input",t)}getLists(){("mobile"==this.client?Object(n.d)({type:this.type}):Object(n.g)({type:this.type})).then(t=>{this.linkList=t})}created(){this.getLists()}};Object(a.a)([Object(l.c)()],c.prototype,"value",void 0),Object(a.a)([Object(l.c)()],c.prototype,"type",void 0),Object(a.a)([Object(l.c)({default:"mobile"})],c.prototype,"client",void 0),c=Object(a.a)([Object(l.a)({components:{}})],c);var d=c,u=(s("ba96"),s("2877")),b=Object(u.a)(d,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"shop"},[e("div",{staticClass:"link-list flex flex-wrap"},t._l(t.linkList,(function(s,a){return e("div",{key:a,staticClass:"link-item",class:{active:t.link.path==s.path},on:{click:function(e){t.link=s}}},[t._v(" "+t._s(s.name)+" ")])})),0)])}),[],!1,null,"662f455f",null).exports,p=s("14c6");let m=class extends l.e{constructor(){super(...arguments),this.lists=[]}get params(){return this.value}getLists(){Object(p.n)({pager_type:1}).then(t=>{this.lists=null==t?void 0:t.lists})}onSelect(){const t=this.$refs.cascader.getCheckedNodes();this.$emit("input",t[0].data)}created(){this.getLists()}};Object(a.a)([Object(l.c)()],m.prototype,"value",void 0),m=Object(a.a)([Object(l.a)({components:{}})],m);var g=m,f=Object(u.a)(g,(function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"category flex"},[t("div",{staticClass:"m-r-20"},[this._v("选择分类")]),t("el-cascader",{ref:"cascader",attrs:{value:this.params.id,options:this.lists,props:{checkStrictly:!0,label:"name",value:"id",children:"sons",emitPath:!1},clearable:"",filterable:"",size:"small"},on:{change:this.onSelect}})],1)}),[],!1,null,"3870515c",null).exports,v=s("3c50"),_=s("6ddb"),h=s("db85");let y=class extends l.e{constructor(){super(...arguments),this.name="",this.pager=new _.a}get selectData(){return this.value}set selectData(t){this.$emit("input",t)}getList(t){t&&(this.pager.page=t),this.pager.request({callback:h.p,params:{type:1,name:this.name}}).then(t=>{})}onSelect(t,e){this.selectData=t?e:{}}created(){this.getList()}};Object(a.a)([Object(l.c)()],y.prototype,"value",void 0),y=Object(a.a)([Object(l.a)({components:{LsPagination:v.a}})],y);var x=y,A=Object(u.a)(x,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.pager.loading,expression:"pager.loading"}],staticClass:"detail"},[e("div",{staticClass:"flex m-b-20"},[e("div",{staticClass:"m-r-10"},[t._v("页面搜索")]),e("el-input",{staticStyle:{width:"220px"},attrs:{size:"small",placeholder:"请输入页面名称"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(1)}},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1),e("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:t.pager.lists,height:"370px",size:"mini"}},[e("el-table-column",{attrs:{width:"45"},scopedSlots:t._u([{key:"default",fn:function(s){return[e("el-checkbox",{attrs:{value:t.selectData.id==s.row.id},on:{change:function(e){return t.onSelect(e,s.row)}}})]}}])}),e("el-table-column",{attrs:{prop:"name",label:"页面名称"}}),e("el-table-column",{attrs:{prop:"create_time",label:"创建时间"}})],1),e("div",{staticClass:"flex row-right m-t-10"},[e("ls-pagination",{on:{change:function(e){return t.getList()}},model:{value:t.pager,callback:function(e){t.pager=e},expression:"pager"}})],1)],1)}),[],!1,null,"41b84f60",null).exports;let w=class extends l.e{get params(){return this.value}set params(t){this.$emit("input",t)}};Object(a.a)([Object(l.c)()],w.prototype,"value",void 0),w=Object(a.a)([Object(l.a)({components:{}})],w);var C=w,k=Object(u.a)(C,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"custom"},[e("el-form",{attrs:{size:"small","label-width":"100px"}},[e("el-form-item",{attrs:{label:"跳转链接",required:""}},[e("el-input",{staticStyle:{width:"280px"},attrs:{placeholder:"请输入跳转链接"},model:{value:t.params,callback:function(e){t.params=e},expression:"params"}})],1),e("el-form-item",{attrs:{label:""}},[e("div",{staticClass:"muted",staticStyle:{"line-height":"1.3"}},[t._v(" 请填写完整的带有“https://”或“http://”的链接地址 "),e("br"),t._v(" 小程序中跳转,链接的域名必须在微信公众平台设置业务域名 ")])])],1)],1)}),[],!1,null,"e2dcbba4",null).exports,O=s("131b");let j=class extends l.e{constructor(){super(...arguments),this.name="",this.pager=new _.a}get selectData(){return this.value}set selectData(t){this.$emit("input",t)}getList(t){t&&(this.pager.page=t),this.pager.request({callback:O.g,params:{name:this.name}}).then(t=>{})}onSelect(t,e){this.selectData=t?e:{}}created(){this.getList()}};Object(a.a)([Object(l.c)()],j.prototype,"value",void 0),j=Object(a.a)([Object(l.a)({components:{LsPagination:v.a}})],j);var F=j,S=Object(u.a)(F,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.pager.loading,expression:"pager.loading"}],staticClass:"detail"},[e("div",{staticClass:"flex m-b-20"},[e("div",{staticClass:"m-r-10"},[t._v("活动搜索")]),e("el-input",{staticStyle:{width:"220px"},attrs:{size:"small",placeholder:"请输入活动名称"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(1)}},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1),e("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:t.pager.lists,height:"370px",size:"mini"}},[e("el-table-column",{attrs:{width:"45",label:""},scopedSlots:t._u([{key:"default",fn:function(s){return[e("el-checkbox",{attrs:{value:s.row.id==t.selectData.id},on:{change:function(e){return t.onSelect(e,s.row)}}})]}}])}),e("el-table-column",{attrs:{label:"活动名称",prop:"name"}}),e("el-table-column",{attrs:{label:"活动状态"},scopedSlots:t._u([{key:"default",fn:function(s){return[1==s.row.status?e("el-tag",{attrs:{size:"medium",type:"success"}},[t._v(t._s(s.row.status_desc))]):e("el-tag",{attrs:{size:"medium",type:"info"}},[t._v(t._s(s.row.status_desc))])]}}])}),e("el-table-column",{attrs:{label:"活动时间","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.start_time_desc)+" ~ "+t._s(e.row.end_time_desc)+" ")]}}])})],1),e("div",{staticClass:"flex row-right m-t-20"},[e("ls-pagination",{on:{change:function(e){return t.getList()}},model:{value:t.pager,callback:function(e){t.pager=e},expression:"pager"}})],1)],1)}),[],!1,null,"57a59e98",null).exports;const z=[{name:"商城页面",key:"shop",children:[{name:"基础页面",type:"shop",link:{path:"",name:"",params:{},type:"shop"}},{name:"微页面",type:"page",link:{path:"/pages/page/page",name:"微页面",params:{},type:"page"}}]},{name:"商品",key:"goods",children:[{name:"普通商品",type:"goods",link:{path:"/pages/goods_detail/goods_detail",name:"普通商品",params:{},type:"goods"}},{name:"秒杀商品",type:"seckill",link:{path:"/bundle/pages/seckill_detail/seckill_detail",name:"秒杀商品",params:{},type:"seckill"}},{name:"拼团商品",type:"team",link:{path:"/bundle/pages/goods_team_detail/goods_team_detail",name:"拼团商品",params:{},type:"team"}},{name:"预售商品",type:"presell",link:{path:"/bundle/pages/presell_detail/presell_detail",name:"预售商品",params:{},type:"presell"}},{name:"商品分类",type:"category",link:{path:"/pages/goods_search/goods_search",name:"商品分类",params:{},type:"category"}}]},{name:"营销活动",key:"marking",children:[{name:"营销活动页面",type:"marking",link:{path:"",name:"",params:{},type:"marking"}},{name:"积分抽奖",type:"draw",link:{path:"/bundle/pages/luck_draw/luck_draw",name:"积分抽奖",params:{},type:"draw"}}]},{name:"其他",key:"other",children:[{name:"自定义链接",type:"custom",link:{path:"/pages/webview/webview",name:"自定义链接",params:{url:""},type:"custom"}}]}],L=[{name:"商城页面",key:"shop",children:[{name:"基础页面",type:"shop",link:{path:"",name:"",params:{},type:"shop"}}]},{name:"商品",key:"goods",children:[{name:"普通商品",type:"goods",link:{path:"/goods_details",name:"普通商品",params:{},type:"goods"}},{name:"秒杀商品",type:"seckill",link:{path:"/goods_details_seckill",name:"秒杀商品",params:{},type:"seckill"}},{name:"商品分类",type:"category",link:{path:"/category",name:"商品分类",params:{},type:"category"}}]},{name:"营销活动",key:"marking",children:[{name:"营销活动页面",type:"marking",link:{path:"",name:"",params:{},type:"marking"}}]},{name:"其他",key:"other",children:[{name:"自定义链接",type:"custom",link:{params:{},path:"",name:"自定义链接",type:"custom"}}]}];let M=class extends l.e{constructor(){super(...arguments),this.activeName=[],this.linkType="shop",this.lists="mobile"==this.client?Object(_.c)(z):Object(_.c)(L)}get link(){var t;let e={};return this.lists.forEach(t=>{const s=t.children.find(t=>t.type==this.linkType);s&&(e=s)}),null===(t=e)||void 0===t?void 0:t.link}set link(t){this.lists.forEach(e=>{e.children.forEach(s=>{s.type==this.linkType&&(t&&(s.link=t),this.activeName.includes(e.key)||this.activeName.push(e.key))})})}valueChange(t){t&&(this.linkType=t.type||"shop",this.link=t)}linkChange(t){this.$emit("input",t)}setLinkParams(t){if(!t.id)return this.link.params={};this.link&&(this.link={...this.link,params:{id:"presell"==this.linkType?t.goods_id:t.id,name:t.name}})}};Object(a.a)([Object(l.c)()],M.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:"mobile"})],M.prototype,"client",void 0),Object(a.a)([Object(l.f)("value",{immediate:!0})],M.prototype,"valueChange",null),Object(a.a)([Object(l.f)("link",{deep:!0})],M.prototype,"linkChange",null),M=Object(a.a)([Object(l.a)({components:{Goods:i.a,Activity:r.a,Shop:b,Category:f,Page:A,Custom:k,Draw:S}})],M);var D=M,I=(s("f8e8"),Object(u.a)(D,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"detail"},[e("div",{staticClass:"content flex"},[e("div",{staticClass:"left m-r-10"},[e("el-scrollbar",{staticClass:"ls-scrollbar",staticStyle:{height:"100%"}},[e("el-collapse",{staticClass:"p-t-20",model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},t._l(t.lists,(function(s,a){return e("el-collapse-item",{key:a,attrs:{title:s.name,name:s.key}},[e("div",{staticClass:"nav-list"},t._l(s.children,(function(s,a){return e("div",{key:a,staticClass:"nav-item",class:{active:t.linkType==s.type},on:{click:function(e){t.linkType=s.type}}},[e("div",[t._v(t._s(s.name))])])})),0)])})),1)],1)],1),e("div",{staticClass:"right flex-1"},[e("div",{staticClass:"right-content"},["shop"==t.linkType||"marking"==t.linkType?e("shop",{key:t.linkType,attrs:{type:t.linkType,client:t.client},model:{value:t.link,callback:function(e){t.link=e},expression:"link"}}):t._e(),"goods"==t.linkType?e("goods",{attrs:{value:t.link.params,"show-virtual-goods":!0},on:{input:t.setLinkParams}}):t._e(),"seckill"==t.linkType||"team"==t.linkType||"bargain"==t.linkType||"presell"==t.linkType?e("activity",{key:t.linkType,attrs:{single:!0,type:t.linkType},on:{input:t.setLinkParams},model:{value:t.link.params,callback:function(e){t.$set(t.link,"params",e)},expression:"link.params"}}):t._e(),"category"==t.linkType?e("category",{attrs:{value:t.link.params},on:{input:t.setLinkParams}}):t._e(),"draw"==t.linkType?e("draw",{attrs:{value:t.link.params},on:{input:t.setLinkParams}}):t._e(),"page"==t.linkType?e("page",{attrs:{value:t.link.params},on:{input:t.setLinkParams}}):t._e(),"custom"==t.linkType&&"mobile"==t.client?e("custom",{model:{value:t.link.params.url,callback:function(e){t.$set(t.link.params,"url",e)},expression:"link.params.url"}}):t._e(),"custom"==t.linkType&&"pc"==t.client?e("custom",{model:{value:t.link.path,callback:function(e){t.$set(t.link,"path",e)},expression:"link.path"}}):t._e()],1)])])])}),[],!1,null,"864695fa",null).exports);let P=class extends l.e{constructor(){super(...arguments),this.link={}}get linkName(){const{type:t,name:e,params:s,path:a}=this.value;if(!e)return"";switch(t){case"custom":return s.url||a;default:return`${e}${s&&s.name?"("+s.name+")":""}`}}valueChange(t){this.link=JSON.parse(JSON.stringify(t))}onConfirm(){const{type:t,params:e,path:s}=this.link;switch(t){case"shop":if(!s)return void this.$message.warning("请选择商城页面");break;case"goods":if(!e.name)return void this.$message.warning("请选择商品");break;case"seckill":if(!e.name)return void this.$message.warning("请选择秒杀商品");break;case"team":if(!e.name)return void this.$message.warning("请选择拼团商品");break;case"marking":if(!s)return void this.$message.warning("请选择营销页面");break;case"draw":if(!e.name)return void this.$message.warning("请选择积分抽奖");break;case"category":if(!e.name)return void this.$message.warning("请选择分类");break;case"custom":if(!e.url&&!s)return void this.$message.warning("请输入自定义链接");break;case"page":if(!e.name)return void this.$message.warning("请选择微页面")}this.$refs.dialog.close(),this.$emit("input",this.link)}handleClear(){this.disabled||this.$emit("input",{})}};Object(a.a)([Object(l.c)({default:()=>({})})],P.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:!1})],P.prototype,"disabled",void 0),Object(a.a)([Object(l.c)({default:"mobile"})],P.prototype,"client",void 0),Object(a.a)([Object(l.f)("value",{immediate:!0})],P.prototype,"valueChange",null),P=Object(a.a)([Object(l.a)({components:{LsDialog:o.a,Detail:I}})],P);var B=P,$=(s("24d7"),Object(u.a)(B,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("ls-dialog",{ref:"dialog",staticClass:"link-select",attrs:{title:"选择跳转链接",width:"1050px",top:"20vh",disabled:t.disabled,async:!0},on:{confirm:t.onConfirm}},[e("div",{staticClass:"link-select__trigger",attrs:{slot:"trigger"},slot:"trigger"},[e("el-input",{staticStyle:{width:"100%"},attrs:{value:t.linkName,placeholder:"请选择跳转链接",size:"small",readonly:"",disabled:t.disabled}},[t.linkName?e("i",{staticClass:"el-icon-close el-input__icon",attrs:{slot:"suffix"},on:{click:function(e){return e.stopPropagation(),t.handleClear.apply(null,arguments)}},slot:"suffix"}):e("i",{staticClass:"el-icon-arrow-right el-input__icon",attrs:{slot:"suffix"},slot:"suffix"})])],1),e("detail",{attrs:{client:t.client},model:{value:t.link,callback:function(e){t.link=e},expression:"link"}})],1)}),[],!1,null,"83bbe5bc",null));e.a=$.exports},"2d62":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAdVBMVEUAAAAtLS0zMzMwMDAwMDBNgP89dPouLi4wMDAwMDAzMzMvLy8vLy8tLS0uLi4vLy8vLy8vLy8vLy8vLy8wMDAtLS0uLi4tLS0wMDAvLy8vLy8uLi4vLy8wMDA+dPo+dPowMDAoKCgrKysuLi4uLi4wMDA+dPqLRKXJAAAAJXRSTlMAAgn2+gr2BRD0DOzeOceKG9nUraUWwnxbho9/ZR/06+MmOzdq6tM+7QAAAe9JREFUWMPtV+2SgjAMbAAtioKeiojfeuX9H/E2ZTQnN9y0xZ+uMiNMd0nabRrVBx+8F+SFv+SA9/2+wRV5gSxL+PM6z+JJ7AYMzPJ6/lQgFdWx8UZcR6Bavl6ZJPHlg7HSrICrtvzYC1ahYAHkz2//qtJoGrkBA6fVF2eBecCnMIlZbvDDA6Q2S9B2NoQcWpXS5AWtKtByfmuUIZZUeSPFPGQRC8QQsCvil8OUeU+BaUdgBPzL1y2vL4LReTw+9yuwBxffyWsErwGMm2bcLwDvbi8GmPRGcGqa06iff82tkSQCs4eCawSkjjOm43qsAm7yqyLXFHTJ/Nn2nkbWBxNj2IsLRU4CWm35jWvx7ny3ZMVSO0WABC4QWCti7z58veYYtko7CRwM4l/IYJZS6/YhOaRgx+5bvqS1mOHpwUlA80a+d5yr7Z5eOcwBYdLt5qPO4xsXFT1AII2tMSkwBREImURJIXAZZRI9jISxbCTvZRQrr2DlrpGOinw20/6GzdSxcsh27t9MzgVFtnNYSZOC4lTSpKg6l7Twsu53sCivg0UEwo+2lhd8uJIcrqHH+wG0klhqN6zBQIsT+7c4qbQ4+BahTRYCGNbmcfztihRQ9FYotCJpdYsyS9xb3SQrizl4g5ttQUi7P/APxwdvxA+WDVeB8HJcYwAAAABJRU5ErkJggg=="},"2ee8":function(t,e,s){},3392:function(t,e,s){},"362a":function(t,e,s){"use strict";s("06ac")},3865:function(t,e,s){},3869:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAnFBMVEUAAAA/P0AwMDAwMDAyMzQvNkUvLy8vLSsuLi4tLS09dPowMDBJcvQ+dPotLS0uLzAuLi4vLy8wMDAvLy9Dd/8wMDAwMDA+cvo1NTU9dPo9dPo9c/o9cvs+cv8+c/ouLi4vLy8sLCw0NDQvLy88dPo+cvowMDBEd/83SVsvLy89c/suLi4vLy8vLy8uLi4wMDAuLi49cvswMDA+dPpwyzVCAAAAMnRSTlMAAvz1CgX4CG5x+vAE+CO1MtLGoAnrWpES79vPORiNNeguDqdhXlAeDsevelHawFs9sDLdVREAAAJmSURBVFjD7VWJcpswENUiJIHBJzi+HWzncOLmKPz/v/VxDNBZixnSzrST8bON4Yld7UqrfeKG7wuiP7Gl5uaLc5MyRtHX4iBBE388DYLp2J/gob/96CTTCjoaCeprfxekjnZgXfwFd4L62XswdPCT0invPEG95ndyq5l/OB4P/iy/d+oYwuKfws78EX8qPVM+G0/iMajWAZcwjmFOHQ5OqU7lk1CKAKXEDw0PUWWyXWxWq81i22F/jxmRtKKKUMIHIe8FiHgxzAoMF3HHCup0ZohqhswMFFyK+Gc2GGQArq/WZRhjPl+ohihDGMP3orAfDgsPe8s6qCl27tAeJDHBTk6V2Obxrx93u8d1nsVWhNcycIM0lcffHSxRloEr9tkgWz8LZPe8zooQejkwYoN5HzAtvg+43YT9UqB4hbh3JbdDNqu45yJyB722ET55CvZC8q8UkmURuYcI7+tWKT+VpWzZxh6HicSeFVLncfYmy+XEax/n8JWVcq+Gwg6T3cOHbLc0+VHZEzXHmchqDohRVDdVmTdVoFaIMKxftCqCIfV5eX/T+u398qmoVgcy57NrjHs+Gyo4uyLoJJEaPV0mia7UYXQ5vSRaFtDzkiOLInDoKJpzDslZFaENUMW14Zli8A1sI2cAXGQFtsFMEYxbw6CcXlIHn/FoaVpcU2KsiBnKgk6anJlicEVo0FaHqxxXhDa4OnCOtZIGTB3IyvFmBvDGZud4OwW4Olg5EqZp6BxVc58bQRaOhIsH6docNOOc+38czLWeWx3wce7UBYQFbJw56A8eFQGd7wOWqP4NmqhuuOFv4RdFaWWthK+ungAAAABJRU5ErkJggg=="},"389c":function(t,e,s){"use strict";s("e4d0")},"3b58":function(t,e,s){window,t.exports=function(t){function e(a){if(s[a])return s[a].exports;var l=s[a]={i:a,l:!1,exports:{}};return t[a].call(l.exports,l,l.exports,e),l.l=!0,l.exports}var s={};return e.m=t,e.c=s,e.d=function(t,s,a){e.o(t,s)||Object.defineProperty(t,s,{configurable:!1,enumerable:!0,get:a})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var s=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(s,"a",s),s},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=25)}([function(t,e,s){var a=s(11);"string"==typeof a&&(a=[[t.i,a,""]]);var l={transform:void 0};s(3)(a,l),a.locals&&(t.exports=a.locals)},function(t,e,s){"use strict";function a(t,e,s,a,l,o,i,r){var n,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=s,c._compiled=!0),a&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),i?(n=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),l&&l.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},c._ssrRegister=n):l&&(n=r?function(){l.call(this,this.$root.$options.shadowRoot)}:l),n)if(c.functional){c._injectStyles=n;var d=c.render;c.render=function(t,e){return n.call(e),d(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,n):[n]}return{exports:t,options:c}}s.d(e,"a",(function(){return a}))},function(t,e,s){"use strict";function a(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return l(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?l(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s<e;s++)a[s]=t[s];return a}var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"vdr",class:(t.active||t.isActive?"active":"inactive")+" "+(t.contentClass?t.contentClass:""),style:t.positionStyle,on:{mousedown:function(e){t.bodyDown(e)},touchstart:function(e){t.bodyDown(e)},touchend:function(e){t.up(e)}}},[s("div",{ref:"container",staticClass:"content-container",style:t.sizeStyle},[t._t("default")],2),t._v(" "),t._l(t.sticks,(function(e){return s("div",{staticClass:"vdr-stick",class:["vdr-stick-"+e,t.isResizable?"":"not-resizable"],style:t.vdrStick(e),on:{mousedown:function(s){s.stopPropagation(),s.preventDefault(),t.stickDown(e,s)},touchstart:function(s){s.stopPropagation(),s.preventDefault(),t.stickDown(e,s)}}})}))],2)};o._withStripped=!0;var i={t:"top",m:"marginTop",b:"bottom"},r={l:"left",m:"marginLeft",r:"right"},n={name:"vue-drag-resize",emits:["clicked","dragging","dragstop","resizing","resizestop","activated","deactivated"],props:{stickSize:{type:Number,default:8},parentScaleX:{type:Number,default:1},parentScaleY:{type:Number,default:1},isActive:{type:Boolean,default:!1},preventActiveBehavior:{type:Boolean,default:!1},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},aspectRatio:{type:Boolean,default:!1},parentLimitation:{type:Boolean,default:!1},snapToGrid:{type:Boolean,default:!1},gridX:{type:Number,default:50,validator:function(t){return t>=0}},gridY:{type:Number,default:50,validator:function(t){return t>=0}},parentW:{type:Number,default:0,validator:function(t){return t>=0}},parentH:{type:Number,default:0,validator:function(t){return t>=0}},w:{type:[String,Number],default:200,validator:function(t){return"string"==typeof t?"auto"===t:t>=0}},h:{type:[String,Number],default:200,validator:function(t){return"string"==typeof t?"auto"===t:t>=0}},minw:{type:Number,default:50,validator:function(t){return t>=0}},minh:{type:Number,default:50,validator:function(t){return t>=0}},x:{type:Number,default:0,validator:function(t){return"number"==typeof t}},y:{type:Number,default:0,validator:function(t){return"number"==typeof t}},z:{type:[String,Number],default:"auto",validator:function(t){return"string"==typeof t?"auto"===t:t>=0}},dragHandle:{type:String,default:null},dragCancel:{type:String,default:null},sticks:{type:Array,default:function(){return["tl","tm","tr","mr","br","bm","bl","ml"]}},axis:{type:String,default:"both",validator:function(t){return-1!==["x","y","both","none"].indexOf(t)}},contentClass:{type:String,required:!1,default:""}},data:function(){return{fixAspectRatio:null,active:null,zIndex:null,parentWidth:null,parentHeight:null,left:null,top:null,right:null,bottom:null,minHeight:null}},beforeCreate:function(){this.stickDrag=!1,this.bodyDrag=!1,this.dimensionsBeforeMove={pointerX:0,pointerY:0,x:0,y:0,w:0,h:0},this.limits={left:{min:null,max:null},right:{min:null,max:null},top:{min:null,max:null},bottom:{min:null,max:null}},this.currentStick=null},mounted:function(){var t=this;this.parentElement=this.$el.parentNode,this.parentWidth=this.parentW?this.parentW:this.parentElement.clientWidth,this.parentHeight=this.parentH?this.parentH:this.parentElement.clientHeight,this.left=this.x,this.top=this.y,this.right=this.parentWidth-("auto"===this.w?this.$refs.container.scrollWidth:this.w)-this.left,this.bottom=this.parentHeight-("auto"===this.h?this.$refs.container.scrollHeight:this.h)-this.top,this.domEvents=new Map([["mousemove",this.move],["mouseup",this.up],["mouseleave",this.up],["mousedown",this.deselect],["touchmove",this.move],["touchend",this.up],["touchcancel",this.up],["touchstart",this.up]]),function(t){t.forEach((function(t,e){document.documentElement.addEventListener(e,t)}))}(this.domEvents),this.dragHandle&&a(this.$el.querySelectorAll(this.dragHandle)).forEach((function(e){e.setAttribute("data-drag-handle",t._uid)})),this.dragCancel&&a(this.$el.querySelectorAll(this.dragCancel)).forEach((function(e){e.setAttribute("data-drag-cancel",t._uid)}))},beforeDestroy:function(){!function(t){t.forEach((function(t,e){document.documentElement.removeEventListener(e,t)}))}(this.domEvents)},methods:{deselect:function(){this.preventActiveBehavior||(this.active=!1)},move:function(t){if(this.stickDrag||this.bodyDrag){t.stopPropagation();var e=void 0!==t.pageX?t.pageX:t.touches[0].pageX,s=void 0!==t.pageY?t.pageY:t.touches[0].pageY,a=this.dimensionsBeforeMove,l={x:(a.pointerX-e)/this.parentScaleX,y:(a.pointerY-s)/this.parentScaleY};if(this.stickDrag&&this.stickMove(l),this.bodyDrag){if("x"===this.axis)l.y=0;else if("y"===this.axis)l.x=0;else if("none"===this.axis)return;this.bodyMove(l)}}},up:function(t){this.stickDrag?this.stickUp(t):this.bodyDrag&&this.bodyUp(t)},bodyDown:function(t){var e=t.target,s=t.button;if(this.preventActiveBehavior||(this.active=!0),(!s||0===s)&&(this.$emit("clicked",t),this.active&&!(this.dragHandle&&e.getAttribute("data-drag-handle")!==this._uid.toString()||this.dragCancel&&e.getAttribute("data-drag-cancel")===this._uid.toString()))){void 0!==t.stopPropagation&&t.stopPropagation(),void 0!==t.preventDefault&&t.preventDefault(),this.isDraggable&&(this.bodyDrag=!0);var a=void 0!==t.pageX?t.pageX:t.touches[0].pageX,l=void 0!==t.pageY?t.pageY:t.touches[0].pageY;this.saveDimensionsBeforeMove({pointerX:a,pointerY:l}),this.parentLimitation&&(this.limits=this.calcDragLimitation())}},bodyMove:function(t){var e=this.dimensionsBeforeMove,s=this.parentWidth,a=this.parentHeight,l=this.gridX,o=this.gridY,i=this.width,r=this.height,n=e.top-t.y,c=e.bottom+t.y,d=e.left-t.x,u=e.right+t.x;if(this.snapToGrid){var b=!0,p=!0,m=n-Math.floor(n/o)*o,g=a-c-Math.floor((a-c)/o)*o,f=d-Math.floor(d/l)*l,v=s-u-Math.floor((s-u)/l)*l;m>o/2&&(m-=o),g>o/2&&(g-=o),f>l/2&&(f-=l),v>l/2&&(v-=l),Math.abs(g)<Math.abs(m)&&(b=!1),Math.abs(v)<Math.abs(f)&&(p=!1),c=a-r-(n-=b?m:g),u=s-i-(d-=p?f:v)}var _=this.rectCorrectionByLimit({newLeft:d,newRight:u,newTop:n,newBottom:c});this.left=_.newLeft,this.right=_.newRight,this.top=_.newTop,this.bottom=_.newBottom,this.$emit("dragging",this.rect)},bodyUp:function(){this.bodyDrag=!1,this.$emit("dragging",this.rect),this.$emit("dragstop",this.rect),this.dimensionsBeforeMove={pointerX:0,pointerY:0,x:0,y:0,w:0,h:0},this.limits={left:{min:null,max:null},right:{min:null,max:null},top:{min:null,max:null},bottom:{min:null,max:null}}},stickDown:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.isResizable&&this.active||s){this.stickDrag=!0;var a=void 0!==e.pageX?e.pageX:e.touches[0].pageX,l=void 0!==e.pageY?e.pageY:e.touches[0].pageY;this.saveDimensionsBeforeMove({pointerX:a,pointerY:l}),this.currentStick=t,this.limits=this.calcResizeLimits()}},saveDimensionsBeforeMove:function(t){var e=t.pointerX,s=t.pointerY;this.dimensionsBeforeMove.pointerX=e,this.dimensionsBeforeMove.pointerY=s,this.dimensionsBeforeMove.left=this.left,this.dimensionsBeforeMove.right=this.right,this.dimensionsBeforeMove.top=this.top,this.dimensionsBeforeMove.bottom=this.bottom,this.dimensionsBeforeMove.width=this.width,this.dimensionsBeforeMove.height=this.height,this.aspectFactor=this.width/this.height},stickMove:function(t){var e=this.currentStick,s=this.dimensionsBeforeMove,a=this.gridY,l=this.gridX,o=this.snapToGrid,i=this.parentHeight,r=this.parentWidth,n=s.top,c=s.bottom,d=s.left,u=s.right;switch(e[0]){case"b":c=s.bottom+t.y,o&&(c=i-Math.round((i-c)/a)*a);break;case"t":n=s.top-t.y,o&&(n=Math.round(n/a)*a)}switch(e[1]){case"r":u=s.right+t.x,o&&(u=r-Math.round((r-u)/l)*l);break;case"l":d=s.left-t.x,o&&(d=Math.round(d/l)*l)}var b=this.rectCorrectionByLimit({newLeft:d,newRight:u,newTop:n,newBottom:c});if(d=b.newLeft,u=b.newRight,n=b.newTop,c=b.newBottom,this.aspectRatio){var p=this.rectCorrectionByAspectRatio({newLeft:d,newRight:u,newTop:n,newBottom:c});d=p.newLeft,u=p.newRight,n=p.newTop,c=p.newBottom}this.left=d,this.right=u,this.top=n,this.bottom=c,this.$emit("resizing",this.rect)},stickUp:function(){this.stickDrag=!1,this.dimensionsBeforeMove={pointerX:0,pointerY:0,x:0,y:0,w:0,h:0},this.limits={left:{min:null,max:null},right:{min:null,max:null},top:{min:null,max:null},bottom:{min:null,max:null}},this.$emit("resizing",this.rect),this.$emit("resizestop",this.rect)},calcDragLimitation:function(){var t=this.parentWidth,e=this.parentHeight;return{left:{min:0,max:t-this.width},right:{min:0,max:t-this.width},top:{min:0,max:e-this.height},bottom:{min:0,max:e-this.height}}},calcResizeLimits:function(){var t=this.aspectFactor,e=this.width,s=this.height,a=this.bottom,l=this.top,o=this.left,i=this.right,r=this.minh,n=this.minw,c=this.parentLimitation?0:null;this.aspectRatio&&(n/r>t?r=n/t:n=t*r);var d={left:{min:c,max:o+(e-n)},right:{min:c,max:i+(e-n)},top:{min:c,max:l+(s-r)},bottom:{min:c,max:a+(s-r)}};if(this.aspectRatio){var u={left:{min:o-Math.min(l,a)*t*2,max:o+(s-r)/2*t*2},right:{min:i-Math.min(l,a)*t*2,max:i+(s-r)/2*t*2},top:{min:l-Math.min(o,i)/t*2,max:l+(e-n)/2/t*2},bottom:{min:a-Math.min(o,i)/t*2,max:a+(e-n)/2/t*2}};"m"===this.currentStick[0]?(d.left={min:Math.max(d.left.min,u.left.min),max:Math.min(d.left.max,u.left.max)},d.right={min:Math.max(d.right.min,u.right.min),max:Math.min(d.right.max,u.right.max)}):"m"===this.currentStick[1]&&(d.top={min:Math.max(d.top.min,u.top.min),max:Math.min(d.top.max,u.top.max)},d.bottom={min:Math.max(d.bottom.min,u.bottom.min),max:Math.min(d.bottom.max,u.bottom.max)})}return d},sideCorrectionByLimit:function(t,e){var s=e;return null!==t.min&&e<t.min?s=t.min:null!==t.max&&t.max<e&&(s=t.max),s},rectCorrectionByLimit:function(t){var e=this.limits,s=t.newRight,a=t.newLeft,l=t.newBottom,o=t.newTop;return{newLeft:a=this.sideCorrectionByLimit(e.left,a),newRight:s=this.sideCorrectionByLimit(e.right,s),newTop:o=this.sideCorrectionByLimit(e.top,o),newBottom:l=this.sideCorrectionByLimit(e.bottom,l)}},rectCorrectionByAspectRatio:function(t){var e=t.newLeft,s=t.newRight,a=t.newTop,l=t.newBottom,o=this.parentWidth,i=this.parentHeight,r=this.currentStick,n=this.aspectFactor,c=this.dimensionsBeforeMove,d=o-e-s,u=i-a-l;if("m"===r[1]){var b=u-c.height;e-=b*n/2,s-=b*n/2}else if("m"===r[0]){var p=d-c.width;a-=p/n/2,l-=p/n/2}else d/u>n?(d=n*u,"l"===r[1]?e=o-s-d:s=o-e-d):(u=d/n,"t"===r[0]?a=i-l-u:l=i-a-u);return{newLeft:e,newRight:s,newTop:a,newBottom:l}}},computed:{positionStyle:function(){return{top:this.top+"px",left:this.left+"px",zIndex:this.zIndex}},sizeStyle:function(){return{width:"auto"==this.w?"auto":this.width+"px",height:"auto"==this.h?"auto":this.height+"px"}},vdrStick:function(){var t=this;return function(e){var s={width:"".concat(t.stickSize/t.parentScaleX,"px"),height:"".concat(t.stickSize/t.parentScaleY,"px")};return s[i[e[0]]]="".concat(t.stickSize/t.parentScaleX/-2,"px"),s[r[e[1]]]="".concat(t.stickSize/t.parentScaleX/-2,"px"),s}},width:function(){return this.parentWidth-this.left-this.right},height:function(){return this.parentHeight-this.top-this.bottom},rect:function(){return{left:Math.round(this.left),top:Math.round(this.top),width:Math.round(this.width),height:Math.round(this.height)}}},watch:{active:function(t){t?this.$emit("activated"):this.$emit("deactivated")},isActive:{immediate:!0,handler:function(t){this.active=t}},z:{immediate:!0,handler:function(t){(t>=0||"auto"===t)&&(this.zIndex=t)}},x:{handler:function(t,e){var s=this;if(!this.stickDrag&&!this.bodyDrag&&t!==this.left){var a=e-t;this.bodyDown({pageX:this.left,pageY:this.top}),this.bodyMove({x:a,y:0}),this.$nextTick((function(){s.bodyUp()}))}}},y:{handler:function(t,e){var s=this;if(!this.stickDrag&&!this.bodyDrag&&t!==this.top){var a=e-t;this.bodyDown({pageX:this.left,pageY:this.top}),this.bodyMove({x:0,y:a}),this.$nextTick((function(){s.bodyUp()}))}}},w:{handler:function(t,e){var s=this;if(!this.stickDrag&&!this.bodyDrag&&t!==this.width){var a=e-t;this.stickDown("mr",{pageX:this.right,pageY:this.top+this.height/2},!0),this.stickMove({x:a,y:0}),this.$nextTick((function(){s.stickUp()}))}}},h:{handler:function(t,e){var s=this;if(!this.stickDrag&&!this.bodyDrag&&t!==this.height){var a=e-t;this.stickDown("bm",{pageX:this.left+this.width/2,pageY:this.bottom},!0),this.stickMove({x:0,y:a}),this.$nextTick((function(){s.stickUp()}))}}},parentW:function(t){this.right=t-this.width-this.left,this.parentWidth=t},parentH:function(t){this.bottom=t-this.height-this.top,this.parentHeight=t}}},c=(s(12),s(1)),d=Object(c.a)(n,o,[],!1,null,null,null);d.options.__file="src/components/vue-drag-resize.vue",e.a=d.exports},function(t,e,s){function a(t,e){for(var s=0;s<t.length;s++){var a=t[s],l=m[a.id];if(l){l.refs++;for(var o=0;o<l.parts.length;o++)l.parts[o](a.parts[o]);for(;o<a.parts.length;o++)l.parts.push(d(a.parts[o],e))}else{var i=[];for(o=0;o<a.parts.length;o++)i.push(d(a.parts[o],e));m[a.id]={id:a.id,refs:1,parts:i}}}}function l(t,e){for(var s=[],a={},l=0;l<t.length;l++){var o=t[l],i=e.base?o[0]+e.base:o[0],r={css:o[1],media:o[2],sourceMap:o[3]};a[i]?a[i].parts.push(r):s.push(a[i]={id:i,parts:[r]})}return s}function o(t,e){var s=f(t.insertInto);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var a=h[h.length-1];if("top"===t.insertAt)a?a.nextSibling?s.insertBefore(e,a.nextSibling):s.appendChild(e):s.insertBefore(e,s.firstChild),h.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");s.appendChild(e)}}function i(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=h.indexOf(t);e>=0&&h.splice(e,1)}function r(t){var e=document.createElement("style");return t.attrs.type="text/css",c(e,t.attrs),o(t,e),e}function n(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",c(e,t.attrs),o(t,e),e}function c(t,e){Object.keys(e).forEach((function(s){t.setAttribute(s,e[s])}))}function d(t,e){var s,a,l,o;if(e.transform&&t.css){if(!(o=e.transform(t.css)))return function(){};t.css=o}if(e.singleton){var c=_++;s=v||(v=r(e)),a=u.bind(null,s,c,!1),l=u.bind(null,s,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(s=n(e),a=p.bind(null,s,e),l=function(){i(s),s.href&&URL.revokeObjectURL(s.href)}):(s=r(e),a=b.bind(null,s),l=function(){i(s)});return a(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;a(t=e)}else l()}}function u(t,e,s,a){var l=s?"":a.css;if(t.styleSheet)t.styleSheet.cssText=x(e,l);else{var o=document.createTextNode(l),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(o,i[e]):t.appendChild(o)}}function b(t,e){var s=e.css,a=e.media;if(a&&t.setAttribute("media",a),t.styleSheet)t.styleSheet.cssText=s;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(s))}}function p(t,e,s){var a=s.css,l=s.sourceMap,o=void 0===e.convertToAbsoluteUrls&&l;(e.convertToAbsoluteUrls||o)&&(a=y(a)),l&&(a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(l))))+" */");var i=new Blob([a],{type:"text/css"}),r=t.href;t.href=URL.createObjectURL(i),r&&URL.revokeObjectURL(r)}var m={},g=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}((function(){return window&&document&&document.all&&!window.atob})),f=function(t){var e={};return function(s){return void 0===e[s]&&(e[s]=t.call(this,s)),e[s]}}((function(t){return document.querySelector(t)})),v=null,_=0,h=[],y=s(10);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=g()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var s=l(t,e);return a(s,e),function(t){for(var o=[],i=0;i<s.length;i++){var r=s[i];(n=m[r.id]).refs--,o.push(n)}for(t&&a(l(t,e),e),i=0;i<o.length;i++){var n;if(0===(n=o[i]).refs){for(var c=0;c<n.parts.length;c++)n.parts[c]();delete m[n.id]}}}};var x=function(){var t=[];return function(e,s){return t[e]=s,t.filter(Boolean).join("\n")}}()},function(t,e){function s(t,e){var s=t[1]||"",a=t[3];if(!a)return s;if(e&&"function"==typeof btoa){var l=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(a);return[s].concat(a.sources.map((function(t){return"/*# sourceURL="+a.sourceRoot+t+" */"}))).concat([l]).join("\n")}return[s].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a=s(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a})).join("")},e.i=function(t,s){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},l=0;l<this.length;l++){var o=this[l][0];"number"==typeof o&&(a[o]=!0)}for(l=0;l<t.length;l++){var i=t[l];"number"==typeof i[0]&&a[i[0]]||(s&&!i[2]?i[2]=s:s&&(i[2]="("+i[2]+") and ("+s+")"),e.push(i))}},e}},function(t,e){var s;s=function(){return this}();try{s=s||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(s=window)}t.exports=s},,,,,function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var s=e.protocol+"//"+e.host,a=s+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var l,o=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o)?t:(l=0===o.indexOf("//")?o:0===o.indexOf("/")?s+o:a+o.replace(/^\.\//,""),"url("+JSON.stringify(l)+")")}))}},function(t,e,s){(t.exports=s(4)(!1)).push([t.i,'\n.vdr,.vdr.active:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box\n}\n.vdr.active:before{content:"";width:100%;height:100%;top:0;left:0;outline:1px dashed #d6d6d6\n}\n.vdr-stick{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;font-size:1px;background:#fff;border:1px solid #6c6c6c;-webkit-box-shadow:0 0 2px #bbb;box-shadow:0 0 2px #bbb\n}\n.inactive .vdr-stick{display:none\n}\n.vdr-stick-br,.vdr-stick-tl{cursor:nwse-resize\n}\n.vdr-stick-bm,.vdr-stick-tm{left:50%;cursor:ns-resize\n}\n.vdr-stick-bl,.vdr-stick-tr{cursor:nesw-resize\n}\n.vdr-stick-ml,.vdr-stick-mr{top:50%;cursor:ew-resize\n}\n.vdr-stick.not-resizable{display:none\n}\n.content-container{display:block;position:relative\n}',""])},function(t,e,s){"use strict";var a=s(0);s.n(a).a},,,,,,,,,,,,,function(t,e,s){"use strict";s.r(e),function(t){function a(t){a.installed||(a.installed=!0,t.component("vue-drag-resize",l.a))}s.d(e,"install",(function(){return a}));var l=s(2),o={install:a},i=null;"undefined"!=typeof window?i=window.Vue:void 0!==t&&(i=t.Vue),i&&i.use(o),e.default=l.a}.call(this,s(5))}])},"3dfa":function(t,e,s){},"3fa8":function(t,e,s){},"414d":function(t,e,s){"use strict";s("0dc1")},4167:function(t,e,s){},4466:function(t,e,s){"use strict";s("14d9"),s("e9f5"),s("f665");var a=s("9ab4"),l=s("1b40"),o=s("1248"),i=s("ea05"),r=s("6ae0"),n=s("d6d3"),c=s("66bb"),d=s("fe7b");let u=class extends l.e{constructor(){super(...arguments),this.imageCongig={},this.styleData=[{name:"单张图片",value:1,num:1},{name:"双列图片",value:2,num:2},{name:"三列图片",value:3,num:3},{name:"四列图片",value:4,num:4}]}styleChange(t){var e;switch(t){case 1:this.imageCongig={width:"1180px"};break;case 2:this.imageCongig={width:"585px"};break;case 3:this.imageCongig={width:"386px"};break;case 4:this.imageCongig={width:"287px"};break;default:this.imageCongig={width:"1180px"}}const s=(null===(e=this.styleData.find(e=>e.value==t))||void 0===e?void 0:e.num)||1;this.imageCongig.limit=s,this.content.data=this.handleArray(s)}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}handleArray(t){const e=JSON.parse(JSON.stringify(this.content.data)),s=[];for(let a=0;a<t;a++)e[a]?s.push(e[a]):s.push({url:"",link:{}});return s}};Object(a.a)([Object(l.f)("content.style",{immediate:!0})],u.prototype,"styleChange",null),u=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:n.a,AttributeItem:c.a,BannerList:d.a}})],u);var b=u,p=s("2877"),m=Object(p.a)(b,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"广告位"}},[e("div",[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"展示样式"}},[e("style-chose",{attrs:{data:t.styleData},model:{value:t.content.style,callback:function(e){t.$set(t.content,"style",e)},expression:"content.style"}})],1),e("attribute-item",{attrs:{title:"图片设置",desc:`建议图片尺寸:${t.imageCongig.width}*180px`}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("banner-list",{attrs:{"close-delete":!0,client:"pc",limit:t.imageCongig.limit},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)],1)],1)],1)])],1)}),[],!1,null,"0d5b910a",null).exports,g=s("1e31"),f=s("977d");let v=class extends l.e{};Object(a.a)([Object(l.c)()],v.prototype,"content",void 0),Object(a.a)([Object(l.c)()],v.prototype,"styles",void 0),v=Object(a.a)([Object(l.a)({components:{Indicator:g.a,WidgetRoot:f.a}})],v);var _=v,h=(s("8b09"),Object(p.a)(_,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"adv"},[e("div",{staticClass:"adv-content flex"},t._l(t.content.data,(function(s,a){return e("div",{key:a,staticClass:"adv-image"},[e("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.$getImageUri(s.url),fit:"cover"}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-40"})])])],1)})),0)])}),[],!1,null,"88b4daa6",null).exports),y=s("7e85");let x=class extends l.e{};Object(a.a)([Object(l.c)()],x.prototype,"content",void 0),Object(a.a)([Object(l.c)()],x.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],x.prototype,"index",void 0),Object(a.a)([Object(l.c)()],x.prototype,"operate",void 0),x=Object(a.a)([Object(l.a)({components:{Contents:h,WidgetPackage:y.a}})],x);var A=x,w={attribute:m,contents:h,widget:Object(p.a)(A,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},C=s("4539"),k=s("b3ad");let O=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};O=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:n.a,AttributeItem:c.a,NavList:C.a,MaterialSelect:k.a}})],O);var j=O,F=Object(p.a)(j,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"头部设置"}},[e("div",[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"导航菜单",desc:"最多可添加9个"}},[e("nav-list",{attrs:{client:"pc","has-img":!1,limit:9},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)],1)],1)])],1)}),[],!1,null,"27acd808",null).exports,S=s("14c6");let z=class extends l.e{constructor(){super(...arguments),this.category=[],this.cateTwo=[],this.showCateFloat=!1,this.selectIndex=-1}getCategoryLists(){Object(S.n)({page_type:1}).then(t=>{this.category=t.lists})}enterCate(t){this.cateTwo=this.category[t].sons||[],this.showCateFloat=!0,this.selectIndex=t}leaveCate(){this.selectIndex=-1,this.showCateFloat=!1}created(){this.getCategoryLists()}};z=Object(a.a)([Object(l.a)({})],z);var L=z,M=(s("cfa9"),Object(p.a)(L,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"category",on:{mouseleave:t.leaveCate}},[e("el-button",{staticClass:"title",attrs:{type:"primary"}},[e("div",{staticClass:"flex lg"},[e("i",{staticClass:"el-icon-s-fold"}),e("div",{staticClass:"m-l-8"},[t._v("全部商品分类")])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.category.length,expression:"category.length"}],staticClass:"category-con bg-white"},[e("ul",{staticClass:"category-one"},[t._l(t.category,(function(s,a){return e("li",{key:a,class:{active:a===t.selectIndex},on:{mouseenter:function(e){return t.enterCate(a)}}},[e("div",{staticClass:"flex row-between"},[e("span",{staticClass:"line-1"},[t._v(t._s(s.name))]),s.sons?e("i",{staticClass:"el-icon-arrow-right"}):t._e()])])})),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showCateFloat&&t.cateTwo.length,expression:"showCateFloat && cateTwo.length"}],staticClass:"category-float bg-white"},[e("div",{staticClass:"float-con"},t._l(t.cateTwo,(function(s,a){return e("div",{key:a,staticClass:"m-t-16"},[e("div",{staticClass:"category-two weight-500 m-b-15"},[e("span",[t._v(t._s(s.name))])]),e("div",{staticClass:"category-three flex flex-wrap"},t._l(s.sons,(function(s,a){return e("div",{key:a,staticClass:"item"},[e("div",{staticClass:"flex"},[e("el-image",{staticStyle:{width:"48px",height:"48px"},attrs:{src:s.image,fit:"contain"}}),e("span",{staticClass:"m-l-8"},[t._v(t._s(s.name))])],1)])})),0)])})),0)])],2)])],1)}),[],!1,null,"36d03a02",null).exports);let D=class extends l.e{get logo(){return this.$store.getters.config.logo}};Object(a.a)([Object(l.c)()],D.prototype,"content",void 0),Object(a.a)([Object(l.c)()],D.prototype,"styles",void 0),D=Object(a.a)([Object(l.a)({components:{Indicator:g.a,WidgetRoot:f.a,Category:M}})],D);var I=D,P=(s("91cd"),Object(p.a)(I,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"header bg-white"},[t._m(0),e("div",{staticClass:"header-main"},[e("div",{staticClass:"search-wrap flex row-between"},[e("img",{staticClass:"logo",attrs:{src:t.logo,alt:"logo"}}),e("div",{staticClass:"flex"},[e("div",{staticClass:"search flex"},[e("input",{attrs:{type:"text",placeholder:"请输入要搜索的商品名称"}}),e("el-button",{staticClass:"search-btn",attrs:{type:"primary"}},[t._v(" 搜索 ")])],1),e("el-button",{staticClass:"cart",attrs:{type:"primary",plain:""}},[e("i",{staticClass:"el-icon-shopping-cart-2 xxl"}),t._v(" 我的购物车(0) ")])],1)])]),e("div",{staticClass:"header-nav bg-white"},[e("div",{staticClass:"nav-wrap flex"},[e("category"),e("ul",{staticClass:"nav flex"},t._l(t.content.data,(function(s,a){return e("li",{key:a,staticClass:"item"},[e("a",{class:{active:0==a}},[t._v(t._s(s.name))])])})),0)],1)])])}),[function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"header-top flex row-between"},[t("div",{staticClass:"notice"},[this._v("xxxx")]),t("ul",{staticClass:"user flex flex-none"},[t("li",[t("span",[this._v("登录")]),this._v(" | "),t("span",[this._v("注册")])]),t("li",[t("span",[this._v("我的订单")])]),t("li",[t("span",[this._v("我的收藏")])]),t("li",[t("span",[this._v("手机端")]),t("i",{staticClass:"el-icon-arrow-down m-l-2"})])])])}],!1,null,"3c0e0d05",null).exports);let B=class extends l.e{};Object(a.a)([Object(l.c)()],B.prototype,"content",void 0),Object(a.a)([Object(l.c)()],B.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],B.prototype,"index",void 0),Object(a.a)([Object(l.c)()],B.prototype,"operate",void 0),B=Object(a.a)([Object(l.a)({components:{Contents:P,WidgetPackage:y.a}})],B);var $=B,E={attribute:F,contents:P,widget:Object(p.a)($,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},R=s("b76a"),U=s.n(R);let T=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};T=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:n.a,AttributeItem:c.a,MaterialSelect:k.a,Draggable:U.a}})],T);var N=T,Y=(s("ac98"),Object(p.a)(N,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"底部设置"}},[e("div",[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"底部图标"}},[e("draggable",{attrs:{animation:"300"},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}},t._l(t.content.data,(function(s,a){return e("div",{key:a,staticClass:"item"},[e("el-form-item",{attrs:{label:"图标"}},[e("material-select",{ref:"materialSelect",refInFor:!0,staticClass:"m-r-10",attrs:{size:60,"upload-bg":"#fff","enable-domain":!1},model:{value:s.url,callback:function(e){t.$set(s,"url",e)},expression:"item.url"}},[e("i",{staticClass:"el-icon-plus lg"})])],1),e("el-form-item",{attrs:{label:"名称"}},[e("el-input",{staticStyle:{width:"200px"},attrs:{maxlength:"8","show-word-limit":"",placeholder:"请输入标题名称"},model:{value:s.name,callback:function(e){t.$set(s,"name",e)},expression:"item.name"}})],1)],1)})),0)],1)],1)],1)])],1)}),[],!1,null,"7696ff25",null).exports);let W=class extends l.e{};Object(a.a)([Object(l.c)()],W.prototype,"content",void 0),Object(a.a)([Object(l.c)()],W.prototype,"styles",void 0),W=Object(a.a)([Object(l.a)({components:{Indicator:g.a,WidgetRoot:f.a}})],W);var Q=W,J=(s("27423"),Object(p.a)(Q,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"footer"},[e("div",{staticClass:"footer-tags flex"},t._l(t.content.data,(function(s,a){return e("div",{key:a,staticClass:"tags-item flex flex-1 row-center"},[e("img",{staticClass:"tags-img",attrs:{src:t.$getImageUri(s.url),alt:""}}),e("div",{staticClass:"m-l-10 xxl"},[t._v(t._s(s.name))])])})),0),e("div",{staticClass:"copy-right xs"},[t._v("Copyright © 2019-2021 xxxx xxxx")])])}),[],!1,null,"366f4e82",null).exports);let V=class extends l.e{};Object(a.a)([Object(l.c)()],V.prototype,"content",void 0),Object(a.a)([Object(l.c)()],V.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],V.prototype,"index",void 0),Object(a.a)([Object(l.c)()],V.prototype,"operate",void 0),V=Object(a.a)([Object(l.a)({components:{Contents:J,WidgetPackage:y.a}})],V);var G=V,H=(s("ae8d"),{attribute:Y,contents:J,widget:Object(p.a)(G,(function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"widget-footer"},[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,"142a7196",null).exports}),K=s("2b1d");let X=class extends l.e{constructor(){super(...arguments),this.styleData=[{name:"图片+文字",value:1},{name:"图片",value:2}]}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}onAdd(t){const e={icon:"",select_icon:"",name:"",type:t,link:{}};if(this.content.data.length>5)return this.$message.warning("最多五个导航");this.content.data.push(e)}onDelete(t){const{data:e}=this.content;if(e.length<=1)return this.$message.warning("最少保留一个导航");this.content.data.splice(t,1)}};X=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:n.a,AttributeItem:c.a,LinkSelect:K.a,MaterialSelect:k.a,Draggable:U.a}})],X);var Z=X,q=(s("17d0"),Object(p.a)(Z,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"悬浮设置"}},[e("div",[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"展示样式"}},[e("style-chose",{attrs:{data:t.styleData},model:{value:t.content.style,callback:function(e){t.$set(t.content,"style",e)},expression:"content.style"}})],1),e("attribute-item",{attrs:{title:"悬浮菜单"}},[e("div",{staticClass:"nav-list"},[e("draggable",{attrs:{animation:"300"},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}},t._l(t.content.data,(function(s,a){return e("div",{key:a,staticClass:"nav-item ls-del-wrap item"},[e("div",[e("div",{staticClass:"flex m-b-10"},[e("material-select",{ref:"materialSelect",refInFor:!0,staticClass:"m-r-10",attrs:{size:48,"upload-bg":"#fff","enable-domain":!1},model:{value:s.icon,callback:function(e){t.$set(s,"icon",e)},expression:"item.icon"}},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"el-icon-plus"}),e("div",[t._v("未选中")])])]),e("material-select",{ref:"materialSelect",refInFor:!0,attrs:{size:48,"upload-bg":"#fff","enable-domain":!1},model:{value:s.select_icon,callback:function(e){t.$set(s,"select_icon",e)},expression:"item.select_icon"}},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"el-icon-plus"}),e("div",[t._v("选中")])])])],1),e("div",[1==t.content.style?e("el-form-item",{attrs:{label:"名称","label-width":"40px"}},[e("el-input",{staticStyle:{width:"280px"},attrs:{maxlength:"8","show-word-limit":"",placeholder:"请输入名称"},model:{value:s.name,callback:function(e){t.$set(s,"name",e)},expression:"item.name"}})],1):t._e(),"nav"==s.type?e("el-form-item",{attrs:{label:"链接","label-width":"40px"}},[e("link-select",{attrs:{client:"pc"},model:{value:s.link,callback:function(e){t.$set(s,"link",e)},expression:"item.link"}})],1):t._e()],1)]),e("i",{staticClass:"el-icon-close ls-icon-del",on:{click:function(e){return t.onDelete(a)}}})])})),0)],1),t.content.data.length<5?e("el-form-item",{attrs:{"label-width":"0"}},[e("el-button",{staticClass:"add-nav",attrs:{size:"small"},on:{click:function(e){return t.onAdd("nav")}}},[t._v("+ 添加导航")]),e("el-button",{staticClass:"add-server",attrs:{size:"small"},on:{click:function(e){return t.onAdd("server")}}},[t._v("+ 添加客服")])],1):t._e()],1)],1)],1)])],1)}),[],!1,null,"500321a7",null).exports);let tt=class extends l.e{};Object(a.a)([Object(l.c)()],tt.prototype,"content",void 0),Object(a.a)([Object(l.c)()],tt.prototype,"styles",void 0),tt=Object(a.a)([Object(l.a)({components:{Indicator:g.a,WidgetRoot:f.a}})],tt);var et=tt,st=(s("d133"),Object(p.a)(et,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"fixed"},[e("div",{staticClass:"float-nav bg-white"},[e("div",{staticClass:"nav-list"},t._l(t.content.data,(function(s,a){return e("div",{key:a,staticClass:"item flex-col col-center lighter"},[e("img",{staticClass:"icon-img",attrs:{src:t.$getImageUri(s.icon)}}),1==t.content.style?e("div",{staticClass:"xs m-t-5"},[t._v(" "+t._s(s.name)+" ")]):t._e()])})),0),t.content.data.length?t._e():e("div",[t._v("悬浮菜单")])])])}),[],!1,null,"7032b2ba",null).exports);let at=class extends l.e{};Object(a.a)([Object(l.c)()],at.prototype,"content",void 0),Object(a.a)([Object(l.c)()],at.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],at.prototype,"index",void 0),Object(a.a)([Object(l.c)()],at.prototype,"operate",void 0),at=Object(a.a)([Object(l.a)({components:{Contents:st,WidgetPackage:y.a}})],at);var lt=at,ot=(s("f757"),{attribute:q,contents:st,widget:Object(p.a)(lt,(function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"widget-fixed"},[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,"92ab23d8",null).exports});let it=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};it=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:n.a,AttributeItem:c.a,BannerList:d.a}})],it);var rt=it,nt=Object(p.a)(rt,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"轮播图"}},[e("div",[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"图片设置",desc:"最多可添加10张,建议图片尺寸:1020px*440px"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("banner-list",{attrs:{client:"pc",limit:10},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)],1)],1)],1)])],1)}),[],!1,null,"06cd0aeb",null).exports;let ct=class extends l.e{};Object(a.a)([Object(l.c)()],ct.prototype,"content",void 0),Object(a.a)([Object(l.c)()],ct.prototype,"styles",void 0),ct=Object(a.a)([Object(l.a)({components:{Indicator:g.a,WidgetRoot:f.a}})],ct);var dt=ct,ut=(s("18b3"),Object(p.a)(dt,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"banner"},[e("el-carousel",{attrs:{height:"440px",autoplay:"",arrow:"always"}},t._l(t.content.data,(function(s,a){return e("el-carousel-item",{key:a,staticClass:"swiper-item"},[e("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.$getImageUri(s.url),fit:"cover"}})],1)})),1)],1)}),[],!1,null,"13018a1d",null).exports);let bt=class extends l.e{};Object(a.a)([Object(l.c)()],bt.prototype,"content",void 0),Object(a.a)([Object(l.c)()],bt.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],bt.prototype,"index",void 0),Object(a.a)([Object(l.c)()],bt.prototype,"operate",void 0),bt=Object(a.a)([Object(l.a)({components:{Contents:ut,WidgetPackage:y.a}})],bt);var pt=bt,mt={attribute:nt,contents:ut,widget:Object(p.a)(pt,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},gt=s("294c");let ft=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};ft=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:n.a,AttributeItem:c.a,NavList:C.a,MaterialSelect:k.a,LinkSelect:K.a,GSelect:gt.a}})],ft);var vt=ft,_t=Object(p.a)(vt,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"商品组"}},[e("div",[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"标题设置"}},[e("el-form-item",{attrs:{label:"标题名称"}},[e("el-input",{attrs:{placeholder:"请输入标题名称",maxlength:"20","show-word-limit":""},model:{value:t.content.title,callback:function(e){t.$set(t.content,"title",e)},expression:"content.title"}})],1),e("el-form-item",{attrs:{label:"副标题名称"}},[e("el-input",{attrs:{placeholder:"请输入副标题名称",maxlength:"50","show-word-limit":""},model:{value:t.content.subtitle,callback:function(e){t.$set(t.content,"subtitle",e)},expression:"content.subtitle"}})],1),e("el-form-item",{attrs:{label:"更多按钮"}},[e("el-radio-group",{model:{value:t.content.show_more,callback:function(e){t.$set(t.content,"show_more",e)},expression:"content.show_more"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1)],1),e("attribute-item",{attrs:{title:"广告设置"}},[e("el-form-item",{attrs:{label:"是否显示"}},[e("el-radio-group",{model:{value:t.content.show_adv,callback:function(e){t.$set(t.content,"show_adv",e)},expression:"content.show_adv"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1),e("el-form-item",{attrs:{label:"广告图片"}},[e("material-select",{ref:"materialSelect",attrs:{size:80,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.adv_url,callback:function(e){t.$set(t.content,"adv_url",e)},expression:"content.adv_url"}}),e("div",{staticClass:"muted"},[t._v("建议尺寸:1140px*200px")])],1),e("el-form-item",{attrs:{label:"链接地址"}},[e("link-select",{attrs:{client:"pc"},model:{value:t.content.adv_link,callback:function(e){t.$set(t.content,"adv_link",e)},expression:"content.adv_link"}})],1)],1),e("attribute-item",{attrs:{title:"选择商品"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"p-20",staticStyle:{background:"#f9f9f9"}},[e("g-select",{attrs:{content:t.content}})],1)])],1)],1)],1)])],1)}),[],!1,null,"1f559568",null).exports;let ht=class extends l.e{get goods(){const{data:t,goods_type:e,category:s}=this.content;return 2==e?[...Array(s.num).keys()].map(()=>({})):t.length?t:[{},{},{},{},{}]}};Object(a.a)([Object(l.c)()],ht.prototype,"content",void 0),Object(a.a)([Object(l.c)()],ht.prototype,"styles",void 0),ht=Object(a.a)([Object(l.a)({components:{Indicator:g.a,WidgetRoot:f.a}})],ht);var yt=ht,xt=(s("773d"),Object(p.a)(yt,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"goods bg-white"},[e("div",{staticClass:"goods-header flex row-between"},[e("div",{staticClass:"title"},[t._v(" "+t._s(t.content.title)+" "),e("span",{staticClass:"nr muted line-1"},[t._v(t._s(t.content.subtitle))])]),t.content.show_more?e("div",{staticClass:"more lighter"},[t._v("更多 "),e("i",{staticClass:"el-icon-arrow-right"})]):t._e()]),1==t.content.show_adv?e("div",{staticClass:"banner m-b-16"},[e("el-image",{staticStyle:{width:"100%",height:"200px"},attrs:{src:t.$getImageUri(t.content.adv_url),fit:"cover"}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-40"})])])],1):t._e(),e("div",{staticClass:"goods-lists"},t._l(t.goods,(function(a,l){return e("div",{key:l,staticClass:"goods-item"},[e("div",{staticClass:"goods-image"},[e("el-image",{attrs:{src:a.image,fit:"cover"}},[e("img",{staticClass:"image-error",attrs:{slot:"error",src:s("eccb"),alt:""},slot:"error"})])],1),e("div",{staticClass:"goods-name line-2"},[t._v(" "+t._s(a.name||"这里是商品标题")+" ")]),e("div",{staticClass:"goods-price flex-1 flex col-baseline"},[e("div",{staticClass:"price weight-500 m-r-5 xl"},[e("span",{staticClass:"xs"},[t._v("¥")]),t._v(t._s(parseFloat(a.sell_price)||"0")+" ")]),e("div",{staticClass:"muted line-through xs"},[t._v("¥"+t._s(parseFloat(a.lineation_price)||"0"))]),e("div",{staticClass:"flex-1"}),e("div",{staticClass:"muted xs"},[t._v("0人购买")])])])})),0)])}),[],!1,null,"6b4d91d1",null).exports);let At=class extends l.e{};Object(a.a)([Object(l.c)()],At.prototype,"content",void 0),Object(a.a)([Object(l.c)()],At.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],At.prototype,"index",void 0),Object(a.a)([Object(l.c)()],At.prototype,"operate",void 0),At=Object(a.a)([Object(l.a)({components:{Contents:xt,WidgetPackage:y.a}})],At);var wt=At,Ct={attribute:_t,contents:xt,widget:Object(p.a)(wt,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},kt=s("008b");let Ot=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};Ot=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:n.a,AttributeItem:c.a,NavList:C.a,MaterialSelect:k.a,LinkSelect:K.a,ActivitySelect:kt.a}})],Ot);var jt=Ot,Ft=Object(p.a)(jt,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"商品组"}},[e("div",[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"秒杀设置"}},[e("el-form-item",{attrs:{label:"标题名称"}},[e("el-input",{attrs:{placeholder:"请输入标题名称"},model:{value:t.content.title,callback:function(e){t.$set(t.content,"title",e)},expression:"content.title"}})],1),e("el-form-item",{attrs:{label:"更多按钮"}},[e("el-radio-group",{model:{value:t.content.show_more,callback:function(e){t.$set(t.content,"show_more",e)},expression:"content.show_more"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1)],1),e("attribute-item",{attrs:{title:"选择秒杀商品"}},[e("el-form-item",{attrs:{label:"","label-width":"0"}},[e("el-radio-group",{model:{value:t.content.data_type,callback:function(e){t.$set(t.content,"data_type",e)},expression:"content.data_type"}},[e("el-radio",{attrs:{label:1}},[t._v("自动获取")]),e("el-radio",{attrs:{label:2}},[t._v("手动添加")])],1)],1),1==t.content.data_type?e("el-form-item",{attrs:{label:"显示数量"}},[e("slider",{attrs:{min:1,max:10},model:{value:t.content.num,callback:function(e){t.$set(t.content,"num",e)},expression:"content.num"}})],1):e("el-form-item",{attrs:{"label-width":"0"}},[e("activity-select",{attrs:{type:"seckill"},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)],1)],1)],1)])],1)}),[],!1,null,"f17fed34",null).exports;let St=class extends l.e{get goods(){const{data:t,data_type:e,num:s}=this.content;return 1==e?[...Array(s).keys()].map(()=>({})):t.length?t:[{},{},{},{},{}]}};Object(a.a)([Object(l.c)()],St.prototype,"content",void 0),Object(a.a)([Object(l.c)()],St.prototype,"styles",void 0),St=Object(a.a)([Object(l.a)({components:{Indicator:g.a,WidgetRoot:f.a}})],St);var zt=St,Lt=(s("72b5"),Object(p.a)(zt,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"seckill bg-white"},[e("div",{staticClass:"seckill-header flex row-between"},[e("div",{staticClass:"title flex"},[e("i",{staticClass:"el-icon-alarm-clock icon-seckill font-size-24"}),e("span",{staticClass:"m-l-10"},[t._v(t._s(t.content.title))])]),t.content.show_more?e("div",{staticClass:"more lighter"},[t._v("更多 "),e("i",{staticClass:"el-icon-arrow-right"})]):t._e()]),e("div",{staticClass:"goods-lists"},t._l(t.goods,(function(a,l){return e("div",{key:l,staticClass:"goods-item"},[e("div",{staticClass:"goods-image"},[e("el-image",{attrs:{src:a.image,fit:"cover"}},[e("img",{staticClass:"image-error",attrs:{slot:"error",src:s("eccb"),alt:""},slot:"error"})])],1),e("div",{staticClass:"goods-name line-2"},[t._v(" "+t._s(a.name||"这里是商品标题")+" ")]),e("div",{staticClass:"goods-price flex-1 flex col-baseline"},[e("span",{},[t._v("秒杀价")]),e("div",{staticClass:"price weight-500 m-r-5 xl flex-1"},[e("span",{staticClass:"xs"},[t._v("¥")]),t._v(t._s(parseFloat(a.min_activity_price)||"0")+" ")]),e("div",{staticClass:"btn"},[t._v("立即抢购")])])])})),0),t._m(0)])}),[function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"el-carousel__indicators--outside"},[t("li",{staticClass:"el-carousel__indicator el-carousel__indicator--horizontal is-active"},[t("button",{staticClass:"el-carousel__button",staticStyle:{"background-color":"#ff2c3c"}})])])}],!1,null,"0f1bd802",null).exports);let Mt=class extends l.e{};Object(a.a)([Object(l.c)()],Mt.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Mt.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],Mt.prototype,"index",void 0),Object(a.a)([Object(l.c)()],Mt.prototype,"operate",void 0),Mt=Object(a.a)([Object(l.a)({components:{Contents:Lt,WidgetPackage:y.a}})],Mt);var Dt=Mt,It={attribute:Ft,contents:Lt,widget:Object(p.a)(Dt,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};e.a={header:E,adv:w,footer:H,fixed:ot,banner:mt,goodsgroup:Ct,seckill:It}},4539:function(t,e,s){"use strict";s("14d9");var a=s("9ab4"),l=s("1b40"),o=s("2b1d"),i=s("b3ad"),r=s("b76a"),n=s.n(r);let c=class extends l.e{get nav(){return this.value}set nav(t){this.$emit("input",t)}onAdd(){if(-1!=this.limit&&this.nav.length>=this.limit)return this.$message.error(`最多添加${this.limit}个`);this.nav.push({url:"",name:"导航",link:{}})}onDelete(t){this.nav.splice(t,1)}};Object(a.a)([Object(l.c)()],c.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:-1})],c.prototype,"limit",void 0),Object(a.a)([Object(l.c)()],c.prototype,"client",void 0),Object(a.a)([Object(l.c)({default:!0})],c.prototype,"hasImg",void 0),c=Object(a.a)([Object(l.a)({components:{MaterialSelect:i.a,LinkSelect:o.a,Draggable:n.a}})],c);var d=c,u=(s("e560"),s("2877")),b=Object(u.a)(d,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"nav-content"},[e("div",{staticClass:"nav-list"},[e("draggable",{attrs:{animation:"300"},model:{value:t.nav,callback:function(e){t.nav=e},expression:"nav"}},t._l(t.nav,(function(s,a){return e("div",{key:a,staticClass:"nav-item ls-del-wrap"},[e("div",{staticClass:"flex"},[t.hasImg?e("material-select",{ref:"materialSelect",refInFor:!0,staticClass:"m-r-10",attrs:{size:60,"upload-bg":"#fff","enable-domain":!1},model:{value:s.url,callback:function(e){t.$set(s,"url",e)},expression:"item.url"}},[e("i",{staticClass:"el-icon-plus lg"})]):t._e(),e("div",[e("el-form-item",{attrs:{label:"标题","label-width":"40px"}},[e("el-input",{staticStyle:{width:"200px"},attrs:{maxlength:"6","show-word-limit":"",placeholder:"请输入标题"},model:{value:s.name,callback:function(e){t.$set(s,"name",e)},expression:"item.name"}})],1),e("el-form-item",{attrs:{label:"链接","label-width":"40px"}},[e("link-select",{attrs:{client:t.client},model:{value:s.link,callback:function(e){t.$set(s,"link",e)},expression:"item.link"}})],1)],1)],1),e("i",{staticClass:"el-icon-close ls-icon-del",on:{click:function(e){return t.onDelete(a)}}})])})),0)],1),-1==this.limit||-1!=this.limit&&this.nav.length<this.limit?e("el-form-item",{attrs:{"label-width":"0"}},[e("el-button",{staticClass:"add-nav",attrs:{size:"small"},on:{click:t.onAdd}},[t._v("+ 添加导航")])],1):t._e()],1)}),[],!1,null,"fcb2e41a",null);e.a=b.exports},"45b3":function(t,e,s){},"46b2":function(t,e,s){},"4be9":function(t,e,s){},"4cee":function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40"),o=s("0a6d"),i=(s("14d9"),s("e9f5"),s("d866"),s("7d54"),s("ab43"),s("a732"),s("3c50")),r=s("6ddb"),n=s("0cbf");let c=class extends l.e{constructor(){super(...arguments),this.name="",this.pager=new r.a,this.get_type=2}visibleChange(t){t.val&&this.getList()}get selectData(){return this.value}set selectData(t){this.$emit("input",t)}get selectItem(){return t=>this.selectData.some(e=>e.id==t.id)}get selectAll(){const{pager:{lists:t}}=this,e=this.selectData.map(t=>t.id);return!!t.length&&t.every(t=>e.includes(t.id))}set selectAll(t){const{pager:{lists:e}}=this;if(t)for(let t=0;t<e.length;t++){const s=e[t];if(!this.selectData.map(t=>t.id).includes(s.id)){if(this.checkLength())return;this.selectData.push(s)}}else e.forEach(t=>{this.setSelectData(t)})}handleSelect(t,e){if(t){if(this.checkLength())return;this.selectData.push(e)}else this.setSelectData(e)}setSelectData(t){const e=this.selectData.findIndex(e=>e.id==t.id);-1!=e&&this.selectData.splice(e,1)}checkLength(){return this.selectData.length>=this.limit&&(this.$message({message:`最多选择${this.limit}张优惠券`,type:"warning"}),!0)}getList(t){t&&(this.pager.page=t),this.pager.request({callback:n.b,params:{name:this.name,get_type:this.get_type}}).then(t=>{})}};Object(a.a)([Object(l.b)("visible")],c.prototype,"visible",void 0),Object(a.a)([Object(l.c)()],c.prototype,"value",void 0),Object(a.a)([Object(l.c)()],c.prototype,"limit",void 0),Object(a.a)([Object(l.f)("visible",{deep:!0,immediate:!0})],c.prototype,"visibleChange",null),c=Object(a.a)([Object(l.a)({components:{LsPagination:i.a}})],c);var d=c,u=s("2877"),b=Object(u.a)(d,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.pager.loading,expression:"pager.loading"}],staticClass:"detail"},[e("div",{staticClass:"flex row m-b-10 m-l-10"},[e("div",{staticClass:"flex-1"},[e("el-checkbox",{model:{value:t.selectAll,callback:function(e){t.selectAll=e},expression:"selectAll"}},[t._v("全选")])],1),e("div",{staticClass:"flex"},[e("div",{staticClass:"m-r-10"},[t._v("推广方式")]),e("el-select",{staticClass:"m-r-10",model:{value:t.get_type,callback:function(e){t.get_type=e},expression:"get_type"}},[e("el-option",{attrs:{label:"全部",value:1}}),e("el-option",{attrs:{label:"卖家发放",value:2}})],1),e("div",{staticClass:"m-r-10"},[t._v("优惠券搜索")]),e("el-input",{staticStyle:{width:"220px"},attrs:{size:"small",placeholder:"请输入优惠券名称"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(1)}},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1)]),e("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:t.pager.lists,height:"370px",size:"mini","row-key":"id"}},[e("el-table-column",{attrs:{width:"45"},scopedSlots:t._u([{key:"default",fn:function({row:s}){return[e("el-checkbox",{attrs:{value:t.selectItem(s)},on:{change:function(e){return t.handleSelect(e,s)}}})]}}])}),e("el-table-column",{attrs:{label:"优惠券名称","min-width":"180",prop:"name"}}),e("el-table-column",{attrs:{label:"优惠门槛","min-width":"180",prop:"discount_content"}}),e("el-table-column",{attrs:{label:"剩余",width:"100",prop:"surplus_number"}}),e("el-table-column",{attrs:{label:"优惠券状态",prop:"status_desc"}})],1),e("div",{staticClass:"flex row-right m-t-20"},[e("ls-pagination",{on:{change:function(e){return t.getList()}},model:{value:t.pager,callback:function(e){t.pager=e},expression:"pager"}})],1)],1)}),[],!1,null,"188fdf28",null).exports;let p=class extends l.e{constructor(){super(...arguments),this.coupon=[]}valueChange(t){this.coupon=JSON.parse(JSON.stringify(t))}handleConfirm(){this.$emit("input",this.coupon)}};Object(a.a)([Object(l.c)({default:()=>[]})],p.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:!1})],p.prototype,"disabled",void 0),Object(a.a)([Object(l.c)({default:10})],p.prototype,"limit",void 0),Object(a.a)([Object(l.f)("value",{immediate:!0,deep:!0})],p.prototype,"valueChange",null),p=Object(a.a)([Object(l.a)({components:{LsDialog:o.a,Detail:b}})],p);var m=p,g=Object(u.a)(m,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("ls-dialog",{ref:"dialog",staticClass:"coupon-select",attrs:{title:"选择优惠券",width:"900px",top:"20vh",disabled:t.disabled},on:{confirm:t.handleConfirm}},[e("div",{staticClass:"coupon-select__trigger",attrs:{slot:"trigger"},slot:"trigger"},[t._t("trigger",(function(){return[e("el-button",{attrs:{disabled:t.disabled,size:"mini",type:"primary"}},[t._v("选择优惠券")])]}))],2),e("div",{staticClass:"p-l-20 p-r-20"},[e("detail",{ref:"detail",attrs:{limit:t.limit},model:{value:t.coupon,callback:function(e){t.coupon=e},expression:"coupon"}})],1)])}),[],!1,null,"486e7714",null).exports,f=s("b76a"),v=s.n(f);let _=class extends l.e{get selectData(){return this.value}set selectData(t){this.$emit("input",t),this.$emit("change",t)}handleDelete(t){this.selectData.splice(t,1)}};Object(a.a)([Object(l.c)({default:()=>[]})],_.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:!1})],_.prototype,"disabled",void 0),Object(a.a)([Object(l.c)({default:10})],_.prototype,"limit",void 0),_=Object(a.a)([Object(l.a)({components:{CDialog:g,Draggable:v.a}})],_);var h=_,y=(s("5a19"),Object(u.a)(h,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"select"},[e("c-dialog",{attrs:{limit:t.limit,disabled:t.disabled},model:{value:t.selectData,callback:function(e){t.selectData=e},expression:"selectData"}},[t._t("trigger")],2),e("div",{staticClass:"m-t-20"},[e("div",{staticClass:"select-list"},[e("draggable",{attrs:{animation:"300"},model:{value:t.selectData,callback:function(e){t.selectData=e},expression:"selectData"}},t._l(t.selectData,(function(s,a){return e("div",{key:a,staticClass:"select-item ls-del-wrap"},[e("div",{staticClass:"flex m-b-16"},[e("div",{staticClass:"lighter label"},[t._v("名称")]),e("div",[t._v(t._s(s.name))])]),e("div",{staticClass:"flex"},[e("div",{staticClass:"lighter label"},[t._v("门槛")]),e("div",[t._v(t._s(s.discount_content))])]),e("i",{staticClass:"el-icon-close ls-icon-del",on:{click:function(e){return t.handleDelete(a)}}})])})),0)],1)])],1)}),[],!1,null,"8776978c",null));e.a=y.exports},"4e40":function(t,e,s){"use strict";s("055f")},"4fc6":function(t,e,s){"use strict";s("1b20")},5057:function(t,e,s){"use strict";s("3fa8")},"51f0":function(t,e,s){"use strict";s("6bb6")},5203:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAOVBMVEUAAAAwMDAyMjJNgP89dPouLi4+dPowMDA+dPovLy8vLy8vLy8vLy8wMDA2NjYvLy8zMzMwMDA+dPooa0fBAAAAEXRSTlMA9QoK9Qf49Ovn5uKinyYjFKuU/v0AAAClSURBVFjD7ZaxDoQgEEQPcFUQUe//P/YwNyFoNclamX3V7CsmgYLlY7wJ8UBo11NyciDlQrvGthwdy8Y7sB6u6RpX2gFJ5wxqTEK7P95Vv4uvyH5mTzsUTBhQNnnetcH5PpPOCqzACqzgjQXKR1X/rEu8LoworNOvNv1yBSVHB2IurNN+MAzjRrhBOxDmcegY50A7FAzfC0Mgnb5AfQT1JRrGU/wALPsyTYZ2gE8AAAAASUVORK5CYII="},5264:function(t,e,s){},"529f":function(t,e,s){"use strict";s("0ff6")},5571:function(t,e,s){},"569c":function(t,e,s){"use strict";s("9177")},"582d":function(t,e,s){t.exports=s.p+"img/coupon2.6de467b2.png"},"5a19":function(t,e,s){"use strict";s("684b")},"601f":function(t,e,s){"use strict";s("e15d")},"603e":function(t,e,s){},6052:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAA21BMVEUAAABGSE0ZG0cwMDAwMDAuLi4uLi4vLy8uLi4vLy8wMDA9dPouLi4vLy8uLi4vLy9Bd/8+c/kvLy8vLy8vLy8wMDAvLy8yMjIvLy88c/ktLS0qKiozMzMxMTEvLy89c/swMDAuLi4uLi0uLi4vLy8sLCwrKys+dPo9dPovLy8uLi4uLi4uLi4tLS0uLi4uLiovLy8vLy8vMDAvLy8vLy8vLy8wMDAuKyIvLy8uLi4/ev4wMDAwLis3UZQ+dPo9dPo9c/o/dvcvLy8wMDA8cvlBcvowMDA+dPs0R3eJGsFlAAAARnRSTlMAAwH8+QZE885SCf23nXoWCfzp48OuXBPUTTgmIRjfsaSRhIA9Mi349Ne8uot1bk3s2rOnmVkd/shkRxD79c/Ms6dzalUvbbMDQgAAAsdJREFUWMPtVmlzokAQnQa5FCGiovFaNYmJGs+oufY+hvz/X7RvxqK2rHUGo1/ywa4SkO73+nXPBTvbhzbDICLjaDRZJB9wN45Ab69hK9zSvJODAArj4qgyLNcro+K6LV69p3RmeL7D/9l87BEoDpdvj4EyczlToOUtN7YPLYNYvifQXHBEnUiyiEsvz+ggfHvETQBM98puNDfNhn3lmvKN34Y3G99ccBOA6g1LFRvspiooeH2QxYDYtivwrm2BLDU4bFcyQEMGPr8UeL+223NCYb5wVAkx2gLuRdjKkh3fHRmrKFz3jLT4G9TKx3vaDUbLhy/XYKSbQFWOQjeM9rKHQ3gftAJsjiQeI4V7xmGYUOoWFpHCh1qVQl9KIPUQlJFhpgyABAgchow0FfByXlNirQ4GW01wBYVFzUBbssaAkcrdhXvNSCPhmZvqFCQH0dMSeCCoKntIFbivGeknGndJRWA9YcE0TiBg2QquQVBRBVjogZPRgzVSPCjdcpCetQQ/QbBSj8IE7qV2sSyRYsqUTRhgJ3VqeFDhW2WuXdDWEBJ+adZCDAFPeWTQzeU6JKgWWwcJeohTEgzmYJgoIiw2Bd5pgkm3JSLkWrEjNRzQ6zZFUIcRGDotRvs62BG+TcauGstTocWs/3bllgs8j1O8po9gKNuAUMqBR0zisnD0M/CIFZsC+tCvyU8Uadita30H+Me3Hxf4kyHhdYVQk0fTQT5t/2Aq0z++lZJPF8zI1BBsj3On0gviOA56FUce95+/JEkp+Q4NmQzeQiJS2/ItZi93hVLhMA2vwVzAcjkUgyueo6DG2OVtoYAqMjWIkyWcjCKeWuQHIROjcnmXHKQBwfg1vUm/2+32A6+Zvko1HPalt1PVNqXUcFsqvOglpCA5BeQtDZcakuTuDwiONGj49vX30Xip4QI9PO0TXuBPZDjb2T6i/QWvqlvzzBkC3AAAAABJRU5ErkJggg=="},6081:function(t,e,s){},"61ba":function(t,e,s){"use strict";s("3865")},6250:function(t,e,s){"use strict";s("bba2")},6351:function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40"),o=s("0a6d");let i=class extends l.e{constructor(){super(...arguments),this.select=0}valueChange(t){this.select=t}onConfirm(){this.$emit("input",this.select)}};Object(a.a)([Object(l.c)()],i.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:"选择风格"})],i.prototype,"title",void 0),Object(a.a)([Object(l.c)()],i.prototype,"data",void 0),Object(a.a)([Object(l.c)({default:"33.3%"})],i.prototype,"itemWidth",void 0),Object(a.a)([Object(l.f)("value",{immediate:!0})],i.prototype,"valueChange",null),i=Object(a.a)([Object(l.a)({components:{LsDialog:o.a}})],i);var r=i,n=(s("e674"),s("2877")),c=Object(n.a)(r,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("ls-dialog",{attrs:{title:t.title,width:"900px",top:"20vh"},on:{confirm:t.onConfirm}},[e("div",{attrs:{slot:"trigger"},slot:"trigger"},[t._t("trigger")],2),e("el-scrollbar",{staticClass:"ls-scrollbar",staticStyle:{height:"500px"}},[e("div",{staticClass:"style-select"},[e("el-radio-group",{model:{value:t.select,callback:function(e){t.select=e},expression:"select"}},[e("div",{staticClass:"flex flex-wrap",staticStyle:{"align-items":"stretch"}},t._l(t.data,(function(s,a){return e("div",{key:a,staticClass:"flex item flex-col",style:{width:t.itemWidth}},[e("div",{staticClass:"item-img flex col-center m-b-20 flex-1",class:{select:t.select==s.value},on:{click:function(e){t.select=s.value}}},[e("img",{staticStyle:{width:"100%"},attrs:{src:s.img,alt:""}})]),e("el-radio",{attrs:{label:s.value}},[t._v(t._s(s.text))])],1)})),0)])],1)])],1)],1)}),[],!1,null,"69757d98",null);e.a=c.exports},"647d":function(t,e,s){"use strict";s("9540")},"65c7":function(t,e,s){},"66bb":function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40");let o=class extends l.e{};Object(a.a)([Object(l.c)()],o.prototype,"title",void 0),Object(a.a)([Object(l.c)()],o.prototype,"desc",void 0),o=Object(a.a)([l.a],o);var i=o,r=(s("9059"),s("2877")),n=Object(r.a)(i,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"attribute-item"},[t.title?e("div",{staticClass:"title flex nr"},[t._v(" "+t._s(t.title)+" "),e("span",{staticClass:"muted xs flex-1 m-l-8"},[t._v(t._s(t.desc))]),t._t("right")],2):t._e(),e("div",{staticClass:"content"},[t._t("default")],2),e("div",{staticClass:"footer"})])}),[],!1,null,"a332dc1a",null);e.a=n.exports},"66e1":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAA4VBMVEUAAAAzMzMzMzNeXslAc/ozMzM2NjZAf/8zMzM/cvpBc/ozMzMxMTEyMjIzMzMyMjIyMjIyMjJBev8yMjIyMjI/cvo/c/pAcvoyMjIzMzNAcvkzMzMyMjIxMTEuLi4yMjJAcvoyMjIyMjJAc/lBdPtBcvpAcvcvLy80NDQzMzMyMjIyMjI/c/o/cvkyMjI0NDRAcvk/c/o/c/oyMjI/cvtAcvoyMjIyMjIyMjJBcvs/c/pAcvlBcvtAcfsxMTE0NDQwMDBEcvY9bflHcf8/cvlAcvkzMzM/cvozMzMzMzNAc/o/LZ1lAAAASXRSTlMACvUC/PsEBPjNM9sYkezwsTkIzo3278pmHoZzXSse59HJYVlGLiEaDeHTvp2IVUnm3dm6saill31ycVxSQz4iIB4VErm4qZ03Mn0hnQAAAnpJREFUWMPNl4lymzAQhhcWBA2XMT7AV27bSRO7bdpcbZP0rvT+D9SVyjg+Ah7EZJJ/xjM26/30ayXEAutChGIhbNNDVkZAGGVQIgYpN68NYEVh1jftFLCY73vc5vt/geGTYeOKwt4EsBCQnXDb5m6fPWGCgX8ho55fZmG+K//D3w43TDAYJjK2Oy+vpP+by7+Z/bVKMJiHMnA6LM+n4GxhAnHpeurKyxcTxS1HTC7t/yYY4ALb4pyoV6u+ChdrsFoJBtNLdeE6N7UdkTVUJaKUUQqD+0T9muWOtgopLQ3VmI17wsVqcU/uSu2zdfhDg8tphynMTE7an2wMs1Z9Zixryoy+SQTKjLi04rOpsSy2dmfFrSQyl+Waoc0fFUXuSjRMgnhp+Glg8iLZRQE3MCCX0eC2yyvKtXmD5QYCVXHXrCBXrXNLFQ/u5OjewDcqyB940kWsljbgLvcyglUQQuZxN7dwSqwDQlUSgwO5O2SWEZEXHyprRDMPDQmgJTSN6gCV98wAdBysA0CUH30AwrfDL98JoQlAOH4vxN5XcFB3Cp9E2xLivEkILYCzJ4SwLNE9JoIWoCssRWjfAjqoAXhD6R1JEB/HZEIPcHSmTLw7dMDRAuzAZ2XCOvsBjh4Axj+FRYgPR4BaAAeaN21looeAGgBEB3a6qhI9PQAgmejRd9FpAtYG1JrCOaBeEW9rFRHGvxbLWGcj/aGN9CJbuSPE4mbSv51vgPJf4EDRPtL0D1X9Y13/wVL/0fZKns71Gox6LU6iGtaWbLJGVZusUd5kESqu1ebVbjTrt7qKEJTlb2+2SXGQhBXmoNr9jReObSp94WAIFYUMlP4BwunDw+y4+9kAAAAASUVORK5CYII="},"67b7":function(t,e,s){},"684b":function(t,e,s){},"69ce":function(t,e,s){t.exports=s.p+"img/sort_three2.49341171.png"},"6a3a":function(t,e,s){"use strict";s("ea4b")},"6ae0":function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40");let o=class extends l.e{get select(){return this.value}set select(t){this.$emit("input",t)}};Object(a.a)([Object(l.c)({default:()=>[]})],o.prototype,"data",void 0),Object(a.a)([Object(l.c)()],o.prototype,"value",void 0),o=Object(a.a)([l.a],o);var i=o,r=(s("b5b0"),s("2877")),n=Object(r.a)(i,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"style-chose"},[e("div",{staticClass:"chose-list flex flex-wrap"},t._l(t.data,(function(s,a){return e("div",{key:a,staticClass:"chose-item",class:{active:t.select==s.value},on:{click:function(e){t.select=s.value}}},[e("div",{staticClass:"chose-content"},[e("span",{style:{"padding-left":s.icon?"8px":"0"}},[t._v(t._s(s.name))])])])})),0)])}),[],!1,null,"7e8c0595",null);e.a=n.exports},"6b1a":function(t,e,s){"use strict";s("a790")},"6bb6":function(t,e,s){},"6bc3":function(t,e,s){},"6e32":function(t,e,s){"use strict";s("89f2")},7013:function(t,e,s){},"705e":function(t,e,s){t.exports=s.p+"img/sort_one3.ed870012.png"},7114:function(t,e,s){},7150:function(t,e,s){"use strict";s("d934")},"726b":function(t,e,s){},"72b5":function(t,e,s){"use strict";s("5571")},"72de":function(t,e,s){"use strict";s("14a1d")},"768b":function(t,e,s){},"76e7":function(t,e,s){},"773d":function(t,e,s){"use strict";s("46b2")},7925:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAAIVBMVEUAAADm5ub////m5uZNgP89dPrm5ubm5uY+dPrm5uY+dPpyyzdoAAAACXRSTlMACgH1Cvb46+vZtGYSAAAAVklEQVRIx2MYBUQDJTyAOBME8QCgNBNjmTFOkC6gAFRgORMnmDx0FOD3JqGAojyyhg9wwQNA8iytoThBhANIQdQqnGApYQUErSDoyOEDRsuH0fJhpAEAKLA9OM1ECSMAAAAASUVORK5CYII="},"7b90":function(t,e,s){},"7cd4":function(t,e,s){"use strict";s("3dfa")},"7e85":function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40");let o=class extends l.e{get enabledBtn(){return t=>this.operate.includes(t)}get isUp(){return this.enabledBtn("moveup")&&0!==this.index&&!this.forbid(-1)}get isDown(){return this.enabledBtn("movedown")&&this.index!==this.pagesData.length-1&&!this.forbid(1)}get selectIndex(){return this.$store.state.decorate.selectIndex}set selectIndex(t){this.$store.commit("setSelectIndex",t)}get pagesData(){return this.$store.state.decorate.pagesData}set pagesData(t){this.$store.commit("setPagesData",t)}get hidden(){const{pagesData:t,index:e}=this;return!t[e].show}forbid(t){const e=this.pagesData[this.selectIndex+t];return e&&e.forbid}setSelect(){this.selectIndex=this.index}onHidden(){if(!this.enabledBtn("hidden"))return;const{pagesData:t,selectIndex:e}=this;t[e].show=t[e].show?0:1}onDelete(){this.enabledBtn("delete")&&(this.pagesData.splice(this.index,1),this.pagesData.length==this.selectIndex&&this.selectIndex--)}onCopy(){if(!this.enabledBtn("copy"))return;const{index:t}=this,e=JSON.parse(JSON.stringify(this.pagesData[t]));this.pagesData.splice(t,0,e)}onMove(t){const{index:e,isUp:s,isDown:a}=this;t<0&&!s||t>0&&!a||(this.pagesData[e]=this.pagesData.splice(e+t,1,this.pagesData[e]).pop(),this.selectIndex=e+t)}};Object(a.a)([Object(l.c)()],o.prototype,"index",void 0),Object(a.a)([Object(l.c)({default:()=>["hidden","delete","copy","moveup","movedown"]})],o.prototype,"operate",void 0),o=Object(a.a)([Object(l.a)({})],o);var i=o,r=(s("035e"),s("2877")),n=Object(r.a)(i,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"widget-package",on:{click:function(e){return e.stopPropagation(),t.setSelect.apply(null,arguments)}}},[e("div",{staticClass:"widget-suspension"},[e("div",{staticClass:"widget-mask",attrs:{"data-index":t.index,"data-type":"widget"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.selectIndex==t.index,expression:"selectIndex == index"}],staticClass:"mask",attrs:{"data-index":t.index,"data-type":"widget"}},[e("div",{staticClass:"widget-btns"},[e("el-tooltip",{attrs:{effect:"dark",content:t.hidden?"显示":"隐藏",placement:"right"}},[e("div",{staticClass:"widget-btns__item",class:{disable:!t.enabledBtn("hidden")},on:{click:function(e){return e.stopPropagation(),t.onHidden.apply(null,arguments)}}},[e("i",{staticClass:"iconfont",class:[t.hidden?"icon_show":"icon_hide"]})])]),e("el-tooltip",{attrs:{effect:"dark",content:"删除组件",placement:"right"}},[e("div",{staticClass:"widget-btns__item",class:{disable:!t.enabledBtn("delete")},on:{click:function(e){return e.stopPropagation(),t.onDelete.apply(null,arguments)}}},[e("i",{staticClass:"el-icon-delete"})])]),e("el-tooltip",{attrs:{effect:"dark",content:"复制组件",placement:"right"}},[e("div",{staticClass:"widget-btns__item",class:{disable:!t.enabledBtn("copy")},on:{click:function(e){return e.stopPropagation(),t.onCopy.apply(null,arguments)}}},[e("i",{staticClass:"el-icon-document-copy"})])]),e("el-tooltip",{attrs:{effect:"dark",content:"上移组件",placement:"right"}},[e("div",{staticClass:"widget-btns__item",class:{disable:!t.isUp},on:{click:function(e){return e.stopPropagation(),t.onMove(-1)}}},[e("i",{staticClass:"el-icon-arrow-up"})])]),e("el-tooltip",{attrs:{effect:"dark",content:"下移组件",placement:"right"}},[e("div",{staticClass:"widget-btns__item",class:{disable:!t.isDown},on:{click:function(e){return e.stopPropagation(),t.onMove(1)}}},[e("i",{staticClass:"el-icon-arrow-down"})])])],1)])]),e("div",{staticClass:"widget-content"},[t._t("default")],2),t.hidden?e("div",{staticClass:"widget-hidden white flex row-center"},[t._v("已隐藏")]):t._e()])])}),[],!1,null,"d640c988",null);e.a=n.exports},"7f2c":function(t,e,s){t.exports=s.p+"img/reviews.c365510c.png"},8477:function(t,e,s){},"85bb":function(t,e,s){"use strict";s("3392")},"86dd":function(t,e,s){t.exports=s.p+"img/notice_icon.f1ac9c9a.png"},"870f":function(t,e,s){},8842:function(t,e,s){},"89f2":function(t,e,s){},"8b09":function(t,e,s){"use strict";s("65c7")},"903c":function(t,e,s){},9059:function(t,e,s){"use strict";s("4167")},9177:function(t,e,s){},"91cd":function(t,e,s){"use strict";s("f5b6")},"92da":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAflBMVEUAAAATExMwMDAyMjIwMDAwMDAwMDA6Ojpqav8vLy80NDRKfP8vLy89dPovLy8vLy8vLy8wMDAnJycuLi4wMDAvLy8vLy8wMDAuLi4wMDAvLy8sLCwrKysqKio+dPovLy89dfouLy8wMDA/c/k9dPlDa/8+dPk9c/swMDA+dPrkCnP9AAAAKHRSTlMAAvYK+x/gCALjFgnc9eyUiBoGyvTUmpBeWzY0Kgz2x9SysYqFE+blYx6eTQAAAXBJREFUWMPtlsuSgjAQRbsxGGEYXo5vxbdm/v8HJxBDkoLqKSouXHBcSO7tvlWEkAAjI+9jZqE1tCA01Q6dkSkwo45m+LLQGp+0cEJr2m/P6vtF9bw1ETyPgp+gRv5FOe/VFDO4/jpcYYaQCyZamMgB+zTVfz+5Aac7QLxwixdxr4Y6oDLt1aAA71vQk/gwk/gYMImej9F/Ifku5Q8EHYa4yicUyjVD5BMLjkqlXdOP22yeBhbpPNtKmXbbfuArJjqwFUekXd1/uAjG3KJGuBwAafcVkElBioEFE7WWAdKu6t8xwUSyLuyVXqwTIeUd0C42Acu6IgR3pUNY1yyBdtUcHeX1Bkp0KGEj5SOWc8ItAeWvSIRI94DggLBPhUjieEq4RRMQypJp2Clp9KgoIsIN/w+IYyJgOgaMAe8J8F/K/i+T9+vsu6F4b2m+m6re1s/9G/f5AEi7+mAijg7S9T3afA9Xz+N9+AfGp38gjXjwByIXbL8hHqBzAAAAAElFTkSuQmCC"},9361:function(t,e,s){},"94a8":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAnFBMVEUAAAAaGhoHBwcAAABIav8+dPo9dPsICAhBc/cICAgHBwcHBwcFBQUICAgHBwcHBwc9dPo9dPoHBwcGBgYHBwcJCQkGBgY+cvpGcv8ICAg+c/o8c/pCcfgHBwdAc/8ICAgICAg+c/o+cfoGBgYJCQkHBwcICAg9dPo9dPk+c/oGBgYHBwdCcvs6cPs9dPk9cvkGBgYHBwcHBwc+dPpc0f2yAAAAMnRSTlMACfUEA/zh+x78bvcy/fBx8tXSxrVaEqYT65VKIyIKoaBua1AtJfnbycanczo5eXlRJtGmHEsAAAGtSURBVFjD7VfJdoMwDBTGNAGzJEBok2Zttjbdxf//WwU9ONAGePJ7pYcMcAFpLFvCHsEVNdiGRnbxWI2wmxn8KI1DcRlqGqeRf3H4xUlgB6jVAuzf/CchBmrQ5j5QAYYTzaD9Pfro0iMaQRYuDeKRQ338AN0Ak2iXWQ3IfC/BwMXgRwyfIbooPAtaYXmCTMN9LYATDlBswW6tBLL4GJDxuurvF6xe10KKimh9sCsrqDCxoCOsBFVtuJSCetZvWkMg87TyKqb87aAzfMpkbJ/HFCKKrDtBRiU7tc4JBBF0WwJt/wcEkm6zCOQSJJuAXO/HowcJkh2BfMqd/PYOJIuA3IY3uePk4xeQkk9A12hDDHyC3NHT4BGU03gFySPIj+/lQpTZYBHcDOePBUMxDR7BHJYzp5zGECQrgqKgRjmtxgzAlMB8Cn0s4vHtO40bSmMvhaRLubefSf/O5hsKf0vrbVMlNG/r/+xkYh+u5se7ucAwlzhaZEVskUVYU1CHjjJve6jLPMLeTGhqqev5PKmrxbbLENumcl83HCvFbzh0yzNVjJaH13Tx274rqvgC4LpnpjW9Tm0AAAAASUVORK5CYII="},"94ae":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAA51BMVEUAAAAyMzMwMDBtccc9dPpIafw9dPowMDAwMDAwMDAwLi0vLy8+dPszLy8+cvowMDA+dPovLy8vLy9Hdv89dfw9cfIvLy8uLi4tLS0zMzMvLy9CcfovLy8vLy9AdPpBcfw9c/o9c/pAcfo9dPo+dPowMDA+c/o9c/w8c/s9cvsqKipBb/o9dPo9dPsvLy89c/o+dPo9c/o+c/o+c/s9cvk9cvo/dfswMjYuLi4+cvs+dPw9c/0xMTEuLi5CcfY2VZg9cfEuLi48cPA9c/o9buw9bOs9c/g7cvs8Ys4wMDA+dPoxMzgxMz0ZJrtOAAAASXRSTlMACvUC/AP6/Aj5/vjkBZLs9u6RB/7+2885GY0hYV0wCrqmNfDfr4BUTDgeFezn49XMw4xwaVsm/Oeul4VZWRsV6uLYvZZ9R0EvEyGm9QAAApdJREFUWMPtlnt3mkAQxUcHECM+Ij7jOxqNMW18p0napO+WTb7/5+llUyDnKAuV/ukVheOZ+2N2dmGHjjpqV8zJIhiHmVLIRISS0CjXi7l0qHLFermhsKfKOSdSuXIq1H/hZLIZpVsGXORDxl92MrBn0wplHTfmjHifv5F1Mk6t00wp1OzUEJRtEO8BnDlZp3ZFEdN0VUPY3hTydbDblFdPf57aCKvvizJPUeFmiN1mHCTVxEwVzX1zkHacdCrs9rqO37A401QDmGbLxWI5Iw7ifB/U+XD6iTgcwNS6EZomblrEAYClzxv7F5NUgIIwNM0QhbcA6Xtv+n+ohmCPhNTIpt34aACTbQkpyyY+AAANXocwIMbn6Z8BOnWHAhp2iZnp+8tJTADr7A1i2res/hR+ncbV25gABLNP0Fst3T3RulJ9jgdg4u4j6cGTwK5/UooL0Kl3XxpdkpcDhOvzoYgHYAwbq0+ULkEKmC1LaLEASHY1FIZhvCUwPc7B1H6cRk0j41Z3AvMuEH99DsKrv9d3n4iHfNQ6gP+n5fqNfgmEd11JYHaXExZT5EpE9R4EVp6wNrTSBM7IwfUvXWi/Fwmg7UJo8H/bwjfGpcyBaeXmP59RJGBzLdzijRku90HWZA40QVbCagGqBjzdy/RHv1AKuZgKMofttOQVVAk4SX+t4I5iMPNKr//NwfIXhRrwXK0g/XWwhzOzJLjfNdkUAyDmsmaevBwMMSamOIBCz/cHOaCsBeYYgJfPk50WRM6FuLOJKRpw+xvxe16Kk03P8x/0TmSZRwIA6ShLCMDbIPzNValgc/V9ULtY/EgcbO8qBds7S5+3uR7UYMD3P1scmUKiJgvKx27zkjaaCVvd5M124nb/qKN29AfgfbQ6cLavZwAAAABJRU5ErkJggg=="},9540:function(t,e,s){},9588:function(t,e,s){"use strict";s("e9f5"),s("db9b");var a=s("9ab4"),l=s("1b40");let o=class extends l.e{};o=Object(a.a)([l.a],o);var i=o,r=(s("72de"),s("2877")),n=Object(r.a)(i,(function(){this._self._c,this._self._setupProxy;return this._m(0)}),[function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"mouse-cover flex row-center col-center"},[t("span",[this._v("释放鼠标将组建添加到此处")])])}],!1,null,"1bbc8333",null).exports,c=s("b76a"),d=s.n(c),u=s("ac05"),b=s("4466");let p=class extends l.e{constructor(){super(...arguments),this.widgets="mobile"==this.client?u.a:b.a}get dragTarget(){return this.$store.state.decorate.dragTarget}get pagesInfo(){return this.$store.state.decorate.pagesInfo}get pagesData(){return this.$store.state.decorate.pagesData}set pagesData(t){this.$store.commit("setPagesData",t)}get dragIndex(){return this.$store.state.decorate.dragIndex}set dragIndex(t){this.$store.commit("setDragIndex",t)}get widgetData(){return this.$store.state.decorate.widgetData}set widgetData(t){this.$store.commit("setWidgetData",t)}get dragPosition(){return this.$store.state.decorate.dragPosition}set dragPosition(t){this.$store.commit("setDragPosition",t)}get selectIndex(){return this.$store.state.decorate.selectIndex}set selectIndex(t){this.$store.commit("setSelectIndex",t)}get showMouseCover(){return(t,e)=>!this.forbid&&!(this.dragIndex!==t||!this.widgetData||e!=this.dragPosition)}get bodyStyle(){const{background_color:t,background_image:e,background_type:s}=this.pagesInfo.common;switch(s){case"0":return{};case"1":return{"background-color":t};case"2":return{"background-image":`url(${e})`}}}get forbid(){return this.pagesData[this.dragIndex]&&this.pagesData[this.dragIndex].forbid}draggableEnd(t){const{newIndex:e,oldIndex:s}=t;this.dragIndex=-2,s!=this.selectIndex?s>this.selectIndex&&this.selectIndex>=e?this.selectIndex++:s<this.selectIndex&&this.selectIndex<=e&&this.selectIndex--:this.selectIndex=e}drop(){"widget"===this.dragTarget&&(this.forbid||this.$store.dispatch("addWidget"))}dragover(t){const e=parseInt(t.target.dataset.index);if("NaN"!==String(e)){if(this.dragIndex=e,"widget"==t.target.dataset.type){const e=parseFloat(t.offsetY),s=parseFloat(String(t.target.offsetHeight/2));this.dragPosition=e<=s?"top":"bottom"}-1==e&&(this.dragPosition="bottom")}}onMove(t){return!t.relatedContext.element.forbid}};Object(a.a)([Object(l.c)({default:!1})],p.prototype,"immersive",void 0),Object(a.a)([Object(l.c)({default:!1})],p.prototype,"disabledDrag",void 0),Object(a.a)([Object(l.c)({default:"mobile"})],p.prototype,"client",void 0),p=Object(a.a)([Object(l.a)({components:{MouseCover:n,Draggable:d.a}})],p);var m=p,g=(s("218b"),Object(r.a)(m,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"decorate-center flex-1"},[e("el-scrollbar",{staticClass:"ls-scrollbar",staticStyle:{height:"100%"}},[e("div",{staticClass:"decorate-phone",class:{immersive:t.immersive,pc:"pc"==t.client}},["mobile"==t.client?e("div",{staticClass:"phone-header",on:{click:function(e){t.selectIndex=-1}}},[e("div",{staticClass:"phone-title nr weight-500"},[t._v(" "+t._s(t.pagesInfo.common.title)+" ")])]):t._e(),"pc"==t.client?[e("div",{staticClass:"page-top"}),e("div",{staticClass:"page-header"}),e("div",{staticClass:"page-footer"})]:t._e(),e("div",{staticClass:"phone-body",style:[t.bodyStyle],attrs:{"data-index":-1},on:{dragover:function(e){return e.preventDefault(),t.dragover.apply(null,arguments)},drop:t.drop}},[t._t("header"),e("div",{staticClass:"decorate-index"},[e("draggable",{attrs:{animation:"300",filter:".forbid",disabled:t.disabledDrag,move:t.onMove},on:{end:t.draggableEnd},model:{value:t.pagesData,callback:function(e){t.pagesData=e},expression:"pagesData"}},t._l(t.pagesData,(function(s,a){return e("div",{key:a,class:{forbid:s.forbid},attrs:{"data-type":"pages"}},[t.showMouseCover(a,"top")?e("mouse-cover"):t._e(),e(t.widgets[s.name].widget,{tag:"component",attrs:{styles:s.styles,content:s.content,index:a,operate:s.operate}}),t.showMouseCover(a,"bottom")?e("mouse-cover"):t._e()],1)})),0),e("div",{staticClass:"empty-pages",attrs:{"data-index":-1}},[t.showMouseCover(-1,"bottom")?e("mouse-cover"):t._e()],1)],1),t._t("footer")],2)],2)])],1)}),[],!1,null,"22ab09f4",null));e.a=g.exports},"96e2":function(t,e,s){},"977d":function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40");let o=class extends l.e{};Object(a.a)([Object(l.c)()],o.prototype,"styles",void 0),o=Object(a.a)([l.a],o);var i=o,r=s("2877"),n=Object(r.a)(i,(function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"widget-root",style:{padding:`${this.styles.padding_top}px ${this.styles.padding_horizontal}px ${this.styles.padding_bottom}px`,"background-color":this.styles.root_bg_color}},[this._t("default")],2)}),[],!1,null,"47b8c1f9",null);e.a=n.exports},"9c36":function(t,e,s){},"9c89":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAdVBMVEUAAAAzMzMwMDAvLy9Cev8wMDA9dPozMzMvLy9Fev8+dPo9dPowMDAuLi4+cvktLS0zMzM+cvk9c/lCcvowMDAwMDAvLy89c/o+c/o9cvkwMDA+cvovLy8qKipFdf8+dPoxMTEvLy8/c/o+dfhDcPcwMDA+dPqQnH7SAAAAJXRSTlMACvX4BPz7BY8J9+/sz245GXJXMv7c2dHGta+hYR4S4l5dNSUiO4ajhAAAAXlJREFUWMPtl+uOgjAQhQstlbZcRQVE8dp5/0fcqTGpuLvZWfvHzXISlMucr9MGyIHNei8twksXEUnf2cs0z3j8o3iWp+UX9ijlliyeRp/8W5vwhGZ3hdvneaQ2QTuPCeLW1abTRS35KrGbYxURVB03NlnxEm2PDXC73jOi9mvLn1rIbWJ3iCTeBTsszx+rowznXzGyKm5tFj0CYmvjiOT19TPgzQEK9exRKCpAHaQ249Q/Gi0PiggQLYBspoBGArSCOoUeJNRM+OuC1XiqJ05BsAI0dGqyAh2eKpggAs7at+Ab0GciADVgvVwy4Qzud4mHMPziPrgYN2Kh7v0XriNzoQNwSEALdEUzjk3R3Q6wIQrAryNIiZvW8rbnV5AEcD0YAGd2EADjxicBPOE6aLhLD1fnJwK8mrpvjWn7unntaRRuU+r29xLA28Tfe6HMgP8KCAgY4REnPGT5mHeixbyTj3nhQdM3ERB1A8J2QNwP/eAI/+SZ9Vb6ANVpSTVuGfYhAAAAAElFTkSuQmCC"},"9cec":function(t,e,s){t.exports=s.p+"img/sort_two.6db6fbb4.png"},"9d0c":function(t,e,s){"use strict";s("8477")},"9f22":function(t,e,s){"use strict";s("9361")},a0b0:function(t,e,s){},a332:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAA4VBMVEUAAABQUFAwMDAuLi4tLS1mZv8zMzMvLy8wMDBFef8+dPowMDAvLy8yMjI+dPpAf/8+dPoxMTE9dPovLy8vLy8sLCw9dPouLi4+cvouLi4+c/kuLi4uLi5Bc/oqKio+dPouLi4vLy89cvkvLy8uLi4vLy8xMTEvLy8uLi4+c/ovLy8+c/ovLy8uLi4uLi4+cvouLi49c/srKysqKiotLS1Fdf8vLy8vLy8wMDAwMDA+dPk+cfk8c/kuLi5DcPc9dPs9dPo9dPowMDA/cvouLi4wMDA+dfhAcfhAeP8wMDA+dPoqRy3HAAAASXRSTlMAA/zNMwIK9f4J/PnyB/sE9xru7NM59Lhy3m9qVDEr0srDtZeRiiPk2MavoKB6dG5INjEoFhIS5oZiWlpQRCLl4cWpmk1KJSQQlN32YAAAAopJREFUWMPtltlS6kAQhicj2RMgJIisgqwi4AKiHo9n33re/4FOZ1LWZKPKGby0r0hR/5c/3T3dQz5CIrSjtJrPCcr6oDUfN4/QDyKgYD4RTVF/EwKlLphNoinpuy7qAT2slOT+BOWWNXIBPENBv2+hnsLaWAC4A3n9Nortez3iDwFohWiy6ZvH+jZmzz+RBmiv6WsFqNOkAaiZ8s8f+/hbHqCR3RJQTjexFQGQ6z4KYS/RC4B+8Iuz+pcw1kcD/s6cA13XyxEiyJPJ07fnCgFAsV1DdQkheDxJRWRZ2H0Tnr4swP56fnHW14meP68nQCEVlgtuN/6jADhljNWvvuRzMQY3C4DwJZEXAdW6wxrPWYIRooSmwlvNuL4IaKADp8rYdYZgmABu867yGnd7YT9XhX/9ziVzHOZ8ShMMD8A0ystaLKPdOWX4FX+QIBxwQKqO+RCNpNdq5HOVVdlVEVAexUaqkTO0UL8luhoAXdiXrM46ygASW6iyC0JUATrpYyXPa0cA7uuMNWyivyfAkwLcOoVP8BSSqArQif29WEZPvpGUAKKVf6JeASAO098ioHiWioD7/nVynJ+zxznvgDPkBoqZGihbTRDKRxofJyL8h+xIg2UgRsqbhuokO1QtaPdI+VD9dmCsR5AGUGrBcsZNFBaLfmCxTMVaGbb5Wg7FYpBcbcR49LiJ1oAjFJYrqYzAik2sfU4QgLdfzjZoAhM7bOKTDEAY2ib3M3NqqNxQ+Gu7DxwR/cZHtUvW7AfPhLXaSQKEiV5S0XlvFwK4Myl5YiIYA8SZWFDsTp8QBcTNgpuwXFgTTYlgTClW1IURP+9KiOYQLBgF8lphYjP5xdtBHXFk8CP2EYfiP75ZeOAjz5eCAAAAAElFTkSuQmCC"},a405:function(t,e,s){},a4c3:function(t,e,s){t.exports=s.p+"img/sort_one4.975aa4b1.png"},a4ce:function(t,e,s){},a682:function(t,e,s){t.exports=s.p+"img/coupon1.d3fd1594.png"},a790:function(t,e,s){},a897:function(t,e,s){"use strict";s("e9f5"),s("7d54");var a=s("9ab4"),l=s("1b40"),o=s("6fad"),i=s.n(o),r=s("b3ad"),n=s("6ddb"),c=s("d70b");let d=class extends l.e{constructor(){super(...arguments),this.firstData=!0,this.identify=""}get editStyle(){return this.width?{width:this.width+"px"}:{}}valueChange(t){(this.firstData||this.decorate)&&(this.firstData=!1,this.editor.txt.html(t))}handeleChange(t){t.forEach(t=>{this.editor.cmd.do("insertHTML",`<img src="${t}" style="max-width:100%;"/>`)})}created(){this.identify="editor-"+Object(n.g)(3)}handleDecorate(t){this.editor.txt.html(t)}mounted(){this.editor=new i.a("#"+this.identify),this.editor.config.height=this.height,this.editor.config.menus=this.menu,this.editor.config.menuTooltipPosition="down",this.editor.config.showFullScreen=!1,this.editor.config.showLinkImg=!1,this.editor.config.uploadImgShowBase64=!0,this.editor.config.zIndex=1,this.editor.config.uploadImgFromMedia=()=>{this.$refs.materialSelect.showDialog()},this.editor.config.onchange=t=>{this.$emit("input",t)},this.editor.config.uploadVideoServer=c.a.baseURL+"/adminapi/upload/video",this.editor.config.uploadVideoHeaders={token:this.$store.getters.token,version:c.a.version},this.editor.config.uploadVideoName="file",this.editor.config.uploadVideoHooks={fail:(t,e,s)=>{this.$message.error("上传视频失败")},timeout:t=>{this.$message.error("上传视频超时")},customInsert:(t,e)=>{1==e.code?t(e.data.uri):this.$message.error(e.msg)}},this.editor.create(),this.firstData&&this.decorate&&(this.firstData=!1,this.editor.txt.html(this.value))}beforeDestroy(){this.editor.destroy()}};Object(a.a)([Object(l.c)()],d.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:()=>["head","bold","fontSize","fontName","italic","underline","strikeThrough","indent","lineHeight","foreColor","link","list","justify","quote","emoticon","image","video","undo","redo"]})],d.prototype,"menu",void 0),Object(a.a)([Object(l.c)({default:600})],d.prototype,"height",void 0),Object(a.a)([Object(l.c)({default:!1})],d.prototype,"decorate",void 0),Object(a.a)([Object(l.c)()],d.prototype,"width",void 0),Object(a.a)([Object(l.f)("value")],d.prototype,"valueChange",null),d=Object(a.a)([Object(l.a)({components:{MaterialSelect:r.a}})],d);var u=d,b=(s("6b1a"),s("2877")),p=Object(b.a)(u,(function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"ls-editor"},[t("div",{staticClass:"editor",style:[this.editStyle],attrs:{id:this.identify}}),t("material-select",{ref:"materialSelect",attrs:{limit:null,"hidden-trigger":!0},on:{change:this.handeleChange}})],1)}),[],!1,null,"892d2c26",null);e.a=p.exports},a8bf:function(t,e,s){},a8e5:function(t,e,s){},a92d:function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40"),o=s("3c50"),i=s("6ddb"),r=s("b99a");let n=class extends l.e{constructor(){super(...arguments),this.name="",this.goodsName="",this.activeId="",this.pager=new i.a,this.showGoods=!1,this.goodsLists=[]}get selectData(){return this.value}set selectData(t){this.$emit("input",t)}visibleChange(t){t.val?this.getList():(this.showGoods=!1,this.name="",this.goodsLists=[])}getList(t){t&&(this.pager.page=t),this.pager.request({callback:r.d,params:{keyword:this.name,type:this.type}}).then(t=>{})}getGoodsList(){Object(r.e)({keyword:this.goodsName,type:this.type,activity_id:this.activeId}).then(t=>{this.goodsLists=t})}handleCellClick(t){this.goodsName="",this.showGoods=!0,this.goodsLists=[],this.activeId=t.id,this.getGoodsList()}handleSelect(t){this.selectData=t}selectChange(t,e){this.selectData=t?e:{}}};Object(a.a)([Object(l.b)("visible")],n.prototype,"visible",void 0),Object(a.a)([Object(l.c)()],n.prototype,"value",void 0),Object(a.a)([Object(l.c)()],n.prototype,"type",void 0),Object(a.a)([Object(l.c)({default:!1})],n.prototype,"single",void 0),Object(a.a)([Object(l.f)("visible",{deep:!0,immediate:!0})],n.prototype,"visibleChange",null),n=Object(a.a)([Object(l.a)({components:{LsPagination:o.a}})],n);var c=n,d=(s("cf9b"),s("2877")),u=Object(d.a)(c,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.pager.loading,expression:"pager.loading"}],staticClass:"detail",staticStyle:{height:"475px"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showGoods,expression:"!showGoods"}],staticClass:"activity-lists"},[e("div",{staticClass:"flex m-b-20"},[e("div",{staticClass:"m-r-10"},[t._v("活动搜索")]),e("el-input",{staticStyle:{width:"220px"},attrs:{size:"small",placeholder:"请输入活动名称"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(1)}},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1),e("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:t.pager.lists,height:"370px",size:"mini"},on:{"cell-click":t.handleCellClick}},[e("el-table-column",{attrs:{label:"活动名称",prop:"name"}}),e("el-table-column",{attrs:{label:"活动状态"},scopedSlots:t._u([{key:"default",fn:function(s){return[1==s.row.status?e("el-tag",{attrs:{size:"medium",type:"presell"==t.type?"success":"danger"}},[t._v(t._s(s.row.status_text))]):2==s.row.status?e("el-tag",{attrs:{size:"medium",type:"presell"==t.type?"danger":"success"}},[t._v(t._s(s.row.status_text))]):e("el-tag",{attrs:{size:"medium",type:"info"}},[t._v(t._s(s.row.status_text))])]}}])}),e("el-table-column",{attrs:{label:"商品数量",prop:"goods_num"}}),e("el-table-column",{attrs:{label:"活动时间","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(e.row.start_time)+" ~ "+t._s(e.row.end_time)+" ")]}}])})],1),e("div",{staticClass:"flex row-right m-t-20"},[e("ls-pagination",{on:{change:function(e){return t.getList()}},model:{value:t.pager,callback:function(e){t.pager=e},expression:"pager"}})],1)],1),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showGoods,expression:"showGoods"}],staticClass:"goods-list"},[e("div",{staticClass:"flex m-b-20"},[e("el-button",{attrs:{type:"text",icon:"el-icon-arrow-left"},on:{click:function(e){t.showGoods=!1}}},[t._v("返回")]),e("div",{staticClass:"m-r-10 m-l-20"},[t._v("商品搜索")]),e("el-input",{staticStyle:{width:"220px"},attrs:{size:"small",placeholder:"请输入商品名称"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getGoodsList.apply(null,arguments)}},model:{value:t.goodsName,callback:function(e){t.goodsName=e},expression:"goodsName"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getGoodsList},slot:"append"})],1)],1),e("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:t.goodsLists,height:"420px",size:"mini"},on:{"selection-change":t.handleSelect}},[t.single?e("el-table-column",{attrs:{width:"45",label:""},scopedSlots:t._u([{key:"default",fn:function(s){return["presell"!=t.type?e("el-checkbox",{attrs:{value:s.row.id==t.value.id},on:{change:function(e){return t.selectChange(e,s.row)}}}):t._e(),"presell"==t.type?e("el-checkbox",{attrs:{value:s.row.goods_id==t.value.id},on:{change:function(e){return t.selectChange(e,s.row)}}}):t._e()]}}],null,!1,4017092039)}):e("el-table-column",{attrs:{width:"45",type:"selection"}}),e("el-table-column",{attrs:{label:"商品信息","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(s){return[e("div",{staticClass:"flex"},[e("el-image",{staticClass:"flex-none",staticStyle:{width:"58px",height:"58px"},attrs:{src:s.row.image,fit:"cover"}}),e("div",{staticClass:"goods-info m-l-8"},[e("div",{staticClass:"line-2"},[t._v(t._s(s.row.name))])])],1)]}}])}),e("el-table-column",{attrs:{label:"商品价格"},scopedSlots:t._u([{key:"default",fn:function(s){return[t._v(" ¥"+t._s(s.row.min_activity_price)+" "),s.row.min_activity_price!=s.row.max_activity_price?e("span",[t._v(" ~ "+t._s(s.row.max_activity_price))]):t._e()]}}])}),e("el-table-column",{attrs:{label:"商品库存",prop:"total_stock"}})],1)],1)])}),[],!1,null,"6f38880e",null);e.a=u.exports},abc1:function(t,e,s){"use strict";var a=RangeError;t.exports=function(t){if(t==t)return t;throw new a("NaN is not allowed")}},abe7:function(t,e,s){"use strict";s("1c02")},ac05:function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40"),o=s("1248"),i=s("ea05"),r=s("6ae0"),n=s("66bb"),c=s("d6d3");let d=class extends l.e{constructor(){super(...arguments),this.borderData=[{name:"直角",value:1},{name:"圆角",value:2}],this.alignData=[{name:"居左",value:"left"},{name:"居中",value:"center"}],this.resetColor=""}get content(){return this.$store.getters.content}get styles(){return this.$store.getters.styles}};d=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a}})],d);var u=d,b=s("2877"),p=Object(b.a)(u,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"搜索框"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",[e("el-form-item",{attrs:{label:"提示文字"}},[e("el-input",{attrs:{maxlength:"12","show-word-limit":"",placeholder:"请输入关键字搜索"},model:{value:t.content.text,callback:function(e){t.$set(t.content,"text",e)},expression:"content.text"}})],1)],1)],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"搜索框设置"}},[e("el-form-item",{attrs:{label:"框体圆角"}},[e("slider",{model:{value:t.styles.border_radius,callback:function(e){t.$set(t.styles,"border_radius",e)},expression:"styles.border_radius"}})],1),e("el-form-item",{attrs:{label:"文本位置"}},[e("style-chose",{attrs:{data:t.alignData},model:{value:t.styles.text_align,callback:function(e){t.$set(t.styles,"text_align",e)},expression:"styles.text_align"}})],1)],1),e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"组件背景"}},[e("color-select",{attrs:{"reset-color":"#F5F5F5"},model:{value:t.styles.bg_color,callback:function(e){t.$set(t.styles,"bg_color",e)},expression:"styles.bg_color"}})],1),e("el-form-item",{attrs:{label:"图标颜色"}},[e("color-select",{attrs:{"reset-color":"#999999"},model:{value:t.styles.icon_color,callback:function(e){t.$set(t.styles,"icon_color",e)},expression:"styles.icon_color"}})],1),e("el-form-item",{attrs:{label:"文字颜色"}},[e("color-select",{attrs:{"reset-color":"#999999"},model:{value:t.styles.color,callback:function(e){t.$set(t.styles,"color",e)},expression:"styles.color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1)],1)],1)])],1)}),[],!1,null,null,null).exports,m=s("977d");let g=class extends l.e{};Object(a.a)([Object(l.c)()],g.prototype,"content",void 0),Object(a.a)([Object(l.c)()],g.prototype,"styles",void 0),g=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],g);var f=g,v=(s("7150"),Object(b.a)(f,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"search"},[e("div",{staticClass:"search-content",style:{"background-color":t.styles.bg_color,"text-align":t.styles.text_align,"border-radius":t.styles.border_radius+"px"}},[e("i",{staticClass:"el-icon-search",style:{color:t.styles.icon_color}}),e("span",{staticClass:"search-text",style:{color:t.styles.color}},[t._v(t._s(t.content.text))])])])])}),[],!1,null,"3a366412",null).exports),_=s("7e85");let h=class extends l.e{};Object(a.a)([Object(l.c)()],h.prototype,"content",void 0),Object(a.a)([Object(l.c)()],h.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],h.prototype,"index",void 0),Object(a.a)([Object(l.c)()],h.prototype,"operate",void 0),h=Object(a.a)([Object(l.a)({components:{Contents:v,WidgetPackage:_.a}})],h);var y=h,x={attribute:p,contents:v,widget:Object(b.a)(y,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},A=s("2b1d"),w=s("6351");let C=class extends l.e{constructor(){super(...arguments),this.styleData=[{value:1,img:s("ffda"),text:"风格1"},{value:2,img:s("f88e"),text:"风格2"}],this.alignData=[{name:"左对齐",value:"left"},{name:"居中",value:"center"}],this.resetColor=""}get content(){return this.$store.getters.content}get styles(){return this.$store.getters.styles}};C=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,LinkSelect:A.a,StyleSelect:w.a}})],C);var k=C,O=(s("bd89"),Object(b.a)(k,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"标题栏"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"风格选择"}},[e("style-select",{attrs:{slot:"right",data:t.styleData},slot:"right",model:{value:t.content.style,callback:function(e){t.$set(t.content,"style",e)},expression:"content.style"}},[e("el-button",{attrs:{slot:"trigger",size:"mini",type:"text"},slot:"trigger"},[t._v("切换风格")])],1),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"style-chose flex col-center"},[t._l(t.styleData,(function(s,a){return[s.value==t.content.style?e("img",{key:a,attrs:{src:s.img,alt:""}}):t._e()]}))],2)])],1),e("attribute-item",{attrs:{title:"主标题"}},[e("el-form-item",{attrs:{label:"主标题标题"}},[e("el-input",{attrs:{maxlength:"8","show-word-limit":"",placeholder:"请输入标题"},model:{value:t.content.title,callback:function(e){t.$set(t.content,"title",e)},expression:"content.title"}})],1),e("el-form-item",{attrs:{label:"字体颜色"}},[e("color-select",{attrs:{"reset-color":"#333333"},model:{value:t.styles.title_color,callback:function(e){t.$set(t.styles,"title_color",e)},expression:"styles.title_color"}})],1),e("el-form-item",{attrs:{label:"字体大小"}},[e("slider",{attrs:{min:12},model:{value:t.styles.title_font_size,callback:function(e){t.$set(t.styles,"title_font_size",e)},expression:"styles.title_font_size"}})],1)],1),e("attribute-item",{attrs:{title:"副标题"}},[e("el-form-item",{attrs:{label:"副标题标题"}},[e("el-input",{staticStyle:{width:"220px"},attrs:{maxlength:"10","show-word-limit":"",placeholder:"请输入副标题"},model:{value:t.content.subtitle,callback:function(e){t.$set(t.content,"subtitle",e)},expression:"content.subtitle"}}),e("el-checkbox",{staticClass:"m-l-10",attrs:{"true-label":1,"false-label":0},model:{value:t.content.hidden_subtitle,callback:function(e){t.$set(t.content,"hidden_subtitle",e)},expression:"content.hidden_subtitle"}},[t._v("隐藏")])],1),e("el-form-item",{attrs:{label:"字体颜色"}},[e("color-select",{attrs:{"reset-color":"#999999"},model:{value:t.styles.subtitle_color,callback:function(e){t.$set(t.styles,"subtitle_color",e)},expression:"styles.subtitle_color"}})],1),e("el-form-item",{attrs:{label:"字体大小"}},[e("slider",{attrs:{min:12},model:{value:t.styles.subtitle_font_size,callback:function(e){t.$set(t.styles,"subtitle_font_size",e)},expression:"styles.subtitle_font_size"}})],1)],1),2==t.content.style?e("attribute-item",{attrs:{title:"右侧按钮"}},[e("el-form-item",{attrs:{label:"是否显示"}},[e("el-radio-group",{model:{value:t.content.show_more,callback:function(e){t.$set(t.content,"show_more",e)},expression:"content.show_more"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1),t.content.show_more?[e("el-form-item",{attrs:{label:"文字内容"}},[e("el-input",{attrs:{maxlength:"6","show-word-limit":"",placeholder:"请输入文字内容"},model:{value:t.content.more_title,callback:function(e){t.$set(t.content,"more_title",e)},expression:"content.more_title"}})],1),e("el-form-item",{attrs:{label:"按钮颜色"}},[e("color-select",{attrs:{"reset-color":"#999999"},model:{value:t.styles.more_color,callback:function(e){t.$set(t.styles,"more_color",e)},expression:"styles.more_color"}})],1),e("el-form-item",{attrs:{label:"链接地址"}},[e("link-select",{model:{value:t.content.link,callback:function(e){t.$set(t.content,"link",e)},expression:"content.link"}})],1)]:t._e()],2):t._e()],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部颜色"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"组件颜色"}},[e("color-select",{attrs:{"reset-color":"#F5F5F5"},model:{value:t.styles.bg_color,callback:function(e){t.$set(t.styles,"bg_color",e)},expression:"styles.bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1)],1)],1)],1)])],1)}),[],!1,null,"73541a44",null).exports);let j=class extends l.e{};Object(a.a)([Object(l.c)()],j.prototype,"content",void 0),Object(a.a)([Object(l.c)()],j.prototype,"styles",void 0),j=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],j);var F=j,S=(s("c13e"),Object(b.a)(F,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"title",style:{"background-color":t.styles.bg_color,"border-radius":`${t.styles.border_radius_top}px ${t.styles.border_radius_top}px ${t.styles.border_radius_bottom}px ${t.styles.border_radius_bottom}px`}},[1==t.content.style?e("div",{staticClass:"title-style1 flex-col col-center"},[e("div",{staticClass:"title-content",style:{color:t.styles.title_color,"font-size":t.styles.title_font_size+"px"}},[t._v(" "+t._s(t.content.title)+" ")]),t.content.hidden_subtitle?t._e():e("div",{staticClass:"title-subtitle",style:{color:t.styles.subtitle_color,"font-size":t.styles.subtitle_font_size+"px"}},[t._v(" "+t._s(t.content.subtitle)+" ")])]):t._e(),2==t.content.style?e("div",{staticClass:"title-style2 flex"},[e("div",{staticClass:"title-content m-r-10",style:{color:t.styles.title_color,"font-size":t.styles.title_font_size+"px"}},[t._v(" "+t._s(t.content.title)+" ")]),e("div",{staticClass:"flex-1"},[t.content.hidden_subtitle?t._e():e("div",{staticClass:"title-subtitleline-1",style:{color:t.styles.subtitle_color,"font-size":t.styles.subtitle_font_size+"px"}},[t._v(" "+t._s(t.content.subtitle)+" ")])]),t.content.show_more?e("div",{staticClass:"title-more",style:{color:t.styles.more_color}},[t._v(" "+t._s(t.content.more_title)),e("i",{staticClass:"el-icon-arrow-right"})]):t._e()]):t._e()])])}),[],!1,null,"0bad9c5c",null).exports);let z=class extends l.e{};Object(a.a)([Object(l.c)()],z.prototype,"content",void 0),Object(a.a)([Object(l.c)()],z.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],z.prototype,"index",void 0),Object(a.a)([Object(l.c)()],z.prototype,"operate",void 0),z=Object(a.a)([Object(l.a)({components:{Contents:S,WidgetPackage:_.a}})],z);var L=z,M={attribute:O,contents:S,widget:Object(b.a)(L,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},D=s("fe7b");let I=class extends l.e{constructor(){super(...arguments),this.indicatorData=[{name:"圆角",value:1},{name:"圆形",value:2},{name:"数字",value:3}],this.alignData=[{name:"居左",value:"left"},{name:"居中",value:"center"},{name:"居右",value:"right"}]}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};I=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,BannerList:D.a}})],I);var P=I,B=Object(b.a)(P,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"轮播图"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"图片设置",desc:"最多可添加10张,建议图片尺寸:750px*340px"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("banner-list",{attrs:{limit:10},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)],1)],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"指示器设置"}},[e("el-form-item",{attrs:{label:"选中颜色"}},[e("color-select",{attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.indicator_color,callback:function(e){t.$set(t.styles,"indicator_color",e)},expression:"styles.indicator_color"}})],1),e("div",{staticClass:"lighter xs m-b-20"},[t._v("指示器样式")]),e("el-form-item",{attrs:{"label-width":"0"}},[e("style-chose",{attrs:{data:t.indicatorData},model:{value:t.styles.indicator_style,callback:function(e){t.$set(t.styles,"indicator_style",e)},expression:"styles.indicator_style"}})],1),e("div",{staticClass:"lighter xs m-b-20"},[t._v("指示器位置")]),e("el-form-item",{attrs:{"label-width":"0"}},[e("style-chose",{attrs:{data:t.alignData},model:{value:t.styles.indicator_align,callback:function(e){t.$set(t.styles,"indicator_align",e)},expression:"styles.indicator_align"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"圆角"}},[e("slider",{model:{value:t.styles.border_radius,callback:function(e){t.$set(t.styles,"border_radius",e)},expression:"styles.border_radius"}})],1)],1)],1)],1)])],1)}),[],!1,null,"2864ae60",null).exports,$=s("1e31");let E=class extends l.e{get getImage(){const{data:t}=this.content;return Array.isArray(t)&&t[0]?this.$getImageUri(t[0].url):""}};Object(a.a)([Object(l.c)()],E.prototype,"content",void 0),Object(a.a)([Object(l.c)()],E.prototype,"styles",void 0),E=Object(a.a)([Object(l.a)({components:{Indicator:$.a,WidgetRoot:m.a}})],E);var R=E,U=(s("0b27"),Object(b.a)(R,(function(){var t=this._self._c;this._self._setupProxy;return t("widget-root",{attrs:{styles:this.styles}},[t("div",{staticClass:"banner"},[t("div",{staticClass:"banner-content",style:{"padding-top":340/750*100+"%","border-radius":this.styles.border_radius+"px"}},[t("div",{staticClass:"banner-image"},[t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:this.getImage,fit:"cover"}},[t("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture font-size-40"})])])],1),t("indicator",{attrs:{type:this.styles.indicator_style,align:this.styles.indicator_align,color:this.styles.indicator_color}})],1)])])}),[],!1,null,"6ab24014",null).exports);let T=class extends l.e{};Object(a.a)([Object(l.c)()],T.prototype,"content",void 0),Object(a.a)([Object(l.c)()],T.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],T.prototype,"index",void 0),Object(a.a)([Object(l.c)()],T.prototype,"operate",void 0),T=Object(a.a)([Object(l.a)({components:{Contents:U,WidgetPackage:_.a}})],T);var N=T,Y={attribute:B,contents:U,widget:Object(b.a)(N,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},W=s("b3ad"),Q=s("4539");let J=class extends l.e{constructor(){super(...arguments),this.index=-1,this.styleData=[{name:"图文",value:1},{name:"文字",value:2}],this.indicatorData=[{name:"圆角",value:1},{name:"圆形",value:2}],this.resetColor=""}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};J=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,MaterialSelect:W.a,NavList:Q.a,LinkSelect:A.a}})],J);var V=J,G=Object(b.a)(V,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"菜单导航"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"导航样式"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("style-chose",{attrs:{data:t.styleData},model:{value:t.content.style,callback:function(e){t.$set(t.content,"style",e)},expression:"content.style"}})],1)],1),e("attribute-item",{attrs:{title:"展示样式"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("el-radio-group",{model:{value:t.styles.nav_style,callback:function(e){t.$set(t.styles,"nav_style",e)},expression:"styles.nav_style"}},[e("el-radio",{attrs:{label:1}},[t._v("固定显示")]),e("el-radio",{attrs:{label:2}},[t._v("分页滑动")])],1)],1),e("el-form-item",{attrs:{label:"每行数量"}},[e("el-select",{model:{value:t.styles.nav_line_num,callback:function(e){t.$set(t.styles,"nav_line_num",e)},expression:"styles.nav_line_num"}},[e("el-option",{attrs:{label:"3个",value:3}}),e("el-option",{attrs:{label:"4个",value:4}}),e("el-option",{attrs:{label:"5个",value:5}})],1)],1),e("el-form-item",{attrs:{label:"显示行数"}},[e("el-select",{model:{value:t.styles.nav_line,callback:function(e){t.$set(t.styles,"nav_line",e)},expression:"styles.nav_line"}},[e("el-option",{attrs:{label:"1行",value:1}}),e("el-option",{attrs:{label:"2行",value:2}}),e("el-option",{attrs:{label:"3行",value:3}}),e("el-option",{attrs:{label:"4行",value:4}})],1)],1)],1),e("attribute-item",{attrs:{title:"导航设置"}},[e("nav-list",{model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[2==t.styles.nav_style?e("attribute-item",{attrs:{title:"指示器设置"}},[e("el-form-item",{attrs:{label:"选中颜色"}},[e("color-select",{attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.indicator_color,callback:function(e){t.$set(t.styles,"indicator_color",e)},expression:"styles.indicator_color"}})],1),e("div",{staticClass:"lighter xs m-b-20"},[t._v("指示器样式")]),e("el-form-item",{attrs:{"label-width":"0"}},[e("style-chose",{attrs:{data:t.indicatorData},model:{value:t.styles.indicator_style,callback:function(e){t.$set(t.styles,"indicator_style",e)},expression:"styles.indicator_style"}})],1)],1):t._e(),e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"组件背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.bg_color,callback:function(e){t.$set(t.styles,"bg_color",e)},expression:"styles.bg_color"}})],1),e("el-form-item",{attrs:{label:"文字颜色"}},[e("color-select",{attrs:{"reset-color":"#333333"},model:{value:t.styles.color,callback:function(e){t.$set(t.styles,"color",e)},expression:"styles.color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1),e("el-form-item",{attrs:{label:"图片圆角"}},[e("slider",{model:{value:t.styles.img_border_radius,callback:function(e){t.$set(t.styles,"img_border_radius",e)},expression:"styles.img_border_radius"}})],1)],1)],1)],1)])],1)}),[],!1,null,"2f6feb18",null).exports;let H=class extends l.e{get navList(){const{content:{data:t},styles:{nav_line:e,nav_line_num:s}}=this;return Array.isArray(t)?t.slice(0,e*s):[]}};Object(a.a)([Object(l.c)()],H.prototype,"content",void 0),Object(a.a)([Object(l.c)()],H.prototype,"styles",void 0),H=Object(a.a)([Object(l.a)({components:{Indicator:$.a,WidgetRoot:m.a}})],H);var K=H,X=(s("fc7a"),Object(b.a)(K,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"navigation",style:{"background-color":t.styles.bg_color,"border-radius":`${t.styles.border_radius_top}px ${t.styles.border_radius_top}px ${t.styles.border_radius_bottom}px ${t.styles.border_radius_bottom}px`}},[e("div",{staticClass:"navigation-content flex flex-wrap p-t-16"},t._l(t.navList,(function(s,a){return e("div",{key:a,staticClass:"flex-col col-center m-b-16",style:{width:100/t.styles.nav_line_num+"%"}},[1==t.content.style?e("el-image",{staticClass:"m-b-8",staticStyle:{width:"40px",height:"40px"},style:{"border-radius":t.styles.img_border_radius+"px"},attrs:{src:t.$getImageUri(s.url)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-20"})])]):t._e(),e("div",{staticClass:"xs",style:{color:t.styles.color}},[t._v(" "+t._s(s.name)+" ")])],1)})),0),2==t.styles.nav_style?e("div",{staticClass:"navigation-indicator"},[e("indicator",{attrs:{type:t.styles.indicator_style,align:"center",color:t.styles.indicator_color,bottom:6}})],1):t._e()])])}),[],!1,null,"cdc9457c",null).exports);let Z=class extends l.e{};Object(a.a)([Object(l.c)()],Z.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Z.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],Z.prototype,"index",void 0),Object(a.a)([Object(l.c)()],Z.prototype,"operate",void 0),Z=Object(a.a)([Object(l.a)({components:{Contents:X,WidgetPackage:_.a}})],Z);var q=Z,tt={attribute:G,contents:X,widget:Object(b.a)(q,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},et=s("294c");let st=class extends l.e{constructor(){super(...arguments),this.styleData=[{name:"大图模式",value:1},{name:"一行2个",value:2},{name:"横向滑动",value:3},{name:"列表模式",value:4}]}};Object(a.a)([Object(l.c)()],st.prototype,"content",void 0),Object(a.a)([Object(l.c)()],st.prototype,"styles",void 0),st=Object(a.a)([Object(l.a)({components:{ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a}})],st);var at=st,lt=Object(b.a)(at,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-item",{attrs:{title:"商品风格"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("style-chose",{attrs:{data:t.styleData},model:{value:t.content.style,callback:function(e){t.$set(t.content,"style",e)},expression:"content.style"}})],1)],1),e("attribute-item",{attrs:{title:"显示内容"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_title,callback:function(e){t.$set(t.content,"show_title",e)},expression:"content.show_title"}},[t._v("商品标题")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#101010"},model:{value:t.styles.title_color,callback:function(e){t.$set(t.styles,"title_color",e)},expression:"styles.title_color"}})],1)]),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_price,callback:function(e){t.$set(t.content,"show_price",e)},expression:"content.show_price"}},[t._v("商品价格")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.price_color,callback:function(e){t.$set(t.styles,"price_color",e)},expression:"styles.price_color"}})],1)]),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_scribing_price,callback:function(e){t.$set(t.content,"show_scribing_price",e)},expression:"content.show_scribing_price"}},[t._v("划线原价")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#999999"},model:{value:t.styles.scribing_price_color,callback:function(e){t.$set(t.styles,"scribing_price_color",e)},expression:"styles.scribing_price_color"}})],1)])],1),1==t.content.style||4==t.content.style?e("attribute-item",{attrs:{title:"购买按钮"}},[e("el-form-item",{attrs:{label:"是否显示"}},[e("el-radio-group",{model:{value:t.content.show_btn,callback:function(e){t.$set(t.content,"show_btn",e)},expression:"content.show_btn"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1),1==t.content.show_btn?[e("el-form-item",{attrs:{label:"按钮文字"}},[e("el-input",{attrs:{maxlength:"4","show-word-limit":"",placeholder:"请输入按钮文字"},model:{value:t.content.btn_text,callback:function(e){t.$set(t.content,"btn_text",e)},expression:"content.btn_text"}})],1),e("el-form-item",{attrs:{label:"按钮背景"}},[e("color-select",{attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.btn_bg_color,callback:function(e){t.$set(t.styles,"btn_bg_color",e)},expression:"styles.btn_bg_color"}})],1),e("el-form-item",{attrs:{label:"文字颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.btn_color,callback:function(e){t.$set(t.styles,"btn_color",e)},expression:"styles.btn_color"}})],1),e("el-form-item",{attrs:{label:"按钮圆角"}},[e("slider",{model:{value:t.styles.btn_border_radius,callback:function(e){t.$set(t.styles,"btn_border_radius",e)},expression:"styles.btn_border_radius"}})],1),e("el-form-item",{attrs:{label:"边框颜色"}},[e("color-select",{attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.btn_border_color,callback:function(e){t.$set(t.styles,"btn_border_color",e)},expression:"styles.btn_border_color"}})],1)]:t._e()],2):t._e()],1)}),[],!1,null,null,null).exports;let ot=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};ot=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,GSelect:et.a,GAttr:lt}})],ot);var it=ot,rt=Object(b.a)(it,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"商品组"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"选择商品"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"p-20",staticStyle:{background:"#f9f9f9"}},[e("g-select",{attrs:{content:t.content}})],1)])],1),e("g-attr",{attrs:{content:t.content,styles:t.styles}})],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"组件背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.content_bg_color,callback:function(e){t.$set(t.styles,"content_bg_color",e)},expression:"styles.content_bg_color"}})],1),e("el-form-item",{attrs:{label:"商品背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.bg_color,callback:function(e){t.$set(t.styles,"bg_color",e)},expression:"styles.bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"商品间距"}},[e("slider",{model:{value:t.styles.margin,callback:function(e){t.$set(t.styles,"margin",e)},expression:"styles.margin"}})],1),e("el-form-item",{attrs:{label:"组件边距"}},[e("slider",{model:{value:t.styles.padding,callback:function(e){t.$set(t.styles,"padding",e)},expression:"styles.padding"}})],1),e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1),e("el-form-item",{attrs:{label:"商品圆角"}},[e("slider",{model:{value:t.styles.goods_border_radius,callback:function(e){t.$set(t.styles,"goods_border_radius",e)},expression:"styles.goods_border_radius"}})],1)],1)],1)],1)])],1)}),[],!1,null,"3eec47c4",null).exports;let nt=class extends l.e{get goods(){const{data:t,goods_type:e,category:s}=this.content;return 2==e?[...Array(s.num).keys()].map(()=>({})):t.length?t:[{},{},{},{}]}get btnStyle(){const{btn_bg_color:t,btn_color:e,btn_border_radius:s,btn_border_color:a}=this.styles;return{"background-color":t,color:e,"border-radius":s+"px","border-color":a}}};Object(a.a)([Object(l.c)()],nt.prototype,"content",void 0),Object(a.a)([Object(l.c)()],nt.prototype,"styles",void 0),nt=Object(a.a)([l.a],nt);var ct=nt,dt=(s("6250"),Object(b.a)(ct,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"goods-group",style:{margin:`-${t.styles.margin/2}px`,"background-color":t.styles.content_bg_color,"border-radius":`${t.styles.border_radius_top}px ${t.styles.border_radius_top}px ${t.styles.border_radius_bottom}px ${t.styles.border_radius_bottom}px`,padding:t.styles.padding/2+"px"}},[e("div",{staticClass:"goods-lists",class:{larger:1==t.content.style,perline:2==t.content.style,swiper:3==t.content.style,lists:4==t.content.style}},t._l(t.goods,(function(a,l){return e("div",{key:l,staticClass:"goods-wrap"},[e("div",{staticClass:"goods-item",style:{"background-color":t.styles.bg_color,margin:t.styles.margin/2+"px","border-radius":t.styles.goods_border_radius+"px"}},[e("div",{staticClass:"goods-image"},[e("el-image",{attrs:{src:a.image,fit:"cover"}},[e("img",{staticClass:"image-error",attrs:{slot:"error",src:s("eccb"),alt:""},slot:"error"})])],1),e("div",{staticClass:"goods-info p-5"},[t.content.show_title?e("div",{staticClass:"m-b-4 name",style:{color:t.styles.title_color}},[e("div",{class:3==t.content.style?"line-1":"line-2"},[t._v(" "+t._s(a.name||"这里是商品标题")+" ")])]):t._e(),e("div",{staticClass:"flex price-btn flex-wrap"},[e("div",{staticClass:"flex-1 flex col-baseline"},[t.content.show_price?e("div",{staticClass:"price weight-500 m-r-5 xl",style:{color:t.styles.price_color}},[e("span",{staticClass:"xs"},[t._v("¥")]),t._v(t._s(parseFloat(a.sell_price)||"0")+" ")]):t._e(),t.content.show_scribing_price?e("div",{staticClass:"muted line-through xs"},[t._v(" ¥"+t._s(parseFloat(a.lineation_price)||"0")+" ")]):t._e()]),!t.content.show_btn||1!=t.content.style&&4!=t.content.style?t._e():e("div",{staticClass:"buy-btn xs",style:[t.btnStyle]},[t._v(" "+t._s(t.content.btn_text)+" ")])])])])])})),0)])}),[],!1,null,"6b4c482b",null).exports);let ut=class extends l.e{};Object(a.a)([Object(l.c)()],ut.prototype,"content",void 0),Object(a.a)([Object(l.c)()],ut.prototype,"styles",void 0),ut=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a,Goods:dt}})],ut);var bt=ut,pt=Object(b.a)(bt,(function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"widget-root",style:{padding:`${this.styles.padding_top}px ${this.styles.padding_horizontal}px ${this.styles.padding_bottom}px`,"background-color":this.styles.root_bg_color}},[t("goods",{attrs:{content:this.content,styles:this.styles}})],1)}),[],!1,null,"66b75562",null).exports;let mt=class extends l.e{};Object(a.a)([Object(l.c)()],mt.prototype,"content",void 0),Object(a.a)([Object(l.c)()],mt.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],mt.prototype,"index",void 0),Object(a.a)([Object(l.c)()],mt.prototype,"operate",void 0),mt=Object(a.a)([Object(l.a)({components:{Contents:pt,WidgetPackage:_.a}})],mt);var gt=mt,ft={attribute:rt,contents:pt,widget:Object(b.a)(gt,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};let vt=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};vt=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,GSelect:et.a,GAttr:lt}})],vt);var _t=vt,ht=Object(b.a)(_t,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"为您推荐"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"标题"}},[e("el-form-item",{attrs:{label:"标题文字"}},[e("el-input",{staticStyle:{width:"280px"},attrs:{maxlength:"10","show-word-limit":"",placeholder:"请输入标题"},model:{value:t.content.header_title,callback:function(e){t.$set(t.content,"header_title",e)},expression:"content.header_title"}})],1),e("el-form-item",{attrs:{label:"文字颜色"}},[e("color-select",{attrs:{"reset-color":"#333333"},model:{value:t.styles.header_title_color,callback:function(e){t.$set(t.styles,"header_title_color",e)},expression:"styles.header_title_color"}})],1),e("el-form-item",{attrs:{label:"文字大小"}},[e("slider",{attrs:{min:12},model:{value:t.styles.header_title_size,callback:function(e){t.$set(t.styles,"header_title_size",e)},expression:"styles.header_title_size"}})],1)],1),e("attribute-item",{attrs:{title:"选择商品"}},[e("div",{staticClass:"m-b-20 lighter"},[e("el-alert",{attrs:{title:t.content.tips,type:"info","show-icon":"",closable:!1}})],1)]),e("g-attr",{attrs:{content:t.content,styles:t.styles}})],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"商品背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.bg_color,callback:function(e){t.$set(t.styles,"bg_color",e)},expression:"styles.bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"商品间距"}},[e("slider",{model:{value:t.styles.margin,callback:function(e){t.$set(t.styles,"margin",e)},expression:"styles.margin"}})],1),e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1),e("el-form-item",{attrs:{label:"上间距"}},[e("slider",{model:{value:t.styles.margin_top,callback:function(e){t.$set(t.styles,"margin_top",e)},expression:"styles.margin_top"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1)],1)],1)],1)])],1)}),[],!1,null,"60ef22aa",null).exports;let yt=class extends l.e{get goods(){const{data:t,goods_type:e,category:s}=this.content;return 2==e?[...Array(s.num).keys()].map(()=>({})):t.length?t:[{}]}get btnStyle(){const{btn_bg_color:t,btn_color:e,btn_border_radius:s,btn_border_color:a}=this.styles,{btn_bg_type:l}=this.content,o={"background-color":t,color:e,"border-radius":s+"px","border-color":a};return 2==l&&delete o["background-color"],o}};Object(a.a)([Object(l.c)()],yt.prototype,"content",void 0),Object(a.a)([Object(l.c)()],yt.prototype,"styles",void 0),yt=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a,Goods:dt}})],yt);var xt=yt,At=(s("389c"),Object(b.a)(xt,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{style:{"margin-top":t.styles.margin_top+"px"},attrs:{styles:t.styles}},[e("div",{staticClass:"title"},[e("div",{staticClass:"title-content",style:{color:t.styles.header_title_color,"font-size":t.styles.header_title_size+"px"}},[t._v(" "+t._s(t.content.header_title)+" ")])]),e("goods",{attrs:{content:t.content,styles:t.styles}})],1)}),[],!1,null,"6535aa56",null).exports);let wt=class extends l.e{};Object(a.a)([Object(l.c)()],wt.prototype,"content",void 0),Object(a.a)([Object(l.c)()],wt.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],wt.prototype,"index",void 0),Object(a.a)([Object(l.c)()],wt.prototype,"operate",void 0),wt=Object(a.a)([Object(l.a)({components:{Contents:At,WidgetPackage:_.a}})],wt);var Ct=wt,kt={attribute:ht,contents:At,widget:Object(b.a)(Ct,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};let Ot=class extends l.e{constructor(){super(...arguments),this.showSelect=!1,this.category=1}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}selectStyle(t){this.content.style=t,this.showSelect=!1}};Ot=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a}})],Ot);var jt=Ot,Ft=(s("569c"),Object(b.a)(jt,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("attribute-tabs",{attrs:{title:"商品评价"}},[t("div",[t("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[t("attribute-item",{attrs:{title:"商品评价"}},[t("el-alert",{attrs:{closable:!1,type:"info","show-icon":""}},[t("span",{attrs:{slot:"title"},slot:"title"},[this._v("该组件只能控制显示、隐藏。")])])],1)],1)],1)])],1)}),[],!1,null,"6aa856da",null).exports),St=[function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"reviews m-t-10"},[t("img",{staticClass:"block",staticStyle:{width:"100%"},attrs:{src:s("7f2c"),alt:""}})])}];let zt=class extends l.e{};Object(a.a)([Object(l.c)()],zt.prototype,"content",void 0),Object(a.a)([Object(l.c)()],zt.prototype,"styles",void 0),zt=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],zt);var Lt=zt,Mt=Object(b.a)(Lt,(function(){this._self._c,this._self._setupProxy;return this._m(0)}),St,!1,null,"6eb4d1f4",null).exports;let Dt=class extends l.e{};Object(a.a)([Object(l.c)()],Dt.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Dt.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],Dt.prototype,"index",void 0),Object(a.a)([Object(l.c)()],Dt.prototype,"operate",void 0),Dt=Object(a.a)([Object(l.a)({components:{Contents:Mt,WidgetPackage:_.a}})],Dt);var It=Dt,Pt={attribute:Ft,contents:Mt,widget:Object(b.a)(It,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},Bt=(s("14d9"),s("f50c")),$t=s("234f"),Et=s("b76a"),Rt=s.n(Et);let Ut=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}draggableEnd(t){const{newIndex:e,oldIndex:s}=t;s!=this.content.active?s>this.content.active&&this.content.active>=e?this.content.active++:s<this.content.active&&this.content.active<=e&&this.content.active--:this.content.active=e}onAdd(){this.content.data.push({name:"选项卡",style:1,goods_type:1,show_title:1,show_price:1,show_scribing_price:1,show_btn:1,btn_text:"购买",btn_bg_type:1,category:{id:"",name:"",number:1},data:[],title_color:"#101010",scribing_price_color:"#999999",price_color:"#FF2C3C",btn_bg_color:"#FF2C3C",btn_color:"#FFFFFF",btn_border_radius:30,btn_border_color:"",root_bg_color:"",bg_color:"#FFFFFF",margin:10,padding_top:10,padding_horizontal:10,padding_bottom:10,border_radius_top:4,border_radius_bottom:4})}onDelete(t){if(this.content.data.length<=1)return this.$message.warning("最少保留一个");this.content.data.splice(t,1),this.content.active=0}};Ut=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,GoodsSelect:Bt.a,CategorySelect:$t.a,GSelect:et.a,GAttr:lt,Draggable:Rt.a}})],Ut);var Tt=Ut,Nt=(s("c461"),Object(b.a)(Tt,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"选项卡"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"选项卡设置"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"tabs-list"},[e("draggable",{attrs:{animation:"300"},on:{end:t.draggableEnd},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}},t._l(t.content.data,(function(s,a){return e("div",{key:a,staticClass:"tabs-item",class:{active:t.content.active==a},on:{click:function(e){t.content.active=a}}},[e("div",{staticClass:"flex row-between"},[e("span",[t._v(t._s(s.name))]),e("div",{staticClass:"del-btn"},[e("el-button",{attrs:{type:"text"},on:{click:function(e){return e.stopPropagation(),t.onDelete(a)}}},[t._v("删除")])],1)])])})),0)],1),e("el-button",{staticStyle:{width:"100%"},attrs:{size:"small"},on:{click:t.onAdd}},[t._v("+ 添加选项卡")])],1)],1),t._l(t.content.data,(function(s,a){return[t.content.active==a?e("div",{key:a},[e("attribute-item",{attrs:{title:"选项卡内容"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"p-20",staticStyle:{background:"#f9f9f9"}},[e("el-form-item",{attrs:{label:"选项名称"}},[e("el-input",{staticStyle:{width:"200px"},attrs:{maxlength:"5","show-word-limit":"",placeholder:"请输入选项名称"},model:{value:s.name,callback:function(e){t.$set(s,"name",e)},expression:"item.name"}})],1),e("g-select",{attrs:{content:s}})],1)])],1),e("g-attr",{attrs:{content:s,styles:s}})],1):t._e()]}))],2)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"背景设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"选项卡样式"}},[e("el-form-item",{attrs:{label:"选项卡背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.bg_color,callback:function(e){t.$set(t.styles,"bg_color",e)},expression:"styles.bg_color"}})],1),e("el-form-item",{attrs:{label:"未选中标题"}},[e("color-select",{attrs:{"reset-color":"#101010"},model:{value:t.styles.color,callback:function(e){t.$set(t.styles,"color",e)},expression:"styles.color"}})],1),e("el-form-item",{attrs:{label:"已选中标题"}},[e("color-select",{attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.active_color,callback:function(e){t.$set(t.styles,"active_color",e)},expression:"styles.active_color"}})],1),e("el-form-item",{attrs:{label:"选项条"}},[e("el-radio-group",{model:{value:t.content.show_line,callback:function(e){t.$set(t.content,"show_line",e)},expression:"content.show_line"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1),1==t.content.show_line?e("el-form-item",{attrs:{label:"选项条颜色"}},[e("color-select",{attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.line_color,callback:function(e){t.$set(t.styles,"line_color",e)},expression:"styles.line_color"}})],1):t._e(),e("el-form-item",{attrs:{label:"选中背景"}},[e("el-radio-group",{model:{value:t.content.has_active_bg,callback:function(e){t.$set(t.content,"has_active_bg",e)},expression:"content.has_active_bg"}},[e("el-radio",{attrs:{label:0}},[t._v("无")]),e("el-radio",{attrs:{label:1}},[t._v("背景色")])],1)],1),t.content.has_active_bg?e("el-form-item",{attrs:{label:""}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.active_bg_color,callback:function(e){t.$set(t.styles,"active_bg_color",e)},expression:"styles.active_bg_color"}})],1):t._e(),e("el-form-item",{attrs:{label:"间距"}},[e("slider",{attrs:{min:10},model:{value:t.styles.padding,callback:function(e){t.$set(t.styles,"padding",e)},expression:"styles.padding"}})],1),e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1),e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1)],1),t._l(t.content.data,(function(s,a){return[t.content.active==a?e("attribute-item",{key:a,attrs:{title:"商品样式"}},[e("el-form-item",{attrs:{label:"商品背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:s.bg_color,callback:function(e){t.$set(s,"bg_color",e)},expression:"item.bg_color"}})],1),e("el-form-item",{attrs:{label:"组件背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:s.content_bg_color,callback:function(e){t.$set(s,"content_bg_color",e)},expression:"item.content_bg_color"}})],1),e("el-form-item",{attrs:{label:"商品间距"}},[e("slider",{model:{value:s.margin,callback:function(e){t.$set(s,"margin",e)},expression:"item.margin"}})],1),e("el-form-item",{attrs:{label:"组件边距"}},[e("slider",{model:{value:s.padding,callback:function(e){t.$set(s,"padding",e)},expression:"item.padding"}})],1),e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:s.padding_top,callback:function(e){t.$set(s,"padding_top",e)},expression:"item.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:s.padding_bottom,callback:function(e){t.$set(s,"padding_bottom",e)},expression:"item.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:s.padding_horizontal,callback:function(e){t.$set(s,"padding_horizontal",e)},expression:"item.padding_horizontal"}})],1),e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:s.border_radius_top,callback:function(e){t.$set(s,"border_radius_top",e)},expression:"item.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:s.border_radius_bottom,callback:function(e){t.$set(s,"border_radius_bottom",e)},expression:"item.border_radius_bottom"}})],1),e("el-form-item",{attrs:{label:"商品圆角"}},[e("slider",{model:{value:s.goods_border_radius,callback:function(e){t.$set(s,"goods_border_radius",e)},expression:"item.goods_border_radius"}})],1)],1):t._e()]}))],2)],1)])],1)}),[],!1,null,"0d5b989a",null).exports);let Yt=class extends l.e{get itemStyle(){return t=>{const{styles:{padding:e,color:s,active_color:a,active_bg_color:l},content:{active:o,has_active_bg:i}}=this,r={padding:`0 ${e}px`,color:s};return o==t&&(r["background-color"]=i?l:"",r.color=a,r["font-weight"]=500),r}}};Object(a.a)([Object(l.c)()],Yt.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Yt.prototype,"styles",void 0),Yt=Object(a.a)([Object(l.a)({components:{Indicator:$.a,WidgetRoot:m.a,Goods:pt}})],Yt);var Wt=Yt,Qt=(s("b48d"),Object(b.a)(Wt,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"tabs",style:{"background-color":t.styles.root_bg_color}},[e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"tabs-header flex",style:{"background-color":t.styles.bg_color,"border-radius":`${t.styles.border_radius_top}px ${t.styles.border_radius_top}px ${t.styles.border_radius_bottom}px ${t.styles.border_radius_bottom}px`}},t._l(t.content.data,(function(s,a){return e("div",{key:a,staticClass:"tabs-header-item",style:[t.itemStyle(a)]},[e("span",[t._v(t._s(s.name))]),1==t.content.show_line&&t.content.active==a?e("span",{staticClass:"tabs-line",style:{background:t.styles.line_color}}):t._e()])})),0)]),e("div",{staticClass:"tabs-content"},t._l(t.content.data,(function(s,a){return e("div",{key:a,staticClass:"tabs-content-item"},[t.content.active==a?e("div",[e("goods",{attrs:{styles:s,content:s}})],1):t._e()])})),0)],1)}),[],!1,null,"662e4380",null).exports);let Jt=class extends l.e{};Object(a.a)([Object(l.c)()],Jt.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Jt.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],Jt.prototype,"index",void 0),Object(a.a)([Object(l.c)()],Jt.prototype,"operate",void 0),Jt=Object(a.a)([Object(l.a)({components:{Contents:Qt,WidgetPackage:_.a}})],Jt);var Vt=Jt,Gt={attribute:Nt,contents:Qt,widget:Object(b.a)(Vt,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},Ht=s("0a6d");let Kt=class extends l.e{constructor(){super(...arguments),this.category=1,this.currentStyle=0}valueChange(t){switch(t){case 1:case 2:case 3:case 4:this.category=1;break;case 5:case 6:this.category=2;break;case 7:case 8:this.category=3}this.currentStyle=t}selectStyle(t){this.currentStyle=t}onConfirm(){this.$emit("input",this.currentStyle)}};Object(a.a)([Object(l.c)()],Kt.prototype,"value",void 0),Object(a.a)([Object(l.f)("value",{immediate:!0})],Kt.prototype,"valueChange",null),Kt=Object(a.a)([Object(l.a)({components:{LsDialog:Ht.a}})],Kt);var Xt=Kt,Zt=(s("ed0c"),Object(b.a)(Xt,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("ls-dialog",{attrs:{title:"选择分类样式",width:"1100px",top:"15vh"},on:{confirm:t.onConfirm}},[e("div",{attrs:{slot:"trigger"},slot:"trigger"},[t._t("trigger")],2),e("div",{staticClass:"category-select"},[e("div",[e("el-radio-group",{model:{value:t.category,callback:function(e){t.category=e},expression:"category"}},[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),e("div",[1==t.category?[e("div",{staticClass:"img-wrap",class:{active:1==t.currentStyle},on:{click:function(e){return t.selectStyle(1)}}},[e("img",{attrs:{src:s("db5c")}})]),e("div",{staticClass:"img-wrap",class:{active:2==t.currentStyle},on:{click:function(e){return t.selectStyle(2)}}},[e("img",{attrs:{src:s("f886")}})]),e("div",{staticClass:"img-wrap",class:{active:3==t.currentStyle},on:{click:function(e){return t.selectStyle(3)}}},[e("img",{attrs:{src:s("705e")}})]),e("div",{staticClass:"img-wrap",class:{active:4==t.currentStyle},on:{click:function(e){return t.selectStyle(4)}}},[e("img",{attrs:{src:s("a4c3")}})])]:t._e(),2==t.category?[e("div",{staticClass:"img-wrap",class:{active:5==t.currentStyle},on:{click:function(e){return t.selectStyle(5)}}},[e("img",{attrs:{src:s("9cec")}})]),e("div",{staticClass:"img-wrap",class:{active:6==t.currentStyle},on:{click:function(e){return t.selectStyle(6)}}},[e("img",{attrs:{src:s("c20a")}})])]:t._e(),3==t.category?[e("div",{staticClass:"img-wrap",class:{active:7==t.currentStyle},on:{click:function(e){return t.selectStyle(7)}}},[e("img",{attrs:{src:s("d364")}})]),e("div",{staticClass:"img-wrap",class:{active:8==t.currentStyle},on:{click:function(e){return t.selectStyle(8)}}},[e("img",{attrs:{src:s("69ce")}})])]:t._e()],2)])])],1)}),[],!1,null,"7f2a1a2c",null).exports);let qt=class extends l.e{};Object(a.a)([Object(l.c)()],qt.prototype,"content",void 0),qt=Object(a.a)([l.a],qt);var te=qt,ee=(s("b78d"),Object(b.a)(te,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"style-list flex row-center"},[1==t.content.style?e("img",{staticStyle:{width:"375px"},attrs:{src:s("db5c")}}):t._e(),2==t.content.style?e("img",{staticStyle:{width:"375px"},attrs:{src:s("f886")}}):t._e(),3==t.content.style?e("img",{staticStyle:{width:"375px"},attrs:{src:s("705e")}}):t._e(),4==t.content.style?e("img",{staticStyle:{width:"375px"},attrs:{src:s("a4c3")}}):t._e(),5==t.content.style?e("img",{staticStyle:{width:"375px"},attrs:{src:s("9cec")}}):t._e(),6==t.content.style?e("img",{staticStyle:{width:"375px"},attrs:{src:s("c20a")}}):t._e(),7==t.content.style?e("img",{staticStyle:{width:"375px"},attrs:{src:s("d364")}}):t._e(),8==t.content.style?e("img",{staticStyle:{width:"375px"},attrs:{src:s("69ce")}}):t._e()])}),[],!1,null,"6104c472",null).exports),se=s("e648");let ae=class extends l.e{constructor(){super(...arguments),this.showSelect=!1,this.category=1}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}handleAdd(){Array.isArray(this.content.data)||(this.content.data=[]),this.content.data.push({url:"",link:{},category:{}})}handleDelete(t){this.content.data.splice(t,1)}selectStyle(t){this.content.style=t,this.showSelect=!1}};ae=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,CategoryStyle:Zt,StyleList:ee,MaterialSelect:W.a,LinkSelect:A.a,CategorySelect:se.a}})],ae);var le=ae,oe=(s("647d"),Object(b.a)(le,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"商品分类"}},[e("div",[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"风格选择"}},[e("category-style",{attrs:{slot:"right"},slot:"right",model:{value:t.content.style,callback:function(e){t.$set(t.content,"style",e)},expression:"content.style"}},[e("el-button",{attrs:{slot:"trigger",size:"mini",type:"text"},slot:"trigger"},[t._v("切换风格")])],1),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"style-chose"},[e("style-list",{attrs:{content:t.content}})],1)])],1),e("attribute-item",{attrs:{title:"广告图片",desc:"建议图片尺寸:750px*340px"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("el-alert",{attrs:{closable:!1,type:"info"}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v("请前往移动端查看效果")])])],1),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"banner"},[e("div",{staticClass:"banner-list"},t._l(t.content.data,(function(s,a){return e("div",{key:a,staticClass:"banner-item ls-del-wrap m-b-20"},[e("material-select",{attrs:{"enable-domain":!1,"enable-delete":!1},scopedSlots:t._u([{key:"preview",fn:function({item:t}){return[e("div",{staticClass:"banner-iamge muted"},[e("el-image",{attrs:{src:t}})],1)]}}],null,!0),model:{value:s.url,callback:function(e){t.$set(s,"url",e)},expression:"item.url"}},[e("div",{staticClass:"banner-iamge muted",attrs:{slot:"upload"},slot:"upload"},[e("div",{staticClass:"add-image flex-col row-center col-center"},[e("i",{staticClass:"el-icon-plus font-size-30"}),t._v(" 添加图片 ")])])]),e("div",{staticClass:"flex m-t-10"},[e("div",{staticClass:"m-r-10 lighter"},[t._v("所属分类")]),e("category-select",{attrs:{level:1},model:{value:s.category,callback:function(e){t.$set(s,"category",e)},expression:"item.category"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{slot:"trigger",value:s.category&&s.category.name,placeholder:"请选择分类",size:"small",readonly:""},slot:"trigger"},[s.category&&s.category.name?e("i",{staticClass:"el-icon-close el-input__icon",attrs:{slot:"suffix"},on:{click:function(e){return e.stopPropagation(),t.handleDelete.apply(null,arguments)}},slot:"suffix"}):e("i",{staticClass:"el-icon-arrow-right el-input__icon",attrs:{slot:"suffix"},slot:"suffix"})])],1)],1),e("div",{staticClass:"flex m-t-10"},[e("div",{staticClass:"m-r-10 lighter"},[t._v("链接地址")]),e("link-select",{model:{value:s.link,callback:function(e){t.$set(s,"link",e)},expression:"item.link"}})],1),e("i",{staticClass:"el-icon-close ls-icon-del",on:{click:function(e){return t.handleDelete(a)}}})],1)})),0),e("el-button",{staticClass:"add-banner",attrs:{size:"small"},on:{click:t.handleAdd}},[t._v("+ 添加")])],1)])],1)],1)],1)])],1)}),[],!1,null,"0cb591e6",null).exports);let ie=class extends l.e{};Object(a.a)([Object(l.c)()],ie.prototype,"content",void 0),Object(a.a)([Object(l.c)()],ie.prototype,"styles",void 0),ie=Object(a.a)([Object(l.a)({components:{StyleList:ee}})],ie);var re=ie,ne=(s("6e32"),Object(b.a)(re,(function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"category"},[t("style-list",{attrs:{content:this.content}})],1)}),[],!1,null,"71800a9f",null).exports);let ce=class extends l.e{};Object(a.a)([Object(l.c)()],ce.prototype,"content",void 0),Object(a.a)([Object(l.c)()],ce.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],ce.prototype,"index",void 0),Object(a.a)([Object(l.c)()],ce.prototype,"operate",void 0),ce=Object(a.a)([Object(l.a)({components:{Contents:ne,WidgetPackage:_.a}})],ce);var de=ce,ue={attribute:oe,contents:ne,widget:Object(b.a)(de,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};let be=class extends l.e{constructor(){super(...arguments),this.assetsOptions=[{name:"余额",value:1},{name:"积分",value:2},{name:"优惠券",value:3},{name:"收藏",value:4}]}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};be=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,MaterialSelect:W.a}})],be);var pe=be,me=(s("7cd4"),Object(b.a)(pe,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"会员信息"}},[e("div",[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"背景设置"}},[e("el-form-item",{attrs:{label:"背景图片"}},[e("el-radio-group",{model:{value:t.content.background_type,callback:function(e){t.$set(t.content,"background_type",e)},expression:"content.background_type"}},[e("el-radio",{attrs:{label:1}},[t._v("系统默认")]),e("el-radio",{attrs:{label:2}},[t._v("自定义")])],1)],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:2==t.content.background_type,expression:"content.background_type == 2"}]},[e("material-select",{attrs:{size:60,"upload-bg":"#fff","enable-domain":!1,"enable-delete":!1},scopedSlots:t._u([{key:"preview",fn:function({item:t}){return[e("div",{staticClass:"image-select"},[e("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t}})],1)]}}]),model:{value:t.content.background_image,callback:function(e){t.$set(t.content,"background_image",e)},expression:"content.background_image"}},[e("div",{staticClass:"image-select flex-col row-center col-center",attrs:{slot:"upload"},slot:"upload"},[e("i",{staticClass:"el-icon-plus lg"}),e("div",[t._v("添加图片")])])]),e("div",{staticClass:"muted"},[t._v("建议图片尺寸:750px*340px")])],1)],1),e("attribute-item",{attrs:{title:"会员信息"}},[e("el-form-item",{attrs:{label:"默认头像"}},[e("el-radio-group",{model:{value:t.content.avatar_type,callback:function(e){t.$set(t.content,"avatar_type",e)},expression:"content.avatar_type"}},[e("el-radio",{attrs:{label:1}},[t._v("系统默认")]),e("el-radio",{attrs:{label:2}},[t._v("自定义")])],1)],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:2==t.content.avatar_type,expression:"content.avatar_type == 2"}]},[e("material-select",{attrs:{size:60,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.avatar,callback:function(e){t.$set(t.content,"avatar",e)},expression:"content.avatar"}},[e("i",{staticClass:"el-icon-plus lg"})]),e("div",{staticClass:"muted"},[t._v("建议尺寸:100*100")])],1),e("el-form-item",{attrs:{label:"会员编号"}},[e("el-radio-group",{model:{value:t.content.show_user_sn,callback:function(e){t.$set(t.content,"show_user_sn",e)},expression:"content.show_user_sn"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1),e("el-form-item",{attrs:{label:"资产内容"}},[e("el-checkbox-group",{model:{value:t.content.assets,callback:function(e){t.$set(t.content,"assets",e)},expression:"content.assets"}},t._l(t.assetsOptions,(function(s,a){return e("el-checkbox",{key:a,attrs:{label:s.value}},[t._v(t._s(s.name))])})),1)],1),e("el-form-item",{attrs:{label:"等级入口"}},[e("el-radio-group",{model:{value:t.content.show_member,callback:function(e){t.$set(t.content,"show_member",e)},expression:"content.show_member"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1)],1)],1)],1)])],1)}),[],!1,null,"123c2e54",null).exports);let ge=class extends l.e{get infoStyle(){const{background_image:t,background_type:e}=this.content;return t&&1!=e?{"background-image":`url(${this.$getImageUri(this.content.background_image)})`}:{}}get showAssets(){return t=>this.content.assets.includes(t)}};Object(a.a)([Object(l.c)()],ge.prototype,"content",void 0),Object(a.a)([Object(l.c)()],ge.prototype,"styles",void 0),ge=Object(a.a)([Object(l.a)({components:{Indicator:$.a,WidgetRoot:m.a}})],ge);var fe=ge,ve=(s("9d0c"),Object(b.a)(fe,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"user-info flex-col",style:[t.infoStyle]},[e("div",{staticClass:"user-top flex-1 col-top"},[e("div",{staticClass:"flex"},[e("img",{staticClass:"icon-avatar",attrs:{src:2==t.content.avatar_type&&t.content.avatar?t.$getImageUri(t.content.avatar):s("1162"),mode:""}}),e("div",{staticClass:"m-l-15 flex-1"},[e("div",{staticClass:"xxl white"},[t._v("会员昵称")]),t.content.show_user_sn?e("div",{staticClass:"flex user-id m-t-4"},[e("div",{staticClass:"xs m-r-6 white"},[t._v("会员ID: 00000000")]),e("div",{staticClass:"xs copy-btn"},[t._v("复制")])]):t._e()])])]),e("div",{staticClass:"assets-nav flex"},[t.showAssets(1)?e("div",{staticClass:"assets-item flex-col col-center"},[e("div",{staticClass:"number"},[t._v("0")]),e("div",[t._v("余额")])]):t._e(),t.showAssets(2)?e("div",{staticClass:"assets-item flex-col col-center"},[e("div",{staticClass:"number"},[t._v("0")]),e("div",[t._v("积分")])]):t._e(),t.showAssets(3)?e("div",{staticClass:"assets-item flex-col col-center"},[e("div",{staticClass:"number"},[t._v("0")]),e("div",[t._v("优惠券")])]):t._e(),t.showAssets(4)?e("div",{staticClass:"assets-item flex-col col-center"},[e("div",{staticClass:"number"},[t._v("0")]),e("div",[t._v("收藏")])]):t._e()]),t.content.show_member?e("div",{staticClass:"user-grade flex row-between"},[t._m(0),t._m(1)]):t._e()])}),[function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"sm"},[t("span",{staticClass:"lg m-r-6 weight-500",staticStyle:{"font-style":"italic"}},[this._v("V")]),this._v("登录查看会员权益")])},function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"xs"},[this._v("了解会员 "),t("i",{staticClass:"el-icon-arrow-right"})])}],!1,null,"65ee144c",null).exports);let _e=class extends l.e{};Object(a.a)([Object(l.c)()],_e.prototype,"content",void 0),Object(a.a)([Object(l.c)()],_e.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],_e.prototype,"index",void 0),Object(a.a)([Object(l.c)()],_e.prototype,"operate",void 0),_e=Object(a.a)([Object(l.a)({components:{Contents:ve,WidgetPackage:_.a}})],_e);var he=_e,ye={attribute:me,contents:ve,widget:Object(b.a)(he,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};let xe=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};xe=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,MaterialSelect:W.a}})],xe);var Ae=xe,we=(s("0920"),Object(b.a)(Ae,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"我的订单"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:""}},[e("el-form-item",{attrs:{label:"标题名称"}},[e("el-input",{attrs:{maxlength:"8","show-word-limit":"",placeholder:"请输入标题名称"},model:{value:t.content.text,callback:function(e){t.$set(t.content,"text",e)},expression:"content.text"}})],1)],1),e("attribute-item",{attrs:{title:"图片设置"}},[e("div",{staticClass:"nav-list"},[e("div",{staticClass:"nav-item flex"},[e("material-select",{attrs:{size:48,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.pay_icon,callback:function(e){t.$set(t.content,"pay_icon",e)},expression:"content.pay_icon"}},[e("i",{staticClass:"el-icon-plus"})]),e("div",{staticClass:"flex"},[e("span",{staticClass:"flex-none m-r-10 xs lighter m-l-20"},[t._v("名称")]),e("el-input",{attrs:{maxlength:"6",size:"small","show-word-limit":"",placeholder:"请输入名称"},model:{value:t.content.pay_name,callback:function(e){t.$set(t.content,"pay_name",e)},expression:"content.pay_name"}})],1)],1),e("div",{staticClass:"nav-item flex"},[e("material-select",{attrs:{size:48,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.delivery_icon,callback:function(e){t.$set(t.content,"delivery_icon",e)},expression:"content.delivery_icon"}},[e("i",{staticClass:"el-icon-plus"})]),e("div",{staticClass:"flex"},[e("span",{staticClass:"flex-none m-r-10 xs lighter m-l-20"},[t._v("名称")]),e("el-input",{attrs:{maxlength:"6",size:"small","show-word-limit":"",placeholder:"请输入名称"},model:{value:t.content.delivery_name,callback:function(e){t.$set(t.content,"delivery_name",e)},expression:"content.delivery_name"}})],1)],1),e("div",{staticClass:"nav-item flex"},[e("material-select",{attrs:{size:48,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.take_icon,callback:function(e){t.$set(t.content,"take_icon",e)},expression:"content.take_icon"}},[e("i",{staticClass:"el-icon-plus"})]),e("div",{staticClass:"flex"},[e("span",{staticClass:"flex-none m-r-10 xs lighter m-l-20"},[t._v("名称")]),e("el-input",{attrs:{maxlength:"6",size:"small","show-word-limit":"",placeholder:"请输入名称"},model:{value:t.content.take_name,callback:function(e){t.$set(t.content,"take_name",e)},expression:"content.take_name"}})],1)],1),e("div",{staticClass:"nav-item flex"},[e("material-select",{attrs:{size:48,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.comment_icon,callback:function(e){t.$set(t.content,"comment_icon",e)},expression:"content.comment_icon"}},[e("i",{staticClass:"el-icon-plus"})]),e("div",{staticClass:"flex"},[e("span",{staticClass:"flex-none m-r-10 xs lighter m-l-20"},[t._v("名称")]),e("el-input",{attrs:{maxlength:"6",size:"small","show-word-limit":"",placeholder:"请输入名称"},model:{value:t.content.comment_name,callback:function(e){t.$set(t.content,"comment_name",e)},expression:"content.comment_name"}})],1)],1),e("div",{staticClass:"nav-item flex"},[e("material-select",{attrs:{size:48,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.sale_icon,callback:function(e){t.$set(t.content,"sale_icon",e)},expression:"content.sale_icon"}},[e("i",{staticClass:"el-icon-plus"})]),e("div",{staticClass:"flex"},[e("span",{staticClass:"flex-none m-r-10 xs lighter m-l-20"},[t._v("名称")]),e("el-input",{attrs:{maxlength:"6",size:"small","show-word-limit":"",placeholder:"请输入名称"},model:{value:t.content.sale_name,callback:function(e){t.$set(t.content,"sale_name",e)},expression:"content.sale_name"}})],1)],1)])])],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"组件背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.bg_color,callback:function(e){t.$set(t.styles,"bg_color",e)},expression:"styles.bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1)],1)],1)],1)])],1)}),[],!1,null,"2641a944",null).exports);let Ce=class extends l.e{};Object(a.a)([Object(l.c)()],Ce.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Ce.prototype,"styles",void 0),Ce=Object(a.a)([Object(l.a)({components:{Indicator:$.a,WidgetRoot:m.a}})],Ce);var ke=Ce,Oe=(s("1824"),Object(b.a)(ke,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"user-order",style:{"background-color":t.styles.bg_color,"border-radius":`${t.styles.border_radius_top}px ${t.styles.border_radius_top}px ${t.styles.border_radius_bottom}px ${t.styles.border_radius_bottom}px`}},[e("div",{staticClass:"order-title flex row-between"},[e("div",{staticClass:"weight-500"},[t._v(t._s(t.content.text))]),e("div",{staticClass:"sm muted"},[t._v("全部订单 "),e("i",{staticClass:"el-icon-arrow-right"})])]),e("div",{staticClass:"order-nav flex"},[e("div",{staticClass:"nav-item flex-col col-center"},[e("el-image",{staticClass:"nav-icon",attrs:{src:t.$getImageUri(t.content.pay_icon)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-20"})])]),e("div",{staticClass:"xs"},[t._v(t._s(t.content.pay_name))])],1),e("div",{staticClass:"nav-item flex-col col-center"},[e("el-image",{staticClass:"nav-icon",attrs:{src:t.$getImageUri(t.content.delivery_icon)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-20"})])]),e("div",{staticClass:"xs"},[t._v(t._s(t.content.delivery_name))])],1),e("div",{staticClass:"nav-item flex-col col-center"},[e("el-image",{staticClass:"nav-icon",attrs:{src:t.$getImageUri(t.content.take_icon)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-20"})])]),e("div",{staticClass:"xs"},[t._v(t._s(t.content.take_name))])],1),e("div",{staticClass:"nav-item flex-col col-center"},[e("el-image",{staticClass:"nav-icon",attrs:{src:t.$getImageUri(t.content.comment_icon)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-20"})])]),e("div",{staticClass:"xs"},[t._v(t._s(t.content.comment_name))])],1),e("div",{staticClass:"nav-item flex-col col-center"},[e("el-image",{staticClass:"nav-icon",attrs:{src:t.$getImageUri(t.content.sale_icon)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-20"})])]),e("div",{staticClass:"xs"},[t._v(t._s(t.content.sale_name))])],1)])])])}),[],!1,null,"7b3953b6",null).exports);let je=class extends l.e{};Object(a.a)([Object(l.c)()],je.prototype,"content",void 0),Object(a.a)([Object(l.c)()],je.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],je.prototype,"index",void 0),Object(a.a)([Object(l.c)()],je.prototype,"operate",void 0),je=Object(a.a)([Object(l.a)({components:{Contents:Oe,WidgetPackage:_.a}})],je);var Fe=je,Se={attribute:we,contents:Oe,widget:Object(b.a)(Fe,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};let ze=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};ze=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,MaterialSelect:W.a,NavList:Q.a}})],ze);var Le=ze,Me=Object(b.a)(Le,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"我的订单"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:""}},[e("el-form-item",{attrs:{label:"标题名称"}},[e("el-input",{attrs:{maxlength:"8","show-word-limit":"",placeholder:"请输入标题名称"},model:{value:t.content.text,callback:function(e){t.$set(t.content,"text",e)},expression:"content.text"}})],1)],1),e("attribute-item",{attrs:{title:"导航内容"}},[e("nav-list",{model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"组件背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.bg_color,callback:function(e){t.$set(t.styles,"bg_color",e)},expression:"styles.bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1)],1)],1)],1)])],1)}),[],!1,null,"2e67d758",null).exports;let De=class extends l.e{get infoStyle(){const{background_image:t,background_type:e}=this.content;return t&&1!=e?{"background-image":`url(${this.content.background_image})`}:{}}};Object(a.a)([Object(l.c)()],De.prototype,"content",void 0),Object(a.a)([Object(l.c)()],De.prototype,"styles",void 0),De=Object(a.a)([Object(l.a)({components:{Indicator:$.a,WidgetRoot:m.a}})],De);var Ie=De,Pe=(s("1ac6"),Object(b.a)(Ie,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"user-serve",style:{"background-color":t.styles.bg_color,"border-radius":`${t.styles.border_radius_top}px ${t.styles.border_radius_top}px ${t.styles.border_radius_bottom}px ${t.styles.border_radius_bottom}px`}},[e("div",{staticClass:"serve-title"},[e("div",{staticClass:"weight-500"},[t._v(t._s(t.content.text))])]),e("div",{staticClass:"serve-nav flex flex-wrap"},[t._l(t.content.data,(function(s,a){return[s.hidden?t._e():e("div",{key:a,staticClass:"nav-item flex-col col-center"},[e("el-image",{staticClass:"nav-icon",attrs:{src:t.$getImageUri(s.url)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-20"})])]),e("div",{staticClass:"xs"},[t._v(t._s(s.name))])],1)]}))],2)])])}),[],!1,null,"5adc6a04",null).exports);let Be=class extends l.e{};Object(a.a)([Object(l.c)()],Be.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Be.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],Be.prototype,"index",void 0),Object(a.a)([Object(l.c)()],Be.prototype,"operate",void 0),Be=Object(a.a)([Object(l.a)({components:{Contents:Pe,WidgetPackage:_.a}})],Be);var $e=Be,Ee={attribute:Me,contents:Pe,widget:Object(b.a)($e,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};let Re=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}clearCategory(){this.content.category.name="",this.content.category.id=""}};Re=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,Slider:c.a,AttributeItem:n.a,MaterialSelect:W.a}})],Re);var Ue=Re,Te=Object(b.a)(Ue,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"公告"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"公告图标"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("el-radio-group",{model:{value:t.content.icon_type,callback:function(e){t.$set(t.content,"icon_type",e)},expression:"content.icon_type"}},[e("el-radio",{attrs:{label:1}},[t._v("系统默认")]),e("el-radio",{attrs:{label:2}},[t._v("自定义")])],1),2==t.content.icon_type?e("div",{staticClass:"m-t-12"},[e("material-select",{ref:"materialSelect",attrs:{size:60,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.icon,callback:function(e){t.$set(t.content,"icon",e)},expression:"content.icon"}},[e("i",{staticClass:"el-icon-plus lg"})]),e("span",{staticClass:"muted xs"},[t._v("建议尺寸: 60*20")])],1):t._e()],1)],1),e("attribute-item",{attrs:{title:"数据显示"}},[e("el-form-item",{attrs:{label:"显示条数"}},[e("slider",{attrs:{min:1,max:5},model:{value:t.content.num,callback:function(e){t.$set(t.content,"num",e)},expression:"content.num"}})],1)],1),e("attribute-item",{attrs:{title:"最新标签"}},[e("el-radio-group",{model:{value:t.content.show_tag,callback:function(e){t.$set(t.content,"show_tag",e)},expression:"content.show_tag"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1)],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":"rgba(0,0,0,0)"},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"组件背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.bg_color,callback:function(e){t.$set(t.styles,"bg_color",e)},expression:"styles.bg_color"}})],1),e("el-form-item",{attrs:{label:"线条颜色"}},[e("color-select",{attrs:{"reset-color":"#E5E5E5"},model:{value:t.styles.line_color,callback:function(e){t.$set(t.styles,"line_color",e)},expression:"styles.line_color"}})],1),e("el-form-item",{attrs:{label:"文字颜色"}},[e("color-select",{attrs:{"reset-color":"#333333"},model:{value:t.styles.color,callback:function(e){t.$set(t.styles,"color",e)},expression:"styles.color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"圆角"}},[e("slider",{model:{value:t.styles.border_radius,callback:function(e){t.$set(t.styles,"border_radius",e)},expression:"styles.border_radius"}})],1)],1)],1)],1)])],1)}),[],!1,null,"75f75879",null).exports;let Ne=class extends l.e{};Object(a.a)([Object(l.c)()],Ne.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Ne.prototype,"styles",void 0),Ne=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],Ne);var Ye=Ne,We=(s("ad40"),Object(b.a)(Ye,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"notice",style:{"background-color":t.styles.bg_color,"border-radius":t.styles.border_radius+"px"}},[e("div",{staticClass:"flex"},[e("img",{staticClass:"flex-none",staticStyle:{height:"17px"},attrs:{src:1==t.content.icon_type?s("86dd"):t.$getImageUri(t.content.icon)}}),e("div",{staticClass:"flex left-line flex-1",style:{"border-color":t.styles.line_color}},[t.content.show_tag?e("div",{staticClass:"new-tag flex-none"},[t._v("最新")]):t._e(),e("div",{staticClass:"xs line-1",style:{color:t.styles.color}},[t._v("公告标题")])]),e("i",{staticClass:"el-icon-arrow-right"})])])])}),[],!1,null,"3b38988a",null).exports);let Qe=class extends l.e{};Object(a.a)([Object(l.c)()],Qe.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Qe.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],Qe.prototype,"index",void 0),Object(a.a)([Object(l.c)()],Qe.prototype,"operate",void 0),Qe=Object(a.a)([Object(l.a)({components:{Contents:We,WidgetPackage:_.a}})],Qe);var Je=Qe,Ve={attribute:Te,contents:We,widget:Object(b.a)(Je,(function(){var t=this._self._c;this._self._setupProxy;return t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)}),[],!1,null,null,null).exports};let Ge=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};Ge=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,Slider:c.a,AttributeItem:n.a}})],Ge);var He=Ge,Ke=Object(b.a)(He,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"空白间距"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"空白间距高度"}},[[e("el-form-item",{attrs:{label:"高度"}},[e("slider",{attrs:{max:100},model:{value:t.styles.height,callback:function(e){t.$set(t.styles,"height",e)},expression:"styles.height"}})],1)]],2)],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"组件背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.bg_color,callback:function(e){t.$set(t.styles,"bg_color",e)},expression:"styles.bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1)],1)],1)])],1)}),[],!1,null,"a9008d8a",null).exports;let Xe=class extends l.e{};Object(a.a)([Object(l.c)()],Xe.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Xe.prototype,"styles",void 0),Xe=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],Xe);var Ze=Xe,qe=(s("601f"),Object(b.a)(Ze,(function(){var t=this._self._c;this._self._setupProxy;return t("widget-root",{attrs:{styles:this.styles}},[t("div",{staticClass:"blank",style:{height:this.styles.height+"px","background-color":this.styles.bg_color}})])}),[],!1,null,"6a05afac",null).exports);let ts=class extends l.e{};Object(a.a)([Object(l.c)()],ts.prototype,"content",void 0),Object(a.a)([Object(l.c)()],ts.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],ts.prototype,"index",void 0),Object(a.a)([Object(l.c)()],ts.prototype,"operate",void 0),ts=Object(a.a)([Object(l.a)({components:{Contents:qe,WidgetPackage:_.a}})],ts);var es=ts,ss={attribute:Ke,contents:qe,widget:Object(b.a)(es,(function(){var t=this._self._c;this._self._setupProxy;return t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)}),[],!1,null,null,null).exports};let as=class extends l.e{get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};as=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,Slider:c.a,AttributeItem:n.a}})],as);var ls=as,os=Object(b.a)(ls,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"辅助线"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"选择样式"}},[[e("el-radio",{attrs:{label:"solid"},model:{value:t.content.separate,callback:function(e){t.$set(t.content,"separate",e)},expression:"content.separate"}},[t._v("实线")]),e("el-radio",{attrs:{label:"dashed"},model:{value:t.content.separate,callback:function(e){t.$set(t.content,"separate",e)},expression:"content.separate"}},[t._v("虚线")]),e("el-radio",{attrs:{label:"dotted"},model:{value:t.content.separate,callback:function(e){t.$set(t.content,"separate",e)},expression:"content.separate"}},[t._v("点状")])]],2)],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":"rgba(0,0,0,0)"},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"线条颜色"}},[e("color-select",{attrs:{"reset-color":"#E5E5E5"},model:{value:t.styles.line_color,callback:function(e){t.$set(t.styles,"line_color",e)},expression:"styles.line_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1)],1)],1)])],1)}),[],!1,null,"0aafb844",null).exports;let is=class extends l.e{};Object(a.a)([Object(l.c)()],is.prototype,"content",void 0),Object(a.a)([Object(l.c)()],is.prototype,"styles",void 0),is=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],is);var rs=is,ns=(s("c2ca"),Object(b.a)(rs,(function(){var t=this._self._c;this._self._setupProxy;return t("widget-root",{attrs:{styles:this.styles}},[t("div",{staticClass:"separate"},[t("div",{style:{"border-color":this.styles.line_color,"border-style":this.content.separate}})])])}),[],!1,null,"5adb5290",null).exports);let cs=class extends l.e{};Object(a.a)([Object(l.c)()],cs.prototype,"content",void 0),Object(a.a)([Object(l.c)()],cs.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],cs.prototype,"index",void 0),Object(a.a)([Object(l.c)()],cs.prototype,"operate",void 0),cs=Object(a.a)([Object(l.a)({components:{Contents:ns,WidgetPackage:_.a}})],cs);var ds=cs,us={attribute:os,contents:ns,widget:Object(b.a)(ds,(function(){var t=this._self._c;this._self._setupProxy;return t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)}),[],!1,null,null,null).exports};s("e9f5"),s("f665");let bs=class extends l.e{constructor(){super(...arguments),this.current=0}get imgLists(){return this.value}set imgLists(t){this.$emit("input",t)}changeCurrent(t){this.current=t,this.$emit("change",t)}};Object(a.a)([Object(l.c)()],bs.prototype,"value",void 0),Object(a.a)([Object(l.c)()],bs.prototype,"facade",void 0),bs=Object(a.a)([Object(l.a)({})],bs);var ps=bs,ms=(s("e45a"),Object(b.a)(ps,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"cube-layout"},[1==t.facade?e("div",{staticClass:"layout-item1"},[e("div",{staticClass:"item-image",class:{active:0==t.current}},[t.imgLists[0]&&t.imgLists[0].url?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(t.imgLists[0].url)}}):e("div",{staticClass:"item-tips muted"},[e("span",[t._v("750x不限高度")])])],1)]):t._e(),2==t.facade?e("div",{staticClass:"layout-item2"},t._l(t.imgLists,(function(s,a){return e("div",{key:a,staticClass:"item-image",class:{active:t.current==a},on:{click:function(e){return t.changeCurrent(a)}}},[s&&s.url?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(s.url)}}):e("div",{staticClass:"item-tips muted"},[e("span",[t._v("375x不限高度")])])],1)})),0):t._e(),3==t.facade?e("div",{staticClass:"layout-item3"},t._l(t.imgLists,(function(s,a){return e("div",{key:a,staticClass:"item-image",class:{active:t.current==a},on:{click:function(e){return t.changeCurrent(a)}}},[s&&s.url?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(s.url)}}):e("div",{staticClass:"item-tips muted"},[e("span",[t._v("250x不限高度")])])],1)})),0):t._e(),4==t.facade?e("div",{staticClass:"layout-item4"},[e("div",{staticClass:"item-image",class:{active:0==t.current},style:{width:"180px",height:"180px",top:0,left:0},on:{click:function(e){return t.changeCurrent(0)}}},[t.imgLists[0]&&t.imgLists[0].url?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(t.imgLists[0].url)}}):e("div",{staticClass:"item-tips muted"},[e("span",[t._v("375x375")])])],1),e("div",{staticClass:"item-image",class:{active:1==t.current},style:{width:"180px",height:"90px",top:0,left:"180px"},on:{click:function(e){return t.changeCurrent(1)}}},[t.imgLists[1]&&t.imgLists[1].url?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(t.imgLists[1].url)}}):e("div",{staticClass:"item-tips muted"},[e("span",[t._v("375x188")])])],1),e("div",{staticClass:"item-image",class:{active:2==t.current},style:{width:"180px",height:"90px",top:"90px",left:"180px"},on:{click:function(e){return t.changeCurrent(2)}}},[t.imgLists[2]&&t.imgLists[2].url?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(t.imgLists[2].url)}}):e("div",{staticClass:"item-tips muted"},[e("span",[t._v("375x188")])])],1)]):t._e(),5==t.facade?e("div",{staticClass:"layout-item5"},t._l(t.imgLists,(function(s,a){return e("div",{key:a,staticClass:"item-image",class:{active:t.current==a},on:{click:function(e){return t.changeCurrent(a)}}},[s&&s.url?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(s.url)}}):e("div",{staticClass:"item-tips muted"},[e("span",[t._v("188x188")])])],1)})),0):t._e(),6==t.facade?e("div",{staticClass:"layout-item6"},[e("div",{staticClass:"item-image",class:{active:0==t.current},style:{width:"360px",height:"90px",top:0,left:0},on:{click:function(e){return t.changeCurrent(0)}}},[t.imgLists[0]&&t.imgLists[0].url?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(t.imgLists[0].url)}}):e("div",{staticClass:"item-tips muted"},[e("span",[t._v("750x188")])])],1),e("div",{staticClass:"item-image",class:{active:1==t.current},style:{width:"180px",height:"90px",top:"90px",left:0},on:{click:function(e){return t.changeCurrent(1)}}},[t.imgLists[1]&&t.imgLists[1].url?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(t.imgLists[1].url)}}):e("div",{staticClass:"item-tips muted"},[e("span",[t._v("375x188")])])],1),e("div",{staticClass:"item-image",class:{active:2==t.current},style:{width:"180px",height:"90px",top:"90px",left:"180px"},on:{click:function(e){return t.changeCurrent(2)}}},[t.imgLists[2]&&t.imgLists[2].url?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(t.imgLists[2].url)}}):e("div",{staticClass:"item-tips muted"},[e("span",[t._v("375x188")])])],1)]):t._e()])}),[],!1,null,"e1ad595a",null).exports);let gs=class extends l.e{constructor(){super(...arguments),this.current=0,this.styleData=[{name:"一行1个",value:1,num:1},{name:"一行2个",value:2,num:2},{name:"一行3个",value:3,num:3},{name:"左1右2",value:4,num:3},{name:"左2右2",value:5,num:4},{name:"上1下2",value:6,num:3}]}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}get currentData(){const t=this.current;if(this.content.data.length>0)return this.content.data[t]}styleChange(t){var e;this.current=0;const s=(null===(e=this.styleData.find(e=>e.value==t))||void 0===e?void 0:e.num)||1;this.content.data=this.handleArray(s)}currentChange(t){this.current=t}handleArray(t){const e=JSON.parse(JSON.stringify(this.content.data)),s=[];for(let a=0;a<t;a++)e[a]?s.push(e[a]):s.push({url:"",link:{}});return s}};Object(a.a)([Object(l.f)("content.style",{immediate:!0})],gs.prototype,"styleChange",null),gs=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,Slider:c.a,Draggable:Rt.a,AttributeItem:n.a,MaterialSelect:W.a,LinkSelect:A.a,StyleChose:r.a,CubeLayout:ms}})],gs);var fs=gs,vs=(s("c4618"),Object(b.a)(fs,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"图片魔方"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"风格选择"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("style-chose",{attrs:{data:t.styleData},model:{value:t.content.style,callback:function(e){t.$set(t.content,"style",e)},expression:"content.style"}})],1)],1),e("attribute-item",{attrs:{title:"魔方布局"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("cube-layout",{attrs:{facade:t.content.style},on:{change:t.currentChange},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)],1),e("attribute-item",{attrs:{title:"图片设置"}},[e("div",{staticClass:"p-20",staticStyle:{background:"#f9f9f9"}},[e("div",{staticClass:"flex m-b-8"},[e("div",{staticClass:"lighter m-r-20"},[t._v("图片")]),e("material-select",{ref:"materialSelect",staticClass:"m-r-10",attrs:{size:50,"upload-bg":"#fff","enable-domain":!1},model:{value:t.currentData.url,callback:function(e){t.$set(t.currentData,"url",e)},expression:"currentData.url"}},[e("i",{staticClass:"el-icon-plus lg"})])],1),e("div",{staticClass:"flex"},[e("div",{staticClass:"lighter m-r-20"},[t._v("链接")]),e("link-select",{staticClass:"flex-1",model:{value:t.currentData.link,callback:function(e){t.$set(t.currentData,"link",e)},expression:"currentData.link"}})],1)])])],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"图片间距"}},[e("slider",{model:{value:t.styles.margin,callback:function(e){t.$set(t.styles,"margin",e)},expression:"styles.margin"}})],1),e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1)],1)],1)])],1)}),[],!1,null,"533beb5e",null).exports);let _s=class extends l.e{get imgLists(){return this.content.data}};Object(a.a)([Object(l.c)()],_s.prototype,"content",void 0),Object(a.a)([Object(l.c)()],_s.prototype,"styles",void 0),_s=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],_s);var hs=_s,ys=(s("1ee0"),Object(b.a)(hs,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"rubik",style:{margin:`-${t.styles.margin/2}px`}},[1==t.content.style?e("div",{staticClass:"rubik-item1"},[t.imgLists[0]&&t.imgLists[0].url?e("div",{staticClass:"item-image",style:{margin:t.styles.margin/2+"px"}},[e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(t.imgLists[0].url)}})],1):e("el-image",{staticStyle:{height:"375px",width:"100%"}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-40"})])])],1):t._e(),2==t.content.style?e("div",{staticClass:"rubik-item2"},t._l(t.imgLists,(function(s,a){return e("div",{key:a,staticClass:"item-image",style:{margin:t.styles.margin/2+"px"}},[s&&s.url?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(s.url)}}):e("el-image",{staticStyle:{height:"188px",width:"100%"}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-40"})])])],1)})),0):t._e(),3==t.content.style?e("div",{staticClass:"rubik-item3"},t._l(t.imgLists,(function(s,a){return e("div",{key:a,staticClass:"item-image",style:{margin:t.styles.margin/2+"px"}},[s&&s.url?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(s.url)}}):e("el-image",{staticStyle:{height:"125px",width:"100%"}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-40"})])])],1)})),0):t._e(),4==t.content.style?e("div",{staticClass:"rubik-item4"},[e("div",{staticClass:"item-image",style:{width:"50%",height:"188px",top:0,left:0}},[e("el-image",{attrs:{fit:"cover",src:t.imgLists[0]&&t.$getImageUri(t.imgLists[0].url)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-40"})])])],1),e("div",{staticClass:"item-image",style:{width:"50%",height:"94px",top:0,left:"50%"}},[e("el-image",{attrs:{fit:"cover",src:t.imgLists[1]&&t.$getImageUri(t.imgLists[1].url)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-40"})])])],1),e("div",{staticClass:"item-image",style:{width:"50%",height:"94px",top:"94px",left:"50%"}},[e("el-image",{attrs:{fit:"cover",src:t.imgLists[2]&&t.$getImageUri(t.imgLists[2].url)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-40"})])])],1)]):t._e(),5==t.content.style?e("div",{staticClass:"rubik-item5"},t._l(t.imgLists,(function(s,a){return e("div",{key:a,staticClass:"item-image"},[e("el-image",{attrs:{fit:"cover",src:s&&t.$getImageUri(s.url)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-40"})])])],1)})),0):t._e(),6==t.content.style?e("div",{staticClass:"rubik-item6"},[e("div",{staticClass:"item-image",style:{width:"100%",height:"94px",top:0,left:0}},[e("el-image",{attrs:{fit:"cover",src:t.imgLists[0]&&t.$getImageUri(t.imgLists[0].url)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-40"})])])],1),e("div",{staticClass:"item-image",style:{width:"50%",height:"94px",top:"94px",left:0}},[e("el-image",{attrs:{fit:"cover",src:t.imgLists[1]&&t.$getImageUri(t.imgLists[1].url)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-40"})])])],1),e("div",{staticClass:"item-image",style:{width:"50%",height:"94px",top:"94px",left:"50%"}},[e("el-image",{attrs:{fit:"cover",src:t.imgLists[2]&&t.$getImageUri(t.imgLists[2].url)}},[e("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture font-size-40"})])])],1)]):t._e()])])}),[],!1,null,"7aa485d6",null).exports);let xs=class extends l.e{};Object(a.a)([Object(l.c)()],xs.prototype,"content",void 0),Object(a.a)([Object(l.c)()],xs.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],xs.prototype,"index",void 0),Object(a.a)([Object(l.c)()],xs.prototype,"operate",void 0),xs=Object(a.a)([Object(l.a)({components:{Contents:ys,WidgetPackage:_.a}})],xs);var As=xs,ws={attribute:vs,contents:ys,widget:Object(b.a)(As,(function(){var t=this._self._c;this._self._setupProxy;return t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)}),[],!1,null,null,null).exports},Cs=s("4cee");let ks=class extends l.e{constructor(){super(...arguments),this.styleData=[{value:1,img:s("a682"),text:"风格1"},{value:2,img:s("582d"),text:"风格2"},{value:3,img:s("c81f"),text:"风格3"}]}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}styleChange(t){switch(t){case 1:case 2:this.styles.root_bg_color="#FFFFFF",this.styles.bg_color="#FCE7E7";break;case 3:this.styles.root_bg_color="",this.styles.bg_color="#FFFFFF"}}};Object(a.a)([Object(l.f)("content.style")],ks.prototype,"styleChange",null),ks=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,StyleSelect:w.a,CouponSelect:Cs.a,MaterialSelect:W.a}})],ks);var Os=ks,js=(s("85bb"),Object(b.a)(Os,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"优惠券"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"风格选择"}},[e("style-select",{attrs:{slot:"right",data:t.styleData},slot:"right",model:{value:t.content.style,callback:function(e){t.$set(t.content,"style",e)},expression:"content.style"}},[e("el-button",{attrs:{slot:"trigger",size:"mini",type:"text"},slot:"trigger"},[t._v("切换风格")])],1),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"style-chose flex col-center"},[t._l(t.styleData,(function(s,a){return[s.value==t.content.style?e("img",{key:a,attrs:{src:s.img,alt:""}}):t._e()]}))],2)]),3==t.content.style?[e("el-form-item",{attrs:{label:"标题文字"}},[e("el-input",{attrs:{maxlength:"12","show-word-limit":"",placeholder:"请输入标题"},model:{value:t.content.title,callback:function(e){t.$set(t.content,"title",e)},expression:"content.title"}})],1),e("el-form-item",{attrs:{label:"标题颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.title_color,callback:function(e){t.$set(t.styles,"title_color",e)},expression:"styles.title_color"}})],1)]:t._e()],2),e("attribute-item",{attrs:{title:"添加优惠券",desc:"最多可添加10张"}},[e("coupon-select",{attrs:{limit:10},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"优惠券设置"}},[e("el-form-item",{attrs:{label:"背景颜色"}},[e("color-select",{attrs:{"reset-color":"#FCE7E7"},model:{value:t.styles.bg_color,callback:function(e){t.$set(t.styles,"bg_color",e)},expression:"styles.bg_color"}})],1),3==t.content.style?[e("el-form-item",{attrs:{label:"金额颜色"}},[e("color-select",{attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.money_color,callback:function(e){t.$set(t.styles,"money_color",e)},expression:"styles.money_color"}})],1),e("el-form-item",{attrs:{label:"条件颜色"}},[e("color-select",{attrs:{"reset-color":"#333333"},model:{value:t.styles.condition_color,callback:function(e){t.$set(t.styles,"condition_color",e)},expression:"styles.condition_color"}})],1),e("el-form-item",{attrs:{label:"场景颜色"}},[e("color-select",{attrs:{"reset-color":"#999999"},model:{value:t.styles.scene_color,callback:function(e){t.$set(t.styles,"scene_color",e)},expression:"styles.scene_color"}})],1)]:t._e(),3!=t.content.style?e("el-form-item",{attrs:{label:"文字颜色"}},[e("color-select",{attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.text_color,callback:function(e){t.$set(t.styles,"text_color",e)},expression:"styles.text_color"}})],1):t._e(),2!=t.content.style?[e("el-form-item",{attrs:{label:"按钮背景"}},[e("color-select",{attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.btn_bg_color,callback:function(e){t.$set(t.styles,"btn_bg_color",e)},expression:"styles.btn_bg_color"}})],1),e("el-form-item",{attrs:{label:"按钮文字"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.btn_text_color,callback:function(e){t.$set(t.styles,"btn_text_color",e)},expression:"styles.btn_text_color"}})],1)]:t._e()],2),e("attribute-item",{attrs:{title:"背景设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),3==t.content.style?[e("el-form-item",{attrs:{label:"背景图片"}},[e("el-radio-group",{model:{value:t.content.bg_type,callback:function(e){t.$set(t.content,"bg_type",e)},expression:"content.bg_type"}},[e("el-radio",{attrs:{label:1}},[t._v("系统默认")]),e("el-radio",{attrs:{label:2}},[t._v("自定义")])],1)],1),2==t.content.bg_type?e("el-form-item",{attrs:{label:""}},[e("material-select",{ref:"materialSelect",staticClass:"m-r-10",attrs:{size:60,"upload-bg":"#fff"},model:{value:t.styles.bg_image,callback:function(e){t.$set(t.styles,"bg_image",e)},expression:"styles.bg_image"}},[e("i",{staticClass:"el-icon-plus lg"})])],1):t._e()]:t._e()],2),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1)],1)],1)])],1)}),[],!1,null,"1a0047a9",null).exports);let Fs=class extends l.e{get list(){return this.content.data.length?this.content.data:[{},{},{}]}};Object(a.a)([Object(l.c)()],Fs.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Fs.prototype,"styles",void 0),Fs=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],Fs);var Ss=Fs,zs=(s("362a"),Object(b.a)(Ss,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"coupon",style:{"--bgcolor":t.styles.root_bg_color||"#ffffff"}},[1==t.content.style?e("div",{staticClass:"coupon-style1"},t._l(t.list,(function(s,a){return e("div",{key:a,staticClass:"coupon-item"},[e("div",{staticClass:"coupon-con flex",style:{"background-color":t.styles.bg_color,color:t.styles.text_color}},[e("div",{staticClass:"coupon-price flex-col col-center row-center flex-none"},[e("div",{staticClass:"font-size-20 weight-500"},[t._v(" ¥"),e("span",{staticClass:"font-size-30 money"},[t._v(t._s(parseFloat(s.money)||"10"))])]),e("div",{staticClass:"xs"},[t._v(" "+t._s(s.condition||"满100可用")+" ")])]),e("div",{staticClass:"coupon-line",style:{"background-image":`repeating-linear-gradient(${t.styles.text_color}, ${t.styles.text_color} 4px, transparent 4px,transparent 8px)`}}),e("div",{staticClass:"coupon-info flex flex-1"},[e("div",{staticClass:"flex-1"},[e("div",{staticClass:"lg weight-500 line-1",staticStyle:{"max-width":"130px"}},[t._v(" "+t._s(s.name||"优惠券名称")+" ")]),e("div",{staticClass:"xs m-t-5"},[t._v(" "+t._s(s.use_type||"全场通用")+" ")])]),e("div",{staticClass:"coupon-btn xs flex-none",style:{"background-color":t.styles.btn_bg_color,color:t.styles.btn_text_color}},[t._v(" 领取 ")])])])])})),0):t._e(),2==t.content.style?e("div",{staticClass:"coupon-style2 flex"},t._l(t.list,(function(s,a){return e("div",{key:a,staticClass:"coupon-item flex-none"},[e("div",{staticClass:"coupon-con flex",style:{"background-color":t.styles.bg_color,color:t.styles.text_color}},[e("div",{staticClass:"coupon-price flex-col col-center row-center flex-none"},[e("div",{staticClass:"font-size-20 weight-500"},[t._v(" ¥"),e("span",{staticClass:"font-size-30 money"},[t._v(t._s(parseFloat(s.money)||"10"))])]),e("div",{staticClass:"xs"},[t._v(" "+t._s(s.condition||"满100可用")+" ")])]),e("div",{staticClass:"coupon-line",style:{"background-image":`repeating-linear-gradient(${t.styles.text_color} 0px, ${t.styles.text_color} 4px, transparent 4px,transparent 8px)`}}),e("div",{staticClass:"coupon-btn"},[t._v("立即领取")])])])})),0):t._e(),3==t.content.style?e("div",{staticClass:"coupon-style3",style:[2==t.content.bg_type?{"background-image":`url(${t.styles.bg_image})`}:{}]},[e("div",{staticClass:"title xxl",style:{color:t.styles.title_color}},[t._v(t._s(t.content.title))]),e("div",{staticClass:"coupon-list flex"},t._l(t.list,(function(s,a){return e("div",{key:a,staticClass:"coupon-item flex-none"},[e("div",{staticClass:"coupon-con flex-col col-center row-center",style:{"background-color":t.styles.bg_color}},[e("div",{staticClass:"coupon-price"},[e("div",{staticClass:"font-size-20 weight-500",style:{color:t.styles.money_color}},[t._v(" ¥"),e("span",{staticClass:"font-size-30 money"},[t._v(t._s(parseFloat(s.money)||"10"))])])]),e("div",{staticClass:"xs",style:{color:t.styles.condition_color}},[t._v(" "+t._s(s.condition||"满100可用")+" ")]),e("div",{staticClass:"xs m-t-2",style:{color:t.styles.scene_color}},[t._v(" "+t._s(s.use_type||"全场通用")+" ")]),e("div",{staticClass:"coupon-btn xs flex-none",style:{"background-color":t.styles.btn_bg_color,color:t.styles.btn_text_color}},[t._v(" 立即领取 ")])])])})),0)]):t._e()])])}),[],!1,null,"1a5a02e9",null).exports);let Ls=class extends l.e{};Object(a.a)([Object(l.c)()],Ls.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Ls.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],Ls.prototype,"index",void 0),Object(a.a)([Object(l.c)()],Ls.prototype,"operate",void 0),Ls=Object(a.a)([Object(l.a)({components:{Contents:zs,WidgetPackage:_.a}})],Ls);var Ms=Ls,Ds={attribute:js,contents:zs,widget:Object(b.a)(Ms,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},Is=s("008b");let Ps=class extends l.e{constructor(){super(...arguments),this.styleData=[{name:"列表模式",value:1},{name:"横向滑动",value:2}]}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};Ps=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,MaterialSelect:W.a,ActivitySelect:Is.a}})],Ps);var Bs=Ps,$s=Object(b.a)(Bs,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"限时秒杀"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"选择秒杀商品"}},[e("el-form-item",{attrs:{label:"","label-width":"0"}},[e("el-radio-group",{model:{value:t.content.data_type,callback:function(e){t.$set(t.content,"data_type",e)},expression:"content.data_type"}},[e("el-radio",{attrs:{label:1}},[t._v("自动获取")]),e("el-radio",{attrs:{label:2}},[t._v("手动添加")])],1)],1),1==t.content.data_type?e("el-form-item",{attrs:{label:"显示数量"}},[e("slider",{attrs:{min:1,max:10},model:{value:t.content.num,callback:function(e){t.$set(t.content,"num",e)},expression:"content.num"}})],1):e("el-form-item",{attrs:{"label-width":"0"}},[e("activity-select",{attrs:{type:"seckill"},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)],1),e("attribute-item",{attrs:{title:"商品排列方式"}},[e("el-form-item",{attrs:{label:"","label-width":"0"}},[e("style-chose",{attrs:{data:t.styleData},model:{value:t.content.style,callback:function(e){t.$set(t.content,"style",e)},expression:"content.style"}})],1)],1),e("attribute-item",{attrs:{title:"头部设置"}},[e("el-form-item",{attrs:{label:"头部背景"}},[e("el-radio-group",{model:{value:t.content.header_bg_type,callback:function(e){t.$set(t.content,"header_bg_type",e)},expression:"content.header_bg_type"}},[e("el-radio",{attrs:{label:1}},[t._v("背景颜色")]),e("el-radio",{attrs:{label:2}},[t._v("背景图片")])],1),1==t.content.header_bg_type?e("color-select",{staticClass:"m-t-10",attrs:{"reset-color":"#FF5F4E"},model:{value:t.styles.header_bg_color,callback:function(e){t.$set(t.styles,"header_bg_color",e)},expression:"styles.header_bg_color"}}):[e("material-select",{ref:"materialSelect",staticClass:"m-t-10",attrs:{size:60,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.header_bg_image,callback:function(e){t.$set(t.content,"header_bg_image",e)},expression:"content.header_bg_image"}},[e("i",{staticClass:"el-icon-plus lg"})]),e("div",{staticClass:"muted"},[t._v("建议尺寸:750*100像素")])]],2),e("el-form-item",{attrs:{label:"左侧图标"}},[e("material-select",{ref:"materialSelect",staticClass:"m-t-10",attrs:{size:60,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.header_icon_image,callback:function(e){t.$set(t.content,"header_icon_image",e)},expression:"content.header_icon_image"}},[e("i",{staticClass:"el-icon-plus lg"})]),e("div",{staticClass:"muted"},[t._v("建议尺寸:750*100像素")])],1),e("el-form-item",{attrs:{label:"标题文字"}},[e("el-input",{staticStyle:{width:"280px"},attrs:{maxlength:"10","show-word-limit":"",placeholder:"请输入标题"},model:{value:t.content.header_title,callback:function(e){t.$set(t.content,"header_title",e)},expression:"content.header_title"}})],1),e("el-form-item",{attrs:{label:"标题颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.header_title_color,callback:function(e){t.$set(t.styles,"header_title_color",e)},expression:"styles.header_title_color"}})],1),e("el-form-item",{attrs:{label:"标题大小"}},[e("slider",{attrs:{min:12},model:{value:t.styles.header_title_size,callback:function(e){t.$set(t.styles,"header_title_size",e)},expression:"styles.header_title_size"}})],1)],1),e("attribute-item",{attrs:{title:"更多按钮"}},[e("el-form-item",{attrs:{label:"按钮显示"}},[e("el-radio-group",{model:{value:t.content.show_haeder_more,callback:function(e){t.$set(t.content,"show_haeder_more",e)},expression:"content.show_haeder_more"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1),e("el-form-item",{attrs:{label:"按钮文字"}},[e("el-input",{staticStyle:{width:"280px"},attrs:{maxlength:"5","show-word-limit":"",placeholder:"按钮文字"},model:{value:t.content.header_more_text,callback:function(e){t.$set(t.content,"header_more_text",e)},expression:"content.header_more_text"}})],1),e("el-form-item",{attrs:{label:"按钮颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.header_more_color,callback:function(e){t.$set(t.styles,"header_more_color",e)},expression:"styles.header_more_color"}})],1)],1),e("attribute-item",{attrs:{title:"显示内容"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_title,callback:function(e){t.$set(t.content,"show_title",e)},expression:"content.show_title"}},[t._v("商品标题")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#101010"},model:{value:t.styles.title_color,callback:function(e){t.$set(t.styles,"title_color",e)},expression:"styles.title_color"}})],1)]),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_price,callback:function(e){t.$set(t.content,"show_price",e)},expression:"content.show_price"}},[t._v("商品价格")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.price_color,callback:function(e){t.$set(t.styles,"price_color",e)},expression:"styles.price_color"}})],1)]),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_scribing_price,callback:function(e){t.$set(t.content,"show_scribing_price",e)},expression:"content.show_scribing_price"}},[t._v("划线原价")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#999999"},model:{value:t.styles.scribing_price_color,callback:function(e){t.$set(t.styles,"scribing_price_color",e)},expression:"styles.scribing_price_color"}})],1)]),1==t.content.style?e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_sell,callback:function(e){t.$set(t.content,"show_sell",e)},expression:"content.show_sell"}},[t._v("秒杀销量")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#999999"},model:{value:t.styles.sell_color,callback:function(e){t.$set(t.styles,"sell_color",e)},expression:"styles.sell_color"}})],1)]):t._e()],1),1==t.content.style?e("attribute-item",{attrs:{title:"按钮设置"}},[e("el-form-item",{attrs:{label:"按钮显示"}},[e("el-radio-group",{model:{value:t.content.show_btn,callback:function(e){t.$set(t.content,"show_btn",e)},expression:"content.show_btn"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1),e("el-form-item",{attrs:{label:"按钮文字"}},[e("el-input",{staticStyle:{width:"280px"},attrs:{maxlength:"5","show-word-limit":"",placeholder:"按钮文字"},model:{value:t.content.btn_text,callback:function(e){t.$set(t.content,"btn_text",e)},expression:"content.btn_text"}})],1),e("el-form-item",{attrs:{label:"按钮背景"}},[e("color-select",{attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.btn_bg_color,callback:function(e){t.$set(t.styles,"btn_bg_color",e)},expression:"styles.btn_bg_color"}})],1),e("el-form-item",{attrs:{label:"文字颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.btn_color,callback:function(e){t.$set(t.styles,"btn_color",e)},expression:"styles.btn_color"}})],1)],1):t._e()],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"组件背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.content_bg_color,callback:function(e){t.$set(t.styles,"content_bg_color",e)},expression:"styles.content_bg_color"}})],1),e("el-form-item",{attrs:{label:"商品背景"}},[e("color-select",{attrs:{"reset-color":"#F8F8F8"},model:{value:t.styles.goods_bg_color,callback:function(e){t.$set(t.styles,"goods_bg_color",e)},expression:"styles.goods_bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"商品间距"}},[e("slider",{model:{value:t.styles.margin,callback:function(e){t.$set(t.styles,"margin",e)},expression:"styles.margin"}})],1),e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1),e("el-form-item",{attrs:{label:"商品圆角"}},[e("slider",{model:{value:t.styles.goods_border_radius,callback:function(e){t.$set(t.styles,"goods_border_radius",e)},expression:"styles.goods_border_radius"}})],1)],1)],1)],1)])],1)}),[],!1,null,"19157e6c",null).exports;let Es=class extends l.e{get goods(){const{data:t,data_type:e,num:s}=this.content;return 1==e?[...Array(s).keys()].map(()=>({})):t.length?t:[{},{},{},{}]}get headerStyle(){const{header_bg_type:t,header_bg_image:e}=this.content,{header_bg_color:s}=this.styles;return 1==t?{"background-color":s}:{"background-image":`url(${this.$getImageUri(e)})`}}};Object(a.a)([Object(l.c)()],Es.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Es.prototype,"styles",void 0),Es=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],Es);var Rs=Es,Us=(s("51f0"),Object(b.a)(Rs,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"seckill",style:{"background-color":t.styles.content_bg_color,"border-radius":`${t.styles.border_radius_top}px ${t.styles.border_radius_top}px ${t.styles.border_radius_bottom}px ${t.styles.border_radius_bottom}px`}},[e("div",{staticClass:"seckill-header flex",style:[t.headerStyle]},[e("div",{staticClass:"flex-1 flex"},[t.content.header_icon_image?e("img",{staticClass:"flex-none m-r-5",staticStyle:{height:"22px"},attrs:{src:t.$getImageUri(t.content.header_icon_image)}}):t._e(),e("div",{staticClass:"line-1",style:{"max-width":"200px",color:t.styles.header_title_color,"font-size":t.styles.header_title_size+"px"}},[t._v(" "+t._s(t.content.header_title)+" ")])]),t.content.show_haeder_more?e("div",{staticClass:"more flex-none xs",style:{color:t.styles.header_more_color}},[t._v(" "+t._s(t.content.header_more_text)+" "),e("i",{staticClass:"el-icon-arrow-right"})]):t._e()]),e("div",{staticClass:"seckill-goods",style:{margin:`-${t.styles.margin/2}px`,padding:"10px"}},[e("div",{staticClass:"goods-lists",class:{lists:1==t.content.style,swiper:2==t.content.style}},t._l(t.goods,(function(a,l){return e("div",{key:l,staticClass:"goods-wrap"},[e("div",{staticClass:"goods-item",style:{"background-color":t.styles.goods_bg_color,margin:t.styles.margin/2+"px","border-radius":t.styles.goods_border_radius+"px"}},[e("div",{staticClass:"goods-image"},[e("el-image",{attrs:{src:a.image,fit:"cover"}},[e("img",{staticClass:"image-error",attrs:{slot:"error",src:s("eccb"),alt:""},slot:"error"})])],1),e("div",{staticClass:"goods-info p-5"},[t.content.show_title?e("div",{staticClass:"m-b-4 name",style:{color:t.styles.title_color}},[e("div",{class:2==t.content.style?"line-1":"line-2"},[t._v(" "+t._s(a.name||"这里是商品标题")+" ")])]):t._e(),1==t.content.style&&t.content.show_sell?e("div",{staticClass:"muted xs",style:{color:t.styles.sell_color}},[t._v(" 已抢0件 ")]):t._e(),e("div",{staticClass:"flex price-btn flex-wrap"},[e("div",{staticClass:"flex-1 flex col-baseline"},[t.content.show_price?e("div",{staticClass:"price weight-500 m-r-5 xl",style:{color:t.styles.price_color}},[e("span",{staticClass:"xs"},[t._v("¥")]),t._v(t._s(parseFloat(a.min_activity_price)||"0")+" ")]):t._e(),t.content.show_scribing_price?e("div",{staticClass:"muted line-through xs",style:{color:t.styles.scribing_price_color}},[t._v(" ¥"+t._s(parseFloat(a.min_price)||"0")+" ")]):t._e()]),1==t.content.style&&t.content.show_btn?e("div",{staticClass:"buy-btn xs",style:{"background-color":t.styles.btn_bg_color,color:t.styles.btn_color}},[t._v(" "+t._s(t.content.btn_text)+" ")]):t._e()])])])])})),0)])])])}),[],!1,null,"432cd35b",null).exports);let Ts=class extends l.e{};Object(a.a)([Object(l.c)()],Ts.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Ts.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],Ts.prototype,"index",void 0),Object(a.a)([Object(l.c)()],Ts.prototype,"operate",void 0),Ts=Object(a.a)([Object(l.a)({components:{Contents:Us,WidgetPackage:_.a}})],Ts);var Ns=Ts,Ys={attribute:$s,contents:Us,widget:Object(b.a)(Ns,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};let Ws=class extends l.e{constructor(){super(...arguments),this.styleData=[{name:"列表模式",value:1},{name:"横向滑动",value:2}]}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};Ws=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,MaterialSelect:W.a,ActivitySelect:Is.a}})],Ws);var Qs=Ws,Js=Object(b.a)(Qs,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"拼团活动"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"选择拼团商品"}},[e("el-form-item",{attrs:{label:"","label-width":"0"}},[e("el-radio-group",{model:{value:t.content.data_type,callback:function(e){t.$set(t.content,"data_type",e)},expression:"content.data_type"}},[e("el-radio",{attrs:{label:1}},[t._v("自动获取")]),e("el-radio",{attrs:{label:2}},[t._v("手动添加")])],1)],1),1==t.content.data_type?e("el-form-item",{attrs:{label:"显示数量"}},[e("slider",{attrs:{min:1,max:10},model:{value:t.content.num,callback:function(e){t.$set(t.content,"num",e)},expression:"content.num"}})],1):e("el-form-item",{attrs:{"label-width":"0"}},[e("activity-select",{attrs:{type:"team"},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)],1),e("attribute-item",{attrs:{title:"商品排列方式"}},[e("el-form-item",{attrs:{label:"","label-width":"0"}},[e("style-chose",{attrs:{data:t.styleData},model:{value:t.content.style,callback:function(e){t.$set(t.content,"style",e)},expression:"content.style"}})],1)],1),e("attribute-item",{attrs:{title:"头部设置"}},[e("el-form-item",{attrs:{label:"头部背景"}},[e("el-radio-group",{model:{value:t.content.header_bg_type,callback:function(e){t.$set(t.content,"header_bg_type",e)},expression:"content.header_bg_type"}},[e("el-radio",{attrs:{label:1}},[t._v("背景颜色")]),e("el-radio",{attrs:{label:2}},[t._v("背景图片")])],1),1==t.content.header_bg_type?e("color-select",{staticClass:"m-t-10",attrs:{"reset-color":"#FF5F4E"},model:{value:t.styles.header_bg_color,callback:function(e){t.$set(t.styles,"header_bg_color",e)},expression:"styles.header_bg_color"}}):[e("material-select",{ref:"materialSelect",staticClass:"m-t-10",attrs:{size:60,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.header_bg_image,callback:function(e){t.$set(t.content,"header_bg_image",e)},expression:"content.header_bg_image"}},[e("i",{staticClass:"el-icon-plus lg"})]),e("div",{staticClass:"muted"},[t._v("建议尺寸:750*100像素")])]],2),e("el-form-item",{attrs:{label:"左侧图标"}},[e("material-select",{ref:"materialSelect",staticClass:"m-t-10",attrs:{size:60,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.header_icon_image,callback:function(e){t.$set(t.content,"header_icon_image",e)},expression:"content.header_icon_image"}},[e("i",{staticClass:"el-icon-plus lg"})]),e("div",{staticClass:"muted"},[t._v("建议尺寸:750*100像素")])],1),e("el-form-item",{attrs:{label:"标题文字"}},[e("el-input",{staticStyle:{width:"280px"},attrs:{maxlength:"10","show-word-limit":"",placeholder:"请输入标题"},model:{value:t.content.header_title,callback:function(e){t.$set(t.content,"header_title",e)},expression:"content.header_title"}})],1),e("el-form-item",{attrs:{label:"标题颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.header_title_color,callback:function(e){t.$set(t.styles,"header_title_color",e)},expression:"styles.header_title_color"}})],1),e("el-form-item",{attrs:{label:"标题大小"}},[e("slider",{attrs:{min:12},model:{value:t.styles.header_title_size,callback:function(e){t.$set(t.styles,"header_title_size",e)},expression:"styles.header_title_size"}})],1)],1),e("attribute-item",{attrs:{title:"更多按钮"}},[e("el-form-item",{attrs:{label:"按钮显示"}},[e("el-radio-group",{model:{value:t.content.show_haeder_more,callback:function(e){t.$set(t.content,"show_haeder_more",e)},expression:"content.show_haeder_more"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1),e("el-form-item",{attrs:{label:"按钮文字"}},[e("el-input",{staticStyle:{width:"280px"},attrs:{maxlength:"5","show-word-limit":"",placeholder:"按钮文字"},model:{value:t.content.header_more_text,callback:function(e){t.$set(t.content,"header_more_text",e)},expression:"content.header_more_text"}})],1),e("el-form-item",{attrs:{label:"按钮颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.header_more_color,callback:function(e){t.$set(t.styles,"header_more_color",e)},expression:"styles.header_more_color"}})],1)],1),e("attribute-item",{attrs:{title:"显示内容"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_title,callback:function(e){t.$set(t.content,"show_title",e)},expression:"content.show_title"}},[t._v("商品标题")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#101010"},model:{value:t.styles.title_color,callback:function(e){t.$set(t.styles,"title_color",e)},expression:"styles.title_color"}})],1)]),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_price,callback:function(e){t.$set(t.content,"show_price",e)},expression:"content.show_price"}},[t._v("商品价格")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.price_color,callback:function(e){t.$set(t.styles,"price_color",e)},expression:"styles.price_color"}})],1)]),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_scribing_price,callback:function(e){t.$set(t.content,"show_scribing_price",e)},expression:"content.show_scribing_price"}},[t._v("划线原价")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#999999"},model:{value:t.styles.scribing_price_color,callback:function(e){t.$set(t.styles,"scribing_price_color",e)},expression:"styles.scribing_price_color"}})],1)]),1==t.content.style?e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_sell,callback:function(e){t.$set(t.content,"show_sell",e)},expression:"content.show_sell"}},[t._v("拼团销量")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#999999"},model:{value:t.styles.sell_color,callback:function(e){t.$set(t.styles,"sell_color",e)},expression:"styles.sell_color"}})],1)]):t._e(),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_group_num,callback:function(e){t.$set(t.content,"show_group_num",e)},expression:"content.show_group_num"}},[t._v("参团人数")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.group_num_color,callback:function(e){t.$set(t.styles,"group_num_color",e)},expression:"styles.group_num_color"}})],1)])],1),1==t.content.style?e("attribute-item",{attrs:{title:"按钮设置"}},[e("el-form-item",{attrs:{label:"按钮显示"}},[e("el-radio-group",{model:{value:t.content.show_btn,callback:function(e){t.$set(t.content,"show_btn",e)},expression:"content.show_btn"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1),e("el-form-item",{attrs:{label:"按钮文字"}},[e("el-input",{staticStyle:{width:"280px"},attrs:{maxlength:"5","show-word-limit":"",placeholder:"按钮文字"},model:{value:t.content.btn_text,callback:function(e){t.$set(t.content,"btn_text",e)},expression:"content.btn_text"}})],1),e("el-form-item",{attrs:{label:"按钮背景"}},[e("color-select",{attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.btn_bg_color,callback:function(e){t.$set(t.styles,"btn_bg_color",e)},expression:"styles.btn_bg_color"}})],1),e("el-form-item",{attrs:{label:"文字颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.btn_color,callback:function(e){t.$set(t.styles,"btn_color",e)},expression:"styles.btn_color"}})],1)],1):t._e()],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"组件背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.content_bg_color,callback:function(e){t.$set(t.styles,"content_bg_color",e)},expression:"styles.content_bg_color"}})],1),e("el-form-item",{attrs:{label:"商品背景"}},[e("color-select",{attrs:{"reset-color":"#F8F8F8"},model:{value:t.styles.goods_bg_color,callback:function(e){t.$set(t.styles,"goods_bg_color",e)},expression:"styles.goods_bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"商品间距"}},[e("slider",{model:{value:t.styles.margin,callback:function(e){t.$set(t.styles,"margin",e)},expression:"styles.margin"}})],1),e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1),e("el-form-item",{attrs:{label:"商品圆角"}},[e("slider",{model:{value:t.styles.goods_border_radius,callback:function(e){t.$set(t.styles,"goods_border_radius",e)},expression:"styles.goods_border_radius"}})],1)],1)],1)],1)])],1)}),[],!1,null,"1b7193cd",null).exports;let Vs=class extends l.e{get goods(){const{data:t,data_type:e,num:s}=this.content;return 1==e?[...Array(s).keys()].map(()=>({})):t.length?t:[{},{},{},{}]}get headerStyle(){const{header_bg_type:t,header_bg_image:e}=this.content,{header_bg_color:s}=this.styles;return 1==t?{"background-color":s}:{"background-image":`url(${this.$getImageUri(e)})`}}};Object(a.a)([Object(l.c)()],Vs.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Vs.prototype,"styles",void 0),Vs=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],Vs);var Gs=Vs,Hs=(s("529f"),Object(b.a)(Gs,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"spellgroup",style:{"background-color":t.styles.content_bg_color,"border-radius":`${t.styles.border_radius_top}px ${t.styles.border_radius_top}px ${t.styles.border_radius_bottom}px ${t.styles.border_radius_bottom}px`}},[e("div",{staticClass:"spellgroup-header flex",style:[t.headerStyle]},[e("div",{staticClass:"flex-1 flex"},[t.content.header_icon_image?e("img",{staticClass:"flex-none m-r-5",staticStyle:{height:"22px"},attrs:{src:t.$getImageUri(t.content.header_icon_image)}}):t._e(),e("div",{staticClass:"line-1",style:{"max-width":"200px",color:t.styles.header_title_color,"font-size":t.styles.header_title_size+"px"}},[t._v(" "+t._s(t.content.header_title)+" ")])]),t.content.show_haeder_more?e("div",{staticClass:"more flex-none xs",style:{color:t.styles.header_more_color}},[t._v(" "+t._s(t.content.header_more_text)+" "),e("i",{staticClass:"el-icon-arrow-right"})]):t._e()]),e("div",{staticClass:"spellgroup-goods",style:{margin:`-${t.styles.margin/2}px`,padding:"10px"}},[e("div",{staticClass:"goods-lists",class:{lists:1==t.content.style,swiper:2==t.content.style}},t._l(t.goods,(function(a,l){return e("div",{key:l,staticClass:"goods-wrap"},[e("div",{staticClass:"goods-item",style:{"background-color":t.styles.goods_bg_color,margin:t.styles.margin/2+"px","border-radius":t.styles.goods_border_radius+"px"}},[e("div",{staticClass:"goods-image"},[e("el-image",{attrs:{src:a.image,fit:"cover"}},[e("img",{staticClass:"image-error",attrs:{slot:"error",src:s("eccb"),alt:""},slot:"error"})])],1),e("div",{staticClass:"goods-info p-5"},[t.content.show_title?e("div",{staticClass:"m-b-4 name",style:{color:t.styles.title_color}},[e("div",{class:2==t.content.style?"line-1":"line-2"},[t._v(" "+t._s(a.name||"这里是商品标题")+" ")])]):t._e(),e("div",{staticClass:"flex"},[t.content.show_group_num?e("div",{staticClass:"spell-num xxs m-r-6",style:{color:t.styles.group_num_color}},[t._v(" 3人团 ")]):t._e(),1==t.content.style&&t.content.show_sell?e("div",{staticClass:"muted xs",style:{color:t.styles.sell_color}},[t._v(" 已拼0件 ")]):t._e()]),e("div",{staticClass:"flex price-btn flex-wrap"},[e("div",{staticClass:"flex-1 flex col-baseline"},[t.content.show_price?e("div",{staticClass:"price weight-500 m-r-5 xl",style:{color:t.styles.price_color}},[e("span",{staticClass:"xs"},[t._v("¥")]),t._v(t._s(parseFloat(a.min_activity_price)||"0")+" ")]):t._e(),t.content.show_scribing_price?e("div",{staticClass:"muted line-through xs",style:{color:t.styles.scribing_price_color}},[t._v(" ¥"+t._s(parseFloat(a.min_price)||"0")+" ")]):t._e()]),1==t.content.style&&t.content.show_btn?e("div",{staticClass:"buy-btn xs",style:{"background-color":t.styles.btn_bg_color,color:t.styles.btn_color}},[t._v(" "+t._s(t.content.btn_text)+" ")]):t._e()])])])])})),0)])])])}),[],!1,null,"27be105f",null).exports);let Ks=class extends l.e{};Object(a.a)([Object(l.c)()],Ks.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Ks.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],Ks.prototype,"index",void 0),Object(a.a)([Object(l.c)()],Ks.prototype,"operate",void 0),Ks=Object(a.a)([Object(l.a)({components:{Contents:Hs,WidgetPackage:_.a}})],Ks);var Xs=Ks,Zs={attribute:Js,contents:Hs,widget:Object(b.a)(Xs,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};let qs=class extends l.e{get content(){return this.$store.getters.content}get styles(){return this.$store.getters.styles}};qs=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,MaterialSelect:W.a}})],qs);var ta=qs,ea=Object(b.a)(ta,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"视频"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"选择视频"}},[e("el-form-item",{attrs:{label:"视频类型"}},[e("el-radio-group",{model:{value:t.content.video_type,callback:function(e){t.$set(t.content,"video_type",e)},expression:"content.video_type"}},[e("el-radio",{attrs:{label:1}},[t._v("手动上传")]),e("el-radio",{attrs:{label:2}},[t._v("视频链接")])],1)],1),e("el-form-item",{attrs:{"label-width":"0"}},[1==t.content.video_type?e("material-select",{attrs:{type:"video",size:60,"enable-domain":!1},model:{value:t.content.url,callback:function(e){t.$set(t.content,"url",e)},expression:"content.url"}},[e("i",{staticClass:"el-icon-plus lg"})]):e("el-input",{attrs:{placeholder:"请输入视频链接"},model:{value:t.content.url,callback:function(e){t.$set(t.content,"url",e)},expression:"content.url"}})],1)],1),e("attribute-item",{attrs:{title:"视频封面"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("material-select",{attrs:{size:60,"enable-domain":!1},model:{value:t.content.poster,callback:function(e){t.$set(t.content,"poster",e)},expression:"content.poster"}},[e("i",{staticClass:"el-icon-plus lg"})])],1)],1),e("attribute-item",{attrs:{title:"比例"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("el-radio-group",{model:{value:t.content.proportion,callback:function(e){t.$set(t.content,"proportion",e)},expression:"content.proportion"}},[e("el-radio",{attrs:{label:1}},[t._v("16:9")]),e("el-radio",{attrs:{label:2}},[t._v("4:3")]),e("el-radio",{attrs:{label:3}},[t._v("1:1")])],1)],1)],1)],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1)],1)],1)],1)])],1)}),[],!1,null,null,null).exports;let sa=class extends l.e{get videoStyle(){const{content:t}=this;return t.poster?{"background-image":`url(${this.$getImageUri(t.poster)})`}:{}}};Object(a.a)([Object(l.c)()],sa.prototype,"content",void 0),Object(a.a)([Object(l.c)()],sa.prototype,"styles",void 0),sa=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],sa);var aa=sa,la=(s("c9b9"),Object(b.a)(aa,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"video",class:{style1:1==t.content.proportion,style2:2==t.content.proportion,style3:3==t.content.proportion},style:[{"border-radius":`${t.styles.border_radius_top}px ${t.styles.border_radius_top}px ${t.styles.border_radius_bottom}px ${t.styles.border_radius_bottom}px`},t.videoStyle]})])}),[],!1,null,"67e49b48",null).exports);let oa=class extends l.e{};Object(a.a)([Object(l.c)()],oa.prototype,"content",void 0),Object(a.a)([Object(l.c)()],oa.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],oa.prototype,"index",void 0),Object(a.a)([Object(l.c)()],oa.prototype,"operate",void 0),oa=Object(a.a)([Object(l.a)({components:{Contents:la,WidgetPackage:_.a}})],oa);var ia=oa,ra={attribute:ea,contents:la,widget:Object(b.a)(ia,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};let na=class extends l.e{constructor(){super(...arguments),this.limit=10}get content(){return this.$store.getters.content}get styles(){return this.$store.getters.styles}handleAdd(){this.content.data.length<this.limit?this.content.data.push({url:"",title:"标题名称",title_color:"#333333",subtitle:"副标题名称",subtitle_color:"#666666",link:{},bg_color:"#FFFFFF"}):this.$message.warning(`最多添加${this.limit}条`)}handleDelete(t){this.content.data.length<=1||this.content.data.splice(t,1)}};na=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,MaterialSelect:W.a,LinkSelect:A.a,Draggable:Rt.a}})],na);var ca=na,da=(s("61ba"),Object(b.a)(ca,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"图文"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"图片设置",desc:`最多可添加${t.limit}条,图片建议尺寸:280*280`}},[e("div",{staticClass:"graphic-list"},[e("draggable",{attrs:{animation:"300"},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}},t._l(t.content.data,(function(s,a){return e("div",{key:a,staticClass:"graphic-item ls-del-wrap"},[e("el-form-item",{attrs:{label:"图片","label-width":"60px"}},[e("material-select",{attrs:{size:50,"enable-domain":!1,"upload-bg":"#fff"},model:{value:s.url,callback:function(e){t.$set(s,"url",e)},expression:"item.url"}},[e("i",{staticClass:"el-icon-plus lg"})])],1),e("el-form-item",{attrs:{label:"主标题","label-width":"60px"}},[e("el-input",{staticStyle:{width:"260px"},attrs:{"show-word-limit":"",placeholder:"请输入标题"},model:{value:s.title,callback:function(e){t.$set(s,"title",e)},expression:"item.title"}})],1),e("el-form-item",{attrs:{label:"颜色","label-width":"60px"}},[e("color-select",{attrs:{"reset-color":"#333333"},model:{value:s.title_color,callback:function(e){t.$set(s,"title_color",e)},expression:"item.title_color"}})],1),e("el-form-item",{attrs:{label:"主标题","label-width":"60px"}},[e("el-input",{staticStyle:{width:"260px"},attrs:{"show-word-limit":"",placeholder:"请输入标题"},model:{value:s.subtitle,callback:function(e){t.$set(s,"subtitle",e)},expression:"item.subtitle"}})],1),e("el-form-item",{attrs:{label:"颜色","label-width":"60px"}},[e("color-select",{attrs:{"reset-color":"#666666"},model:{value:s.subtitle_color,callback:function(e){t.$set(s,"subtitle_color",e)},expression:"item.subtitle_color"}})],1),e("el-form-item",{attrs:{label:"链接","label-width":"60px"}},[e("link-select",{model:{value:s.link,callback:function(e){t.$set(s,"link",e)},expression:"item.link"}})],1),e("el-form-item",{attrs:{label:"背景色","label-width":"60px"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:s.bg_color,callback:function(e){t.$set(s,"bg_color",e)},expression:"item.bg_color"}})],1),t.content.data.length>1?e("i",{staticClass:"el-icon-close ls-icon-del",on:{click:function(e){return t.handleDelete(a)}}}):t._e()],1)})),0),e("el-form-item",{attrs:{"label-width":"0"}},[t.content.data.length<t.limit?e("el-button",{staticClass:"add-btn",attrs:{size:"small"},on:{click:t.handleAdd}},[t._v("+ 添加")]):t._e()],1)],1)])],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1)],1)],1)],1)])],1)}),[],!1,null,"a562f6e4",null).exports);let ua=class extends l.e{};Object(a.a)([Object(l.c)()],ua.prototype,"content",void 0),Object(a.a)([Object(l.c)()],ua.prototype,"styles",void 0),ua=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],ua);var ba=ua,pa=(s("101c"),Object(b.a)(ba,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"graphic"},[e("div",{staticClass:"graphic-list"},t._l(t.content.data,(function(a,l){return e("div",{key:l,staticClass:"graphic-item flex-col",style:{"border-radius":`${t.styles.border_radius_top}px ${t.styles.border_radius_top}px ${t.styles.border_radius_bottom}px ${t.styles.border_radius_bottom}px`}},[e("el-image",{staticStyle:{width:"100%",height:"140px"},attrs:{src:t.$getImageUri(a.url),fit:"cover"}},[e("img",{staticClass:"image-error",attrs:{slot:"error",src:s("eccb"),alt:""},slot:"error"})]),e("div",{staticClass:"info",style:{"background-color":a.bg_color}},[e("div",{staticClass:"title line-1",style:{color:a.title_color}},[t._v(" "+t._s(a.title)+" ")]),e("div",{staticClass:"subtitle line-1",style:{color:a.subtitle_color}},[t._v(" "+t._s(a.subtitle)+" ")])])],1)})),0)])])}),[],!1,null,"5a540c56",null).exports);let ma=class extends l.e{};Object(a.a)([Object(l.c)()],ma.prototype,"content",void 0),Object(a.a)([Object(l.c)()],ma.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],ma.prototype,"index",void 0),Object(a.a)([Object(l.c)()],ma.prototype,"operate",void 0),ma=Object(a.a)([Object(l.a)({components:{Contents:pa,WidgetPackage:_.a}})],ma);var ga=ma,fa={attribute:da,contents:pa,widget:Object(b.a)(ga,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};let va=class extends l.e{constructor(){super(...arguments),this.styleData=[{name:"大图模式",value:1},{name:"一行2个",value:2},{name:"列表模式",value:3}]}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};va=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,MaterialSelect:W.a,ActivitySelect:Is.a}})],va);var _a=va,ha=Object(b.a)(_a,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"小程序插件"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"选择直播间"}},[e("el-form-item",{attrs:{label:"直播间数量"}},[e("slider",{attrs:{min:1,max:10},model:{value:t.content.num,callback:function(e){t.$set(t.content,"num",e)},expression:"content.num"}})],1)],1),e("attribute-item",{attrs:{title:"直播间列表样式"}},[e("el-form-item",{attrs:{label:"","label-width":"0"}},[e("style-chose",{attrs:{data:t.styleData},model:{value:t.content.style,callback:function(e){t.$set(t.content,"style",e)},expression:"content.style"}})],1)],1),e("attribute-item",{attrs:{title:"头部设置"}},[e("el-form-item",{attrs:{label:"头部背景"}},[e("el-radio-group",{model:{value:t.content.header_bg_type,callback:function(e){t.$set(t.content,"header_bg_type",e)},expression:"content.header_bg_type"}},[e("el-radio",{attrs:{label:1}},[t._v("背景颜色")]),e("el-radio",{attrs:{label:2}},[t._v("背景图片")])],1),1==t.content.header_bg_type?e("color-select",{staticClass:"m-t-10",attrs:{"reset-color":"#FF5F4E"},model:{value:t.styles.header_bg_color,callback:function(e){t.$set(t.styles,"header_bg_color",e)},expression:"styles.header_bg_color"}}):[e("material-select",{ref:"materialSelect",staticClass:"m-t-10",attrs:{size:60,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.header_bg_image,callback:function(e){t.$set(t.content,"header_bg_image",e)},expression:"content.header_bg_image"}},[e("i",{staticClass:"el-icon-plus lg"})]),e("div",{staticClass:"muted"},[t._v("建议尺寸:750*100像素")])]],2),e("el-form-item",{attrs:{label:"左侧图标"}},[e("material-select",{ref:"materialSelect",staticClass:"m-t-10",attrs:{size:60,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.header_icon_image,callback:function(e){t.$set(t.content,"header_icon_image",e)},expression:"content.header_icon_image"}},[e("i",{staticClass:"el-icon-plus lg"})]),e("div",{staticClass:"muted"},[t._v("建议尺寸:750*100像素")])],1),e("el-form-item",{attrs:{label:"标题文字"}},[e("el-input",{staticStyle:{width:"280px"},attrs:{maxlength:"10","show-word-limit":"",placeholder:"请输入标题"},model:{value:t.content.header_title,callback:function(e){t.$set(t.content,"header_title",e)},expression:"content.header_title"}})],1),e("el-form-item",{attrs:{label:"标题颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.header_title_color,callback:function(e){t.$set(t.styles,"header_title_color",e)},expression:"styles.header_title_color"}})],1),e("el-form-item",{attrs:{label:"标题大小"}},[e("slider",{attrs:{min:12},model:{value:t.styles.header_title_size,callback:function(e){t.$set(t.styles,"header_title_size",e)},expression:"styles.header_title_size"}})],1)],1),e("attribute-item",{attrs:{title:"更多按钮"}},[e("el-form-item",{attrs:{label:"按钮显示"}},[e("el-radio-group",{model:{value:t.content.show_haeder_more,callback:function(e){t.$set(t.content,"show_haeder_more",e)},expression:"content.show_haeder_more"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1),e("el-form-item",{attrs:{label:"按钮文字"}},[e("el-input",{staticStyle:{width:"280px"},attrs:{maxlength:"5","show-word-limit":"",placeholder:"按钮文字"},model:{value:t.content.header_more_text,callback:function(e){t.$set(t.content,"header_more_text",e)},expression:"content.header_more_text"}})],1),e("el-form-item",{attrs:{label:"按钮颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.header_more_color,callback:function(e){t.$set(t.styles,"header_more_color",e)},expression:"styles.header_more_color"}})],1)],1)],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"组件背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.content_bg_color,callback:function(e){t.$set(t.styles,"content_bg_color",e)},expression:"styles.content_bg_color"}})],1),e("el-form-item",{attrs:{label:"直播背景"}},[e("color-select",{attrs:{"reset-color":"#F8F8F8"},model:{value:t.styles.bg_color,callback:function(e){t.$set(t.styles,"bg_color",e)},expression:"styles.bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"直播间距"}},[e("slider",{model:{value:t.styles.margin,callback:function(e){t.$set(t.styles,"margin",e)},expression:"styles.margin"}})],1),e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1),e("el-form-item",{attrs:{label:"商品圆角"}},[e("slider",{model:{value:t.styles.goods_border_radius,callback:function(e){t.$set(t.styles,"goods_border_radius",e)},expression:"styles.goods_border_radius"}})],1)],1)],1)],1)])],1)}),[],!1,null,"04e9aed8",null).exports;let ya=class extends l.e{get lists(){const{num:t}=this.content;return[...Array(t).keys()].map(()=>({}))}get headerStyle(){const{header_bg_type:t,header_bg_image:e}=this.content,{header_bg_color:s}=this.styles;return 1==t?{"background-color":s}:{"background-image":`url(${this.$getImageUri(e)})`}}};Object(a.a)([Object(l.c)()],ya.prototype,"content",void 0),Object(a.a)([Object(l.c)()],ya.prototype,"styles",void 0),ya=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],ya);var xa=ya,Aa=(s("4fc6"),Object(b.a)(xa,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"mnplive",style:{"background-color":t.styles.content_bg_color,"border-radius":`${t.styles.border_radius_top}px ${t.styles.border_radius_top}px ${t.styles.border_radius_bottom}px ${t.styles.border_radius_bottom}px`}},[e("div",{staticClass:"mnplive-header flex",style:[t.headerStyle]},[e("div",{staticClass:"flex-1 flex"},[t.content.header_icon_image?e("img",{staticClass:"flex-none m-r-5",staticStyle:{height:"22px"},attrs:{src:t.$getImageUri(t.content.header_icon_image)}}):t._e(),e("div",{staticClass:"line-1",style:{"max-width":"200px",color:t.styles.header_title_color,"font-size":t.styles.header_title_size+"px"}},[t._v(" "+t._s(t.content.header_title)+" ")])]),t.content.show_haeder_more?e("div",{staticClass:"more flex-none xs",style:{color:t.styles.header_more_color}},[t._v(" "+t._s(t.content.header_more_text)+" "),e("i",{staticClass:"el-icon-arrow-right"})]):t._e()]),e("div",{staticClass:"mnplive-wrap",style:{margin:`-${t.styles.margin/2}px`}},[e("div",{staticClass:"mnplive-lists",class:{larger:1==t.content.style,perline:2==t.content.style,lists:3==t.content.style}},t._l(t.lists,(function(a,l){return e("div",{key:l,staticClass:"mnplive-item-wrap"},[e("div",{staticClass:"mnplive-item",style:{"background-color":t.styles.bg_color,margin:t.styles.margin/2+"px","border-radius":t.styles.goods_border_radius+"px"}},[e("div",{staticClass:"item-image"},[e("div",{staticClass:"status flex"},[e("img",{staticClass:"live-img",attrs:{src:s("22f6"),alt:""}}),e("span",{staticClass:"m-l-10 xs"},[t._v("直播中")])]),e("div",{staticClass:"name"},[t._v("直播间名称")]),e("el-image",{attrs:{src:a.image,fit:"cover"}},[e("img",{staticClass:"image-error",attrs:{slot:"error",src:s("eccb"),alt:""},slot:"error"})])],1),e("div",{staticClass:"info"},[e("div",[e("span",{staticClass:"lg weight-500"},[t._v("主播:主播名")]),1==t.content.style?e("span",{staticClass:"sm"},[t._v(" | 直播商品:10件 ")]):e("div",{staticClass:"sm m-t-10"},[t._v("直播商品:10件")])]),e("div",{staticClass:"xs muted m-t-10"},[t._v("开播时间:2021-10-12 15:00")])])])])})),0)])])])}),[],!1,null,"26fc0100",null).exports);let wa=class extends l.e{};Object(a.a)([Object(l.c)()],wa.prototype,"content",void 0),Object(a.a)([Object(l.c)()],wa.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],wa.prototype,"index",void 0),Object(a.a)([Object(l.c)()],wa.prototype,"operate",void 0),wa=Object(a.a)([Object(l.a)({components:{Contents:Aa,WidgetPackage:_.a}})],wa);var Ca=wa,ka={attribute:ha,contents:Aa,widget:Object(b.a)(Ca,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},Oa=(s("a732"),s("3b58")),ja=s.n(Oa),Fa=s("5c96"),Sa=s("6ddb");let za=class extends l.e{constructor(){super(...arguments),this.areaLists=[],this.activeIndex=-1}valueChange(t){this.areaLists=Object(Sa.c)(this.value)}handleDragging(t){const e=this.activeIndex;this.areaLists[e].areaX=t.left,this.areaLists[e].areaY=t.top}handleResizing(t){const e=this.activeIndex;this.areaLists[e].areaHeight=t.height,this.areaLists[e].areaWidth=t.width}handleAddarea(){if(this.areaLists.length>=20)return Object(Fa.Message)({type:"error",message:"最多允许创建20个热区"});this.areaLists.push({areaX:0,areaY:0,areaWidth:100,areaHeight:100,url:""})}handleClick(t){this.activeIndex=t}handleAreaSelct(t){this.activeIndex=t}handleDel(t){this.areaLists.splice(t,1)}onConfirm(){let t=!1;if(t=this.areaLists.some(t=>""==t.url),t)return Object(Fa.Message)({type:"error",message:"请完善热区信息"});this.$emit("input",this.areaLists),this.activeIndex=-1,this.$refs.dialog.close()}};Object(a.a)([Object(l.c)({default:""})],za.prototype,"imgSrc",void 0),Object(a.a)([Object(l.c)({default:""})],za.prototype,"imgUrl",void 0),Object(a.a)([Object(l.c)({default:()=>[]})],za.prototype,"value",void 0),Object(a.a)([Object(l.f)("value",{immediate:!0,deep:!0})],za.prototype,"valueChange",null),za=Object(a.a)([Object(l.a)({components:{LsDialog:Ht.a,LinkSelect:A.a,VueDragResize:ja.a}})],za);var La=za,Ma=(s("6a3a"),Object(b.a)(La,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("ls-dialog",{ref:"dialog",staticClass:"link-select",attrs:{title:"热区选择器",width:"1250px",top:"10vh",disabled:""==t.imgUrl,clickModalClose:!1,async:!0},on:{confirm:t.onConfirm}},[e("div",{attrs:{slot:"trigger"},slot:"trigger"},[e("el-button",{staticClass:"add-banner",attrs:{size:"small",disabled:""==t.imgUrl}},[t._v("+ 添加热区")]),""==t.imgUrl?e("div",{staticClass:"area-tip"},[t._v("请先选择图片")]):e("div",{staticClass:"area-tip"},[t._v("当前创建了"+t._s(t.areaLists.length)+"/20个热区")])],1),e("el-scrollbar",{staticClass:"area-scrollbar ls-scrollbar"},[e("div",{staticClass:"container"},[e("div",{staticClass:"image"},[e("img",{staticClass:"image",attrs:{src:t.imgSrc}}),t._l(t.areaLists,(function(s,a){return e("VueDragResize",{key:a,staticClass:"area-select",attrs:{isActive:t.activeIndex==a,w:s.areaWidth,h:s.areaHeight,parentLimitation:"",minw:50,minh:50,x:s.areaX,y:s.areaY},on:{dragging:t.handleDragging,resizing:t.handleResizing,clicked:function(e){return t.handleClick(a)}}},[e("div",{staticClass:"text-tip"},[e("div",[t._v(" "+t._s(s.url.name)+" ")])])])}))],2),e("div",{staticClass:"area"},[e("el-scrollbar",{staticClass:"ls-scrollbar",staticStyle:{height:"310px"}},t._l(t.areaLists,(function(s,a){return e("div",{key:a,staticClass:"link",class:{"active-area":t.activeIndex==a},on:{click:function(e){return t.handleAreaSelct(a)}}},[e("link-select",{model:{value:s.url,callback:function(e){t.$set(s,"url",e)},expression:"item.url"}}),e("i",{staticClass:"el-icon-close del",on:{click:function(e){return t.handleDel(a)}}})],1)})),0),e("div",{staticStyle:{margin:"10px 20px"}},[t._v("当前创建了"+t._s(t.areaLists.length)+"/20个热区")]),e("div",{staticClass:"btn"},[e("el-button",{attrs:{size:"small"},on:{click:t.handleAddarea}},[t._v("添加热区")])],1)],1)])])],1)}),[],!1,null,null,null).exports);let Da=class extends l.e{get areaLists(){return this.$store.getters.content}get content(){return this.$store.getters.content}get styles(){return this.$store.getters.styles}handlechange(){return this.$store.getters.content.data.areaLists=[]}};Da=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,MaterialSelect:W.a,LinkSelect:A.a,Draggable:Rt.a,HotareaSelect:Ma}})],Da);var Ia=Da,Pa=(s("b6c54"),Object(b.a)(Ia,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"热区"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",{staticClass:"hotarea"},[e("div",{staticClass:"hotarea-tip"},[t._v("建议图片宽度750px,高度200px-2000px。")]),e("div",{staticClass:"image"},[t.content.data.imgurl?e("el-image",{attrs:{fit:"cover",src:t.$getImageUri(t.content.data.imgurl)}}):e("div",{staticStyle:{height:"180px","line-height":"180px"}},[t._v("750x高度不限")]),t._l(t.content.data.areaLists,(function(s,a){return t.content.data.imgurl?e("div",{key:a,staticClass:"area",style:{top:s.areaY+"px",left:s.areaX+"px",height:s.areaHeight+"px",width:s.areaWidth+"px"}},[t._v(" "+t._s(s.url.name)+" ")]):t._e()}))],2),e("div",{staticClass:"p-20",staticStyle:{background:"#f9f9f9","margin-top":"10px"}},[e("div",{staticClass:"flex m-b-8"},[e("div",{staticClass:"lighter m-r-20"},[t._v("图片")]),e("material-select",{ref:"materialSelect",staticClass:"m-r-10",attrs:{size:50,"upload-bg":"#fff","enable-domain":!1},on:{change:t.handlechange},model:{value:t.content.data.imgurl,callback:function(e){t.$set(t.content.data,"imgurl",e)},expression:"content.data.imgurl"}},[e("i",{staticClass:"el-icon-plus lg"})])],1)]),e("HotareaSelect",{attrs:{imgSrc:t.$getImageUri(t.content.data.imgurl),imgUrl:t.content.data.imgurl},model:{value:t.content.data.areaLists,callback:function(e){t.$set(t.content.data,"areaLists",e)},expression:"content.data.areaLists"}})],1)]),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1)],1)],1)],1)])],1)}),[],!1,null,"60cee0eb",null).exports);let Ba=class extends l.e{};Object(a.a)([Object(l.c)()],Ba.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Ba.prototype,"styles",void 0),Ba=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],Ba);var $a=Ba,Ea=(s("414d"),Object(b.a)($a,(function(){var t=this._self._c;this._self._setupProxy;return t("widget-root",{attrs:{styles:this.styles}},[t("div",{},[t("div",{staticClass:"1"},[this.content.data.imgurl?t("div",{staticClass:"item-image"},[t("el-image",{staticStyle:{overflow:"visible"},attrs:{fit:"cover",src:this.$getImageUri(this.content.data.imgurl)}})],1):t("el-image",{staticStyle:{height:"375px",width:"100%"}},[t("div",{staticClass:"image-error muted flex row-center",attrs:{slot:"error"},slot:"error"},[t("i",{staticClass:"el-icon-picture font-size-40"})])])],1)])])}),[],!1,null,"1fa1c062",null).exports);let Ra=class extends l.e{};Object(a.a)([Object(l.c)()],Ra.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Ra.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],Ra.prototype,"index",void 0),Object(a.a)([Object(l.c)()],Ra.prototype,"operate",void 0),Ra=Object(a.a)([Object(l.a)({components:{Contents:Ea,WidgetPackage:_.a}})],Ra);var Ua=Ra,Ta={attribute:Pa,contents:Ea,widget:Object(b.a)(Ua,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};let Na=class extends l.e{constructor(){super(...arguments),this.styleData=[{name:"列表模式",value:1},{name:"横向滑动",value:2}]}get content(){return this.$store.getters.content}set content(t){const e={key:"content",value:t};this.$store.commit("setAttribute",e)}get styles(){return this.$store.getters.styles}};Na=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,MaterialSelect:W.a,ActivitySelect:Is.a}})],Na);var Ya=Na,Wa=Object(b.a)(Ya,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"预售活动"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"选择预售商品"}},[e("el-form-item",{attrs:{label:"","label-width":"0"}},[e("el-radio-group",{model:{value:t.content.data_type,callback:function(e){t.$set(t.content,"data_type",e)},expression:"content.data_type"}},[e("el-radio",{attrs:{label:1}},[t._v("自动获取")]),e("el-radio",{attrs:{label:2}},[t._v("手动添加")])],1)],1),1==t.content.data_type?e("el-form-item",{attrs:{label:"显示数量"}},[e("slider",{attrs:{min:1,max:10},model:{value:t.content.num,callback:function(e){t.$set(t.content,"num",e)},expression:"content.num"}})],1):e("el-form-item",{attrs:{"label-width":"0"}},[e("activity-select",{attrs:{type:"presell"},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)],1),e("attribute-item",{attrs:{title:"商品排列方式"}},[e("el-form-item",{attrs:{label:"","label-width":"0"}},[e("style-chose",{attrs:{data:t.styleData},model:{value:t.content.style,callback:function(e){t.$set(t.content,"style",e)},expression:"content.style"}})],1)],1),e("attribute-item",{attrs:{title:"头部设置"}},[e("el-form-item",{attrs:{label:"头部背景"}},[e("el-radio-group",{model:{value:t.content.header_bg_type,callback:function(e){t.$set(t.content,"header_bg_type",e)},expression:"content.header_bg_type"}},[e("el-radio",{attrs:{label:1}},[t._v("背景颜色")]),e("el-radio",{attrs:{label:2}},[t._v("背景图片")])],1),1==t.content.header_bg_type?e("color-select",{staticClass:"m-t-10",attrs:{"reset-color":"#A411D1"},model:{value:t.styles.header_bg_color,callback:function(e){t.$set(t.styles,"header_bg_color",e)},expression:"styles.header_bg_color"}}):[e("material-select",{ref:"materialSelect",staticClass:"m-t-10",attrs:{size:60,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.header_bg_image,callback:function(e){t.$set(t.content,"header_bg_image",e)},expression:"content.header_bg_image"}},[e("i",{staticClass:"el-icon-plus lg"})]),e("div",{staticClass:"muted"},[t._v("建议尺寸:750*100像素")])]],2),e("el-form-item",{attrs:{label:"左侧图标"}},[e("material-select",{ref:"materialSelect",staticClass:"m-t-10",attrs:{size:60,"upload-bg":"#fff","enable-domain":!1},model:{value:t.content.header_icon_image,callback:function(e){t.$set(t.content,"header_icon_image",e)},expression:"content.header_icon_image"}},[e("i",{staticClass:"el-icon-plus lg"})]),e("div",{staticClass:"muted"},[t._v("建议尺寸:750*100像素")])],1),e("el-form-item",{attrs:{label:"标题文字"}},[e("el-input",{staticStyle:{width:"280px"},attrs:{maxlength:"10","show-word-limit":"",placeholder:"请输入标题"},model:{value:t.content.header_title,callback:function(e){t.$set(t.content,"header_title",e)},expression:"content.header_title"}})],1),e("el-form-item",{attrs:{label:"标题颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.header_title_color,callback:function(e){t.$set(t.styles,"header_title_color",e)},expression:"styles.header_title_color"}})],1),e("el-form-item",{attrs:{label:"标题大小"}},[e("slider",{attrs:{min:12},model:{value:t.styles.header_title_size,callback:function(e){t.$set(t.styles,"header_title_size",e)},expression:"styles.header_title_size"}})],1)],1),e("attribute-item",{attrs:{title:"更多按钮"}},[e("el-form-item",{attrs:{label:"按钮显示"}},[e("el-radio-group",{model:{value:t.content.show_haeder_more,callback:function(e){t.$set(t.content,"show_haeder_more",e)},expression:"content.show_haeder_more"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1),e("el-form-item",{attrs:{label:"按钮文字"}},[e("el-input",{staticStyle:{width:"280px"},attrs:{maxlength:"5","show-word-limit":"",placeholder:"按钮文字"},model:{value:t.content.header_more_text,callback:function(e){t.$set(t.content,"header_more_text",e)},expression:"content.header_more_text"}})],1),e("el-form-item",{attrs:{label:"按钮颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.header_more_color,callback:function(e){t.$set(t.styles,"header_more_color",e)},expression:"styles.header_more_color"}})],1)],1),e("attribute-item",{attrs:{title:"显示内容"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_title,callback:function(e){t.$set(t.content,"show_title",e)},expression:"content.show_title"}},[t._v("商品标题")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#101010"},model:{value:t.styles.title_color,callback:function(e){t.$set(t.styles,"title_color",e)},expression:"styles.title_color"}})],1)]),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_price,callback:function(e){t.$set(t.content,"show_price",e)},expression:"content.show_price"}},[t._v("预定人数")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#FF2C3C"},model:{value:t.styles.price_color,callback:function(e){t.$set(t.styles,"price_color",e)},expression:"styles.price_color"}})],1)]),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_scribing_price,callback:function(e){t.$set(t.content,"show_scribing_price",e)},expression:"content.show_scribing_price"}},[t._v("预售价格")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#999999"},model:{value:t.styles.scribing_price_color,callback:function(e){t.$set(t.styles,"scribing_price_color",e)},expression:"styles.scribing_price_color"}})],1)]),1==t.content.style?e("el-form-item",{attrs:{"label-width":"0"}},[e("div",{staticClass:"flex"},[e("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.content.show_sell,callback:function(e){t.$set(t.content,"show_sell",e)},expression:"content.show_sell"}},[t._v("划线原价")]),e("color-select",{staticClass:"m-l-10",attrs:{"reset-color":"#999999"},model:{value:t.styles.sell_color,callback:function(e){t.$set(t.styles,"sell_color",e)},expression:"styles.sell_color"}})],1)]):t._e()],1),e("attribute-item",{attrs:{title:"按钮设置"}},[e("el-form-item",{attrs:{label:"按钮显示"}},[e("el-radio-group",{model:{value:t.content.show_btn,callback:function(e){t.$set(t.content,"show_btn",e)},expression:"content.show_btn"}},[e("el-radio",{attrs:{label:1}},[t._v("显示")]),e("el-radio",{attrs:{label:0}},[t._v("隐藏")])],1)],1),e("el-form-item",{attrs:{label:"按钮背景"}},[e("color-select",{attrs:{"reset-color":"#A411D1"},model:{value:t.styles.btn_bg_color,callback:function(e){t.$set(t.styles,"btn_bg_color",e)},expression:"styles.btn_bg_color"}})],1),e("el-form-item",{attrs:{label:"文字颜色"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.btn_color,callback:function(e){t.$set(t.styles,"btn_color",e)},expression:"styles.btn_color"}})],1)],1)],1)],1),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"颜色设置"}},[e("el-form-item",{attrs:{label:"底部背景"}},[e("color-select",{attrs:{"reset-color":""},model:{value:t.styles.root_bg_color,callback:function(e){t.$set(t.styles,"root_bg_color",e)},expression:"styles.root_bg_color"}})],1),e("el-form-item",{attrs:{label:"组件背景"}},[e("color-select",{attrs:{"reset-color":"#FFFFFF"},model:{value:t.styles.content_bg_color,callback:function(e){t.$set(t.styles,"content_bg_color",e)},expression:"styles.content_bg_color"}})],1),e("el-form-item",{attrs:{label:"商品背景"}},[e("color-select",{attrs:{"reset-color":"#F8F8F8"},model:{value:t.styles.goods_bg_color,callback:function(e){t.$set(t.styles,"goods_bg_color",e)},expression:"styles.goods_bg_color"}})],1)],1),e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"商品间距"}},[e("slider",{model:{value:t.styles.margin,callback:function(e){t.$set(t.styles,"margin",e)},expression:"styles.margin"}})],1),e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1),e("el-form-item",{attrs:{label:"商品圆角"}},[e("slider",{model:{value:t.styles.goods_border_radius,callback:function(e){t.$set(t.styles,"goods_border_radius",e)},expression:"styles.goods_border_radius"}})],1)],1)],1)],1)])],1)}),[],!1,null,"89e51f46",null).exports;let Qa=class extends l.e{get goods(){const{data:t,data_type:e,num:s}=this.content;return 1==e?[...Array(s).keys()].map(()=>({})):t.length?t:[{},{},{},{}]}get headerStyle(){const{header_bg_type:t,header_bg_image:e}=this.content,{header_bg_color:s}=this.styles;return 1==t?{"background-color":s}:{"background-image":`url(${this.$getImageUri(e)})`}}};Object(a.a)([Object(l.c)()],Qa.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Qa.prototype,"styles",void 0),Qa=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],Qa);var Ja=Qa,Va=(s("aff0"),Object(b.a)(Ja,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("widget-root",{attrs:{styles:t.styles}},[e("div",{staticClass:"seckill",style:{"background-color":t.styles.content_bg_color,"border-radius":`${t.styles.border_radius_top}px ${t.styles.border_radius_top}px ${t.styles.border_radius_bottom}px ${t.styles.border_radius_bottom}px`}},[e("div",{staticClass:"seckill-header flex",style:[t.headerStyle]},[e("div",{staticClass:"flex-1 flex"},[t.content.header_icon_image?e("img",{staticClass:"flex-none m-r-5",staticStyle:{height:"22px"},attrs:{src:t.$getImageUri(t.content.header_icon_image)}}):t._e(),e("div",{staticClass:"line-1",style:{"max-width":"200px",color:t.styles.header_title_color,"font-size":t.styles.header_title_size+"px"}},[t._v(" "+t._s(t.content.header_title)+" ")])]),t.content.show_haeder_more?e("div",{staticClass:"more flex-none xs",style:{color:t.styles.header_more_color}},[t._v(" "+t._s(t.content.header_more_text)+" "),e("i",{staticClass:"el-icon-arrow-right"})]):t._e()]),e("div",{staticClass:"seckill-goods",style:{margin:`-${t.styles.margin/2}px`,padding:"10px"}},[e("div",{staticClass:"goods-lists",class:{lists:1==t.content.style,swiper:2==t.content.style}},t._l(t.goods,(function(a,l){return e("div",{key:l,staticClass:"goods-wrap"},[e("div",{staticClass:"goods-item",style:{"background-color":t.styles.goods_bg_color,margin:t.styles.margin/2+"px","border-radius":t.styles.goods_border_radius+"px"}},[e("div",{staticClass:"goods-image"},[e("el-image",{attrs:{src:a.image,fit:"cover"}},[e("img",{staticClass:"image-error",attrs:{slot:"error",src:s("eccb"),alt:""},slot:"error"})])],1),e("div",{staticClass:"goods-info p-5"},[t.content.show_title?e("div",{staticClass:"m-b-4 name",style:{color:t.styles.title_color}},[e("div",{class:2==t.content.style?"line-1":"line-2"},[t._v(" "+t._s(a.name||"这里是商品标题")+" ")])]):t._e(),1==t.content.style&&t.content.show_sell?e("div",{staticClass:"muted xs",style:{color:t.styles.sell_color}},[t._v(" 已预定0件 ")]):t._e(),1==t.content.style?e("div",{staticClass:"flex price-btn flex-wrap"},[e("div",{staticClass:"flex-1 flex col-baseline"},[t.content.show_price?e("div",{staticClass:"price weight-500 m-r-5 xl",style:{color:t.styles.price_color}},[e("span",{staticClass:"xs"},[t._v("¥")]),t._v(t._s(parseFloat(a.min_activity_price)||"0")+" ")]):t._e(),t.content.show_scribing_price?e("div",{staticClass:"muted line-through xs",style:{color:t.styles.scribing_price_color}},[t._v(" ¥"+t._s(parseFloat(a.min_price)||"0")+" ")]):t._e()]),1==t.content.style&&t.content.show_btn?e("div",{staticClass:"buy-btn xs",style:{"background-color":t.styles.btn_bg_color,color:t.styles.btn_color}},[t._v(" "+t._s(t.content.btn_text)+" ")]):t._e()]):e("div",{staticClass:"flex presell-price",style:{backgroundColor:t.styles.btn_bg_color,color:t.styles.btn_color}},[t._v(" 预售价 "),t.content.show_price?e("div",{staticClass:"weight-500 m-r-5 xl"},[e("span",{staticClass:"xs"},[t._v("¥")]),e("span",{staticClass:"xs"},[t._v(t._s(parseFloat(a.min_activity_price)||"0"))])]):t._e()])])])])})),0)])])])}),[],!1,null,"f5aa4498",null).exports);let Ga=class extends l.e{};Object(a.a)([Object(l.c)()],Ga.prototype,"content",void 0),Object(a.a)([Object(l.c)()],Ga.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],Ga.prototype,"index",void 0),Object(a.a)([Object(l.c)()],Ga.prototype,"operate",void 0),Ga=Object(a.a)([Object(l.a)({components:{Contents:Va,WidgetPackage:_.a}})],Ga);var Ha=Ga,Ka={attribute:Wa,contents:Va,widget:Object(b.a)(Ha,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports},Xa=s("a897");let Za=class extends l.e{constructor(){super(...arguments),this.Data=""}get areaLists(){return this.$store.getters.content}get content(){return this.$store.getters.content}get styles(){return this.$store.getters.styles}created(){}};Za=Object(a.a)([Object(l.a)({components:{AttributeTabs:o.a,ColorSelect:i.a,StyleChose:r.a,Slider:c.a,AttributeItem:n.a,Editor:Xa.a}})],Za);var qa=Za,tl=(s("9f22"),Object(b.a)(qa,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("attribute-tabs",{attrs:{title:"富文本"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",{staticStyle:{padding:"10px"}},[e("editor",{ref:"Editor",attrs:{decorate:!0,width:"375",menu:["head","bold","fontSize","fontName","italic","underline","strikeThrough","indent","lineHeight","foreColor","link","list","justify","quote","emoticon","image","undo","redo"]},model:{value:t.content.data,callback:function(e){t.$set(t.content,"data",e)},expression:"content.data"}})],1)]),e("div",{attrs:{slot:"styles"},slot:"styles"},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small","label-position":"left"}},[e("attribute-item",{attrs:{title:"边距设置"}},[e("el-form-item",{attrs:{label:"上边距"}},[e("slider",{model:{value:t.styles.padding_top,callback:function(e){t.$set(t.styles,"padding_top",e)},expression:"styles.padding_top"}})],1),e("el-form-item",{attrs:{label:"下边距"}},[e("slider",{model:{value:t.styles.padding_bottom,callback:function(e){t.$set(t.styles,"padding_bottom",e)},expression:"styles.padding_bottom"}})],1),e("el-form-item",{attrs:{label:"左右边距"}},[e("slider",{model:{value:t.styles.padding_horizontal,callback:function(e){t.$set(t.styles,"padding_horizontal",e)},expression:"styles.padding_horizontal"}})],1)],1),e("attribute-item",{attrs:{title:"圆角设置"}},[e("el-form-item",{attrs:{label:"上圆角"}},[e("slider",{model:{value:t.styles.border_radius_top,callback:function(e){t.$set(t.styles,"border_radius_top",e)},expression:"styles.border_radius_top"}})],1),e("el-form-item",{attrs:{label:"下圆角"}},[e("slider",{model:{value:t.styles.border_radius_bottom,callback:function(e){t.$set(t.styles,"border_radius_bottom",e)},expression:"styles.border_radius_bottom"}})],1)],1)],1)],1)])],1)}),[],!1,null,"f038b700",null).exports);let el=class extends l.e{};Object(a.a)([Object(l.c)()],el.prototype,"content",void 0),Object(a.a)([Object(l.c)()],el.prototype,"styles",void 0),el=Object(a.a)([Object(l.a)({components:{WidgetRoot:m.a}})],el);var sl=el,al=(s("5057"),Object(b.a)(sl,(function(){var t=this._self._c;this._self._setupProxy;return t("widget-root",{attrs:{styles:this.styles}},[t("div",{staticClass:"preview flex-none",style:{"border-radius":`${this.styles.border_radius_top}px ${this.styles.border_radius_top}px ${this.styles.border_radius_bottom}px ${this.styles.border_radius_bottom}px`}},[t("div",{staticClass:"flex-1",staticStyle:{"min-height":"0"}},[t("div",{staticClass:"p-l-10 p-r-10",domProps:{innerHTML:this._s(this.content.data)}})])])])}),[],!1,null,"1cd46610",null).exports);let ll=class extends l.e{};Object(a.a)([Object(l.c)()],ll.prototype,"content",void 0),Object(a.a)([Object(l.c)()],ll.prototype,"styles",void 0),Object(a.a)([Object(l.c)()],ll.prototype,"index",void 0),Object(a.a)([Object(l.c)()],ll.prototype,"operate",void 0),ll=Object(a.a)([Object(l.a)({components:{Contents:al,WidgetPackage:_.a}})],ll);var ol=ll,il={attribute:tl,contents:al,widget:Object(b.a)(ol,(function(){var t=this._self._c;this._self._setupProxy;return t("div",[t("widget-package",{attrs:{index:this.index,operate:this.operate}},[t("contents",{attrs:{content:this.content,styles:this.styles}})],1)],1)}),[],!1,null,null,null).exports};e.a={search:x,title:M,banner:Y,navigation:tt,category:ue,userinfo:ye,userorder:Se,userserve:Ee,goodsgroup:ft,reviews:Pt,goodsrecom:kt,tabs:Gt,notice:Ve,blank:ss,separate:us,rubik:ws,coupon:Ds,seckill:Ys,spellgroup:Zs,video:ra,graphic:fa,mnplive:ka,hotarea:Ta,presell:Ka,edit:il}},ac98:function(t,e,s){"use strict";s("96e2")},ad40:function(t,e,s){"use strict";s("b060")},ae8d:function(t,e,s){"use strict";s("8842")},af3c:function(t,e,s){},afde:function(t,e,s){"use strict";s("a8e5")},aff0:function(t,e,s){"use strict";s("01d1")},b060:function(t,e,s){},b3ad:function(t,e,s){"use strict";s("e9f5"),s("ab43");var a=s("9ab4"),l=s("1b40"),o=s("0a6d"),i=s("c6fe"),r=s("e915"),n=s("b76a"),c=s.n(n);let d=class extends l.e{constructor(){super(...arguments),this.isAdd=!0,this.fileList=[]}get showUpload(){const{fileList:t,limit:e}=this;return e-t.length>0}get meterialLimit(){return this.isAdd?this.limit?this.limit-this.fileList.length:null:1}get tipsText(){switch(this.type){case"image":return"图片";case"video":return"视频"}}get imageUri(){return t=>this.enableDomain?t:this.$getImageUri(t)}valueChange(t){this.fileList=Array.isArray(t)?t:""==t?[]:[t]}showDialog(t=!0,e){var s;this.disabled||(this.isAdd=t,void 0!==e&&(this.currentIndex=e),null===(s=this.$refs.materialDialog)||void 0===s||s.onTrigger())}selectChange(t){this.select=t}handleConfirm(){this.$refs.material.clearSelectList();const t=this.select.map(t=>this.enableDomain?t.uri:t.url);this.isAdd?this.fileList=this.fileList.concat(t):this.fileList.splice(this.currentIndex,1,t.shift()),this.handleChange()}delImage(t){this.fileList.splice(t,1),this.handleChange()}handleChange(){const t=1!=this.limit?this.fileList:this.fileList[0]||"";this.$emit("input",t),this.$emit("change",t),this.fileList=[]}};Object(a.a)([Object(l.c)({default:()=>[]})],d.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:1})],d.prototype,"limit",void 0),Object(a.a)([Object(l.c)({default:"100"})],d.prototype,"size",void 0),Object(a.a)([Object(l.c)({default:!1})],d.prototype,"disabled",void 0),Object(a.a)([Object(l.c)({default:!1})],d.prototype,"dragDisabled",void 0),Object(a.a)([Object(l.c)({default:!1})],d.prototype,"hiddenTrigger",void 0),Object(a.a)([Object(l.c)({default:"image"})],d.prototype,"type",void 0),Object(a.a)([Object(l.c)({default:"transparent"})],d.prototype,"uploadBg",void 0),Object(a.a)([Object(l.c)({default:!0})],d.prototype,"enableDomain",void 0),Object(a.a)([Object(l.c)({default:!0})],d.prototype,"enableDelete",void 0),Object(a.a)([Object(l.f)("value",{immediate:!0})],d.prototype,"valueChange",null),d=Object(a.a)([Object(l.a)({components:{LsDialog:o.a,LsMaterial:i.a,Draggable:c.a,FileItem:r.a}})],d);var u=d,b=(s("4e40"),s("2877")),p=Object(b.a)(u,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("ls-dialog",{ref:"materialDialog",staticClass:"material-select",attrs:{title:"选择"+t.tipsText,width:"1050px",top:"15vh"},on:{confirm:t.handleConfirm}},[t.hiddenTrigger?t._e():e("div",{staticClass:"material-select__trigger clearfix",attrs:{slot:"trigger"},on:{click:function(t){t.stopPropagation()}},slot:"trigger"},[e("draggable",{staticClass:"ls-draggable",attrs:{animation:"300",disabled:t.disabled||t.dragDisabled},on:{update:t.handleChange},model:{value:t.fileList,callback:function(e){t.fileList=e},expression:"fileList"}},t._l(t.fileList,(function(s,a){return e("div",{key:s+a,staticClass:"material-preview ls-del-wrap",class:{"is-disabled":t.disabled,"is-one":1==t.limit},on:{click:function(e){return t.showDialog(!1,a)}}},[t.$scopedSlots.preview?e("div",[t._t("preview",null,{item:t.imageUri(s)})],2):e("file-item",{attrs:{type:t.type,item:{uri:t.imageUri(s)},size:t.size}}),t.enableDelete?e("i",{staticClass:"el-icon-close ls-icon-del",on:{click:function(e){return e.stopPropagation(),t.delImage(a)}}}):t._e()],1)})),0),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showUpload,expression:"showUpload"}],staticClass:"material-upload",class:{"is-disabled":t.disabled,"is-one":1==t.limit},on:{click:function(e){return t.showDialog(!0)}}},[t.$slots.upload?e("div",[t._t("upload")],2):e("div",{staticClass:"upload-btn flex row-center",style:{width:t.size+"px",height:t.size+"px",background:t.uploadBg}},[t._t("default"),t.$slots.default?t._e():e("span",[t._v("添加"+t._s(t.tipsText))])],2)])],1),e("div",{staticClass:"material-wrap"},[e("ls-material",{ref:"material",attrs:{"page-size":15,type:t.type,limit:t.meterialLimit},on:{change:t.selectChange}})],1)])}),[],!1,null,"62c92359",null);e.a=p.exports},b48d:function(t,e,s){"use strict";s("67b7")},b5b0:function(t,e,s){"use strict";s("7114")},b6c54:function(t,e,s){"use strict";s("a8bf")},b78d:function(t,e,s){"use strict";s("a0b0")},b87c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAYFBMVEUAAAATI/8zMzMwMDBMf/89dPowMDBJbf88dPk/cP8+dPovLy8zMzMvLy8vLy8vLy8tLS0zMzMvLy8+dPowMDAvLy8+cvsqKiowMDAwMDA+dPs9dPkuLi4wMDAwMDA+dPoiS9IzAAAAHnRSTlMAAQr1Cvb5B+Af+fgFkdtfORmN8ezNKh6v8OTj0LABWCnpAAABKklEQVRYw+2X646DIBBGGS9st4LWorbb3cX3f8v9quliai9jpmnThJOYjAQOA/xgUJFHQyyuD14wz6VGfAkLGnrPx29s2xTpXYqmtZuZgVRiC8+msImis/G/XmvPBD33ZmpAbIfxOmWgB8N2KsD6j7OXVZ0wqKvSw4F9mAi2Xvtyh4ABqV3pz1IwP3BWyhALoyp0b810C7+wszUCFqRqnFiDgwiC1Ps0YQlC/yi4Kfi4AleQrb5Xc9CYsQSksry/SJ4pepLArfP1SA/GCE2OJQD0eaLLMW/3/0sLjjEs5pj40mOkkZMg/EsziIIoeFuB63v32gwOzh2WCwLUAXrpxULgTa42QYEhKnHkRZa8zAspiApNxGYvKHUFxbak3Jc+OKRPHtmjK/Jg/gCNGEVtZ2YfywAAAABJRU5ErkJggg=="},b99a:function(t,e,s){"use strict";s.d(e,"f",(function(){return l})),s.d(e,"a",(function(){return o})),s.d(e,"d",(function(){return i})),s.d(e,"e",(function(){return r})),s.d(e,"c",(function(){return n})),s.d(e,"b",(function(){return c}));var a=s("f175");const l=()=>a.a.get("/config/getMarketingModule"),o=()=>a.a.get("/config/getAppModule"),i=t=>a.a.get("/common/activity",{params:t}),r=t=>a.a.get("/common/activityGoods",{params:t}),n=t=>a.a.post("award_integral/setConfig",t),c=()=>a.a.get("award_integral/getConfig")},ba96:function(t,e,s){"use strict";s("c091")},bba2:function(t,e,s){},bd89:function(t,e,s){"use strict";s("76e7")},c091:function(t,e,s){},c13e:function(t,e,s){"use strict";s("a405")},c20a:function(t,e,s){t.exports=s.p+"img/sort_two2.21f98bcc.png"},c2ca:function(t,e,s){"use strict";s("4be9")},c352:function(t,e){t.exports="data:image/png;base64,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"},c461:function(t,e,s){"use strict";s("603e")},c4618:function(t,e,s){"use strict";s("25f8")},c81f:function(t,e,s){t.exports=s.p+"img/coupon3.e2042ced.png"},c9b9:function(t,e,s){"use strict";s("6081")},cc5c:function(t,e,s){},cf9b:function(t,e,s){"use strict";s("04d0")},cfa9:function(t,e,s){"use strict";s("f2ac")},d133:function(t,e,s){"use strict";s("7b90")},d364:function(t,e,s){t.exports=s.p+"img/sort_three.4ae63002.png"},d6d3:function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40");let o=class extends l.e{get size(){return this.setOpacity?Number(this.value):this.value}set size(t){this.setOpacity?this.$emit("input",Number(t)):this.$emit("input",t)}};Object(a.a)([Object(l.c)()],o.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:0})],o.prototype,"min",void 0),Object(a.a)([Object(l.c)({default:40})],o.prototype,"max",void 0),Object(a.a)([Object(l.c)({default:!1})],o.prototype,"setOpacity",void 0),o=Object(a.a)([l.a],o);var i=o,r=s("2877"),n=Object(r.a)(i,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"slider flex"},[e("el-slider",{staticClass:"flex-1 m-r-10",attrs:{min:t.min,max:t.max},model:{value:t.size,callback:function(e){t.size=e},expression:"size"}}),t.setOpacity?e("el-input",{staticStyle:{width:"100px"},attrs:{min:t.min,max:t.max,oninput:"value = (value.trim() === '') ? '0' : value.replace(/[^0-9]/g, '')"},model:{value:t.size,callback:function(e){t.size=e},expression:"size"}},[e("template",{slot:"append"},[t._v("%")])],2):e("el-input-number",{staticStyle:{width:"90px"},attrs:{"controls-position":"right",min:t.min,max:t.max},model:{value:t.size,callback:function(e){t.size=e},expression:"size"}})],1)}),[],!1,null,"57ecc5d6",null);e.a=n.exports},d934:function(t,e,s){},db5c:function(t,e,s){t.exports=s.p+"img/sort_one.9580639b.png"},db8b:function(t,e,s){},db9b:function(t,e,s){"use strict";var a=s("23e7"),l=s("c65b"),o=s("825a"),i=s("46c4"),r=s("abc1"),n=s("f8cd4"),c=s("c5cc"),d=s("c430"),u=c((function(){for(var t,e=this.iterator,s=this.next;this.remaining;)if(this.remaining--,t=o(l(s,e)),this.done=!!t.done)return;if(t=o(l(s,e)),!(this.done=!!t.done))return t.value}));a({target:"Iterator",proto:!0,real:!0,forced:d},{drop:function(t){o(this);var e=n(r(+t));return new u(i(this),{remaining:e})}})},ddf8:function(t,e,s){},df61:function(t,e){t.exports="data:image/png;base64,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"},e15d:function(t,e,s){},e38f:function(t,e){t.exports="data:image/png;base64,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"},e45a:function(t,e,s){"use strict";s("e9ff")},e4d0:function(t,e,s){},e560:function(t,e,s){"use strict";s("2841")},e648:function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40"),o=s("0a6d"),i=s("3c50"),r=s("6ddb"),n=s("14c6");let c=class extends l.e{constructor(){super(...arguments),this.name="",this.pager=new r.a}get selectData(){return this.value}set selectData(t){this.$emit("input",t)}visibleChange(t){t.val&&this.getList()}getList(t){t&&(this.pager.page=t),this.pager.request({callback:n.j,params:{name:this.name,level:this.level}}).then(t=>{})}handleSelect(t,e){this.selectData=t?{name:e.name,id:e.id}:{}}};Object(a.a)([Object(l.b)("visible")],c.prototype,"visible",void 0),Object(a.a)([Object(l.c)()],c.prototype,"value",void 0),Object(a.a)([Object(l.c)()],c.prototype,"level",void 0),Object(a.a)([Object(l.f)("visible",{deep:!0,immediate:!0})],c.prototype,"visibleChange",null),c=Object(a.a)([Object(l.a)({components:{LsPagination:i.a}})],c);var d=c,u=s("2877"),b=Object(u.a)(d,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.pager.loading,expression:"pager.loading"}],staticClass:"detail"},[e("div",{staticClass:"flex m-b-20"},[e("div",{staticClass:"m-r-10"},[t._v("分类搜索")]),e("el-input",{staticStyle:{width:"220px"},attrs:{size:"small",placeholder:"请输入分类名称"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(1)}},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:function(e){return t.getList(1)}},slot:"append"})],1)],1),e("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:t.pager.lists,height:"370px",size:"mini"}},[e("el-table-column",{attrs:{label:"分类名称",prop:"name"}}),e("el-table-column",{attrs:{label:"商品数量",prop:"num"}}),e("el-table-column",{attrs:{label:"分类级别"},scopedSlots:t._u([{key:"default",fn:function({row:s}){return[1==s.level?e("div",[t._v("一级分类")]):t._e(),2==s.level?e("div",[t._v("二级分类")]):t._e(),3==s.level?e("div",[t._v("三级分类")]):t._e()]}}])}),e("el-table-column",{attrs:{label:"选择",width:"100"},scopedSlots:t._u([{key:"default",fn:function({row:s}){return[e("el-checkbox",{attrs:{value:t.selectData.id==s.id},on:{change:function(e){return t.handleSelect(e,s)}}})]}}])})],1),e("div",{staticClass:"flex row-right m-t-20"},[e("ls-pagination",{on:{change:function(e){return t.getList()}},model:{value:t.pager,callback:function(e){t.pager=e},expression:"pager"}})],1)],1)}),[],!1,null,"2103d4fc",null).exports;let p=class extends l.e{constructor(){super(...arguments),this.category={}}valueChange(t){this.category=JSON.parse(JSON.stringify(t))}handleConfirm(){this.$emit("input",this.category)}};Object(a.a)([Object(l.c)({default:()=>({})})],p.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:!1})],p.prototype,"disabled",void 0),Object(a.a)([Object(l.c)()],p.prototype,"level",void 0),Object(a.a)([Object(l.f)("value",{immediate:!0,deep:!0})],p.prototype,"valueChange",null),p=Object(a.a)([Object(l.a)({components:{LsDialog:o.a,Detail:b}})],p);var m=p,g=Object(u.a)(m,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("ls-dialog",{ref:"dialog",staticClass:"category-select",attrs:{title:"选择分类",width:"900px",top:"20vh",disabled:t.disabled},on:{confirm:t.handleConfirm}},[e("div",{staticClass:"category-select__trigger",attrs:{slot:"trigger"},slot:"trigger"},[t._t("trigger",(function(){return[e("el-button",{attrs:{disabled:t.disabled,size:"mini",type:"primary"}},[t._v("选择分类")])]}))],2),e("div",{staticClass:"p-l-20 p-r-20"},[e("detail",{ref:"detail",attrs:{level:t.level},model:{value:t.category,callback:function(e){t.category=e},expression:"category"}})],1)])}),[],!1,null,"676a2c89",null);e.a=g.exports},e674:function(t,e,s){"use strict";s("125c")},e699:function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40"),o=s("ac05"),i=s("4bb5"),r=s("1248"),n=s("ea05"),c=s("b3ad"),d=s("66bb");let u=class extends l.e{constructor(){super(...arguments),this.defaultConfig={setTitle:!0,setBg:!0}}get pagesInfo(){const{pagesInfo:t}=this.$store.state.decorate;return t}set pagesInfo(t){this.$store.commit("setPagesInfo",t)}get configs(){return Object.assign({},this.defaultConfig,this.config)}handleChange(t){this.pagesInfo.common.title=t.trim()}};Object(a.a)([Object(l.c)({default:()=>({})})],u.prototype,"config",void 0),u=Object(a.a)([Object(l.a)({components:{AttributeTabs:r.a,ColorSelect:n.a,MaterialSelect:c.a,AttributeItem:d.a}})],u);var b=u,p=s("2877"),m=Object(p.a)(b,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"page-info"},[e("attribute-tabs",{attrs:{title:"页面设置"}},[e("el-form",{ref:"form",attrs:{"label-width":"80px",size:"small"}},[e("attribute-item",[t.configs.setTitle?e("el-form-item",{attrs:{label:"页面标题"}},[e("el-input",{attrs:{maxlength:"8","show-word-limit":"",placeholder:"请输入页面标题"},on:{change:t.handleChange},model:{value:t.pagesInfo.common.title,callback:function(e){t.$set(t.pagesInfo.common,"title",e)},expression:"pagesInfo.common.title"}})],1):t._e(),t.configs.setBg?e("el-form-item",{attrs:{label:"页面背景"}},[e("el-radio-group",{model:{value:t.pagesInfo.common.background_type,callback:function(e){t.$set(t.pagesInfo.common,"background_type",e)},expression:"pagesInfo.common.background_type"}},[e("el-radio",{attrs:{label:"1"}},[t._v("背景颜色")]),e("el-radio",{attrs:{label:"2"}},[t._v("背景图片")])],1)],1):t._e(),1==t.pagesInfo.common.background_type?e("el-form-item",[e("color-select",{attrs:{"reset-color":"#F5F5F5"},model:{value:t.pagesInfo.common.background_color,callback:function(e){t.$set(t.pagesInfo.common,"background_color",e)},expression:"pagesInfo.common.background_color"}})],1):t._e(),2==t.pagesInfo.common.background_type?e("el-form-item",[e("material-select",{attrs:{limit:1,size:60},model:{value:t.pagesInfo.common.background_image,callback:function(e){t.$set(t.pagesInfo.common,"background_image",e)},expression:"pagesInfo.common.background_image"}})],1):t._e(),t.configs.setBg?e("el-form-item",{attrs:{label:"文字颜色"}},[e("el-radio-group",{model:{value:t.pagesInfo.common.title_color,callback:function(e){t.$set(t.pagesInfo.common,"title_color",e)},expression:"pagesInfo.common.title_color"}},[e("el-radio",{attrs:{label:"1"}},[t._v("白色")]),e("el-radio",{attrs:{label:"2"}},[t._v("黑色")])],1)],1):t._e()],1)],1)],1)],1)}),[],!1,null,null,null).exports,g=s("4466");let f=class extends l.e{constructor(){super(...arguments),this.widgets="mobile"==this.client?o.a:g.a}get selectIndex(){return this.$store.state.decorate.selectIndex}set selectIndex(t){this.$store.commit("setSelectIndex",t)}};Object(a.a)([Object(l.c)({default:"mobile"})],f.prototype,"client",void 0),Object(a.a)([Object(l.c)()],f.prototype,"config",void 0),Object(a.a)([Object(i.b)("widgetName")],f.prototype,"widgetName",void 0),f=Object(a.a)([Object(l.a)({components:{PageInfo:m}})],f);var v=f,_=(s("afde"),Object(p.a)(v,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"decorate-right"},[e("el-scrollbar",{staticClass:"ls-scrollbar",staticStyle:{height:"100%"}},[e("div",{staticClass:"decorate-attr"},[t.selectIndex>=0?e("div",[t.widgets[t.widgetName]?e(t.widgets[t.widgetName].attribute,{tag:"component"}):t._e()],1):t._e(),-1==t.selectIndex?e("div",[e("page-info",{attrs:{config:t.config}})],1):t._e()])]),"mobile"==t.client?e("div",{staticClass:"btns"},[e("el-button",{attrs:{size:"small",type:"promary"},on:{click:function(e){t.selectIndex=-1}}},[t._v("页面设置")])],1):t._e()],1)}),[],!1,null,"333f4c94",null));e.a=_.exports},e9ff:function(t,e,s){},ea05:function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40");let o=class extends l.e{constructor(){super(...arguments),this.predefineColors=["#FF2C3C","#f7971e","#fa444d","#e0a356","#2f80ed","#2ec840"]}get color(){return this.value}set color(t){this.$emit("input",t)}reset(){this.color=this.resetColor}};Object(a.a)([Object(l.c)()],o.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:""})],o.prototype,"resetColor",void 0),o=Object(a.a)([l.a],o);var i=o,r=s("2877"),n=Object(r.a)(i,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"color-select flex flex-1"},[e("el-color-picker",{attrs:{predefine:t.predefineColors},model:{value:t.color,callback:function(e){t.color=e},expression:"color"}}),e("el-input",{staticClass:"m-l-10 m-r-10 flex-1",attrs:{type:"text",readonly:""},model:{value:t.color,callback:function(e){t.color=e},expression:"color"}}),e("el-button",{attrs:{type:"text"},on:{click:t.reset}},[t._v("重置")])],1)}),[],!1,null,"b03bb76e",null);e.a=n.exports},ea4b:function(t,e,s){t.exports={primary:"#4073fa",white:"#fff",asideMenuWidth:"150px",headerHeight:"64px"}},eb8c:function(t,e,s){},eccb:function(t,e,s){t.exports=s.p+"img/goods_image.0e6b7d88.png"},ed0c:function(t,e,s){"use strict";s("5264")},ee48:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAWlBMVEUAAAAwMDAvLy8zMzM9dPpMfv8nJycvLy8tLS0zMzNJcf8vLy8wMDAuLi4vLy89dPowMDAwMDAvLy8wMDAqKiouLi45OTk8c/o9c/suLi48cfo+c/owMDA+dPrpgovNAAAAHHRSTlMA8/cK9goGkTkZBo3sztnt3LBhXR4LCVvl02LiTaJFiwAAAOxJREFUWMPtldsOgyAMhkvZAM/uvDn2/q+5qosm6kWxJlsWvgtDv5A/DYEKkUhkW66auK61zhY5KoV5Yd0Kqy36AbQ61OqDx8HS6mACrfWtQkV0C59BkHWKVuUp0URyKlvtyCLPKteF1mf4cK772IxrLbQ5RzC9M3CksgB4cG0JSN0lMJBQnRujuFaBp48epVZU01au9V3AZZSXYSvPelEH/xTw1UOUXiSEWniVxY9J/pwhWxgSQdbMx1SAlQ5V4VgX/lgiv0S6n5CG2ea5m1DdAG53tt29ZtzTtOLaSh7QLDbbVFwrPsRIJLIRb797TwoIzVM4AAAAAElFTkSuQmCC"},f1ae:function(t,e,s){"use strict";s("f2ad")},f2ac:function(t,e,s){},f2ad:function(t,e,s){},f473:function(t,e){t.exports="data:image/png;base64,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"},f4fd:function(t,e,s){"use strict";s("a4ce")},f5b6:function(t,e,s){},f757:function(t,e,s){"use strict";s("1a24")},f77e:function(t,e,s){"use strict";var a=s("9ab4"),l=s("1b40");const o=s("6052"),i=s("b87c"),r=s("94ae"),n=s("ee48"),c=s("27ba"),d=s("92da"),u=s("a332"),b=s("6052"),p=s("7925"),m=s("9c89"),g=s("2d62"),f=s("e38f"),v=s("3869"),_=s("94a8"),h=s("5203"),y=s("66e1"),x=s("f473"),A=s("c352"),w=s("167a"),C=[{title:"常用组件",name:"basics",children:[{title:"搜索框",name:"search",icon:o,show:1,content:{text:"请输入关键字搜索"},styles:{text_align:"left",border_radius:0,root_bg_color:"",bg_color:"#FFFFFF",icon_color:"#999999",color:"#999999",padding_top:12,padding_horizontal:15,padding_bottom:12}},{title:"标题",name:"title",icon:i,show:1,content:{style:1,title:"主标题",subtitle:"副标题",hidden_subtitle:0,show_more:1,more_title:"更多",link:{}},styles:{root_bg_color:"",bg_color:"#F5F5F5",title_color:"#333333",title_font_size:14,subtitle_color:"#999999",subtitle_font_size:12,more_color:"#999999",padding_top:0,padding_horizontal:0,padding_bottom:0,border_radius_top:0,border_radius_bottom:0}},{title:"轮播图",name:"banner",icon:r,show:1,content:{data:[{url:"",link:{}}]},styles:{root_bg_color:"rgba(0,0,0,0)",border_radius:0,indicator_style:1,indicator_align:"left",indicator_color:"#FF2C3C",padding_top:0,padding_horizontal:0,padding_bottom:0}},{title:"菜单导航",name:"navigation",icon:n,show:1,content:{style:1,data:[{url:"",name:"导航",link:{}},{url:"",name:"导航",link:{}},{url:"",name:"导航",link:{}},{url:"",name:"导航",link:{}}]},styles:{nav_style:1,nav_line:2,nav_line_num:4,indicator_style:1,indicator_color:"#FF2C3C",bg_color:"#FFFFFF",root_bg_color:"",color:"#333333",padding_top:0,padding_horizontal:0,padding_bottom:0,border_radius_top:0,border_radius_bottom:0,img_border_radius:0}},{title:"图片魔方",name:"rubik",icon:c,show:1,content:{style:1,data:[{url:"",link:{}}]},styles:{border_radius:0,root_bg_color:"",line_color:"#e5e5e5",font_color:"#333",padding_top:0,padding_horizontal:0,padding_bottom:0}},{title:"公告",name:"notice",icon:u,show:1,content:{icon:"",icon_type:1,show_tag:1,num:1,data:[]},styles:{root_bg_color:"",bg_color:"#FFFFFF",border_radius:7,line_color:"#E5E5E5",color:"#333333",padding_top:0,padding_horizontal:0,padding_bottom:0}},{title:"视频",name:"video",icon:_,show:1,content:{url:"",video_type:1,poster:"",proportion:1},styles:{root_bg_color:"",border_radius_top:0,border_radius_bottom:0,padding_top:0,padding_horizontal:0,padding_bottom:0}},{title:"图文",name:"graphic",icon:h,show:1,content:{data:[{url:"",title:"标题名称",title_color:"#333333",subtitle:"副标题名称",subtitle_color:"#666666",link:{},bg_color:"#FFFFFF"}]},styles:{root_bg_color:"",border_radius_top:0,border_radius_bottom:0,padding_top:10,padding_horizontal:10,padding_bottom:0}},{title:"热区",name:"hotarea",icon:A,show:1,content:{data:{imgurl:"",areaLists:[]}},styles:{root_bg_color:"",border_radius_top:0,border_radius_bottom:0,padding_top:0,padding_horizontal:0,padding_bottom:0}},{title:"富文本",name:"edit",icon:s("df61"),show:1,content:{data:'<p><font face="微软雅黑">点击右侧编辑「富文本」👉</font></p><p><font face="微软雅黑">您可以对文字进行<b>加粗</b>、<i>斜体</i>、<u>下划线</u>、<strike>删除线</strike>、<font color="#46acc8">文字颜色</font>、以及字号<font size="5">大</font>小等简单排版操作。</font></p><p><font face="微软雅黑">也可以在这里插入图片,方便用户查看。</font></p>'},styles:{root_bg_color:"",border_radius_top:6,border_radius_bottom:6,padding_top:10,padding_horizontal:10,padding_bottom:0}}]},{title:"商品组件",name:"goods",children:[{title:"商品组",name:"goodsgroup",icon:m,show:1,content:{style:1,goods_type:1,show_title:1,show_price:1,show_scribing_price:1,show_btn:1,btn_text:"购买",category:{id:"",name:"",num:1},data:[]},styles:{title_color:"#333333",scribing_price_color:"#999999",price_color:"#FF2C3C",btn_bg_color:"#FF2C3C",content_bg_color:"",btn_color:"#FFFFFF",btn_border_radius:30,btn_border_color:"",root_bg_color:"",bg_color:"#FFFFFF",margin:10,padding:10,padding_top:10,padding_horizontal:10,padding_bottom:10,border_radius_top:0,border_radius_bottom:0,goods_border_radius:4}},{title:"选项卡",name:"tabs",icon:d,show:1,content:{active:0,show_line:1,has_active_bg:0,data:[{name:"选项卡",style:1,goods_type:1,show_title:1,show_price:1,show_scribing_price:1,show_btn:1,btn_text:"购买",category:{id:"",name:"",num:1},title_color:"#333333",scribing_price_color:"#999999",price_color:"#FF2C3C",btn_bg_color:"#FF2C3C",btn_color:"#FFFFFF",btn_border_radius:30,btn_border_color:"",root_bg_color:"",content_bg_color:"",bg_color:"#FFFFFF",padding:0,margin:10,padding_top:10,padding_horizontal:10,padding_bottom:10,goods_border_radius:4,data:[]}]},styles:{root_bg_color:"",bg_color:"#FFFFFF",color:"#333333",active_color:"#FF2C3C",line_color:"#FF2C3C",active_bg_color:"",padding:10,padding_top:0,padding_horizontal:0,padding_bottom:0,border_radius_top:0,border_radius_bottom:0}}]},{title:"营销组件",name:"marketing",children:[{title:"优惠券",name:"coupon",icon:g,show:1,content:{style:1,title:"超值优惠券",bg_type:1,data:[]},styles:{root_bg_color:"#FFFFFF",bg_color:"#FCE7E7",title_color:"#FFFFFF",bg_image:"",text_color:"#FF2C3C",btn_bg_color:"#FF2C3C",btn_text_color:"#FFFFFF",padding_top:10,padding_horizontal:10,padding_bottom:10,money_color:"#FF2C3C",condition_color:"#333333",scene_color:"#999999"}},{title:"限时秒杀",name:"seckill",icon:f,show:1,content:{style:1,data_type:1,num:1,data:[],header_bg_type:1,header_bg_image:"",header_icon_image:"",header_title:"超值秒杀",show_haeder_more:1,header_more_text:"更多",show_title:1,show_price:1,show_scribing_price:1,show_sell:1,show_btn:1,btn_text:"马上抢"},styles:{root_bg_color:"",content_bg_color:"#FFFFFF",goods_bg_color:"#F8F8F8",header_title_color:"#FFFFFF",header_more_color:"#FFFFFF",header_bg_color:"#FF624B",title_color:"#333333",scribing_price_color:"#999999",sell_color:"#999999",price_color:"#FF2C3C",btn_bg_color:"#FF2C3C",btn_color:"#FFFFFF",header_title_size:20,padding_top:10,margin:10,padding_horizontal:10,padding_bottom:10,goods_border_radius:4,border_radius_top:4,border_radius_bottom:4}},{title:"预售活动",name:"presell",icon:w,show:1,content:{style:1,data_type:1,num:1,data:[],header_bg_type:1,header_bg_image:"",header_icon_image:"",header_title:"预售精选",show_haeder_more:1,header_more_text:"更多",show_title:1,show_price:1,show_scribing_price:1,show_sell:1,show_btn:1,btn_text:"预定"},styles:{root_bg_color:"",content_bg_color:"#FFFFFF",goods_bg_color:"#F8F8F8",header_title_color:"#FFFFFF",header_more_color:"#FFFFFF",header_bg_color:"#B54BD5",title_color:"#333333",scribing_price_color:"#999999",sell_color:"#999999",price_color:"#FF2C3C",btn_bg_color:"#A411D1",btn_color:"#FFFFFF",header_title_size:20,padding_top:10,margin:10,padding_horizontal:10,padding_bottom:10,goods_border_radius:4,border_radius_top:4,border_radius_bottom:4}},{title:"拼团活动",name:"spellgroup",icon:v,show:1,content:{data:[],style:1,data_type:1,num:1,header_bg_type:1,header_bg_image:"",header_icon_image:"",header_title:"今日必拼",show_haeder_more:1,header_more_text:"更多",show_title:1,show_price:1,show_scribing_price:1,show_sell:1,show_btn:1,btn_text:"去拼团",show_group_num:1},styles:{root_bg_color:"",content_bg_color:"#FFFFFF",goods_bg_color:"#F8F8F8",header_title_color:"#FFFFFF",header_more_color:"#FFFFFF",header_bg_color:"#FF5382",title_color:"#333333",scribing_price_color:"#999999",sell_color:"#999999",price_color:"#FF2C3C",btn_bg_color:"#FF2C3C",btn_color:"#FFFFFF",group_num_color:"#FF2C3C",header_title_size:20,padding_top:10,margin:10,padding_horizontal:10,padding_bottom:10,goods_border_radius:4,border_radius_top:4,border_radius_bottom:4}},{title:"小程序直播",name:"mnplive",icon:y,show:1,content:{style:1,num:1,data:[],header_bg_type:1,header_bg_image:"",header_icon_image:"",header_title:"直播间",show_haeder_more:1,header_more_text:"更多"},styles:{root_bg_color:"",content_bg_color:"",bg_color:"#FFFFFF",header_title_color:"#333333",header_more_color:"#999999",header_bg_color:"",title_color:"#333333",header_title_size:18,padding_top:0,margin:20,padding_horizontal:10,padding_bottom:0,goods_border_radius:4,border_radius_top:4,border_radius_bottom:4}}]},{title:"辅助类",name:"auxiliary",children:[{title:"空白间距",name:"blank",show:1,icon:b,styles:{height:10,bg_color:"#FFFFFF",root_bg_color:"",border_radius_bottom:0,padding_top:0,padding_horizontal:0,padding_bottom:0}},{title:"分割线",show:1,name:"separate",icon:p,content:{separate:"solid"},styles:{root_bg_color:"",line_color:"#e5e5e5",padding_top:10,padding_horizontal:0,padding_bottom:10}}]}],k=[{title:"广告位",name:"adv",icon:x,show:1,content:{data:[{url:"",link:{}}],style:1},styles:{}},{title:"商品组",name:"goodsgroup",icon:m,show:1,content:{data:[],title:"主标题",subtitle:"副标题",show_more:1,show_adv:1,adv_url:"",adv_link:{},goods_type:1,category:{id:"",name:"",num:1}},styles:{}},{title:"限时秒杀",name:"seckill",icon:f,show:1,content:{data:[],title:"限时秒杀",show_more:1,data_type:1,num:1},styles:{}}];var O=s("4bb5");let j=class extends l.e{constructor(){super(...arguments),this.leftMenu="pc"==this.client?k:C}get dragTarget(){return this.$store.state.decorate.dragTarget}set dragTarget(t){this.$store.commit("setDragTarget",t)}get dragIndex(){return this.$store.state.decorate.dragIndex}set dragIndex(t){this.$store.commit("setDragIndex",t)}get widgetData(){return this.$store.state.decorate.widgetData}set widgetData(t){this.$store.commit("setWidgetData",t)}dragStart(t){this.dragTarget="widget",this.widgetData=t}dragEnd(){this.dragTarget="",this.widgetData=null,this.dragIndex=-2}};Object(a.a)([Object(l.c)({default:"mobile"})],j.prototype,"client",void 0),Object(a.a)([Object(O.b)("widgetName")],j.prototype,"widgetName",void 0),j=Object(a.a)([l.a],j);var F=j,S=(s("abe7"),s("2877")),z=Object(S.a)(F,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"decorate-left",class:{pc:"pc"==t.client}},[e("el-scrollbar",{staticClass:"ls-scrollbar",staticStyle:{height:"100%"}},["pc"==t.client?e("ul",{staticClass:"widget-list flex flex-wrap"},t._l(t.leftMenu,(function(s,a){return e("li",{key:a,staticClass:"widget-item flex-col row-center col-center",attrs:{draggable:!0},on:{dragstart:function(e){return t.dragStart(s)},dragend:t.dragEnd}},[e("img",{staticClass:"item-icon",attrs:{draggable:!1,src:s.icon,mode:""}}),e("div",{staticClass:"m-t-5"},[t._v(t._s(s.title))])])})),0):e("div",{staticClass:"p-16"},[e("el-collapse",{attrs:{value:["basics","goods","marketing","auxiliary"]}},t._l(t.leftMenu,(function(s,a){return e("el-collapse-item",{key:a,attrs:{name:s.name}},[e("template",{slot:"title"},[e("span",{staticClass:"sm"},[t._v(t._s(s.title)+"("+t._s(s.children.length)+")")])]),e("ul",{staticClass:"widget-list flex flex-wrap"},t._l(s.children,(function(s,a){return e("li",{key:a,staticClass:"widget-item flex-col row-center col-center",attrs:{draggable:!0},on:{dragstart:function(e){return t.dragStart(s)},dragend:t.dragEnd}},[e("img",{staticClass:"item-icon",attrs:{draggable:!1,src:s.icon,mode:""}}),e("div",{staticClass:"m-t-5"},[t._v(t._s(s.title))])])})),0)],2)})),1)],1)])],1)}),[],!1,null,"46e22768",null);e.a=z.exports},f886:function(t,e,s){t.exports=s.p+"img/sort_one2.6d9536a1.png"},f88e:function(t,e,s){t.exports=s.p+"img/title_style2.df5a4858.png"},f8cd4:function(t,e,s){"use strict";var a=s("5926"),l=RangeError;t.exports=function(t){var e=a(t);if(e<0)throw new l("The argument can't be less than 0");return e}},f8e8:function(t,e,s){"use strict";s("af3c")},fc06:function(t,e,s){},fc7a:function(t,e,s){"use strict";s("fc06")},fcda:function(t,e,s){"use strict";s("cc5c")},fe7b:function(t,e,s){"use strict";s("14d9");var a=s("9ab4"),l=s("1b40"),o=s("2b1d"),i=s("b3ad"),r=s("b76a"),n=s.n(r);let c=class extends l.e{constructor(){super(...arguments),this.index=-1}get banner(){return this.value}set banner(t){this.$emit("input",t)}handleAdd(){this.banner.length<this.limit?this.banner.push({url:"",link:{}}):this.$message.error(`最多添加${this.limit}张图片`)}handleDelete(t){if(this.banner.length<=1)return this.$message.error("最少保留一张图片");this.banner.splice(t,1)}};Object(a.a)([Object(l.c)()],c.prototype,"value",void 0),Object(a.a)([Object(l.c)({default:9999})],c.prototype,"limit",void 0),Object(a.a)([Object(l.c)()],c.prototype,"client",void 0),Object(a.a)([Object(l.c)({default:!1})],c.prototype,"closeDelete",void 0),c=Object(a.a)([Object(l.a)({components:{MaterialSelect:i.a,LinkSelect:o.a,Draggable:n.a}})],c);var d=c,u=(s("1a52"),s("2877")),b=Object(u.a)(d,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"banner"},[e("div",[e("div",{staticClass:"banner-list"},[e("draggable",{attrs:{animation:"300"},model:{value:t.banner,callback:function(e){t.banner=e},expression:"banner"}},t._l(t.banner,(function(s,a){return e("div",{key:a,staticClass:"banner-item ls-del-wrap m-b-20"},[e("material-select",{attrs:{"enable-domain":!1,"enable-delete":!1},scopedSlots:t._u([{key:"preview",fn:function({item:t}){return[e("div",{staticClass:"banner-iamge muted"},[e("el-image",{attrs:{fit:"cover",src:t}})],1)]}}],null,!0),model:{value:s.url,callback:function(e){t.$set(s,"url",e)},expression:"item.url"}},[e("div",{staticClass:"banner-iamge muted",attrs:{slot:"upload"},slot:"upload"},[e("div",{staticClass:"add-image flex-col row-center col-center"},[e("i",{staticClass:"el-icon-plus font-size-30"}),t._v(" 添加图片 ")])])]),e("div",{staticClass:"flex m-t-10"},[e("div",{staticClass:"m-r-10 lighter"},[t._v("链接地址")]),e("link-select",{attrs:{client:t.client},model:{value:s.link,callback:function(e){t.$set(s,"link",e)},expression:"item.link"}})],1),t.closeDelete?t._e():e("i",{staticClass:"el-icon-close ls-icon-del",on:{click:function(e){return t.handleDelete(a)}}})],1)})),0)],1),t.banner.length<t.limit?e("el-button",{staticClass:"add-banner",attrs:{size:"small"},on:{click:t.handleAdd}},[t._v("+ 添加图片")]):t._e()],1)])}),[],!1,null,"f8f818f0",null);e.a=b.exports},ffda:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAABsCAMAAACBzDx8AAABJlBMVEX///8AAAD////////////////////////////////////////////////////////////////////////////////+/v7e4ej8/Pz5+fn7+/sfHx8jIyPk5OS9vb03NzcsLCw0NDQbGxv29vaLi4v09PTBwcFQUFAmJibo6Oi5ubliYmIpKSl/f39bW1vd3d1qamrZ2dnW1tZJSUns7OxlZWVeXl46Ojq2trZMTEzv7+/h4eHT09PGxsazs7TLy8uHh4eDg4NtbW1VVVU+Pj5paWny8vJDQ0MxMTGxsrKamppwcXETExPKysqenp54eHhYWFhGRkYYGBijo6OPj498fHx1dXXz8/PNzc2pqqqlpaahoaHQ0NCtrq6VlZXb29tHR0cKCgpkJ+t4AAAAFXRSTlP8AAGM8wuh+dXTlD8JvbxI4NxFMzLQ81p1AAAHqElEQVR42uzWwQnDMBAAwZNkB4yDSUjUf6vhUoP8OJipYR8brff2Gcc2YYHtGN9sKnp7DlWx0Db21qPt14yYsEjEvPYW7aErVpf16HGqiuXijDGVxWIxR7wmLPf2V9zAt3MPg8WfsKhBWCRhUYOwSMKiBmGRhEUNwiIJixqERRIWNQiLJCxqEBZJWNQgLH7s0gEJAAAAw6D+rc9iHDSDEYsPYhGx+CAWEYsPYhGx+CAWEYsPYhGx+CAWEYuxW3c7iQNhGMev4nnz9pO2fFeEFoqI0IJQLFgRd5cAi6Lx/m9i26KSTTwx8cR0fkeTd5I5+mdmfgYRlpASYQk/gwhLSImwvhkTvo6IPptytgUBEGEd0QlSLB8Ry+8YH+izA5gBEdW7nIdFkB4P+CrG03kFEmdwImkMaNdL0ReQ+7C24RRE0NwX900xzW3tOLPZLHZao+4m3qxW8WZSKoOQYnidxhCEE+KrdnA9LbSB/evh2Fze68p1WIyb/gVYRveupmYUdQlGua82H6bN6NXX51EUqo0o6nVvspaIsXWUM3uROfgEghyHhmE0OpMnwDEHYAj5DotQTsIihn6///OmDoZU7abTS8VHWUKr9wxJKhKQdeVdWGZDydTuqgwCrZrjakGXwNDCvl5J2cOcv4i5DsvzBr+aV/Ut/kMoVqtue9i6tSoYDLWFcTtou0UARIAeWaXRaJcYuWNlDQbAEs4LGiQpaVG1UqoyyfnFleew+Mzszeeh8QxJ/sBEKD80eomCoiOumUZtPjdNHwzCy8oyKyAkCO1Cf3tccxYWJ0UWDsEiCOxHYyzCyi0uxRMz3DgBCCfZjdXfjZbDtaWjGwaXFdseZ3+v+spQHNf/WwSzDK9T22X1yHVtuzF3nob73/t0wvBVW4T1j307XU4TjMI4fhXP6XlFNongAmis+xZRo9aYRatJjUlq7/8myotJZtLtW1M78P+giI4zzPzmwLDEN0YldwFmrSBrNuVrvwMIp3g4xrJRHGGy60FTzsCothybxHBR/ArGqZOzwQBBbZgNc6ab+4rpC6heARi4+eQYK74JPK1u2pjkVplMRjHS8vXbHMg6Rq1WrDkLDUUHJTdAX8IiVLNgor7pPuKTYWhgAITq5vp2bA6vB91pD+iuAlj6Mt7z6mhg0V8Pv0q0jPQGKVvTtN7WHfY0zdZUIHtyLs9jDc8fUHOg6idoSlggkq4Yk3PDV0ZybB1ilPSpKt8EUHFPAK15ZFv6zh0LLPrw1yP8FKOnm8uQDQEE1V2D8DaWsDqvsMDMALJdL22ss6+/JoG1YnhgRruKSvoE7TzomLb03Ys1LCKUa6NaU9nCGmj4mhug4OXBELfn5fLwdhhOrWrZwelsfoBFjLD2fdFIeyXIT8QEmdUyxzOPAW8UwhrAG+fBx7Ol79+xwPonOwiG5tojH9dK9XTxhFIIa76wJazRvtUaK43WftkZOuilmy8Tq/3lc7mRU1y9Xrzxw+qjPgiMnT+cFvQNW3oxgrVd9cHHs6Xv39HA+ieJ1s3dRx+lJzzlHsKJdQLVDUAg0W6jZ/R5MkF9ia3ygE+LS0C9WCqrmWnWi/Wb0U2Y31rNwYy8uTuZVbVFv5LZoit3hWYNMS++sBj3GZv2dTBw07JQCmFxfWyBGNc+HlxNmtlekT/NqqdBB7D8pde3yroKJoQxLtNXYODCEIHZwby9DoFKWPDcTnK6IaYxHs+R/ShhVdwAESx8zvTAwMjBmVEbbJpgNBdXWnoXWZq0wRg2DsdPESzlCik8rp6wCblhsnesAyw7s0tOkMY28RV3EaxAOXuG9RCqEKhOR/hijJf6GqlHd5lvny8CRLFAWcIi2QGWwNppH2B9Wl0BFQkr36glEyu+cTSxUDKKoAOsyd4Ho9LIzLvuNpu3Ln1lWgEJb+ExiAj8EyxGvofoWuGdo1cPsBhDPea3zySwgE3GhohgpXA7KwE7d2DWdA0pFIwgD2aIYU2AgBdYkDHOlLlcphS8EFLHHECgG/3P/beYXyyMNSyKYHG5zmCcuhLEViLb+7hX0uuqIJFnRGUtRDEucvXiS6NoYhFxNLFwKslVQliMzq4a731h3GG16oDVgXrfvF7MwVA1gU+ZPmCP0rmGU7u93nhBEHjBhQZCBCv98bVlBAtIRbCYMNEuB6uneM8qWexh3S19EDEqhuI6pQgE475VBaNtzzdFZ6qbMyNslik8f1s2S2KSlU3YzsyfYW1MFczIj1e5cRcMivtN7zGHJZpa9M5qSRXRKgZER66hw8eUEMKSMWSEM80CPS+3+yVQtNQtZKOlrt2L+w0zspjD+mPEvxs6f756kjxeGJbAesHzhgnhbW8QEeM1YvphLSUPfskSWEmHElhJ/0cJrCRZAivp/yiBlSRLYCX9HyWwkmQJrO/s0kEJgAAARTEPghawf1X5HfTwYMswGsRixKJBLEYsGsRixKJBLEYsGsRixKJBLEYsGsRixKJBLEYsGsRixKJBLEYsGsRixKJBLH5xXA987jzuh7f9ersBGIRCAArXR63VmDS5+6/qEnxyZiAQTO7F9BqaGrLgd65M7vlAV5aJISfBthOOlskAuRsRXMXP0IRQFgOM4OmjpplAHf0wghdfnF2ILaIkEQAAAABJRU5ErkJggg=="}}]);
|