(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["page"],{"031a":function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1625644069675",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11023",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M1024 636.032c0-141.888-141.866667-257.429333-301.461333-257.429333-169.088 0-301.866667 115.541333-301.866667 257.429333 0 142.250667 132.778667 257.386667 301.866667 257.386667 35.370667 0 71.146667-9.024 106.496-17.642667l97.450667 53.418667-26.666667-88.789333C970.922667 786.965333 1024 715.84 1024 636.032zM624.618667 591.616c-17.642667 0-35.328-17.664-35.328-35.392 0-17.621333 17.685333-35.328 35.328-35.328 26.752 0 44.458667 17.706667 44.458667 35.328C669.077333 573.952 651.370667 591.616 624.618667 591.616zM820.010667 591.616c-17.664 0-35.306667-17.664-35.306667-35.392 0-17.621333 17.642667-35.328 35.306667-35.328 26.709333 0 44.416 17.706667 44.416 35.328C864.426667 573.952 846.293333 591.616 820.010667 591.616z","p-id":"11024"}},{tag:"path",attrsMap:{d:"M693.248 347.242667c11.626667 0 23.296 0.810667 34.901333 2.005333-31.274667-146.133333-187.392-254.464-365.674667-254.464C163.370667 94.784 0 230.442667 0 403.029333c0 99.562667 54.208 181.418667 144.917333 244.864L108.8 757.034667l126.826667-63.786667c45.354667 8.810667 81.877333 18.069333 126.848 18.069333 11.221333 0 22.506667-0.405333 33.749333-1.557333-7.232-24.128-11.242667-49.749333-11.242667-75.882667C384.96 475.690667 521.066667 347.242667 693.248 347.242667zM498.133333 248.896c27.285333 0 45.333333 18.069333 45.333333 45.376 0 27.264-18.069333 45.333333-45.333333 45.333333-27.306667 0-54.570667-18.069333-54.570667-45.333333C443.968 266.944 471.210667 248.896 498.133333 248.896zM244.458667 339.562667c-27.306667 0-54.570667-18.048-54.570667-45.333333 0-27.306667 27.285333-45.354667 54.570667-45.354667 27.328 0 45.397333 18.069333 45.397333 45.354667C289.834667 321.130667 271.786667 339.562667 244.458667 339.562667z","p-id":"11025"}}]})}},"0455":function(t,e,a){"use strict";a("169a")},"04ee":function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604125617589",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2328",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M792.021333 668.501333a411.434667 411.434667 0 0 1-278.4 107.392 411.434667 411.434667 0 0 1-277.973333-107.008c-130.389333 65.706667-215.978667 182.613333-215.978667 341.418667h991.317334c0-159.146667-87.168-276.181333-218.965334-341.802667M191.488 523.946667V271.786667a131.84 131.84 0 0 0-10.496 0.426666c57.173333-124.117333 184.533333-210.517333 332.672-210.517333 148.181333 0 275.498667 86.4 332.672 210.517333a131.498667 131.498667 0 0 0-10.496-0.426666v252.16c71.168 0 128.896-56.448 128.896-126.08a125.653333 125.653333 0 0 0-66.005333-110.08C843.349333 131.797333 692.096 19.712 513.706667 19.712c-178.346667 0-329.642667 112.085333-385.024 268.117333a125.653333 125.653333 0 0 0-66.005334 110.08c0 69.632 57.685333 126.08 128.853334 126.08m322.133333-377.984C359.552 145.962667 234.666667 268.245333 234.666667 419.114667c0 150.826667 124.885333 273.109333 278.954666 273.109333 154.112 0 278.997333-122.282667 278.997334-273.109333 0-150.869333-124.885333-273.152-278.997334-273.152","p-id":"2329"}}]})}},"075b":function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604290113020",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8777",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M838.304 774.88c71.168-83.936 109.472-190.336 109.472-300.96C947.392 212.416 735.392 0.032 473.888 0.032S0 212.416 0 473.92s212.384 473.888 473.888 473.888c68.096 0 134.624-14.304 196.512-42.944 18.944-8.128 27.072-30.176 17.408-47.584a36.48 36.48 0 0 0-33.28-20.512 56.96 56.96 0 0 0-15.872 3.104c-49.12 22.048-104.448 36.352-164.8 36.352-220.128 0-400.768-179.104-400.768-400.768 0-220.128 179.104-400.768 400.768-400.768 220.128 0 400.768 179.104 400.768 400.768 0 104.448-39.456 202.72-111.04 277.376-6.176 6.176-9.664 15.872-9.664 25.536s4.64 18.944 11.232 27.072c1.536 1.536 3.104 1.536 3.104 1.536 1.536 1.536 1.536 3.104 3.104 4.64l188.384 201.152c6.176 6.176 15.872 11.232 27.072 11.232 9.664 0 17.408-3.104 25.536-9.664 7.744-6.176 11.232-15.872 11.232-27.072 0-9.664-3.104-18.944-9.664-25.536l-175.616-186.848z m0 0","p-id":"8778"}}]})}},"0773":function(t,e,a){"use strict";a.r(e);a("b0c0");var s=function(){var t=this,e=t._self._c;return e("a-card",{attrs:{bordered:!1}},[e("div",{staticClass:"card-title"},[t._v(t._s(t.$route.meta.title))]),e("div",{staticClass:"table-operator"},[e("a-row",[e("a-col",{attrs:{span:6}},[t.$auth("/page/create")?e("a-button",{attrs:{type:"primary",icon:"plus"},on:{click:t.handleAdd}},[t._v("新增")]):t._e()],1),e("a-col",{attrs:{span:8,offset:10}},[e("a-input-search",{staticClass:"input-search",attrs:{placeholder:"请输入页面名称"},on:{search:t.onSearch},model:{value:t.queryParam.name,callback:function(e){t.$set(t.queryParam,"name",e)},expression:"queryParam.name"}})],1)],1)],1),e("s-table",{ref:"table",attrs:{rowKey:"page_id",loading:t.isLoading,columns:t.columns,data:t.loadData,pageSize:15},scopedSlots:t._u([{key:"page_type",fn:function(a){return[e("a-tag",{attrs:{color:a==t.PageTypeEnum.HOME.value?"green":""}},[t._v(t._s(t.PageTypeEnum[a].name))])]}},{key:"action",fn:function(a){return e("span",{staticClass:"actions"},[t.$auth("/page/update")?e("a",{on:{click:function(e){return t.handleEdit(a)}}},[t._v("编辑")]):t._e(),a.page_type!=t.PageTypeEnum.HOME.value?e("a",{directives:[{name:"action",rawName:"v-action:setHome",arg:"setHome"}],on:{click:function(e){return t.handleSetHome(a)}}},[t._v("设为首页")]):t._e(),a.page_type!=t.PageTypeEnum.HOME.value?e("a",{directives:[{name:"action",rawName:"v-action:delete",arg:"delete"}],on:{click:function(e){return t.handleDelete(a)}}},[t._v("删除")]):t._e()])}}])})],1)},i=[],n=a("5530"),o=(a("d3b7"),a("bfcf")),c=a("2af9"),r=a("5c06"),l=new r["a"]([{key:"HOME",name:"首页",value:10},{key:"CUSTOM",name:"店铺页面",value:20}]),u=[{title:"页面ID",dataIndex:"page_id"},{title:"页面名称",dataIndex:"page_name"},{title:"页面类型",dataIndex:"page_type",scopedSlots:{customRender:"page_type"}},{title:"添加时间",dataIndex:"create_time"},{title:"更新时间",dataIndex:"update_time"},{title:"操作",width:"180px",scopedSlots:{customRender:"action"}}],d={name:"Index",components:{STable:c["d"]},data:function(){var t=this;return{queryParam:{name:""},PageTypeEnum:l,isLoading:!1,columns:u,loadData:function(e){return o["f"](Object(n["a"])(Object(n["a"])({},e),t.queryParam)).then((function(t){return t.data.list}))}}},created:function(){},methods:{handleAdd:function(){this.$router.push("./create")},handleEdit:function(t){this.$router.push({path:"./update",query:{pageId:t.page_id}})},handleSetHome:function(t){var e=this,a=this.$confirm({title:"您确定要设置为首页吗?",onOk:function(){return o["g"]({pageId:t.page_id}).then((function(t){e.$message.success(t.message,1.5),e.handleRefresh()})).finally((function(t){return a.destroy()}))}})},handleDelete:function(t){var e=this,a=this.$confirm({title:"您确定要删除该记录吗?",content:"删除后不可恢复",onOk:function(){return o["c"]({pageId:t.page_id}).then((function(t){e.$message.success(t.message,1.5),e.handleRefresh()})).finally((function(t){return a.destroy()}))}})},handleRefresh:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$refs.table.refresh(t)},onSearch:function(){this.handleRefresh(!0)}}},p=d,m=(a("973b"),a("2877")),v=Object(m["a"])(p,s,i,!1,null,null,null);e["default"]=v.exports},"0e31":function(t,e,a){},"169a":function(t,e,a){},1892:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604124381409",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5717",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M446.00853333 193.42186667L291.27146667 11.37813333H116.05333333l154.73813334 182.04373334z m455.11146667 0L746.38186667 11.37813333H571.1648l154.73706667 182.04373334z m-227.5552 0L518.82666667 11.37813333H343.60853333L498.34666667 193.42186667z m293.54666667-182.04373334H798.72l154.73813333 182.04373334h81.92V79.6448c0-38.6848-29.58293333-68.26666667-68.26666666-68.26666667z m-903.39626667 0h-6.82666667c-38.68373333 0-68.26666667 29.58186667-68.26666666 68.26666667v113.77706667H218.45333333L63.7152 11.37813333z m-75.09333333 932.97706667c0 38.6848 29.58293333 68.26666667 68.26666666 68.26666667h910.22293334c38.68373333 0 68.26666667-29.58186667 68.26666666-68.26666667V238.93333333H-11.37813333v705.42186667zM352.71146667 443.73333333c0-38.6848 31.85706667-56.88853333 68.26666666-56.88853333 11.37706667 0 25.0304 2.2752 36.40853334 9.10186667L716.8 546.13333333c45.51146667 25.03146667 45.51146667 88.74666667 0 113.77813334l-259.41333333 150.18666666c-11.37813333 6.82666667-22.7552 9.10186667-36.40853334 9.10186667-36.4096 0-68.26666667-18.2048-68.26666666-56.88853333V443.73333333z","p-id":"5718"}}]})}},"1de8":function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1682488542810",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10591",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M524.501333 559.829333L434.005333 469.333333a42.666667 42.666667 0 1 0-60.373333 60.330667l120.704 120.704a42.538667 42.538667 0 0 0 60.330667 0L735.701333 469.333333a42.666667 42.666667 0 1 0-60.373333-60.330666l-150.826667 150.826666zM85.333333 170.666667c199.125333-113.792 348.458667-170.666667 448-170.666667S782.208 56.874667 981.333333 170.666667c4.736 113.792-9.472 256-42.666666 426.666666-49.792 256-341.333333 426.666667-405.333334 426.666667S170.666667 853.333333 128 597.333333c-28.458667-170.666667-42.666667-312.874667-42.666667-426.666666z","p-id":"10592"}}]})}},"1ec5":function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1625796844782",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3131",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M1016.87 877.603c0 76.624-62.643 139.267-139.267 139.267H146.397c-76.624 0-139.267-62.643-139.267-139.267V146.397C7.13 69.773 69.773 7.13 146.397 7.13h731.206c76.624 0 139.267 62.643 139.267 139.267v731.206z m-893.231-237.21c1.048 19.612 11.048 29.418 29.981 29.418s28.933-9.806 29.962-29.419V483.514h1.592l127.79 174.86c6.312 7.611 14.72 11.437 25.244 11.437 18.933 0 28.933-9.806 29.982-29.419v-238.57c-1.049-20.7-11.05-31.593-29.982-32.68-18.932 1.087-28.933 11.98-29.981 32.68v158.51h-1.573L178.864 383.84a34.312 34.312 0 0 0-25.244-14.7c-18.933 1.088-28.933 11.981-29.981 32.68v238.571z m271.853-4.894c1.048 19.612 11.048 29.943 29.981 31.03h104.12c17.884-1.087 27.36-10.874 28.408-29.399-1.048-18.525-10.524-27.768-28.408-27.768h-74.158v-63.769h66.274c17.865-1.087 27.865-10.874 29.982-29.399-2.117-18.525-12.098-28.35-29.982-29.418h-66.274v-60.468h71.012c17.865-1.087 27.34-10.874 28.39-29.418-1.05-17.418-10.506-26.68-28.39-27.768H425.473c-20 0-29.981 11.98-29.981 35.943v230.434z m228.414 4.971c5.243 19.612 18.39 29.418 39.42 29.418 20 0 33.146-9.262 39.457-27.767l47.34-161.792 47.323 161.772c6.31 18.525 20 27.768 41.01 27.768 20.001 0 33.147-9.787 39.458-29.399l50.487-228.764c1.049-4.37 1.573-9.263 1.573-14.72-2.097-17.417-11.573-26.68-28.39-27.767-17.883 0-28.408 10.35-31.573 31.05l-34.7 176.47h-1.573l-52.06-183.014c-5.262-16.331-15.787-24.506-31.554-24.506-14.738 1.087-25.244 9.262-31.555 24.506L666.49 576.74h-1.573L631.79 400.268c-4.214-21.787-15.263-32.137-33.127-31.069-16.836 1.107-26.312 10.37-28.409 27.788 0 5.456 0.525 10.35 1.573 14.719l52.06 228.764z","p-id":"3132"}}]})}},"35c4":function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));var s=a("5c06"),i=new s["a"]([{key:"DELIVERY",name:"配送设置",value:"delivery"},{key:"TRADE",name:"交易设置",value:"trade"},{key:"STORAGE",name:"上传设置",value:"storage"},{key:"PRINTER",name:"小票打印",value:"printer"},{key:"FULL_FREE",name:"满额包邮设置",value:"full_free"},{key:"RECHARGE",name:"充值设置",value:"recharge"},{key:"POINTS",name:"积分设置",value:"points"},{key:"SUBMSG",name:"订阅消息设置",value:"submsg"},{key:"APP_THEME",name:"店铺页面风格",value:"app_theme"},{key:"PAGE_CATEGORY_TEMPLATE",name:"分类页模板",value:"page_category_template"},{key:"RECOMMENDED",name:"商品推荐设置",value:"recommended"},{key:"CUSTOMER",name:"商城客服设置",value:"customer"}])},"3eca":function(t,e,a){"use strict";a.d(e,"a",(function(){return ut})),a.d(e,"c",(function(){return Tt})),a.d(e,"b",(function(){return ua}));var s={};a.r(s),a.d(s,"search",(function(){return Q.a})),a.d(s,"volumeFill",(function(){return tt.a})),a.d(s,"sharp",(function(){return at.a}));var i={};a.r(i),a.d(i,"image",(function(){return l.a})),a.d(i,"banner",(function(){return d.a})),a.d(i,"article",(function(){return m.a})),a.d(i,"navBar",(function(){return f.a})),a.d(i,"notice",(function(){return b.a})),a.d(i,"search",(function(){return y.a})),a.d(i,"video",(function(){return k.a})),a.d(i,"window",(function(){return I.a})),a.d(i,"goods",(function(){return S.a})),a.d(i,"service",(function(){return L.a})),a.d(i,"guide",(function(){return T.a})),a.d(i,"richText",(function(){return P.a})),a.d(i,"blank",(function(){return z.a})),a.d(i,"officialAccount",(function(){return N.a})),a.d(i,"shop",(function(){return $.a})),a.d(i,"bargain",(function(){return H.a})),a.d(i,"sharp",(function(){return at.a})),a.d(i,"coupon",(function(){return B.a})),a.d(i,"hotZone",(function(){return U.a})),a.d(i,"special",(function(){return W.a})),a.d(i,"groupon",(function(){return Z.a})),a.d(i,"ICPLicense",(function(){return q.a}));a("b0c0");var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"components"},[e("a-collapse",{attrs:{defaultActiveKey:t.componentKeys,bordered:!1,expandIconPosition:"right"}},t._l(t.data,(function(a){return e("a-collapse-panel",{key:a.key,attrs:{header:a.name}},[e("div",{staticClass:"module-list"},t._l(a.data,(function(a,s){return e("div",{key:s,staticClass:"module-item",on:{click:function(e){return t.handleClickItem(a.type)}}},[e("a-icon",{staticClass:"module-icon",attrs:{component:a.icon}}),e("span",{staticClass:"module-title"},[t._v(t._s(a.name))])],1)})),0)])})),1)],1)},o=[],c=(a("d81d"),a("fa04")),r=a("d1392"),l=a.n(r),u=a("4bd1"),d=a.n(u),p=a("8b63"),m=a.n(p),v=a("d633"),f=a.n(v),h=a("d918"),b=a.n(h),g=a("61f9"),y=a.n(g),C=a("1892"),k=a.n(C),x=a("5300"),I=a.n(x),w=a("c2b5"),S=a.n(w),M=a("04ee"),L=a.n(M),E=a("8341"),T=a.n(E),O=a("bd2c"),P=a.n(O),A=a("f484"),z=a.n(A),R=a("031a"),N=a.n(R),D=a("bcdd"),$=a.n(D),j=a("e50c"),H=a.n(j),F=a("a592"),B=a.n(F),V=a("7d84"),U=a.n(V),G=a("1ec5"),W=a.n(G),Y=a("e7a7"),Z=a.n(Y),X=a("1de8"),q=a.n(X),J=a("075b"),Q=a.n(J),K=a("c76f"),tt=a.n(K),et=a("b6e1"),at=a.n(et),st=[{name:"媒体组件",key:"media",data:[{name:"轮播图",type:"banner",icon:d.a},{name:"图片",type:"image",icon:l.a},{name:"图片橱窗",type:"window",icon:I.a},{name:"热区",type:"hotZone",icon:I.a},{name:"文章",type:"article",icon:m.a},{name:"视频",type:"video",icon:k.a},{name:"头条快报",type:"special",icon:W.a}]},{name:"商城组件",key:"store",data:[{name:"搜索框",type:"search",icon:y.a},{name:"导航组",type:"navBar",icon:f.a},{name:"店铺公告",type:"notice",icon:b.a},{name:"商品组",type:"goods",icon:S.a},{name:"优惠券",type:"coupon",icon:B.a,moduleKey:"market-coupon"},{name:"砍价商品",type:"bargain",icon:H.a,moduleKey:"apps-bargain"},{name:"拼团商品",type:"groupon",icon:Z.a,moduleKey:"apps-groupon"},{name:"整点秒杀",type:"sharp",icon:at.a,moduleKey:"apps-sharp"},{name:"线下门店",type:"shop",icon:$.a},{name:"在线客服",type:"service",icon:L.a}]},{name:"其他组件",key:"other",data:[{name:"富文本",type:"richText",icon:P.a},{name:"辅助空白",type:"blank",icon:z.a},{name:"辅助线",type:"guide",icon:T.a},{name:"备案号",type:"ICPLicense",icon:q.a},{name:"关注公众号",type:"officialAccount",icon:N.a}]}],it=function(t){return t.map((function(t){return t.data=Object(c["c"])(t.data),t}))},nt={data:function(){return{Icon:i,data:it(st)}},computed:{componentKeys:function(){var t=this.data;return t.map((function(t){return t.key}))}},methods:{handleClickItem:function(t){this.$emit("handleClickItem",t)}}},ot=nt,ct=(a("a2e7"),a("2877")),rt=Object(ct["a"])(ot,n,o,!1,null,"3003cb08",null),lt=rt.exports,ut=lt,dt=a("ade3"),pt=(a("99af"),a("ac1f"),a("841c"),a("caad"),a("2532"),a("9911"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"phone-content"},[e("div",{staticClass:"phone-top optional",class:Object(dt["a"])({selected:"page"===t.selectedIndex},t.data.page.style.titleTextColor,!0),style:{backgroundColor:t.data.page.style.titleBackgroundColor},on:{click:function(e){return t.handelClickItem("page")}}},[e("p",{staticClass:"title",style:{color:t.data.page.style.titleTextColor}},[t._v(t._s(t.data.page.params.title))])]),e("div",{staticClass:"phone-main"},[e("draggable",t._b({staticClass:"content",attrs:{list:t.data.items},on:{update:t.handelDragItem}},"draggable",{animation:120,filter:".undrag"},!1),t._l(t.data.items,(function(s,i){return e("div",{key:i,staticClass:"devise-item optional",class:{selected:i===t.selectedIndex,undrag:t.inArray(s.type,t.undragList)},style:t.renderItemStyle(s),on:{click:function(e){return t.handelClickItem(i)}}},["banner"==s.type?e("div",{staticClass:"diy-banner"},[t._l(s.data,(function(t,a){return e("img",{directives:[{name:"show",rawName:"v-show",value:a<=1,expression:"dataIdx <= 1"}],key:"".concat(i,"_").concat(a,"_img"),attrs:{src:t.imgUrl}})})),e("div",{staticClass:"dots",class:s.style.btnShape},t._l(s.data,(function(t,a){return e("div",{key:"".concat(i,"_").concat(a,"_dots"),staticClass:"dots-item",style:{background:s.style.btnColor}})})),0)],2):"image"==s.type?e("div",{staticClass:"diy-image",style:{paddingBottom:s.style.paddingTop+"px",background:s.style.background}},t._l(s.data,(function(t,a){return e("div",{key:"".concat(i,"_").concat(a),staticClass:"item-image",style:{padding:"".concat(s.style.paddingTop,"px ").concat(s.style.paddingLeft,"px 0")}},[e("img",{attrs:{src:t.imgUrl}})])})),0):"window"==s.type?e("div",{staticClass:"diy-window",style:{background:s.style.background,padding:"".concat(s.style.paddingTop,"px ").concat(s.style.paddingLeft,"px")}},[s.style.layout>-1?e("ul",{staticClass:"data-list clearfix",class:"avg-sm-".concat(s.style.layout)},t._l(s.data,(function(t,a){return e("li",{key:"".concat(i,"_").concat(a),staticClass:"data-item",style:{padding:"".concat(s.style.paddingTop,"px ").concat(s.style.paddingLeft,"px")}},[e("div",{staticClass:"item-image"},[e("img",{attrs:{src:t.imgUrl}})])])})),0):e("div",{staticClass:"display"},[e("div",{staticClass:"display-left",style:{padding:"".concat(s.style.paddingTop,"px ").concat(s.style.paddingLeft,"px")}},[e("img",{attrs:{src:s.data[0].imgUrl}})]),e("div",{staticClass:"display-right"},[s.data.length>=2?e("div",{staticClass:"display-right1",style:{padding:"".concat(s.style.paddingTop,"px ").concat(s.style.paddingLeft,"px")}},[e("img",{attrs:{src:s.data[1].imgUrl}})]):t._e(),e("div",{staticClass:"display-right2"},[s.data.length>=3?e("div",{staticClass:"left",style:{padding:"".concat(s.style.paddingTop,"px ").concat(s.style.paddingLeft,"px")}},[e("img",{attrs:{src:s.data[2].imgUrl}})]):t._e(),s.data.length>=4?e("div",{staticClass:"right",style:{padding:"".concat(s.style.paddingTop,"px ").concat(s.style.paddingLeft,"px")}},[e("img",{attrs:{src:s.data[3].imgUrl}})]):t._e()])])])]):"hotZone"==s.type?e("div",{staticClass:"diy-hotZone",style:{paddingBottom:s.style.paddingTop+"px",background:s.style.background}},[e("div",{staticClass:"item-image",style:{padding:"".concat(s.style.paddingTop,"px ").concat(s.style.paddingLeft,"px 0")}},[e("img",{attrs:{src:s.data.imgUrl}})])]):"video"==s.type?e("div",{staticClass:"diy-video",style:{padding:"".concat(s.style.paddingTop,"px 0")}},[e("video",{style:{height:"".concat(s.style.height,"px")},attrs:{src:s.params.videoUrl,poster:s.params.poster,controls:""}},[t._v("您的浏览器不支持 video 标签")])]):"article"==s.type?e("div",{staticClass:"diy-article"},t._l("choice"==s.params.source?s.data:s.defaultData,(function(a,s){return e("div",{key:"".concat(i,"_").concat(s),staticClass:"article-item",class:"show-type__".concat(a.show_type)},[10==a.show_type?[e("div",{staticClass:"article-item__left flex-box"},[e("div",{staticClass:"article-item__title twolist-hidden"},[e("span",{staticClass:"article-title"},[t._v(t._s(a.title))])]),e("div",{staticClass:"article-item__footer"},[e("span",{staticClass:"article-views"},[t._v(t._s(a.views_num)+"次浏览")])])]),e("div",{staticClass:"article-item__image"},[e("img",{attrs:{src:a.image,alt:""}})])]:t._e(),20==a.show_type?[e("div",{staticClass:"article-item__title"},[e("span",{staticClass:"article-title"},[t._v(t._s(a.title))])]),e("div",{staticClass:"article-item__image"},[e("img",{attrs:{src:a.image}})]),e("div",{staticClass:"article-item__footer"},[e("span",{staticClass:"article-views"},[t._v(t._s(a.views_num)+"次浏览")])])]:t._e()],2)})),0):"search"==s.type?e("div",{staticClass:"diy-search"},[e("div",{staticClass:"inner",class:s.style.searchStyle},[e("div",{staticClass:"search-input",style:{textAlign:s.style.textAlign}},[e("a-icon",{staticClass:"search-icon",attrs:{component:t.PageIcon.search}}),e("span",[t._v(t._s(s.params.placeholder))])],1)])]):"notice"==s.type?e("div",{staticClass:"diy-notice",style:{padding:"".concat(s.style.paddingTop,"px 0")}},[e("div",{staticClass:"notice-body",style:{background:s.style.background,color:s.style.textColor}},[e("div",{staticClass:"notice__icon"},[e("a-icon",{staticClass:"notice-icon",attrs:{component:t.PageIcon.volumeFill}})],1),e("div",{staticClass:"notice__text flex-box oneline-hide"},[e("span",[t._v(t._s(s.params.text))])])])]):"navBar"==s.type?e("div",{staticClass:"diy-navBar",style:{padding:"".concat(s.style.paddingTop,"px 0"),background:s.style.background,color:s.style.textColor}},[e("ul",{staticClass:"data-list clearfix",class:"avg-sm-".concat(s.style.rowsNum)},t._l(s.data,(function(a,s){return e("li",{key:"".concat(i,"_").concat(s),staticClass:"item-nav"},[e("div",{staticClass:"item-image"},[e("img",{attrs:{src:a.imgUrl}})]),e("p",{staticClass:"item-text oneline-hide"},[t._v(t._s(a.text))])])})),0)]):"goods"==s.type?e("div",{staticClass:"diy-goods",style:{background:s.style.background}},[e("ul",{staticClass:"goods-list clearfix",class:["display__".concat(s.style.display),"column__".concat(s.style.column)]},t._l("choice"==s.params.source?s.data:s.defaultData,(function(a,n){return e("li",{key:"".concat(i,"_").concat(n),staticClass:"goods-item"},[1==s.style.column?[e("div",{staticClass:"flex"},[e("div",{staticClass:"goods-item_left"},[e("img",{attrs:{src:a.goods_image}})]),e("div",{staticClass:"goods-item_right"},[s.style.show.includes("goodsName")?e("div",{staticClass:"goods-item_title twolist-hidden"},[e("span",[t._v(t._s(a.goods_name))])]):t._e(),e("div",{staticClass:"goods-item_desc"},[s.style.show.includes("sellingPoint")?e("div",{staticClass:"desc-selling_point oneline-hide"},[e("span",[t._v(t._s(a.selling_point))])]):t._e(),s.style.show.includes("goodsSales")?e("div",{staticClass:"desc-goods_sales oneline-hide"},[e("span",[t._v("已售"+t._s(a.goods_sales)+"件")])]):t._e(),e("div",{staticClass:"desc_footer"},[s.style.show.includes("goodsPrice")?e("span",{staticClass:"price_x"},[e("span",{staticClass:"small-unit"},[t._v("¥")]),e("span",[t._v(t._s(a.goods_price_min))])]):t._e(),s.style.show.includes("linePrice")&&a.line_price_min>0?e("span",{staticClass:"price_y"},[t._v("¥"+t._s(a.line_price_min))]):t._e()])])])])]:[e("div",{staticClass:"goods-image"},[e("img",{attrs:{src:a.goods_image}})]),e("div",{staticClass:"detail"},[s.style.show.includes("goodsName")?e("p",{staticClass:"goods-name twolist-hidden"},[t._v(t._s(a.goods_name))]):t._e(),e("p",{staticClass:"detail-price"},[s.style.show.includes("goodsPrice")?e("span",{staticClass:"goods-price"},[e("span",{staticClass:"small-unit"},[t._v("¥")]),e("span",[t._v(t._s(a.goods_price_min))])]):t._e(),s.style.show.includes("linePrice")&&a.line_price_min>0?e("span",{staticClass:"line-price"},[e("span",{staticClass:"small-unit"},[t._v("¥")]),e("span",[t._v(t._s(a.line_price_min))])]):t._e()])])]],2)})),0)]):"blank"==s.type?e("div",{staticClass:"diy-blank",style:{height:"".concat(s.style.height,"px"),background:s.style.background}}):"guide"==s.type?e("div",{staticClass:"diy-guide",style:{padding:"".concat(s.style.paddingTop,"px 0"),background:s.style.background}},[e("p",{staticClass:"line",style:{borderTopWidth:s.style.lineHeight+"px",borderTopColor:s.style.lineColor,borderTopStyle:s.style.lineStyle}})]):"service"==s.type?e("div",{staticClass:"diy-service",style:{opacity:s.style.opacity/100}},[e("div",{staticClass:"service-icon"},[e("img",{staticClass:"image",attrs:{src:s.params.image,alt:""}})])]):"richText"==s.type?e("div",{staticClass:"diy-richText",style:{background:s.style.background,padding:"".concat(s.style.paddingTop,"px ").concat(s.style.paddingLeft,"px")},domProps:{innerHTML:t._s(s.params.content)}}):"officialAccount"==s.type?e("div",{staticClass:"diy-officialAccount"},[e("div",{staticClass:"item-top"},[e("span",[t._v("关联的公众号")])]),e("div",{staticClass:"item-content clearfix"},[e("div",{staticClass:"item-cont-avatar fl-l"},[e("img",{attrs:{src:a("b9b7"),alt:""}})]),e("div",{staticClass:"item-cont-public fl-l"},[e("div",{staticClass:"public-name"},[e("span",[t._v("公众号名称")])]),e("div",{staticClass:"public-describe"},[e("span",[t._v("公众号简介公众号简介公众号简介")])])]),e("div",{staticClass:"item-cont-active fl-l"},[e("div",{staticClass:"active-btn"},[e("span",[t._v("关注")])])])])]):"shop"==s.type?e("div",{staticClass:"diy-shop",style:{background:s.style.background}},t._l("choice"==s.params.source?s.data:s.defaultData,(function(a,i){return e("div",{key:i,staticClass:"shop-item"},[t.inArray("logo",s.style.show)?e("div",{staticClass:"shop-item__logo"},[e("img",{attrs:{src:a.logo_url,alt:"门店logo"}})]):t._e(),e("div",{staticClass:"shop-item__content"},[e("div",{staticClass:"shop-item__title"},[e("span",[t._v(t._s(a.shop_name))])]),t.inArray("address",s.style.show)?e("div",{staticClass:"shop-item__address oneline-hide"},[e("span",[t._v("门店地址:"+t._s(a.region.province)+t._s(a.region.city)+t._s(a.region.region)+t._s(a.address))])]):t._e(),t.inArray("phone",s.style.show)?e("div",{staticClass:"shop-item__phone"},[e("span",[t._v("联系电话:"+t._s(a.phone))])]):t._e()])])})),0):"bargain"==s.type?e("div",{staticClass:"diy-bargain",style:{background:s.style.background}},t._l(s.data,(function(a,i){return e("div",{key:i,staticClass:"goods-item"},[e("div",{staticClass:"goods-image"},[e("img",{attrs:{src:a.goods_image}})]),e("div",{staticClass:"goods-info"},[t.inArray("goodsName",s.style.show)?e("div",{staticClass:"goods-name"},[e("span",{staticClass:"twolist-hidden"},[t._v(t._s(a.goods_name))])]):t._e(),t.inArray("peoples",s.style.show)?e("div",{staticClass:"peoples"},[e("div",{staticClass:"user-list"},t._l(s.demo.helpList,(function(t,a){return e("div",{key:a,staticClass:"user-item-avatar"},[e("img",{attrs:{src:t.user.avatar_url}})])})),0),e("div",{staticClass:"people__text"},[e("span",[t._v(t._s(s.demo.helpsCount)+"人正在砍价")])])]):t._e(),t.inArray("originalPrice",s.style.show)?e("div",{staticClass:"goods-price"},[e("span",[t._v("¥"+t._s(a.original_price))])]):t._e(),t.inArray("floorPrice",s.style.show)?e("div",{staticClass:"floor-price"},[e("span",{staticClass:"small"},[t._v("最低¥")]),e("span",{staticClass:"big"},[t._v(t._s(a.floor_price))])]):t._e(),e("div",{staticClass:"opt-touch"},[e("div",{staticClass:"touch-btn"},[e("span",[t._v("立即参加")])])])])])})),0):"groupon"==s.type?e("div",{staticClass:"diy-groupon",style:{background:s.style.background,padding:"".concat(s.style.paddingY,"px ").concat(s.style.paddingX,"px")}},t._l(s.data,(function(a,i){return e("div",{key:i,staticClass:"goods-item--container",style:{marginBottom:"".concat(s.style.itemMargin,"px")}},[e("div",{staticClass:"goods-item",class:["display-".concat(s.style.display),"border-".concat(s.style.itemBorderRadius)]},[e("div",{staticClass:"goods-item_left"},[e("div",{staticClass:"label"},[e("span",[t._v("多人团")])]),e("img",{staticClass:"image",attrs:{src:a.goods_image}})]),e("div",{staticClass:"goods-item_right"},[t.inArray("goodsName",s.style.show)?e("div",{staticClass:"goods-name"},[e("span",{staticClass:"twoline-hide"},[t._v(t._s(a.goods_name))])]):t._e(),e("div",{staticClass:"goods-item_desc"},[e("div",{staticClass:"desc_situation"},[t.inArray("peoples",s.style.show)?e("u-tag",{staticClass:"people",attrs:{text:"".concat(a.show_people,"人团"),type:"error",size:"mini",mode:"plain"}}):t._e(),t.inArray("activeSales",s.style.show)?e("u-tag",{attrs:{text:"已团".concat(a.active_sales,"件"),type:"error",size:"mini"}}):t._e()],1),e("div",{staticClass:"desc_footer"},[e("div",{staticClass:"item-prices oneline-hide"},[t.inArray("grouponPrice",s.style.show)?e("span",{staticClass:"price_x"},[t._v("¥"+t._s(a.groupon_price))]):t._e(),t.inArray("originalPrice",s.style.show)?e("span",{staticClass:"price_y cl-9"},[t._v("¥"+t._s(a.original_price))]):t._e()]),t.inArray("button",s.style.show)?e("div",{staticClass:"settlement"},[t._v("去拼团")]):t._e()])])])])])})),0):"sharp"==s.type?e("div",{staticClass:"diy-sharp",style:{background:s.style.background}},[e("div",{staticClass:"sharp-top"},[e("div",{staticClass:"sharp-top--left"},[e("div",{staticClass:"sharp-modular"},[e("a-icon",{attrs:{component:t.PageIcon.sharp}}),e("span",{staticClass:"modular-name"},[t._v("限时秒杀")])],1),e("div",{staticClass:"sharp-active-status"},[e("span",[t._v("正在疯抢")])]),e("div",{staticClass:"active-count-down"},[e("div",{staticClass:"clock flex"},[e("div",{staticClass:"clock-time"},[e("span",[t._v("00")])]),e("div",{staticClass:"clock-symbol"},[e("span",[t._v(":")])]),e("div",{staticClass:"clock-time"},[e("span",[t._v("58")])]),e("div",{staticClass:"clock-symbol"},[e("span",[t._v(":")])]),e("div",{staticClass:"clock-time"},[e("span",[t._v("04")])])])])]),e("div",{staticClass:"sharp-top--right"},[e("div",{staticClass:"sharp-more"},[e("span",{staticClass:"sharp-more-text"},[t._v("更多")]),e("span",{staticClass:"sharp-more-arrow"},[e("a-icon",{attrs:{component:t.Icon.arrowRight}})],1)])])]),e("div",{staticClass:"goods-list"},[e("ul",{staticClass:"goods-list display__list clearfix",class:["column__".concat(s.style.column)]},t._l(s.data,(function(a,i){return e("li",{key:i,staticClass:"goods-item"},[1==s.style.column?void 0:[e("div",{staticClass:"goods-image"},[e("img",{attrs:{src:a.goods_image}})]),e("div",{staticClass:"detail"},[t.inArray("goodsName",s.style.show)?e("p",{staticClass:"goods-name twolist-hidden"},[t._v(t._s(a.goods_name))]):t._e(),e("p",{staticClass:"detail-price"},[t.inArray("seckillPrice",s.style.show)?e("span",{staticClass:"goods-price"},[e("span",{staticClass:"small-unit"},[t._v("¥")]),e("span",[t._v(t._s(a.seckill_price_min))])]):t._e(),t.inArray("originalPrice",s.style.show)&&a.original_price>0?e("span",{staticClass:"line-price"},[t._v("¥"+t._s(a.original_price))]):t._e()])])]],2)})),0)])]):"coupon"==s.type?e("div",{staticClass:"diy-coupon",style:{padding:"".concat(s.style.paddingTop,"px 0"),background:s.style.background}},[e("div",{staticClass:"coupon-wrapper"},t._l(s.data,(function(a,i){return e("div",{key:i,staticClass:"coupon-item",style:{marginRight:"".concat(s.style.marginRight,"px")}},[e("i",{staticClass:"before",style:{background:s.style.background}}),e("div",{staticClass:"left-content",style:{background:s.style.couponBgColor}},[e("div",{staticClass:"content-top"},[e("span",{staticClass:"unit"},[t._v("¥")]),e("span",{staticClass:"price"},[t._v(t._s(a.reduce_price))])]),e("div",{staticClass:"content-bottom"},[e("span",[t._v("满"+t._s(a.min_price)+"元可用")])])]),e("div",{staticClass:"right-receive",style:{background:s.style.receiveBgColor}},[e("span",[t._v("立即")]),e("span",[t._v("领取")])])])})),0)]):"special"==s.type?e("div",{staticClass:"diy-special",style:{padding:"".concat(s.style.paddingTop,"px 0"),background:s.style.background}},[e("div",{staticClass:"special-left"},[e("img",{attrs:{src:s.params.image,alt:""}})]),e("div",{staticClass:"special-content",class:["display_".concat(s.params.display)]},[e("ul",{staticClass:"special-content-list"},t._l("choice"==s.params.source?s.data:s.defaultData,(function(a,i){return e("li",{key:i,staticClass:"content-item oneline-hide"},[e("span",{style:{color:s.style.textColor}},[t._v(t._s(a.title))])])})),0)]),e("div",{staticClass:"special-more"},[e("a-icon",{attrs:{component:t.Icon.arrowRight}})],1)]):"ICPLicense"==s.type?e("div",{staticClass:"diy-ICPLicense",style:{padding:"".concat(s.style.paddingTop,"px ").concat(s.style.paddingLeft,"px"),background:s.style.background}},[e("p",{staticClass:"line",style:{textAlign:s.style.textAlign}},[e("a",{style:{fontSize:s.style.fontSize+"px",color:s.style.textColor},attrs:{href:s.params.link,target:"_blank"}},[t._v(t._s(s.params.text))])])]):t._e(),e("div",{staticClass:"btn-edit-del"},[e("div",{staticClass:"btn-del",on:{click:function(e){return t.handleDeleleItem(i)}}},[t._v("删除")])])])})),0)],1)])}),mt=[],vt=a("4d91"),ft=a("b76a"),ht=a.n(ft),bt=a("ca00"),gt=a("04b3"),yt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"u-tag",class:["u-size-".concat(t.size),"u-mode-".concat(t.mode,"-error")]},[e("span",[t._v(t._s(t.text))])])},Ct=[],_t={name:"UTag",components:{},props:{text:vt["a"].string.def(""),size:vt["a"].string.def("default"),type:vt["a"].string.def("primary"),mode:vt["a"].string.def("light")},data:function(){return{}}},kt=_t,xt=(a("9989"),Object(ct["a"])(kt,yt,Ct,!1,null,"a18bc61e",null)),It=xt.exports,wt=["service"],St={props:{data:vt["a"].object.def({}),selectedIndex:vt["a"].oneOfType([vt["a"].number,vt["a"].string]).def(0)},components:{draggable:ht.a,UTag:It},data:function(){return{undragList:wt}},beforeCreate:function(){this.Icon=gt,this.PageIcon=s,this.inArray=bt["e"]},methods:{handelDragItem:function(t){this.$emit("onEditer",t.newIndex)},handelClickItem:function(t){this.$emit("onEditer",t)},handleDeleleItem:function(t){this.$emit("onDeleleItem",t)},renderItemStyle:function(t){return"service"===t.type?{position:"absolute",right:t.style.right+"px",bottom:t.style.bottom+"px",zIndex:999}:{}}}},Mt=St,Lt=(a("8ff1"),Object(ct["a"])(Mt,pt,mt,!1,null,"77facd5b",null)),Et=Lt.exports,Tt=Et,Ot=function(){var t=this,e=t._self._c;return e("div",{staticClass:"editor"},[e("div",{staticClass:"editor-title"},[e("span",[t._v(t._s("page"===t.selectedIndex?t.data.page.name:t.curItem.name))])]),"page"===t.selectedIndex?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"页面设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("基本信息")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("页面名称")]),e("div",{staticClass:"flex-box"},[e("a-input",{model:{value:t.data.page.params.name,callback:function(e){t.$set(t.data.page.params,"name",e)},expression:"data.page.params.name"}}),e("div",{staticClass:"tips"},[t._v("页面名称仅用于后台管理")])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("分享标题")]),e("div",{staticClass:"flex-box"},[e("a-input",{model:{value:t.data.page.params.shareTitle,callback:function(e){t.$set(t.data.page.params,"shareTitle",e)},expression:"data.page.params.shareTitle"}}),e("div",{staticClass:"tips"},[t._v("用户端转发时显示的标题")])],1)])])]),e("a-tab-pane",{key:"2",attrs:{tab:"标题栏设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("标题栏设置")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("标题名称")]),e("div",{staticClass:"flex-box"},[e("a-input",{model:{value:t.data.page.params.title,callback:function(e){t.$set(t.data.page.params,"title",e)},expression:"data.page.params.title"}}),e("div",{staticClass:"tips"},[t._v("用户端端顶部显示的标题")])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("文字颜色")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.data.page.style.titleTextColor,callback:function(e){t.$set(t.data.page.style,"titleTextColor",e)},expression:"data.page.style.titleTextColor"}},[e("a-radio-button",{attrs:{value:"white"}},[t._v("白色")]),e("a-radio-button",{attrs:{value:"black"}},[t._v("黑色")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("标题栏背景")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.data.page.style,"titleBackgroundColor","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.data.page.style.titleBackgroundColor,callback:function(e){t.$set(t.data.page.style,"titleBackgroundColor",e)},expression:"data.page.style.titleBackgroundColor"}})],1)])])])],1)],1):t._e(),t.data.items.length&&t.curItem?["search"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("功能设置")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("提示文字")]),e("a-input",{model:{value:t.curItem.params.placeholder,callback:function(e){t.$set(t.curItem.params,"placeholder",e)},expression:"curItem.params.placeholder"}})],1)])]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("搜索框样式")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.style.searchStyle,callback:function(e){t.$set(t.curItem.style,"searchStyle",e)},expression:"curItem.style.searchStyle"}},[e("a-radio-button",{attrs:{value:"square"}},[t._v("方形")]),e("a-radio-button",{attrs:{value:"radius"}},[t._v("圆角")]),e("a-radio-button",{attrs:{value:"round"}},[t._v("圆弧")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("文字对齐")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.style.textAlign,callback:function(e){t.$set(t.curItem.style,"textAlign",e)},expression:"curItem.style.textAlign"}},[e("a-radio-button",{attrs:{value:"left"}},[t._v("居左")]),e("a-radio-button",{attrs:{value:"center"}},[t._v("居中")]),e("a-radio-button",{attrs:{value:"right"}},[t._v("居右")])],1)],1)])])],1)],1):t._e(),"blank"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("样式设置")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("组件高度")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:5,max:200},model:{value:t.curItem.style.height,callback:function(e){t.$set(t.curItem.style,"height",e)},expression:"curItem.style.height"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.height))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])])]):t._e(),"guide"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("样式设置")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("线条样式")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.style.lineStyle,callback:function(e){t.$set(t.curItem.style,"lineStyle",e)},expression:"curItem.style.lineStyle"}},[e("a-radio-button",{attrs:{value:"solid"}},[t._v("实线")]),e("a-radio-button",{attrs:{value:"dashed"}},[t._v("虚线")]),e("a-radio-button",{attrs:{value:"dotted"}},[t._v("点状")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("线条颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"lineColor","#000")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#000"},model:{value:t.curItem.style.lineColor,callback:function(e){t.$set(t.curItem.style,"lineColor",e)},expression:"curItem.style.lineColor"}})],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("线条高度")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:1,max:20},model:{value:t.curItem.style.lineHeight,callback:function(e){t.$set(t.curItem.style,"lineHeight",e)},expression:"curItem.style.lineHeight"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.lineHeight))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("上下边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingTop,callback:function(e){t.$set(t.curItem.style,"paddingTop",e)},expression:"curItem.style.paddingTop"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingTop))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])])]):t._e(),"richText"==t.curItem.type?e("div",{staticClass:"editor-content",style:{width:"395px"}},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("文本内容")]),e("div",{staticClass:"ueditor"},[e("Ueditor",{attrs:{config:{initialFrameWidth:375}},model:{value:t.curItem.params.content,callback:function(e){t.$set(t.curItem.params,"content",e)},expression:"curItem.params.content"}})],1)])]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("上下边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingTop,callback:function(e){t.$set(t.curItem.style,"paddingTop",e)},expression:"curItem.style.paddingTop"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingTop))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("左右边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingLeft,callback:function(e){t.$set(t.curItem.style,"paddingLeft",e)},expression:"curItem.style.paddingLeft"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingLeft))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])])])],1)],1):t._e(),"notice"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("公告文案")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("内容")]),e("a-input",{model:{value:t.curItem.params.text,callback:function(e){t.$set(t.curItem.params,"text",e)},expression:"curItem.params.text"}})],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("链接")]),e("div",{staticClass:"flex-box"},[e("SLink",{model:{value:t.curItem.params.link,callback:function(e){t.$set(t.curItem.params,"link",e)},expression:"curItem.params.link"}})],1)])])]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("文字颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"textColor","#000")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#000"},model:{value:t.curItem.style.textColor,callback:function(e){t.$set(t.curItem.style,"textColor",e)},expression:"curItem.style.textColor"}})],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("上下边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingTop,callback:function(e){t.$set(t.curItem.style,"paddingTop",e)},expression:"curItem.style.paddingTop"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingTop))]),e("span",[t._v("像素")])])],1)])])])],1)],1):t._e(),"article"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("文章内容")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("文章分类")]),e("SArticleCate",{model:{value:t.curItem.params.auto.category,callback:function(e){t.$set(t.curItem.params.auto,"category",e)},expression:"curItem.params.auto.category"}})],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示数量")]),e("div",{staticClass:"block-item-right"},[e("a-input-number",{attrs:{min:1,max:20},model:{value:t.curItem.params.auto.showNum,callback:function(e){t.$set(t.curItem.params.auto,"showNum",e)},expression:"curItem.params.auto.showNum"}}),t._m(0)],1)])])]):t._e(),"service"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("功能设置")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("客服类型")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.params.type,callback:function(e){t.$set(t.curItem.params,"type",e)},expression:"curItem.params.type"}},[e("a-radio-button",{attrs:{value:"chat"}},[t._v("在线聊天")]),e("a-radio-button",{attrs:{value:"phone"}},[t._v("拨打电话")])],1)],1),e("div",{directives:[{name:"show",rawName:"v-show",value:"phone"==t.curItem.params.type,expression:"curItem.params.type == 'phone'"}],staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("电话号码")]),e("a-input",{model:{value:t.curItem.params.tel,callback:function(e){t.$set(t.curItem.params,"tel",e)},expression:"curItem.params.tel"}})],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("客服图标")]),e("span",{staticClass:"tips-wrap"},[t._v("建议尺寸:90×90")]),e("SImage",{attrs:{width:60,height:60},model:{value:t.curItem.params.image,callback:function(e){t.$set(t.curItem.params,"image",e)},expression:"curItem.params.image"}})],1)])]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("底边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.bottom,callback:function(e){t.$set(t.curItem.style,"bottom",e)},expression:"curItem.style.bottom"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.bottom))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("右边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.right,callback:function(e){t.$set(t.curItem.style,"right",e)},expression:"curItem.style.right"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.right))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("不透明度")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:100},model:{value:t.curItem.style.opacity,callback:function(e){t.$set(t.curItem.style,"opacity",e)},expression:"curItem.style.opacity"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.opacity))]),e("span",[t._v("%")])])],1)])])])],1)],1):t._e(),"video"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("功能设置")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("视频地址")]),e("div",{staticClass:"flex-box"},[e("a-input",{model:{value:t.curItem.params.videoUrl,callback:function(e){t.$set(t.curItem.params,"videoUrl",e)},expression:"curItem.params.videoUrl"}}),e("div",{staticClass:"tips"},[t._v("仅支持.mp4格式的视频源地址")])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("视频封面")]),e("div",{staticClass:"flex-box"},[e("SImage",{attrs:{width:160,height:90},model:{value:t.curItem.params.poster,callback:function(e){t.$set(t.curItem.params,"poster",e)},expression:"curItem.params.poster"}}),e("div",{staticClass:"tips"},[t._v("建议封面图片尺寸与视频比例一致")])],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("播放设置")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("自动播放")]),e("span",{staticClass:"tips-wrap"},[t._v("仅支持小程序")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.params.autoplay,callback:function(e){t.$set(t.curItem.params,"autoplay",e)},expression:"curItem.params.autoplay"}},[e("a-radio-button",{attrs:{value:1}},[t._v("开启")]),e("a-radio-button",{attrs:{value:0}},[t._v("关闭")])],1)],1)])]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[e("span",[t._v("内容样式")]),e("span",{staticClass:"tips"},[t._v("视频宽度为750像素")])]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("视频高度")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:50,max:400},model:{value:t.curItem.style.height,callback:function(e){t.$set(t.curItem.style,"height",e)},expression:"curItem.style.height"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.height))]),e("span",[t._v("像素")])])],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("上下边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingTop,callback:function(e){t.$set(t.curItem.style,"paddingTop",e)},expression:"curItem.style.paddingTop"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingTop))]),e("span",[t._v("像素")])])],1)])])])],1)],1):t._e(),"image"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"sub-title"},[t._v("添加图片 (最多10张,可拖动排序)")]),e("draggable",t._b({attrs:{list:t.curItem.data}},"draggable",{animation:120,filter:"input",preventOnFilter:!1},!1),t._l(t.curItem.data,(function(a,s){return e("div",{key:s,staticClass:"block-box drag"},[e("div",{staticClass:"block-title"},[e("span",{staticClass:"left"},[t._v("图片 "+t._s(s+1))]),e("a",{staticClass:"link",on:{click:function(e){return t.handleDeleleData(t.curItem,s)}}},[t._v("删除")])]),e("div",{staticClass:"block-item"},[e("div",{staticClass:"block-item-common"},[e("div",{staticClass:"block-item-common-row"},[e("span",{staticClass:"label"},[t._v("图片")]),e("span",{staticClass:"label value"},[t._v(t._s(a.imgName))])]),e("div",{staticClass:"block-item-common-row"},[e("span",{staticClass:"label"},[t._v("链接")]),e("SLink",{model:{value:a.link,callback:function(e){t.$set(a,"link",e)},expression:"item.link"}})],1)]),e("div",{staticClass:"block-item-custom"},[e("SImage",{attrs:{tips:"建议尺寸:宽750"},on:{update:function(t){a.imgName=t.file_name}},model:{value:a.imgUrl,callback:function(e){t.$set(a,"imgUrl",e)},expression:"item.imgUrl"}})],1)])])})),0),t.curItem.data.length<10?e("div",{staticClass:"data-add"},[e("a-button",{attrs:{icon:"plus"},on:{click:function(e){return t.handleAddData(10)}}},[t._v("添加图片")])],1):t._e()],1),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("上下边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingTop,callback:function(e){t.$set(t.curItem.style,"paddingTop",e)},expression:"curItem.style.paddingTop"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingTop))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("左右边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingLeft,callback:function(e){t.$set(t.curItem.style,"paddingLeft",e)},expression:"curItem.style.paddingLeft"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingLeft))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])])])],1)],1):t._e(),"banner"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"sub-title"},[t._v("添加图片 (最多10张,可拖动排序)")]),e("draggable",t._b({attrs:{list:t.curItem.data}},"draggable",{animation:120,filter:"input",preventOnFilter:!1},!1),t._l(t.curItem.data,(function(a,s){return e("div",{key:s,staticClass:"block-box drag"},[e("div",{staticClass:"block-title"},[e("span",{staticClass:"left"},[t._v("图片 "+t._s(s+1))]),e("a",{staticClass:"link",on:{click:function(e){return t.handleDeleleData(t.curItem,s)}}},[t._v("删除")])]),e("div",{staticClass:"block-item"},[e("div",{staticClass:"block-item-common"},[e("div",{staticClass:"block-item-common-row"},[e("span",{staticClass:"label"},[t._v("图片")]),e("span",{staticClass:"label value"},[t._v(t._s(a.imgName))])]),e("div",{staticClass:"block-item-common-row"},[e("span",{staticClass:"label"},[t._v("链接")]),e("SLink",{model:{value:a.link,callback:function(e){t.$set(a,"link",e)},expression:"item.link"}})],1)]),e("div",{staticClass:"block-item-custom"},[e("SImage",{attrs:{tips:"建议尺寸:750×400"},on:{update:function(t){a.imgName=t.file_name}},model:{value:a.imgUrl,callback:function(e){t.$set(a,"imgUrl",e)},expression:"item.imgUrl"}})],1)])])})),0),t.curItem.data.length<10?e("div",{staticClass:"data-add"},[e("a-button",{attrs:{icon:"plus"},on:{click:function(e){return t.handleAddData(10)}}},[t._v("添加图片")])],1):t._e()],1),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("指示点形状")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.style.btnShape,callback:function(e){t.$set(t.curItem.style,"btnShape",e)},expression:"curItem.style.btnShape"}},[e("a-radio-button",{attrs:{value:"round"}},[t._v("圆形")]),e("a-radio-button",{attrs:{value:"square"}},[t._v("正方形")]),e("a-radio-button",{attrs:{value:"rectangle"}},[t._v("长方形")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("指示点颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"btnColor","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.btnColor,callback:function(e){t.$set(t.curItem.style,"btnColor",e)},expression:"curItem.style.btnColor"}})],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("切换时间")]),e("div",{staticClass:"item-slider",staticStyle:{width:"190px"}},[e("a-slider",{attrs:{step:1,min:1,max:20},model:{value:t.curItem.style.interval,callback:function(e){t.$set(t.curItem.style,"interval",e)},expression:"curItem.style.interval"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.interval))]),e("span",[t._v("秒")])])],1)])])])],1)],1):t._e(),"goods"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[e("span",[t._v("商品来源")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.params.source,callback:function(e){t.$set(t.curItem.params,"source",e)},expression:"curItem.params.source"}},[e("a-radio-button",{attrs:{value:"auto"}},[t._v("自动获取")]),e("a-radio-button",{attrs:{value:"choice"}},[t._v("手动选择")])],1)],1)]),"choice"===t.curItem.params.source?e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("选择商品 ("+t._s(t.curItem.data.length)+")")]),e("SGoods",{model:{value:t.curItem.data,callback:function(e){t.$set(t.curItem,"data",e)},expression:"curItem.data"}})],1):t._e(),"auto"===t.curItem.params.source?e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("商品内容")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("商品分类")]),e("SelectCategory",{model:{value:t.curItem.params.auto.category,callback:function(e){t.$set(t.curItem.params.auto,"category",e)},expression:"curItem.params.auto.category"}})],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("商品排序")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.params.auto.goodsSort,callback:function(e){t.$set(t.curItem.params.auto,"goodsSort",e)},expression:"curItem.params.auto.goodsSort"}},[e("a-radio-button",{attrs:{value:"all"}},[t._v("默认")]),e("a-radio-button",{attrs:{value:"sales"}},[t._v("销量")]),e("a-radio-button",{attrs:{value:"price"}},[t._v("价格")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示数量")]),e("div",{staticClass:"block-item-right"},[e("a-input-number",{attrs:{min:1,max:50},model:{value:t.curItem.params.auto.showNum,callback:function(e){t.$set(t.curItem.params.auto,"showNum",e)},expression:"curItem.params.auto.showNum"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v("件")])])],1)])]):t._e()]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示类型")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.style.display,callback:function(e){t.$set(t.curItem.style,"display",e)},expression:"curItem.style.display"}},[e("a-radio-button",{attrs:{value:"list"}},[t._v("列表平铺")]),e("a-radio-button",{attrs:{disabled:1===t.curItem.style.column,value:"slide"}},[t._v("横向滑动")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("分列数量")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.style.column,callback:function(e){t.$set(t.curItem.style,"column",e)},expression:"curItem.style.column"}},[e("a-radio-button",{attrs:{disabled:"list"!==t.curItem.style.display,value:1}},[t._v("单列")]),e("a-radio-button",{attrs:{value:2}},[t._v("两列")]),e("a-radio-button",{attrs:{value:3}},[t._v("三列")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示内容")]),e("div",{staticClass:"item-checkbox",style:{width:"180px"}},[e("a-checkbox-group",{model:{value:t.curItem.style.show,callback:function(e){t.$set(t.curItem.style,"show",e)},expression:"curItem.style.show"}},[e("a-checkbox",{attrs:{value:"goodsName"}},[t._v("商品名称")]),e("a-checkbox",{attrs:{value:"goodsPrice"}},[t._v("商品价格")]),e("a-checkbox",{attrs:{value:"linePrice"}},[t._v("划线价格")]),e("a-checkbox",{directives:[{name:"show",rawName:"v-show",value:1===t.curItem.style.column,expression:"curItem.style.column === 1"}],attrs:{value:"sellingPoint"}},[t._v("商品卖点")]),e("a-checkbox",{directives:[{name:"show",rawName:"v-show",value:1===t.curItem.style.column,expression:"curItem.style.column === 1"}],attrs:{value:"goodsSales"}},[t._v("商品销量")])],1)],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])])])],1)],1):t._e(),"navBar"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"sub-title"},[t._v("添加导航 (最少4个,最多10个,可拖动排序)")]),e("draggable",t._b({attrs:{list:t.curItem.data}},"draggable",{animation:120,filter:"input",preventOnFilter:!1},!1),t._l(t.curItem.data,(function(a,s){return e("div",{key:s,staticClass:"block-box drag"},[e("div",{staticClass:"block-title"},[e("span",{staticClass:"left"},[t._v("导航 "+t._s(s+1))]),e("a",{staticClass:"link",on:{click:function(e){return t.handleDeleleData(t.curItem,s)}}},[t._v("删除")])]),e("div",{staticClass:"block-item"},[e("div",{staticClass:"block-item-common"},[e("div",{staticClass:"block-item-common-row"},[e("span",{staticClass:"label"},[t._v("名称")]),e("a-input",{model:{value:a.text,callback:function(e){t.$set(a,"text",e)},expression:"item.text"}})],1),e("div",{staticClass:"block-item-common-row"},[e("span",{staticClass:"label"},[t._v("链接")]),e("SLink",{model:{value:a.link,callback:function(e){t.$set(a,"link",e)},expression:"item.link"}})],1)]),e("div",{staticClass:"block-item-custom"},[e("SImage",{attrs:{tips:"建议尺寸:100×100"},model:{value:a.imgUrl,callback:function(e){t.$set(a,"imgUrl",e)},expression:"item.imgUrl"}})],1)])])})),0),t.curItem.data.length<10?e("div",{staticClass:"data-add"},[e("a-button",{attrs:{icon:"plus"},on:{click:function(e){return t.handleAddData(10)}}},[t._v("添加导航")])],1):t._e()],1),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("每行数量")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.style.rowsNum,callback:function(e){t.$set(t.curItem.style,"rowsNum",e)},expression:"curItem.style.rowsNum"}},[e("a-radio-button",{attrs:{value:3}},[t._v("3个")]),e("a-radio-button",{attrs:{value:4}},[t._v("4个")]),e("a-radio-button",{attrs:{value:5}},[t._v("5个")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("文字颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"textColor","#000")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#000"},model:{value:t.curItem.style.textColor,callback:function(e){t.$set(t.curItem.style,"textColor",e)},expression:"curItem.style.textColor"}})],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("上下边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingTop,callback:function(e){t.$set(t.curItem.style,"paddingTop",e)},expression:"curItem.style.paddingTop"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingTop))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])])])],1)],1):t._e(),"window"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"sub-title"},[t._v("添加图片 (最多10个,可拖动排序)")]),e("draggable",t._b({attrs:{list:t.curItem.data}},"draggable",{animation:120,filter:"input",preventOnFilter:!1},!1),t._l(t.curItem.data,(function(a,s){return e("div",{key:s,staticClass:"block-box drag"},[e("div",{staticClass:"block-title"},[e("span",{staticClass:"left"},[t._v("图片 "+t._s(s+1))]),e("a",{staticClass:"link",on:{click:function(e){return t.handleDeleleData(t.curItem,s)}}},[t._v("删除")])]),e("div",{staticClass:"block-item"},[e("div",{staticClass:"block-item-common"},[e("div",{staticClass:"block-item-common-row"},[e("span",{staticClass:"label"},[t._v("名称")]),e("span",{staticClass:"label value"},[t._v(t._s(a.imgName))])]),e("div",{staticClass:"block-item-common-row"},[e("span",{staticClass:"label"},[t._v("链接")]),e("SLink",{model:{value:a.link,callback:function(e){t.$set(a,"link",e)},expression:"item.link"}})],1)]),e("div",{staticClass:"block-item-custom"},[e("SImage",{on:{update:function(t){a.imgName=t.file_name}},model:{value:a.imgUrl,callback:function(e){t.$set(a,"imgUrl",e)},expression:"item.imgUrl"}})],1)])])})),0),t.curItem.data.length<10?e("div",{staticClass:"data-add"},[e("a-button",{attrs:{icon:"plus"},on:{click:function(e){return t.handleAddData(10)}}},[t._v("添加图片")])],1):t._e()],1),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("每行数量")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.style.layout,callback:function(e){t.$set(t.curItem.style,"layout",e)},expression:"curItem.style.layout"}},[e("a-radio-button",{attrs:{value:2}},[t._v("2列")]),e("a-radio-button",{attrs:{value:3}},[t._v("3列")]),e("a-radio-button",{attrs:{value:4}},[t._v("4列")]),e("a-radio-button",{attrs:{value:-1}},[t._v("橱窗")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("上下边距")]),e("div",{staticClass:"item-slider",style:{width:"210px"}},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingTop,callback:function(e){t.$set(t.curItem.style,"paddingTop",e)},expression:"curItem.style.paddingTop"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingTop))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("左右边距")]),e("div",{staticClass:"item-slider",style:{width:"210px"}},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingLeft,callback:function(e){t.$set(t.curItem.style,"paddingLeft",e)},expression:"curItem.style.paddingLeft"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingLeft))]),e("span",[t._v("像素")])])],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])])])],1)],1):t._e(),"hotZone"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"sub-title"},[t._v("实现点击图片不同位置,跳转不同的链接")]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[e("span",{staticClass:"left"},[t._v("背景图片")])]),e("div",{staticClass:"block-item"},[e("div",{staticClass:"block-item-common"},[e("div",{staticClass:"block-item-common-row"},[e("span",{staticClass:"label"},[t._v("图片")]),e("span",{staticClass:"label value"},[t._v(t._s(t.curItem.data.imgName))])]),e("div",{staticClass:"block-item-common-row"},[e("span",{staticClass:"label"},[t._v("链接")]),e("SHotZone",{attrs:{image:t.curItem.data.imgUrl},model:{value:t.curItem.data.maps,callback:function(e){t.$set(t.curItem.data,"maps",e)},expression:"curItem.data.maps"}})],1)]),e("div",{staticClass:"block-item-custom"},[e("SImage",{attrs:{tips:"建议尺寸:宽750"},on:{update:function(e){t.curItem.data.imgName=e.file_name}},model:{value:t.curItem.data.imgUrl,callback:function(e){t.$set(t.curItem.data,"imgUrl",e)},expression:"curItem.data.imgUrl"}})],1)])])]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("上下边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingTop,callback:function(e){t.$set(t.curItem.style,"paddingTop",e)},expression:"curItem.style.paddingTop"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingTop))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("左右边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingLeft,callback:function(e){t.$set(t.curItem.style,"paddingLeft",e)},expression:"curItem.style.paddingLeft"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingLeft))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])])])],1)],1):t._e(),"officialAccount"==t.curItem.type?e("div",{staticClass:"editor-content"},[t._m(1)]):t._e(),"shop"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[e("span",[t._v("数据来源")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.params.source,callback:function(e){t.$set(t.curItem.params,"source",e)},expression:"curItem.params.source"}},[e("a-radio-button",{attrs:{value:"auto"}},[t._v("自动获取")]),e("a-radio-button",{attrs:{value:"choice"}},[t._v("手动选择")])],1)],1)]),"choice"===t.curItem.params.source?e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("选择门店 ("+t._s(t.curItem.data.length)+")")]),e("SShop",{model:{value:t.curItem.data,callback:function(e){t.$set(t.curItem,"data",e)},expression:"curItem.data"}})],1):t._e(),"auto"===t.curItem.params.source?e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示数量")]),e("div",{staticClass:"block-item-right"},[e("a-input-number",{attrs:{min:1,max:30},model:{value:t.curItem.params.auto.showNum,callback:function(e){t.$set(t.curItem.params.auto,"showNum",e)},expression:"curItem.params.auto.showNum"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v("个")])])],1)])]):t._e()]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示内容")]),e("div",{staticClass:"item-checkbox",style:{width:"180px"}},[e("a-checkbox-group",{model:{value:t.curItem.style.show,callback:function(e){t.$set(t.curItem.style,"show",e)},expression:"curItem.style.show"}},[e("a-checkbox",{attrs:{value:"logo"}},[t._v("门店logo")]),e("a-checkbox",{attrs:{value:"address"}},[t._v("门店地址")]),e("a-checkbox",{attrs:{value:"phone"}},[t._v("门店电话")])],1)],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])])])],1)],1):t._e(),"bargain"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[e("span",[t._v("商品来源")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.params.source,callback:function(e){t.$set(t.curItem.params,"source",e)},expression:"curItem.params.source"}},[e("a-radio-button",{attrs:{value:"auto"}},[t._v("自动获取")]),e("a-radio-button",{attrs:{value:"choice"}},[t._v("手动选择")])],1)],1)]),"choice"===t.curItem.params.source?e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("选择商品 ("+t._s(t.curItem.data.length)+")")]),e("SBargainGoods",{model:{value:t.curItem.data,callback:function(e){t.$set(t.curItem,"data",e)},expression:"curItem.data"}})],1):t._e(),"auto"===t.curItem.params.source?e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("商品内容")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("商品排序")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.params.auto.goodsSort,callback:function(e){t.$set(t.curItem.params.auto,"goodsSort",e)},expression:"curItem.params.auto.goodsSort"}},[e("a-radio-button",{attrs:{value:"all"}},[t._v("默认")]),e("a-radio-button",{attrs:{value:"sales"}},[t._v("销量")]),e("a-radio-button",{attrs:{value:"price"}},[t._v("价格")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示数量")]),e("div",{staticClass:"block-item-right"},[e("a-input-number",{attrs:{min:1,max:50},model:{value:t.curItem.params.auto.showNum,callback:function(e){t.$set(t.curItem.params.auto,"showNum",e)},expression:"curItem.params.auto.showNum"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v("件")])])],1)])]):t._e()]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示内容")]),e("div",{staticClass:"item-checkbox",style:{width:"180px"}},[e("a-checkbox-group",{model:{value:t.curItem.style.show,callback:function(e){t.$set(t.curItem.style,"show",e)},expression:"curItem.style.show"}},[e("a-checkbox",{attrs:{value:"goodsName"}},[t._v("商品名称")]),e("a-checkbox",{attrs:{value:"peoples"}},[t._v("正在砍价")]),e("a-checkbox",{attrs:{value:"floorPrice"}},[t._v("商品底价")]),e("a-checkbox",{attrs:{value:"originalPrice"}},[t._v("商品原价")])],1)],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#F6F6F6")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#F6F6F6"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])])])],1)],1):t._e(),"sharp"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("商品内容")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("分列数量")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.style.column,callback:function(e){t.$set(t.curItem.style,"column",e)},expression:"curItem.style.column"}},[e("a-radio-button",{attrs:{value:2}},[t._v("两列")]),e("a-radio-button",{attrs:{value:3}},[t._v("三列")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示数量")]),e("div",{staticClass:"block-item-right"},[e("a-input-number",{attrs:{min:1,max:30},model:{value:t.curItem.params.showNum,callback:function(e){t.$set(t.curItem.params,"showNum",e)},expression:"curItem.params.showNum"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v("个")])])],1)])])]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示内容")]),e("div",{staticClass:"item-checkbox",style:{width:"180px"}},[e("a-checkbox-group",{model:{value:t.curItem.style.show,callback:function(e){t.$set(t.curItem.style,"show",e)},expression:"curItem.style.show"}},[e("a-checkbox",{attrs:{value:"goodsName"}},[t._v("商品名称")]),e("a-checkbox",{attrs:{value:"seckillPrice"}},[t._v("秒杀价格")]),e("a-checkbox",{attrs:{value:"originalPrice"}},[t._v("商品原价")])],1)],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])])])],1)],1):t._e(),"coupon"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("优惠券内容")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示数量")]),e("div",{staticClass:"block-item-right"},[e("a-input-number",{attrs:{min:1,max:15},model:{value:t.curItem.params.showNum,callback:function(e){t.$set(t.curItem.params,"showNum",e)},expression:"curItem.params.showNum"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v("个")])])],1)])])]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("上下边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingTop,callback:function(e){t.$set(t.curItem.style,"paddingTop",e)},expression:"curItem.style.paddingTop"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingTop))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("优惠券样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("左右边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:40},model:{value:t.curItem.style.marginRight,callback:function(e){t.$set(t.curItem.style,"marginRight",e)},expression:"curItem.style.marginRight"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.marginRight))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("优惠券颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"couponBgColor","#ffa708")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#ffa708"},model:{value:t.curItem.style.couponBgColor,callback:function(e){t.$set(t.curItem.style,"couponBgColor",e)},expression:"curItem.style.couponBgColor"}})],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("领取按钮颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"receiveBgColor","#717070")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#717070"},model:{value:t.curItem.style.receiveBgColor,callback:function(e){t.$set(t.curItem.style,"receiveBgColor",e)},expression:"curItem.style.receiveBgColor"}})],1)])])])],1)],1):t._e(),"special"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容展示")]),e("div",{staticClass:"block-item flex flex-y-center"},[e("span",{staticClass:"label"},[t._v("头条图片")]),e("span",{staticClass:"tips-wrap"},[t._v("建议尺寸:140 × 38")]),e("SImage",{attrs:{width:60,height:60},model:{value:t.curItem.params.image,callback:function(e){t.$set(t.curItem.params,"image",e)},expression:"curItem.params.image"}})],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示行数")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.params.display,callback:function(e){t.$set(t.curItem.params,"display",e)},expression:"curItem.params.display"}},[e("a-radio-button",{attrs:{value:1}},[t._v("单行")]),e("a-radio-button",{attrs:{value:2}},[t._v("双行")])],1)],1)]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("数据来源")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("文章分类")]),e("SArticleCate",{model:{value:t.curItem.params.auto.category,callback:function(e){t.$set(t.curItem.params.auto,"category",e)},expression:"curItem.params.auto.category"}})],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示数量")]),e("div",{staticClass:"block-item-right"},[e("a-input-number",{attrs:{min:1,max:20},model:{value:t.curItem.params.auto.showNum,callback:function(e){t.$set(t.curItem.params.auto,"showNum",e)},expression:"curItem.params.auto.showNum"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v("篇")])])],1)])])]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("文字颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"textColor","#000")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#000"},model:{value:t.curItem.style.textColor,callback:function(e){t.$set(t.curItem.style,"textColor",e)},expression:"curItem.style.textColor"}})],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("上下边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingTop,callback:function(e){t.$set(t.curItem.style,"paddingTop",e)},expression:"curItem.style.paddingTop"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingTop))]),e("span",[t._v("像素")])])],1)])])])],1)],1):t._e(),"groupon"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[e("span",[t._v("商品来源")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.params.source,callback:function(e){t.$set(t.curItem.params,"source",e)},expression:"curItem.params.source"}},[e("a-radio-button",{attrs:{value:"auto"}},[t._v("自动获取")]),e("a-radio-button",{attrs:{value:"choice"}},[t._v("手动选择")])],1)],1)]),"choice"===t.curItem.params.source?e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("选择商品 ("+t._s(t.curItem.data.length)+")")]),e("SGrouponGoods",{model:{value:t.curItem.data,callback:function(e){t.$set(t.curItem,"data",e)},expression:"curItem.data"}})],1):t._e(),"auto"===t.curItem.params.source?e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("商品内容")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("商品排序")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.params.auto.goodsSort,callback:function(e){t.$set(t.curItem.params.auto,"goodsSort",e)},expression:"curItem.params.auto.goodsSort"}},[e("a-radio-button",{attrs:{value:"all"}},[t._v("默认")]),e("a-radio-button",{attrs:{value:"sales"}},[t._v("销量")]),e("a-radio-button",{attrs:{value:"price"}},[t._v("价格")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("显示数量")]),e("div",{staticClass:"block-item-right"},[e("a-input-number",{attrs:{min:1,max:50},model:{value:t.curItem.params.auto.showNum,callback:function(e){t.$set(t.curItem.params.auto,"showNum",e)},expression:"curItem.params.auto.showNum"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v("件")])])],1)])]):t._e()]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("商品样式")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.style.display,callback:function(e){t.$set(t.curItem.style,"display",e)},expression:"curItem.style.display"}},[e("a-radio-button",{attrs:{value:"flat"}},[t._v("扁平")]),e("a-radio-button",{attrs:{value:"card"}},[t._v("卡片")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("边角样式")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.style.itemBorderRadius,callback:function(e){t.$set(t.curItem.style,"itemBorderRadius",e)},expression:"curItem.style.itemBorderRadius"}},[e("a-radio-button",{attrs:{value:"right"}},[t._v("直角")]),e("a-radio-button",{attrs:{value:"round"}},[t._v("圆角")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("商品间距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:30},model:{value:t.curItem.style.itemMargin,callback:function(e){t.$set(t.curItem.style,"itemMargin",e)},expression:"curItem.style.itemMargin"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.itemMargin))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("商品内容")]),e("div",{staticClass:"item-checkbox",style:{width:"180px"}},[e("a-checkbox-group",{model:{value:t.curItem.style.show,callback:function(e){t.$set(t.curItem.style,"show",e)},expression:"curItem.style.show"}},[e("a-checkbox",{attrs:{value:"goodsName"}},[t._v("商品名称")]),e("a-checkbox",{attrs:{value:"button"}},[t._v("购买按钮")]),e("a-checkbox",{attrs:{value:"peoples"}},[t._v("拼团人数")]),e("a-checkbox",{attrs:{value:"activeSales"}},[t._v("拼团销量")]),e("a-checkbox",{attrs:{value:"grouponPrice"}},[t._v("拼团价格")]),e("a-checkbox",{attrs:{value:"originalPrice"}},[t._v("商品原价")])],1)],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#F6F6F6")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#F6F6F6"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("上下边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:30},model:{value:t.curItem.style.paddingY,callback:function(e){t.$set(t.curItem.style,"paddingY",e)},expression:"curItem.style.paddingY"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingY))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("左右边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:20},model:{value:t.curItem.style.paddingX,callback:function(e){t.$set(t.curItem.style,"paddingX",e)},expression:"curItem.style.paddingX"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingX))]),e("span",[t._v("像素")])])],1)])])])],1)],1):t._e(),"ICPLicense"==t.curItem.type?e("div",{staticClass:"editor-content"},[e("a-tabs",[e("a-tab-pane",{key:"1",attrs:{tab:"内容设置"}},[e("div",{staticClass:"sub-title"},[t._v("网站备案号请放到页面最底部,仅在H5端显示")]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("文字内容")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("内容")]),e("a-input",{model:{value:t.curItem.params.text,callback:function(e){t.$set(t.curItem.params,"text",e)},expression:"curItem.params.text"}})],1),e("div",{staticClass:"block-item mb-15"},[e("span",{staticClass:"label"},[t._v("链接")]),e("a-input",{model:{value:t.curItem.params.link,callback:function(e){t.$set(t.curItem.params,"link",e)},expression:"curItem.params.link"}})],1)])]),e("a-tab-pane",{key:"2",attrs:{tab:"样式设置"}},[e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("内容样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("文字大小")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:12,max:24},model:{value:t.curItem.style.fontSize,callback:function(e){t.$set(t.curItem.style,"fontSize",e)},expression:"curItem.style.fontSize"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.fontSize))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("文字对齐")]),e("a-radio-group",{attrs:{buttonStyle:"solid"},model:{value:t.curItem.style.textAlign,callback:function(e){t.$set(t.curItem.style,"textAlign",e)},expression:"curItem.style.textAlign"}},[e("a-radio-button",{attrs:{value:"left"}},[t._v("居左")]),e("a-radio-button",{attrs:{value:"center"}},[t._v("居中")]),e("a-radio-button",{attrs:{value:"right"}},[t._v("居右")])],1)],1),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("文字颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"textColor","#696969")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#696969"},model:{value:t.curItem.style.textColor,callback:function(e){t.$set(t.curItem.style,"textColor",e)},expression:"curItem.style.textColor"}})],1)])]),e("div",{staticClass:"block-box"},[e("div",{staticClass:"block-title"},[t._v("组件样式")]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("上下边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingTop,callback:function(e){t.$set(t.curItem.style,"paddingTop",e)},expression:"curItem.style.paddingTop"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingTop))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("左右边距")]),e("div",{staticClass:"item-slider"},[e("a-slider",{attrs:{min:0,max:50},model:{value:t.curItem.style.paddingLeft,callback:function(e){t.$set(t.curItem.style,"paddingLeft",e)},expression:"curItem.style.paddingLeft"}}),e("span",{staticClass:"unit-text"},[e("span",[t._v(t._s(t.curItem.style.paddingLeft))]),e("span",[t._v("像素")])])],1)]),e("div",{staticClass:"block-item"},[e("span",{staticClass:"label"},[t._v("背景颜色")]),e("div",{staticClass:"item-colorPicker"},[e("span",{staticClass:"rest-color",on:{click:function(e){return t.onEditorResetColor(t.curItem.style,"background","#fff")}}},[t._v("重置")]),e("colorPicker",{attrs:{defaultColor:"#fff"},model:{value:t.curItem.style.background,callback:function(e){t.$set(t.curItem.style,"background",e)},expression:"curItem.style.background"}})],1)])])])],1)],1):t._e()]:t._e()],2)},Pt=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"unit-text"},[e("span",[t._v("篇")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"block-box"},[e("div",{staticClass:"text-describe"},[e("p",[t._v("1、该组件仅支持微信小程序端,其他端不显示")]),e("p",{staticClass:"empty"}),e("p",[t._v(" 2、使用组件前,需前往 "),e("a",{attrs:{href:"https://mp.weixin.qq.com",target:"_blank"}},[t._v("小程序后台")]),t._v(",在“设置”->“接口设置”->“公众号关注组件”中设置要展示的公众号。 ")]),e("p",{staticClass:"x-mb-10"},[t._v("注:设置的公众号需与小程序主体一致。")]),e("p",{staticClass:"empty"}),e("p",[t._v("3、当小程序从扫二维码场景(场景值1011)打开时,才具有展示引导关注公众号组件的能力。")])])])}],At=(a("a434"),a("2b0e")),zt=a("a9f5"),Rt=a.n(zt),Nt=a("2af9"),Dt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"image-custom"},[e("a-tooltip",[t.tips?e("template",{slot:"title"},[t._v(t._s(t.tips))]):t._e(),e("div",{staticClass:"image-box",style:{width:"".concat(t.width,"px"),height:"".concat(t.height,"px")}},[e("img",{attrs:{src:t.imgUrl,alt:""}}),e("div",{staticClass:"update-box-black"}),e("div",{staticClass:"uodate-repalce",on:{click:t.handleSelectImage}},[t._v("替换")])])],2),e("FilesModal",{ref:"FilesModal",attrs:{multiple:!1},on:{handleSubmit:t.handleSelectImageSubmit}})],1)},$t=[],jt=a("fd0d"),Ht={name:"SImage",components:{FilesModal:jt["d"]},model:{prop:"value",event:"change"},props:{value:vt["a"].string.def(""),tips:vt["a"].string.def(""),width:vt["a"].integer.def(70),height:vt["a"].integer.def(70)},data:function(){return{imgUrl:""}},watch:{value:{immediate:!0,handler:function(t){this.imgUrl=t}}},created:function(){},methods:{handleSelectImage:function(){this.$refs.FilesModal.show()},handleSelectImageSubmit:function(t){if(t.length>0){var e=t[0];this.onChange(e)}},onChange:function(t){this.imgUrl=t.preview_url,this.$emit("change",this.imgUrl),this.$emit("update",t)}}},Ft=Ht,Bt=(a("59e6"),Object(ct["a"])(Ft,Dt,$t,!1,null,"7969090d",null)),Vt=Bt.exports,Ut=function(){var t=this,e=t._self._c;return e("a-spin",{attrs:{spinning:t.isLoading}},[e("a-select",{on:{change:t.onChange},model:{value:t.selectedId,callback:function(e){t.selectedId=e},expression:"selectedId"}},[e("a-select-option",{attrs:{value:-1}},[t._v("全部")]),t._l(t.categoryList,(function(a,s){return e("a-select-option",{key:s,attrs:{value:a.category_id}},[t._v(t._s(a.name))])}))],2)],1)},Gt=[],Wt=(a("d3b7"),a("89a2")),Yt={name:"SArticleCate",components:{},model:{prop:"value",event:"change"},props:{value:vt["a"].integer.def(-1)},data:function(){return{isLoading:!1,categoryList:[],selectedId:-1}},watch:{value:{immediate:!0,handler:function(t){this.selectedId=t}}},created:function(){this.getCategoryList()},methods:{getCategoryList:function(){var t=this;this.isLoading=!0,Wt["d"]().then((function(e){t.categoryList=e.data.list})).finally((function(){return t.isLoading=!1}))},onChange:function(t){this.$emit("change",t)}}},Zt=Yt,Xt=(a("83abb"),Object(ct["a"])(Zt,Ut,Gt,!1,null,"d5b1c9cc",null)),qt=Xt.exports,Jt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"select-goods"},[e("div",{staticClass:"data-preview clearfix"},[e("draggable",t._b({attrs:{list:t.selectedItems}},"draggable",{animation:120,filter:"input",preventOnFilter:!1},!1),t._l(t.selectedItems,(function(a,s){return e("div",{key:s,staticClass:"data-item"},[e("a-icon",{staticClass:"icon-close",attrs:{theme:"filled",type:"close-circle"},on:{click:function(e){return t.handleDeleteItem(s)}}}),e("a-tooltip",[e("template",{slot:"title"},[e("span",{staticClass:"f-12"},[t._v(t._s(a.goods_name))])]),e("div",{staticClass:"item-inner"},[e("div",{staticClass:"item-image"},[e("img",{attrs:{src:a.goods_image,alt:""}})])])],2)],1)})),0)],1),e("div",{staticClass:"data-add"},[e("a-button",{attrs:{icon:"plus"},on:{click:function(e){return t.handleSelectGoods()}}},[t._v("选择商品")])],1),e("GoodsModal",{ref:"GoodsModal",attrs:{maxNum:t.maxNum,defaultList:t.selectedItems},on:{handleSubmit:t.handleSelectGoodsSubmit}})],1)},Qt=[],Kt=a("2ef0"),te=a.n(Kt),ee=["goods_id","goods_name","goods_image","goods_price_min","line_price_min","selling_point","goods_sales"],ae={name:"SelectGoods",components:{GoodsModal:jt["e"],draggable:ht.a},model:{prop:"value",event:"change"},props:{maxNum:vt["a"].integer.def(100),value:vt["a"].array.def([])},data:function(){return{selectedItems:[]}},watch:{value:{immediate:!0,handler:function(t){this.onUpdate(t)}}},created:function(){},methods:{onUpdate:function(t){this.selectedItems=t,this.onChange()},handleSelectGoods:function(){this.$refs.GoodsModal.handle()},handleSelectGoodsSubmit:function(t){var e=t.selectedItems;this.onUpdate(this.filterItems(e))},filterItems:function(t){return t.map((function(t){return Object(Kt["pick"])(t,ee)}))},handleDeleteItem:function(t){var e=this.selectedItems;e.length<=1?this.$message.warning("请至少保留1个",1):(e.splice(t,1),this.onUpdate(e))},onChange:function(){var t=this.selectedItems;return this.$emit("change",t)}}},se=ae,ie=(a("4cbe"),Object(ct["a"])(se,Jt,Qt,!1,null,"49984691",null)),ne=ie.exports,oe=function(){var t=this,e=t._self._c;return e("a-spin",{attrs:{spinning:t.isLoading}},[e("a-tree-select",{attrs:{treeData:t.categoryListTree,dropdownStyle:{maxHeight:"500px",overflow:"auto"},allowClear:""},on:{change:t.onChange},model:{value:t.selectedId,callback:function(e){t.selectedId=e},expression:"selectedId"}})],1)},ce=[],re=a("8243"),le={name:"SGoodsCate",components:{},model:{prop:"value",event:"change"},props:{value:vt["a"].integer.def(-1)},data:function(){return{isLoading:!1,categoryListTree:[],selectedId:-1}},watch:{value:{immediate:!0,handler:function(t){this.selectedId=t}}},created:function(){this.getCategoryList()},methods:{getCategoryList:function(){var t=this;this.isLoading=!0,re["a"].getListFromScreen().then((function(e){return t.categoryListTree=e})).finally((function(){return t.isLoading=!1}))},onChange:function(t){this.$emit("change",t)}}},ue=le,de=(a("e056"),Object(ct["a"])(ue,oe,ce,!1,null,"d4ce2e80",null)),pe=(de.exports,function(){var t=this,e=t._self._c;return e("div",{staticClass:"select-link"},[t.sLink?e("div",{staticClass:"flex flex-x-between"},[e("span",{staticClass:"link-title"},[t._v(t._s(t.sLink.title))]),e("a",{staticClass:"choice",on:{click:function(e){return t.handleSelectLink()}}},[t._v("修改")])]):[e("a",{staticClass:"choice",on:{click:function(e){return t.handleSelectLink()}}},[t._v("选择链接")])],e("LinkModal",{ref:"LinkModal",on:{handleSubmit:t.handleSubmit}})],2)}),me=[],ve={name:"SLink",components:{LinkModal:jt["g"]},model:{prop:"value",event:"change"},props:{value:vt["a"].object.def({})},data:function(){return{sLink:null}},watch:{value:{immediate:!0,handler:function(t){this.onUpdate(t)}}},created:function(){},methods:{onUpdate:function(t){this.sLink=t,this.onChange()},handleSelectLink:function(){var t=this.sLink;this.$refs.LinkModal.handle(t)},handleSubmit:function(t){this.onUpdate(t)},onChange:function(){var t=this.sLink;return this.$emit("change",t)}}},fe=ve,he=(a("c3aa"),Object(ct["a"])(fe,pe,me,!1,null,"1aa370d4",null)),be=he.exports,ge=function(){var t=this,e=t._self._c;return e("div",{staticClass:"select-link"},[e("a-tooltip",[e("template",{slot:"title"},[t._v("设置跳转的链接")]),e("a",{staticClass:"choice",on:{click:function(e){return t.handleSelectLink()}}},[t._v("链接")])],2),e("LinkModal",{ref:"LinkModal",on:{handleSubmit:t.handleSubmit}})],1)},ye=[],Ce={name:"SLink2",components:{LinkModal:jt["g"]},model:{prop:"value",event:"change"},props:{value:vt["a"].object.def({})},data:function(){return{sLink:null}},watch:{value:{immediate:!0,handler:function(t){this.onUpdate(t)}}},created:function(){},methods:{onUpdate:function(t){this.sLink=t,this.onChange()},handleSelectLink:function(){var t=this.sLink;this.$refs.LinkModal.handle(t)},handleSubmit:function(t){this.onUpdate(t)},onChange:function(){var t=this.sLink;return this.$emit("change",t)}}},_e=Ce,ke=(a("fcae"),Object(ct["a"])(_e,ge,ye,!1,null,"a7d46ffc",null)),xe=ke.exports,Ie=function(){var t=this,e=t._self._c;return e("div",{staticClass:"select-shop"},[e("div",{staticClass:"data-preview clearfix"},[e("draggable",t._b({attrs:{list:t.selectedItems}},"draggable",{animation:120,filter:"input",preventOnFilter:!1},!1),t._l(t.selectedItems,(function(a,s){return e("div",{key:s,staticClass:"data-item"},[e("a-icon",{staticClass:"icon-close",attrs:{theme:"filled",type:"close-circle"},on:{click:function(e){return t.handleDeleteItem(s)}}}),e("a-tooltip",[e("template",{slot:"title"},[e("span",{staticClass:"f-12"},[t._v(t._s(a.shop_name))])]),e("div",{staticClass:"item-inner"},[e("div",{staticClass:"item-image"},[e("img",{attrs:{src:a.logo_url,alt:""}})])])],2)],1)})),0)],1),e("div",{staticClass:"data-add"},[e("a-button",{attrs:{icon:"plus"},on:{click:function(e){return t.handleSelectShop()}}},[t._v("选择门店")])],1),e("ShopModal",{ref:"ShopModal",attrs:{maxNum:t.maxNum,defaultList:t.selectedItems},on:{handleSubmit:t.handleSelectShopSubmit}})],1)},we=[],Se=["shop_id","shop_name","logo_url","phone","region","address"],Me={name:"SelectShop",components:{ShopModal:jt["j"],draggable:ht.a},model:{prop:"value",event:"change"},props:{maxNum:vt["a"].integer.def(100),value:vt["a"].array.def([])},data:function(){return{selectedItems:[]}},watch:{value:{immediate:!0,handler:function(t){this.onUpdate(t)}}},created:function(){},methods:{onUpdate:function(t){this.selectedItems=t,this.onChange()},handleSelectShop:function(){this.$refs.ShopModal.handle()},handleSelectShopSubmit:function(t){var e=t.selectedItems;this.onUpdate(this.filterItems(e))},filterItems:function(t){return t.map((function(t){return Object(Kt["pick"])(t,Se)}))},handleDeleteItem:function(t){var e=this.selectedItems;e.length<=1?this.$message.warning("请至少保留1个",1):(e.splice(t,1),this.onUpdate(e))},onChange:function(){var t=this.selectedItems;return this.$emit("change",t)}}},Le=Me,Ee=(a("0455"),Object(ct["a"])(Le,Ie,we,!1,null,"2d5f7679",null)),Te=Ee.exports,Oe=function(){var t=this,e=t._self._c;return e("div",{staticClass:"select-goods"},[e("div",{staticClass:"data-preview clearfix"},[e("draggable",t._b({attrs:{list:t.selectedItems}},"draggable",{animation:120,filter:"input",preventOnFilter:!1},!1),t._l(t.selectedItems,(function(a,s){return e("div",{key:s,staticClass:"data-item"},[e("a-icon",{staticClass:"icon-close",attrs:{theme:"filled",type:"close-circle"},on:{click:function(e){return t.handleDeleteItem(s)}}}),e("a-tooltip",[e("template",{slot:"title"},[e("span",{staticClass:"f-12"},[t._v(t._s(a.goods_name))])]),e("div",{staticClass:"item-inner"},[e("div",{staticClass:"item-image"},[e("img",{attrs:{src:a.goods_image,alt:""}})])])],2)],1)})),0)],1),e("div",{staticClass:"data-add"},[e("a-button",{attrs:{icon:"plus"},on:{click:function(e){return t.handleSelectGoods()}}},[t._v("选择砍价商品")])],1),e("BargainGoodsModal",{ref:"BargainGoodsModal",attrs:{maxNum:t.maxNum,defaultList:t.selectedItems},on:{handleSubmit:t.handleSelectGoodsSubmit}})],1)},Pe=[],Ae=["active_id","goods_name","goods_image","floor_price","original_price"],ze={name:"SBargainGoods",components:{BargainGoodsModal:jt["b"],draggable:ht.a},model:{prop:"value",event:"change"},props:{maxNum:vt["a"].integer.def(100),value:vt["a"].array.def([])},data:function(){return{selectedItems:[]}},watch:{value:{immediate:!0,handler:function(t){this.onUpdate(t)}}},created:function(){},methods:{onUpdate:function(t){this.selectedItems=t,this.onChange()},handleSelectGoods:function(){this.$refs.BargainGoodsModal.handle()},handleSelectGoodsSubmit:function(t){var e=t.selectedItems;this.onUpdate(this.filterItems(e))},filterItems:function(t){return t.map((function(t){return Object(Kt["pick"])(t,Ae)}))},handleDeleteItem:function(t){var e=this.selectedItems;e.length<=1?this.$message.warning("请至少保留1个",1):(e.splice(t,1),this.onUpdate(e))},onChange:function(){var t=this.selectedItems;return this.$emit("change",t)}}},Re=ze,Ne=(a("8dca"),Object(ct["a"])(Re,Oe,Pe,!1,null,"38c9abc5",null)),De=Ne.exports,$e=function(){var t=this,e=t._self._c;return e("div",{staticClass:"select-goods"},[e("div",{staticClass:"data-preview clearfix"},[e("draggable",t._b({attrs:{list:t.selectedItems}},"draggable",{animation:120,filter:"input",preventOnFilter:!1},!1),t._l(t.selectedItems,(function(a,s){return e("div",{key:s,staticClass:"data-item"},[e("a-icon",{staticClass:"icon-close",attrs:{theme:"filled",type:"close-circle"},on:{click:function(e){return t.handleDeleteItem(s)}}}),e("a-tooltip",[e("template",{slot:"title"},[e("span",{staticClass:"f-12"},[t._v(t._s(a.goods_name))])]),e("div",{staticClass:"item-inner"},[e("div",{staticClass:"item-image"},[e("img",{attrs:{src:a.goods_image,alt:""}})])])],2)],1)})),0)],1),e("div",{staticClass:"data-add"},[e("a-button",{attrs:{icon:"plus"},on:{click:function(e){return t.handleSelectGoods()}}},[t._v("选择拼团商品")])],1),e("GrouponGoodsModal",{ref:"GrouponGoodsModal",attrs:{maxNum:t.maxNum,defaultList:t.selectedItems},on:{handleSubmit:t.handleSelectGoodsSubmit}})],1)},je=[],He=["groupon_goods_id","goods_name","goods_image","groupon_price","original_price","show_people","active_sales"],Fe={name:"SGrouponGoods",components:{GrouponGoodsModal:jt["f"],draggable:ht.a},model:{prop:"value",event:"change"},props:{maxNum:vt["a"].integer.def(100),value:vt["a"].array.def([])},data:function(){return{selectedItems:[]}},watch:{value:{immediate:!0,handler:function(t){this.onUpdate(t)}}},created:function(){},methods:{onUpdate:function(t){this.selectedItems=t,this.onChange()},handleSelectGoods:function(){this.$refs.GrouponGoodsModal.handle()},handleSelectGoodsSubmit:function(t){var e=t.selectedItems;this.onUpdate(this.filterItems(e))},filterItems:function(t){return t.map((function(t){return Object(Kt["pick"])(t,He)}))},handleDeleteItem:function(t){var e=this.selectedItems;e.length<=1?this.$message.warning("请至少保留1个",1):(e.splice(t,1),this.onUpdate(e))},onChange:function(){var t=this.selectedItems;return this.$emit("change",t)}}},Be=Fe,Ve=(a("b10d"),Object(ct["a"])(Be,$e,je,!1,null,"050fed46",null)),Ue=Ve.exports,Ge=function(){var t=this,e=t._self._c;return e("div",{staticClass:"select-link"},[e("a",{staticClass:"choice",on:{click:function(e){return t.handleSelectLink()}}},[e("span",{staticClass:"mr-5"},[t._v("绘制热区")]),e("a-icon",{attrs:{type:"edit"}})],1),e("HotZoneModal",{ref:"HotZoneModal",on:{handleSubmit:t.onUpdate}})],1)},We=[],Ye=function(){var t=this,e=t._self._c;return e("a-modal",{staticClass:"noborder",attrs:{title:t.title,width:804,visible:t.visible,isLoading:t.isLoading,maskClosable:!1,destroyOnClose:!0},on:{cancel:t.handleCancel}},[e("div",{staticClass:"scroll-view"},[e("div",{staticClass:"zone-body",style:{height:"".concat(t.imageH,"px")}},[e("div",{staticClass:"bg-image"},[e("img",{ref:"image",staticClass:"image",attrs:{src:t.imageSrc,alt:""},on:{load:t.imageLoad}})]),t.imageW>0&&t.imageH>0?t._l(t.maps,(function(a,s){return e("vue-draggable-resizable",{key:a.key,attrs:{"class-name":"my-vdr","class-name-handle":"my-handle",minWidth:60,minHeight:20,x:a.left,y:a.top,w:a.width,h:a.height,parent:!0},on:{dragstop:function(t,e){a.left=t,a.top=e},resizestop:function(t,e,s,i){a.left=t,a.top=e,a.width=s,a.height=i}}},[e("div",{staticClass:"title"},[t._v("热区"+t._s(s+1))]),e("div",{staticClass:"actions"},[e("a-popconfirm",{attrs:{title:"您确定要删除该热区吗?"},on:{confirm:function(e){return t.handleDelZone(s)}}},[e("a",{attrs:{href:"javascript:;"}},[t._v("删除")])]),e("SLink2",{model:{value:a.link,callback:function(e){t.$set(a,"link",e)},expression:"item.link"}})],1)])})):t._e()],2)]),e("template",{slot:"footer"},[e("a-button",{key:"back",on:{click:t.handleAddZone}},[t._v("添加新热区")]),e("a-button",{key:"submit",attrs:{type:"primary"},on:{click:t.handleSubmit}},[t._v("保存")])],1)],2)},Ze=[],Xe=a("fb19"),qe=a.n(Xe),Je={name:"HotZoneModal",model:{prop:"value",event:"change"},components:{VueDraggableResizable:qe.a,SLink2:xe},data:function(){return{title:"绘制热区",visible:!1,isLoading:!1,maps:[],imageSrc:"",imageW:0,imageH:0}},methods:{handle:function(t,e){this.visible=!0,this.maps=te.a.cloneDeep(t),this.imageSrc=e},imageLoad:function(t){this.imageW=this.$refs.image.offsetWidth,this.imageH=this.$refs.image.offsetHeight},handleAddZone:function(){this.maps.push({width:100,height:100,left:0,top:0,link:null,key:(new Date).getTime()})},handleDelZone:function(t){this.maps.splice(t,1)},handleSubmit:function(t){this.$emit("handleSubmit",this.maps),this.handleCancel()},handleCancel:function(){this.visible=!1,this.imageSrc="",this.imageW=0,this.imageH=0,this.maps=[]}}},Qe=Je,Ke=(a("5272"),Object(ct["a"])(Qe,Ye,Ze,!1,null,"5b0cd384",null)),ta=Ke.exports,ea=ta,aa={name:"SelectHotZone",components:{HotZoneModal:ea},model:{prop:"value",event:"change"},props:{value:vt["a"].array.def([]),image:vt["a"].string.def("")},data:function(){return{maps:[]}},watch:{value:{immediate:!0,handler:function(t){this.onUpdate(t)}}},created:function(){},methods:{onUpdate:function(t){this.maps=t,this.$emit("change",t)},handleSelectLink:function(){var t=this.maps,e=this.image;this.$refs.HotZoneModal.handle(t,e)}}},sa=aa,ia=(a("7476"),Object(ct["a"])(sa,Ge,We,!1,null,"41a25213",null)),na=ia.exports;At["a"].use(Rt.a);var oa={props:{defaultData:vt["a"].object.def({}),data:vt["a"].object.def({}),curItem:vt["a"].object.def({}),selectedIndex:vt["a"].oneOfType([vt["a"].number,vt["a"].string]).def(0)},components:{draggable:ht.a,Ueditor:Nt["o"],SImage:Vt,SArticleCate:qt,SGoods:ne,SelectCategory:Nt["e"],SLink:be,SShop:Te,SBargainGoods:De,SGrouponGoods:Ue,SHotZone:na},data:function(){return{}},methods:{handleAddData:function(){var t=this.defaultData,e=this.curItem,a=t.items[e.type].data[0];e.data.push(_.cloneDeep(a))},handleDeleleData:function(t,e){if(t.data.length<=1)return this.$message.warning("至少保留一个"),!1;t.data.splice(e,1)},onEditorResetColor:function(t,e,a){t[e]=a}}},ca=oa,ra=(a("6f7c5"),Object(ct["a"])(ca,Ot,Pt,!1,null,"3df68d74",null)),la=ra.exports,ua=la},"4bd1":function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604124594223",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"955",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M1039.92888889 21.94963001v970.90370333H-15.92888889v-970.90370333h1055.85777778zM305.68296334 792.60444445a60.6814811 60.6814811 0 1 0 0 121.36296334 60.6814811 60.6814811 0 0 0 0-121.36296334z m218.45333333 0a60.6814811 60.6814811 0 1 0 0 121.36296334 60.6814811 60.6814811 0 0 0 0-121.36296334z m218.45333334 0a60.6814811 60.6814811 0 1 0 0 121.36296334 60.6814811 60.6814811 0 0 0 0-121.36296334z m188.11259221-661.42814777H93.29777778v452.85376L379.47164445 367.83407446l324.76728888 235.68687331 226.46328889-165.61189888V131.17629668zM748.65777778 185.78963001a91.02222222 91.02222222 0 1 1 0 182.04444445 91.02222222 91.02222222 0 0 1 0-182.04444445z","p-id":"956"}}]})}},"4cbe":function(t,e,a){"use strict";a("f8f0")},5272:function(t,e,a){"use strict";a("d2a7")},5300:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604125679952",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1947",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M925.23990594 23.62695312H624.69589598c-41.4888165 0-75.13314093 33.6366936-75.13314093 75.13314094v150.26818956c0 41.49644732 33.64432443 75.14077176 75.13314093 75.14077177H925.23799823c41.49644732 0 75.13314093-33.64432443 75.13314094-75.14077177V98.76009406C1000.37304688 57.26364673 966.73635327 23.62695312 925.23990594 23.62695312zM399.29647319 23.62695312H98.76009406C57.27127756 23.62695312 23.62695312 57.26364673 23.62695312 98.76009406v450.79503016c0 41.50407816 33.64432443 75.14840258 75.13314094 75.14840259h300.53447142c41.50407816 0 75.13314093-33.64432443 75.13314093-75.14840259V98.76009406C474.42961412 57.26364673 440.79864364 23.62695312 399.29647319 23.62695312z m525.94343275 375.66952007H624.69589598c-41.4888165 0-75.13314093 33.62906277-75.13314093 75.12551011v450.81029182c0 41.49644732 33.64432443 75.14077176 75.13314093 75.14077176H925.23799823c41.49835503 0 75.13504864-33.64432443 75.13504864-75.14077176v-450.81029182c0-41.49644732-33.6366936-75.12551011-75.13314093-75.12551011zM399.29647319 699.83094461H98.76009406C57.27127756 699.83094461 23.62695312 733.46763822 23.62695312 774.96408555v150.26818957C23.62695312 966.72872244 57.27127756 1000.37304688 98.76009406 1000.37304688h300.53447142c41.50407816 0 75.13314093-33.64432443 75.13314093-75.14077176V774.96408555c0.00190771-41.49644732-33.62906277-75.13314093-75.13123322-75.13314094z","p-id":"1948"}}]})}},"59e6":function(t,e,a){"use strict";a("98395")},"61f9":function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604124345884",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6476",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M454.27451 283.915166A170.359344 170.359344 0 1 0 624.889956 454.27451a170.154462 170.154462 0 0 0-170.615446-170.359344zM908.60024 0H113.555822A113.914366 113.914366 0 0 0 0 113.555822v795.044418a113.914366 113.914366 0 0 0 113.555822 113.555822h795.044418a113.914366 113.914366 0 0 0 113.555822-113.555822V113.555822A113.914366 113.914366 0 0 0 908.60024 0z m-80.057623 908.60024l-217.533413-217.482193a283.966387 283.966387 0 1 1 127.180472-236.792317 282.737095 282.737095 0 0 1-47.122849 156.171269l217.482193 218.045618z m0 0","p-id":"6477"}}]})}},"6f7c5":function(t,e,a){"use strict";a("8644")},7476:function(t,e,a){"use strict";a("e2a9")},"7d84":function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1625648191383",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2331",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M161.31026678 311.60586655C78.14670233 311.60586655 11.01466698 244.47383238 11.01466698 161.31026678S78.14670233 11.01466698 161.31026678 11.01466698 311.60586655 78.14670233 311.60586655 161.31026678 244.47383238 311.60586655 161.31026678 311.60586655z m701.37946644 0C779.52616762 311.60586655 712.39413345 244.47383238 712.39413345 161.31026678S779.52616762 11.01466698 862.68973322 11.01466698 1012.98533302 78.14670233 1012.98533302 161.31026678 945.85329767 311.60586655 862.68973322 311.60586655z m0 701.37946647c-83.16356561 0-150.29559978-67.13203418-150.29559977-150.2955998s67.13203418-150.29559978 150.29559977-150.29559977 150.29559978 67.13203418 150.2955998 150.29559977-67.13203418 150.29559978-150.2955998 150.2955998z m-701.37946644 0C78.14670233 1012.98533302 11.01466698 945.85329767 11.01466698 862.68973322S78.14670233 712.39413345 161.31026678 712.39413345s150.29559978 67.13203418 150.29559977 150.29559977S244.47383238 1012.98533302 161.31026678 1012.98533302z m200.39413344-901.77359872h300.59119956v100.19706613h-300.59119956V111.2117343z m0 701.37946527h300.59119956v100.19706613h-300.59119956v-100.19706613zM111.2117343 361.70440022h100.19706613v300.59119956H111.2117343v-300.59119956z m701.37946527 0h100.19706613v300.59119956h-100.19706613v-300.59119956z","p-id":"2332"}}]})}},8047:function(t,e,a){},8341:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604125456107",class:"icon",viewBox:"0 0 1280 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1947",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M1224.89765492 92.64843777L50.71328222 92.64843777C27.56507601 92.64843777 8.77812571 73.86148845 8.77812571 50.71328222 8.77812571 27.56507601 27.56507601 8.77812571 50.71328222 8.77812571L1224.89765492 8.77812571C1248.04586113 8.77812571 1266.83281143 27.56507601 1266.83281143 50.71328222 1266.83281143 73.86148845 1248.04586113 92.64843777 1224.89765492 92.64843777ZM92.64843777 344.25937491L1182.96249937 344.25937491C1229.25891181 344.25937491 1266.83281143 381.83327551 1266.83281143 428.12968794 1266.83281143 474.42610038 1229.25891181 512 1182.96249937 512L92.64843777 512C46.35202533 512 8.77812571 474.42610038 8.77812571 428.12968794 8.77812571 381.83327551 46.35202533 344.25937491 92.64843777 344.25937491ZM92.64843777 763.61093714L1182.96249937 763.61093714C1229.25891181 763.61093714 1266.83281143 801.18483676 1266.83281143 847.4812492L1266.83281143 931.35156223C1266.83281143 977.64797467 1229.25891181 1015.22187429 1182.96249937 1015.22187429L92.64843777 1015.22187429C46.35202533 1015.22187429 8.77812571 977.64797467 8.77812571 931.35156223L8.77812571 847.4812492C8.77812571 801.18483676 46.35202533 763.61093714 92.64843777 763.61093714Z","p-id":"1948"}}]})}},"83abb":function(t,e,a){"use strict";a("0e31")},8644:function(t,e,a){},"87be":function(t,e,a){"use strict";a("e187")},"87ee":function(t,e,a){},"89a2":function(t,e,a){"use strict";a.d(e,"d",(function(){return n})),a.d(e,"a",(function(){return o})),a.d(e,"c",(function(){return c})),a.d(e,"b",(function(){return r}));var s=a("b775"),i={list:"/content.article.category/list",add:"/content.article.category/add",edit:"/content.article.category/edit",delete:"/content.article.category/delete"};function n(t){return Object(s["b"])({url:i.list,method:"get",params:t})}function o(t){return Object(s["b"])({url:i.add,method:"post",data:t})}function c(t){return Object(s["b"])({url:i.edit,method:"post",data:t})}function r(t){return Object(s["b"])({url:i.delete,method:"post",data:t})}},"8b63":function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604124254166",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7112",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M788.551 292.895c-74.801 0-135.633-60.832-135.633-135.605V1.119H165.282c-45.595 0-82.548 36.982-82.548 82.549v856.719c0 45.567 36.955 82.493 82.548 82.493h693.46c45.571 0 82.523-36.926 82.523-82.493V292.894H788.551z m16.533 546.221H218.885v-55.301h586.199v55.301z m0-176.966H218.885v-55.301h586.199v55.301z m0-176.966H218.885v-55.301h586.199v55.301z","p-id":"7113"}},{tag:"path",attrsMap:{d:"M706.002 1.119V157.29c0 45.567 36.955 82.493 82.549 82.493h152.714L706.002 1.121z","p-id":"7114"}}]})}},"8dca":function(t,e,a){"use strict";a("8047")},"8ff1":function(t,e,a){"use strict";a("87ee")},"973b":function(t,e,a){"use strict";a("d6ce")},98395:function(t,e,a){},9989:function(t,e,a){"use strict";a("f54a")},a2e7:function(t,e,a){"use strict";a("d9ba")},a50a:function(t,e,a){},a592:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1625648097038",class:"icon",viewBox:"0 0 1224 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"36974",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M1166.44271 403.712526c37.848049-23.129363 42.053388-44.156057 42.053389-79.901438V128.262834c0-60.977413-52.566735-113.544148-113.544148-113.544148H115.108008c-60.977413 0-113.544148 52.566735-113.544148 113.544148v195.548254c0 31.540041 4.205339 58.874743 42.053388 79.901438 27.334702 14.718686 90.414784 48.361396 90.414785 117.749486 0 75.696099-44.156057 100.928131-86.209446 113.544148h-4.205339c-37.848049 23.129363-42.053388 60.977413-42.053388 79.901438v195.548254c0 60.977413 52.566735 113.544148 113.544148 113.544148h977.741273c60.977413 0 113.544148-52.566735 113.544148-113.544148V714.907598c0-37.848049-14.718686-52.566735-42.053388-75.696099-67.285421-35.74538-88.312115-63.080082-88.312115-117.749487 0-52.566735 21.026694-79.901437 90.414784-117.749486z m-378.480492 166.110883c21.026694 0 37.848049 16.821355 37.848049 37.848049s-16.821355 37.848049-37.848049 37.848049h-145.084189v145.084189c0 21.026694-16.821355 37.848049-37.84805 37.848049s-37.848049-16.821355-37.848049-37.848049v-145.084189h-145.084189c-21.026694 0-37.848049-16.821355-37.848049-37.848049s16.821355-37.848049 37.848049-37.848049h145.084189v-90.414785h-155.597536c-21.026694 0-37.848049-16.821355-37.848049-37.848049s16.821355-37.848049 37.848049-37.848049h113.544148l-119.852156-119.852156c-14.718686-14.718686-14.718686-37.848049 0-52.566736s37.848049-14.718686 52.566735 0l147.186858 147.186859 147.186859-147.186859c14.718686-14.718686 37.848049-14.718686 52.566735 0s14.718686 37.848049 0 52.566736l-119.852156 119.852156h109.338809c21.026694 0 37.848049 16.821355 37.848049 37.848049s-16.821355 37.848049-37.848049 37.848049h-155.597536v90.414785h149.289528z","p-id":"36975"}}]})}},a6e6:function(t,e,a){"use strict";a("ad2b")},ad2b:function(t,e,a){},b043:function(t,e,a){"use strict";a.r(e);a("b0c0");var s=function(){var t=this,e=t._self._c;return e("a-card",{attrs:{bordered:!1}},[e("div",{staticClass:"card-title"},[t._v("分类页模板")]),e("a-spin",{attrs:{spinning:t.isLoading}},[e("div",{staticClass:"container clearfix"},[e("div",{staticClass:"preview fl-l"},[t.form.getFieldValue("style")?e("img",{attrs:{src:"static/img/category/".concat(t.form.getFieldValue("style"),".png")}}):t._e()]),e("div",{staticClass:"form-box fl-r"},[e("a-form",{attrs:{form:t.form},on:{submit:t.handleSubmit}},[e("a-form-item",{attrs:{label:"分类页样式",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-radio-group",{directives:[{name:"decorator",rawName:"v-decorator",value:["style",{initialValue:t.PageCategoryStyleEnum.TWO_LEVEL.value,rules:[{required:!0}]}],expression:"['style', { initialValue: PageCategoryStyleEnum.TWO_LEVEL.value, rules: [{ required: true }] }]"}]},t._l(t.PageCategoryStyleEnum.data,(function(a,s){return e("a-radio",{key:s,attrs:{value:a.value}},[t._v(t._s(a.name))])})),1),e("div",{staticClass:"form-item-help"},[t.form.getFieldValue("style")==t.PageCategoryStyleEnum.ONE_LEVEL_BIG.value?e("p",{staticClass:"extra"},[t._v("分类图尺寸:宽度750像素 高度不限")]):t._e(),t.form.getFieldValue("style")==t.PageCategoryStyleEnum.ONE_LEVEL_SMALL.value?e("p",{staticClass:"extra"},[t._v("分类图尺寸:宽度188像素 高度188像素")]):t._e(),t.form.getFieldValue("style")==t.PageCategoryStyleEnum.TWO_LEVEL.value?e("p",{staticClass:"extra"},[t._v("分类图尺寸:宽度150像素 高度150像素")]):t._e(),t.form.getFieldValue("style")==t.PageCategoryStyleEnum.COMMODITY.value?e("p",{staticClass:"extra"},[t._v("右侧是一级分类,左侧展示商品列表")]):t._e()])],1),e("a-form-item",{attrs:{label:"分享标题",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["shareTitle"],expression:"['shareTitle']"}]}),e("div",{staticClass:"form-item-help"},[e("p",{staticClass:"extra"},[t._v("分类页面分享时的标题内容")])])],1),e("a-form-item",{directives:[{name:"show",rawName:"v-show",value:t.form.getFieldValue("style")==t.PageCategoryStyleEnum.COMMODITY.value,expression:"form.getFieldValue('style') == PageCategoryStyleEnum.COMMODITY.value"}],attrs:{label:"购物车按钮",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-radio-group",{directives:[{name:"decorator",rawName:"v-decorator",value:["showAddCart",{rules:[{required:!0}]}],expression:"['showAddCart', { rules: [{ required: true }] }]"}]},[e("a-radio",{attrs:{value:!0}},[t._v("显示")]),e("a-radio",{attrs:{value:!1}},[t._v("隐藏")])],1),e("div",{staticClass:"form-item-help"},[e("p",{staticClass:"extra"},[t._v("是否显示加入购物车图标按钮")])])],1),e("a-form-item",{directives:[{name:"show",rawName:"v-show",value:t.form.getFieldValue("style")==t.PageCategoryStyleEnum.COMMODITY.value,expression:"form.getFieldValue('style') == PageCategoryStyleEnum.COMMODITY.value"}],attrs:{label:"按钮样式",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-radio-group",{directives:[{name:"decorator",rawName:"v-decorator",value:["cartStyle",{rules:[{required:!0}]}],expression:"['cartStyle', { rules: [{ required: true }] }]"}]},t._l(3,(function(a,s){return e("a-radio",{key:s,attrs:{value:s+1}},[t._v("样式"+t._s(s+1))])})),1),e("div",{staticClass:"form-item-help"},[e("p",{staticClass:"extra"},[t._v("加入购物车图标按钮的样式")])])],1),e("a-form-item",{attrs:{wrapperCol:{span:t.wrapperCol.span,offset:t.labelCol.span}}},[e("a-button",{attrs:{type:"primary","html-type":"submit"}},[t._v("提交")])],1)],1)],1)])])],1)},i=[],n=(a("d3b7"),a("ddb0"),a("88bc")),o=a.n(n),c=a("f585"),r=a("35c4"),l=a("5c06"),u=new l["a"]([{key:"COMMODITY",name:"分类+商品",value:30},{key:"ONE_LEVEL_BIG",name:"一级分类[大图]",value:10},{key:"ONE_LEVEL_SMALL",name:"一级分类[小图]",value:11},{key:"TWO_LEVEL",name:"二级分类",value:20}]),d={components:{},data:function(){return{key:r["a"].PAGE_CATEGORY_TEMPLATE.value,labelCol:{span:5},wrapperCol:{span:19},isLoading:!1,PageCategoryStyleEnum:u,form:this.$form.createForm(this),record:{}}},created:function(){this.getDetail()},methods:{getDetail:function(){var t=this;this.isLoading=!0,c["a"](this.key).then((function(e){t.record=e.data.values,t.setFieldsValue()})).finally((function(){return t.isLoading=!1}))},setFieldsValue:function(){var t=this.record,e=this.form.setFieldsValue;this.$nextTick((function(){e(o()(t,["style","shareTitle","showAddCart","cartStyle"]))}))},handleSubmit:function(t){var e=this;t.preventDefault();var a=this.form.validateFields;a((function(t,a){!t&&e.onFormSubmit(a)}))},onFormSubmit:function(t){var e=this;this.isLoading=!0,c["b"](this.key,{form:t}).then((function(t){return e.$message.success(t.message,1.5)})).finally((function(){return e.isLoading=!1}))}}},p=d,m=(a("bc6c"),a("2877")),v=Object(m["a"])(p,s,i,!1,null,"84d59b38",null);e["default"]=v.exports},b10d:function(t,e,a){"use strict";a("bc58")},b6e1:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1625710690320",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6345",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M308.266667 501.33333367L712.149333 10.66666667l-90.282666 381.610667L778.666667 501.33333367 256 991.99999967l209.066667-436.181333L308.266667 501.33333367z m423.253333-387.242667c145.92 81.706667 244.693333 237.568 244.693333 416.725333 0 263.68-213.76 477.44-477.44 477.44-58.325333 0-113.92-11.008-165.632-30.165333l109.482667-102.826667c18.346667 2.986667 36.992 4.992 56.149333 4.992 192.682667 0 349.44-156.8 349.44-349.44a349.013333 349.013333 0 0 0-147.84-285.013333l31.146667-131.712zM149.333333 530.77333367c0 116.266667 57.301333 219.178667 144.896 282.709333L238.165333 930.55999967C107.690667 845.31199967 21.333333 698.19733367 21.333333 530.77333367 21.333333 267.09333367 235.093333 53.33333367 498.773333 53.33333367c38.528 0 75.776 5.034667 111.701334 13.653333l-94.805334 115.2c-5.632-0.298667-11.178667-0.853333-16.896-0.853333C306.090667 181.33333367 149.333333 338.09066667 149.333333 530.77333367z","p-id":"6346"}}]})}},b9b7:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABKCAYAAAAc0MJxAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUUzRTdCRDQxOTNGMTFFOTkwOTZEMjdDNzI4RTcxOTkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUUzRTdCRDMxOTNGMTFFOTkwOTZEMjdDNzI4RTcxOTkiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjI3NDBFQjI3ODdGQTExRTc5QTEyQzRFMDUxNjk4ODE5IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjI3NDBFQjI4ODdGQTExRTc5QTEyQzRFMDUxNjk4ODE5Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+ZiCNZAAABbtJREFUeNrsXHuMXFMc/s3uPHd3WrvtqqaIoildj3hUJZTSpl5REf8QEhKvoCVChf5D4i+PiFRJZQn+QKV/iEdUlBYJESlF1CNKPXdVg3Yf9tHZWd8399zN7Ow87p17zuy9c+dLvrTJzJ5773e/8zvn95tzTqSnb1ymAQvBE8EjwfngIvAwsANsASPgELgf/Av8FtwN/qr+/xWo5cbnpp19L1IjoY4AV4Lng2eAx3ps7zfwc3AruB38JuhCrQLXgMvAqMHrfAo+Bb4CDgdFqJngLeC14HE17tK94IvgeuU63wp1v3LQLJleHASfBteB/TqEatLYxb4GH/CBSEQMXK0GgJt1NOhVqHbwZfA1sEv8h0PBjSrgL5wuoc5RQ/WV4n9wMNkFXldroWjrD8A5Ehw0g8+Bj9RKKI4oT0hwcTf4pmmhutWoFnRcAm4zJdQz4A1SPzgP/FC3UOxq10v9YWlvv7yrS6hbVfCuVyyHWBu8zswXqzwqDLgJs/TuaoRKgn+q3C0sWACxdrvteptCJhLxltsYtRy8TMKHBYhXd7nper+IVX0MI8ZYVEAX3FfJUfeFWCQ71emu5CgG8ANgXBqYFNgLHbWmIdIEHiznqB72z4ZGE0jDVQOFjrqoIdIUrC3W9dY1dJmC1YVdjyXTvUG5+5aYSCIqEsVrzuL2RzIiw2Ama+RyZ6P7fWQ76tKgiHQIxuWZYFIJFcdgnk6IdLZiXI8YueQV+V1vRRBEojipWJnImzBy2RX5Qi0NRJerMHGhiBH9rupCWjOHQnEdwLxATJkjer7jEtToLK4HOK1WD8q3nVIrEEbH3Aff7Lie71SBo3nbh9cqvjAIN+W98aGDIvtdLKkYHEXwTpX+nO0ZEupk2mp+LURqT00WyY4ps1qctzOspgGl0D9qLu+joxaZFInDd3uq/Od02gGHzvp3SKQtbv1dFMxmrS48CDeNZY09RnvUZCCngZw4hhNIdpn+EWftDoxKrdHGrmes3JuMubgTuCTW7N8pHIVKGXsNLgs2HSnfCsUkQIxM/FMqxXA1YYn4VqwIH2XYiJuqTCeY7CajvhMqQ6H6TPg06mHlFUdBpw7kQJCKGRdqhI/Ta6IM4ilncNAF6TxWDCgqKwqzW40KNUChvtMenzS84US0tLNYJegomMDGmtxNXl2ij0L9qHuC2RTR58wZialilBpNee02Mz+N/MSw+YfOFhOaA3Fr3GqTs24nbdNt/+nP+XbSUV/qdpSJwcHNC5ihv4C3h0JxA87fusoocR/Mrhkjm5u0NvmJ3dzHfnVTrbKCcvFpbtpyFLFNVxfxC1L6YmVOG/vRXtfRYsxHQuWqqXomoq/mTGDbS6yV/V1eb2583D9iJZqtqqcHsKDzTr5QxMPgC15aZVGtzvAs4lOuplq4SINbttqkARvzIFRPfoyysbGhzQS22yIVc1SnWJudGxBZAqEmlo4XOmpfw1U57MgXqZijiKRyVTrEQh0PoSZVVYrNfFjxvD3EIm0oFKmUo2x8Bp4aMpF4IEWnPSWo5Cgbq0LopsuLiVRJKNaprg6RSI9CpPdLfVgpO3sJfCwEIm2BSGvLpmcOD4h4G7ygTkX6GSJVXKjiNN+/UFxsKw0QeHrQmU6+6KYwcq5YW/jrBdwYtRhu2qtbKGKZXXYIOL4X63gmx+laNaU2xqr1ARaJRcoT3Oa01dYk7wBvC6BIPEWDGzYzbv/QS/GWB1udombwfsfv4MXgPdU24LXK/QV4OnivWGfS+RGPi3Xg1xYvjej6OeAhsY4d2uQjgd4T6ziCO8FBr43p/N2ER6VdpRLp58UqzE8H3hBrWwa5Q1ejJg8D5CLaG8FrwGMMi8O50GbwSXG5Osdvx0vyeICV6i2fJHpOUNylsoWtKv5UtXLQb0IVOm0JeJQSjXtxZoNcCsblY/aP4Rk1QDC+/MOcDNwJ7lH//qDjZpwK9b8AAwAeZy8nb/3BrwAAAABJRU5ErkJggg=="},bc58:function(t,e,a){},bc6c:function(t,e,a){"use strict";a("cc6e")},bcdd:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1625645035412",class:"icon",viewBox:"0 0 1147 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"14811",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M1038.020219 178.928351 106.89802 178.928351 10.24 431.8492C10.24 507.56499 73.069837 570.38696 150.394994 570.38696 227.71386 570.38696 292.153063 509.174358 292.153063 431.8492 292.153063 507.56499 354.9829 570.38696 432.308058 570.38696 509.633217 570.38696 574.066127 509.174358 574.066127 431.8492 574.066127 507.56499 636.895965 570.38696 714.221122 570.38696 791.547853 570.38696 854.369823 509.174358 854.369823 431.8492 854.369823 507.56499 917.199661 570.38696 996.135758 570.38696 1073.460916 570.38696 1137.90012 509.174358 1137.90012 431.8492L1038.020219 178.928351 1038.020219 178.928351ZM960.69506 613.883935 960.69506 936.073665 187.445059 936.073665 187.445059 613.883935 106.89802 613.883935 106.89802 952.186218C106.89802 981.180006 139.118409 1016.619131 168.112197 1016.619131L978.418557 1016.619131C1007.410772 1016.619131 1039.631159 981.180006 1039.631159 952.186218L1039.631159 613.883935 960.69506 613.883935 960.69506 613.883935ZM1038.020219 177.318984 1038.020219 177.318984 1041.240527 180.134984 1038.020219 177.318984 1038.020219 177.318984ZM171.330932 114.495439 976.801323 114.495439C1004.192035 114.495439 1025.134266 93.553209 1025.134266 66.16407 1025.134266 38.779649 1004.192035 17.837419 976.801323 17.837419L171.330932 17.837419C143.948085 17.837419 123.005855 38.779649 123.005855 66.16407 123.005855 93.553209 143.948085 114.495439 171.330932 114.495439L171.330932 114.495439Z","p-id":"14812"}}]})}},bd2c:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604125485152",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1947",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M511.76459952 340.77179268h-2.51707557c-1.13228947 12.64850194-3.61780295 24.79464083-7.51966458 36.49891067l-49.33678506 150.77861228h115.0976854l-49.05404147-149.64632281c-3.1456869-9.46993788-5.38001886-22.02506867-6.67011872-37.63120014z","p-id":"1948"}},{tag:"path",attrsMap:{d:"M7.03966189 6.99363386v1009.98643056h1009.98643055v-1009.98643056h-1009.98643055z m192.1985766 875.73451031c-28.91612193 0-52.35753875-23.44141683-52.35753875-52.35753875s23.44141683-52.35753875 52.35753875-52.35753875 52.35753875 23.44141683 52.35753876 52.35753875-23.44141683 52.35753875-52.35753876 52.35753875z m0-631.18234021c-28.91612193 0-52.35753875-23.44141683-52.35753875-52.35753875s23.44141683-52.35753875 52.35753875-52.35753876 52.35753875 23.44141683 52.35753876 52.35753876-23.44141683 52.35753875-52.35753876 52.35753875z m422.30715172 446.47712646l-32.31430543-98.92475165H432.34784099l-31.77906523 98.92475165h-99.74273546l157.9839712-431.66530724h108.14482309L721.8878051 698.02293042h-100.34241489z m199.93917574 184.70521375c-28.91612193 0-52.35753875-23.44141683-52.35753874-52.35753875s23.44141683-52.35753875 52.35753874-52.35753875 52.35753875 23.44141683 52.35753875 52.35753875-23.44141683 52.35753875-52.35753875 52.35753875z m0-631.18234021c-28.91612193 0-52.35753875-23.44141683-52.35753874-52.35753875s23.44141683-52.35753875 52.35753874-52.35753876 52.35753875 23.44141683 52.35753875 52.35753876-23.44141683 52.35753875-52.35753875 52.35753875z","p-id":"1949"}}]})}},bfcf:function(t,e,a){"use strict";a.d(e,"f",(function(){return n})),a.d(e,"b",(function(){return o})),a.d(e,"d",(function(){return c})),a.d(e,"g",(function(){return r})),a.d(e,"a",(function(){return l})),a.d(e,"e",(function(){return u})),a.d(e,"c",(function(){return d}));var s=a("b775"),i={list:"/page/list",defaultData:"/page/defaultData",detail:"/page/detail",add:"/page/add",edit:"/page/edit",delete:"/page/delete",setHome:"/page/setHome"};function n(t){return Object(s["b"])({url:i.list,method:"get",params:t})}function o(t){return Object(s["b"])({url:i.defaultData,method:"get",params:t})}function c(t){return Object(s["b"])({url:i.detail,method:"get",params:t})}function r(t){return Object(s["b"])({url:i.setHome,method:"post",data:t})}function l(t){return Object(s["b"])({url:i.add,method:"post",data:t})}function u(t){return Object(s["b"])({url:i.edit,method:"post",data:t})}function d(t){return Object(s["b"])({url:i.delete,method:"post",data:t})}},c207:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"container"},[e("a-spin",{attrs:{spinning:t.isLoading}},[e("div",{staticClass:"work-content"},[e("Components",{on:{handleClickItem:t.onAddItem}}),t.isLoading?t._e():e("Phone",{attrs:{data:t.data,selectedIndex:t.selectedIndex},on:{onEditer:t.onEditer,onDeleleItem:t.onDeleleItem}}),t.isLoading?t._e():e("Editor",{attrs:{defaultData:t.defaultData,data:t.data,selectedIndex:t.selectedIndex,curItem:t.curItem}})],1),e("div",{staticClass:"footer"},[e("div",{staticClass:"footer-content"},[e("a-button",{attrs:{type:"primary",loading:t.isLoading},on:{click:t.onFormSubmit}},[t._v("保存")])],1)])])],1)},i=[],n=(a("d3b7"),a("3ca3"),a("ddb0"),a("d81d"),a("a434"),a("2ef0")),o=a.n(n),c=a("b76a"),r=a.n(c),l=a("ca00"),u=a("bfcf"),d=a("2af9"),p=a("3eca"),m={components:{SelectImage:d["h"],draggable:r.a,Components:p["a"],Phone:p["c"],Editor:p["b"]},data:function(){return{isLoading:!1,defaultData:{},data:{page:{},items:[]},selectedIndex:"page",curItem:{},pageId:null}},created:function(){this.pageId=this.$route.query.pageId,this.initData()},methods:{initData:function(){var t=this;this.isLoading=!0,Promise.all([this.getDefaultData(),this.getPageData()]).then((function(){t.isLoading=!1}))},getDefaultData:function(){var t=this;return new Promise((function(e,a){u["b"]().then((function(a){t.defaultData=a.data,e()}))}))},getPageData:function(){var t=this,e=this.pageId;return new Promise((function(a,s){u["d"]({pageId:e}).then((function(e){t.data=e.data.detail.page_data,a()}))}))},onAddItem:function(t){if(!this.onCheckAddItem(t))return!1;var e=this.defaultData,a=this.data,s=o.a.cloneDeep(e.items[t]);a.items.push(s),this.onEditer(a.items.length-1)},onCheckAddItem:function(t){var e=this.data;if("officialAccount"===t){var a=e.items.map((function(t){return t.type}));if(Object(l["e"])(t,a))return this.$message.warning("该组件最多存在一个"),!1}return!0},onEditer:function(t){var e=this.data;this.selectedIndex=t,this.curItem="page"===t?e.page:e.items[t]},onDeleleItem:function(t){var e=this.data.items;e.splice(t,1),this.selectedIndex=-1},onEditorResetColor:function(t,e,a){t[e]=a},onFormSubmit:function(){var t=this;this.isLoading=!0;var e=this.pageId,a=this.data,s=this.$message;u["e"]({pageId:e,form:a}).then((function(t){s.success(t.message,1.5)})).finally((function(){return t.isLoading=!1}))}}},v=m,f=(a("87be"),a("2877")),h=Object(f["a"])(v,s,i,!1,null,"73348f18",null);e["default"]=h.exports},c2b5:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604125589521",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2075",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M938.666667 0h-853.333334C38.229333 0 0 38.229333 0 85.333333v853.333334c0 47.104 38.229333 85.333333 85.333333 85.333333h853.333334c47.104 0 85.333333-38.229333 85.333333-85.333333v-853.333334C1024 38.229333 985.770667 0 938.666667 0m-152.234667 530.432c-19.114667 133.802667-134.485333 237.568-274.432 237.568-139.264 0-254.634667-103.765333-274.432-237.568-26.624-8.192-45.738667-32.085333-45.738667-60.757333 0-35.498667 28.672-64.170667 64.170667-64.170667s64.170667 28.672 64.170667 64.170667c0 26.624-16.384 49.152-39.594667 59.392 18.432 111.274667 114.688 196.608 231.424 196.608s212.992-85.333333 231.424-196.608a63.6928 63.6928 0 0 1-39.594667-59.392c0-35.498667 28.672-64.170667 64.170667-64.170667s64.170667 28.672 64.170667 64.170667c0 28.672-19.797333 52.565333-45.738667 60.757333m173.397333-380.928c0 23.210667-19.114667 43.008-43.008 43.008H106.496c-23.210667 0-43.008-19.114667-43.008-43.008v-43.008c0-23.210667 19.114667-43.008 43.008-43.008h811.008c23.210667 0 43.008 19.114667 43.008 43.008v43.008z","p-id":"2076"}}]})}},c3aa:function(t,e,a){"use strict";a("d04f")},c76f:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},children:[{tag:"title",children:[{text:"volume-fill"}]},{tag:"path",attrsMap:{d:"M16.432 4.362c0.592-0.355 1.347 0.070 1.347 0.762v21.75c0 0.691-0.755 1.117-1.347 0.762l-7.12-4.272c-0.275-0.166-0.592-0.253-0.915-0.253h-4.842c-0.982 0-1.779-0.794-1.779-1.779v-10.666c0-0.982 0.794-1.779 1.779-1.779h4.838c0.323 0 0.64-0.086 0.915-0.253l7.123-4.272zM22.026 9.088c1.846 1.846 2.864 4.301 2.864 6.915 0 2.611-1.018 5.066-2.864 6.912-0.166 0.166-0.394 0.262-0.63 0.262-0.227 0-0.454-0.086-0.627-0.262-0.346-0.346-0.346-0.909 0-1.258 1.514-1.51 2.342-3.517 2.342-5.654s-0.829-4.147-2.342-5.658c-0.346-0.346-0.346-0.909 0-1.258s0.909-0.349 1.258 0zM25.798 5.315c2.854 2.854 4.426 6.65 4.426 10.685s-1.571 7.83-4.426 10.685c-0.166 0.166-0.394 0.262-0.63 0.262-0.227 0-0.454-0.086-0.627-0.262-0.346-0.346-0.346-0.909 0-1.258 2.518-2.518 3.904-5.866 3.904-9.427s-1.386-6.909-3.904-9.43c-0.346-0.346-0.346-0.909 0-1.258 0.346-0.346 0.909-0.346 1.258 0.003z"}}]})}},cc6e:function(t,e,a){},d04f:function(t,e,a){},d1392:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604124615799",class:"icon",viewBox:"0 0 1152 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1208",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M1109.333333 0H42.666667C17.066667 0 0 17.066667 0 42.666667v938.666666c0 25.6 17.066667 42.666667 42.666667 42.666667h1066.666666c21.333333 0 42.666667-17.066667 42.666667-42.666667V42.666667c0-25.6-17.066667-42.666667-42.666667-42.666667z m-85.333333 896H128v-341.333333l170.666667-128 384 256 128-170.666667 213.333333 170.666667v213.333333zM896 384c-72.533333 0-128-55.466667-128-128s55.466667-128 128-128 128 55.466667 128 128-55.466667 128-128 128z","p-id":"1209"}}]})}},d2a7:function(t,e,a){},d38e:function(t,e,a){},d633:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604124292684",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5589",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M953.27858574 1019.1309824H620.79151218c-34.9986395 0-64.03609941-28.35052771-64.03609941-63.33752434V626.19383011c0-34.92878222 29.10731833-69.10077269 64.03609941-69.10077269h332.48707356c34.92878222 0 65.50310912 34.13706297 65.50310912 69.10077269v329.61127083c0 34.98699662-30.52775538 63.33752434-65.50310912 63.33752434z m0-553.36504661H620.79151218c-34.9986395 0-64.03609941-30.50446962-64.03609941-65.50310912V69.17290439c0-34.92878222 29.10731833-66.21332707 64.03609941-66.21332708h332.48707356c34.92878222 0 65.50310912 31.24961621 65.50310912 66.21332708v331.10156516c0 34.9986395-30.52775538 65.50310912-65.50310912 65.50310912zM400.6354011 1019.1309824H66.70460473a63.32588146 63.32588146 0 0 1-63.33752434-63.33752434V626.19383011c0-34.92878222 28.35052771-69.10077269 63.33752434-69.10077269h333.93079637c34.92878222 0 64.03609941 34.13706297 64.03609941 69.10077269v329.61127083c0 34.98699662-29.10731833 63.33752434-64.03609941 63.33752434z m0-553.36504661H66.70460473c-34.98699662 0-63.33752434-30.50446962-63.33752434-65.50310912V69.17290439c0-34.92878222 28.35052771-66.21332707 63.33752434-66.21332708h333.93079637c34.92878222 0 64.03609941 31.24961621 64.03609941 66.21332708v331.10156516c0 34.9986395-29.10731833 65.50310912-64.03609941 65.50310912z m-5.04138752-392.93715229H72.47949597v323.11451762h323.11451761V72.8287835z","p-id":"5590"}}]})}},d6ce:function(t,e,a){},d918:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604124319609",class:"icon",viewBox:"0 0 1170 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6222",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M603.794 6.89L302.011 204.373H151.485A152.208 152.208 0 0 0 0.01 358.043v307.562a151.989 151.989 0 0 0 151.476 153.598h150.526l301.783 197.483c42.642 18.87 75.702-1.317 75.702-43.885V51.214c0.073-43.08-33.864-62.683-75.702-44.324zM858.109 254.987a37.156 37.156 0 0 0-53.32-1.829 38.985 38.985 0 0 0-1.83 54.345 224.911 224.911 0 0 1 31.378 50.395 351.08 351.08 0 0 1 33.938 154.036 351.08 351.08 0 0 1-33.864 154.11 224.984 224.984 0 0 1-31.378 50.395 38.911 38.911 0 0 0 1.828 54.344 37.23 37.23 0 0 0 53.394-1.828 293.006 293.006 0 0 0 43.885-68.973 429.05 429.05 0 0 0 41.618-188.048 428.977 428.977 0 0 0-41.252-188.12 295.2 295.2 0 0 0-43.885-68.827z","p-id":"6223"}},{tag:"path",attrsMap:{d:"M1089.675 207.372a469.79 469.79 0 0 0-82.942-108.69 37.23 37.23 0 0 0-53.32 3.22 38.911 38.911 0 0 0 3.144 54.27 254.46 254.46 0 0 1 20.188 21.943 472.057 472.057 0 0 1 47.98 68.607 523.257 523.257 0 0 1 70.217 265.505 523.037 523.037 0 0 1-70.655 265.285 477.982 477.982 0 0 1-47.981 68.607 254.168 254.168 0 0 1-20.187 21.943 39.058 39.058 0 0 0-3.072 54.27 37.302 37.302 0 0 0 53.32 3.146 468.108 468.108 0 0 0 83.235-108.835 600.567 600.567 0 0 0 80.968-304.709 599.763 599.763 0 0 0-80.895-304.562z","p-id":"6224"}}]})}},d9ba:function(t,e,a){},e056:function(t,e,a){"use strict";a("d38e")},e187:function(t,e,a){},e2a9:function(t,e,a){},e50c:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1649323856395",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4647",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M885.19111111 2.27555555H138.80888889c-75.43466667 0-136.53333333 61.09866667-136.53333334 136.53333334v746.38222222c0 75.43466667 61.09866667 136.53333333 136.53333334 136.53333334h746.38222222c75.43466667 0 136.53333333-61.09866667 136.53333334-136.53333334V138.80888889c0-75.43466667-61.09866667-136.53333333-136.53333334-136.53333334zM617.58577778 649.89866667c-16.27022222 2.95822222-32.99555555-1.36533333-45.85244445-11.94666667L410.51022222 506.42488889c-18.432 43.23555555-37.77422222 77.824-56.54755555 111.50222222l-1.024 1.93422222c-25.94133333 45.96622222-52.79288889 93.52533333-81.35111112 168.73244445-5.34755555 14.44977778-15.81511111 25.82755555-29.696 32.31288889-7.50933333 3.52711111-15.58755555 5.23377778-23.66577777 5.23377778-6.59911111 0-13.19822222-1.13777778-19.56977778-3.52711112l-24.91733333-9.10222222c-28.672-11.15022222-42.66666667-38.57066667-33.33688889-64.96711111l0.11377777-0.34133333C175.21777778 655.01866667 208.21333333 596.53688889 234.72355555 549.54666667l1.93422223-3.52711112c18.09066667-32.65422222 33.90577778-61.32622222 48.35555555-95.6871111l-13.19822222-4.89244445c-29.696-10.69511111-45.056-44.032-34.13333333-74.18311111l48.24177777-134.94044444c5.12-14.56355555 15.47377778-26.28266667 29.2408889-32.768 13.76711111-6.59911111 29.46844445-7.28177778 44.032-2.048l0.22755555 0.11377777 96.256 35.61244445c12.62933333 4.89244445 26.624 7.62311111 41.52888889 7.96444444l212.76444444 5.00622222c16.49777778 0.45511111 31.97155555 8.07822222 42.55288889 20.82133334 10.69511111 12.97066667 15.24622222 30.03733333 12.51555556 46.76266666-8.192 52.90666667-21.73155555 105.92711111-40.16355556 157.58222222-17.97688889 50.63111111-40.84622222 100.01066667-67.92533333 146.77333334-8.53333333 14.67733333-22.86933333 24.80355555-39.36711111 27.76177778z m195.01511111 162.01955555c-4.43733333 4.89244445-10.58133333 7.28177778-16.72533334 7.28177778-5.46133333 0-11.03644445-2.048-15.36-6.03022222l-108.544-100.01066667c-9.216-8.53333333-9.78488889-22.86933333-1.36533333-32.19911111 8.53333333-9.216 22.86933333-9.78488889 32.19911111-1.36533333l108.544 100.01066666c9.216 8.64711111 9.78488889 22.98311111 1.25155556 32.31288889z m51.65511111-186.82311111l-103.53777778 2.84444444h-0.68266667c-12.288 0-22.41422222-9.78488889-22.75555555-22.18666666-0.34133333-12.51555555 9.55733333-22.98311111 22.07288889-23.32444444l103.53777778-2.84444445c12.51555555-0.34133333 22.98311111 9.55733333 23.32444444 22.07288889 0.56888889 12.62933333-9.32977778 23.09688889-21.95911111 23.43822222z","p-id":"4648"}},{tag:"path",attrsMap:{d:"M661.27644445 341.33333333l-25.1448889-3.98222222c-7.05422222-1.024-13.53955555 3.98222222-14.56355555 11.03644444-4.89244445 27.53422222-11.94666667 54.72711111-21.504 81.23733334-9.55733333 26.624-21.04888889 52.224-35.15733333 76.34488889-2.95822222 6.48533333-1.47911111 14.10844445 4.55111111 18.09066667l22.07288889 14.10844444c6.03022222 3.98222222 14.56355555 2.048 18.09066666-4.55111111 15.58755555-27.07911111 28.55822222-55.75111111 39.13955556-85.33333333 10.58133333-29.58222222 18.09066667-60.18844445 23.552-91.36355556 1.47911111-7.50933333-3.98222222-14.56355555-11.03644444-15.58755556z","p-id":"4649"}}]})}},e7a7:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1649323640965",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5161",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M891.4944 0C961.8432 0 1018.88 57.0368 1018.88 127.3856v764.1088c0 70.3488-57.0368 127.3856-127.3856 127.3856H127.3856A127.3856 127.3856 0 0 1 0 891.4944V127.3856C0 57.0368 57.0368 0 127.3856 0h764.1088z m-63.5904 191.0784h-636.928v636.8256h636.928v-636.928z m-79.9744 77.6192v481.5872H271.0528V268.6976h476.8768z m-97.0752 17.92h-79.872v56.1152H310.8864v77.6192h180.736L299.2128 628.736l59.1872 51.8144 212.48-229.376v195.584h-63.6928v76.8h143.6672V420.4544H716.8v-77.6192h-65.9456v-56.1152z","p-id":"5162"}}]})}},ead9:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"container"},[e("a-spin",{attrs:{spinning:t.isLoading}},[e("div",{staticClass:"work-content"},[e("Components",{on:{handleClickItem:t.onAddItem}}),t.isLoading?t._e():e("Phone",{attrs:{data:t.data,selectedIndex:t.selectedIndex},on:{onEditer:t.onEditer,onDeleleItem:t.onDeleleItem}}),t.isLoading?t._e():e("Editor",{attrs:{defaultData:t.defaultData,data:t.data,selectedIndex:t.selectedIndex,curItem:t.curItem}})],1),e("div",{staticClass:"footer"},[e("div",{staticClass:"footer-content"},[e("a-button",{attrs:{type:"primary",loading:t.isLoading},on:{click:t.onFormSubmit}},[t._v("保存")])],1)])])],1)},i=[],n=(a("d3b7"),a("3ca3"),a("ddb0"),a("d81d"),a("a434"),a("2ef0")),o=a.n(n),c=a("b76a"),r=a.n(c),l=a("ca00"),u=a("bfcf"),d=a("2af9"),p=a("3eca"),m={components:{SelectImage:d["h"],draggable:r.a,Components:p["a"],Phone:p["c"],Editor:p["b"]},data:function(){return{isLoading:!1,defaultData:{},data:{page:{},items:[]},selectedIndex:"page",curItem:{}}},created:function(){this.initData()},methods:{initData:function(){var t=this;this.isLoading=!0,Promise.all([this.getDefaultData()]).then((function(){t.createNewData(),t.isLoading=!1}))},createNewData:function(){var t=this.defaultData,e=this.data;e.page=t.page,e.items=[]},getDefaultData:function(){var t=this;return new Promise((function(e,a){u["b"]().then((function(a){t.defaultData=a.data,e()}))}))},onAddItem:function(t){if(!this.onCheckAddItem(t))return!1;var e=this.defaultData,a=this.data,s=o.a.cloneDeep(e.items[t]);a.items.push(s),this.onEditer(a.items.length-1)},onCheckAddItem:function(t){var e=this.data;if("officialAccount"===t){var a=e.items.map((function(t){return t.type}));if(Object(l["e"])(t,a))return this.$message.warning("该组件最多存在一个"),!1}return!0},onEditer:function(t){var e=this.data;this.selectedIndex=t,this.curItem="page"===t?e.page:e.items[t]},onDeleleItem:function(t){var e=this.data.items;e.splice(t,1),this.selectedIndex=-1},onEditorResetColor:function(t,e,a){t[e]=a},onFormSubmit:function(){var t=this;this.isLoading=!0;var e=this.data,a=this.$message;u["a"]({form:e}).then((function(e){a.success(e.message,1.5),setTimeout((function(){return t.$router.push("./index")}),1500)})).finally((function(){return setTimeout((function(){return t.isLoading=!1}),1500)}))}}},v=m,f=(a("a6e6"),a("2877")),h=Object(f["a"])(v,s,i,!1,null,"168fe336",null);e["default"]=h.exports},f484:function(t,e,a){var s=a("b2b7");t.exports={__esModule:!0,default:s.svgComponent({tag:"svg",attrsMap:{t:"1604125417446",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"58858",width:"200",height:"200"},children:[{tag:"path",attrsMap:{d:"M598.4 0h-169.6c-25.6 0-44.8 19.2-44.8 41.6 0 22.4 19.2 41.6 41.6 41.6h169.6c22.4 0 41.6-19.2 41.6-41.6 3.2-22.4-16-41.6-38.4-41.6zM256 0H137.6C60.8 0 0 60.8 0 137.6V256c0 22.4 19.2 41.6 41.6 41.6S86.4 278.4 86.4 256V137.6c0-28.8 22.4-51.2 51.2-51.2H256c22.4 0 41.6-19.2 41.6-41.6C297.6 19.2 278.4 0 256 0zM41.6 640c22.4 0 41.6-19.2 41.6-41.6v-169.6c0-22.4-19.2-41.6-41.6-41.6S0 403.2 0 425.6v169.6c0 25.6 19.2 44.8 41.6 44.8zM256 937.6H137.6c-28.8 0-51.2-22.4-51.2-51.2V768c0-22.4-19.2-41.6-41.6-41.6S0 745.6 0 768v118.4C0 963.2 60.8 1024 137.6 1024H256c22.4 0 41.6-19.2 41.6-41.6 0-25.6-19.2-44.8-41.6-44.8zM598.4 937.6h-169.6c-22.4 0-41.6 19.2-41.6 41.6 0 22.4 19.2 41.6 41.6 41.6h169.6c22.4 0 41.6-19.2 41.6-41.6 0-22.4-19.2-41.6-41.6-41.6zM982.4 726.4c-22.4 0-41.6 19.2-41.6 41.6v118.4c0 28.8-22.4 51.2-51.2 51.2H768c-22.4 0-41.6 19.2-41.6 41.6 0 22.4 19.2 41.6 41.6 41.6h118.4c73.6 0 137.6-60.8 137.6-137.6V768c0-22.4-19.2-41.6-41.6-41.6zM982.4 384c-22.4 0-41.6 19.2-41.6 41.6v169.6c0 22.4 19.2 41.6 41.6 41.6 22.4 0 41.6-19.2 41.6-41.6v-169.6c0-22.4-19.2-41.6-41.6-41.6zM886.4 0H768c-22.4 0-41.6 19.2-41.6 41.6 0 22.4 19.2 41.6 41.6 41.6h118.4c28.8 0 51.2 22.4 51.2 51.2V256c0 22.4 19.2 41.6 41.6 41.6 25.6 0 44.8-19.2 44.8-41.6V137.6C1024 60.8 963.2 0 886.4 0z","p-id":"58859"}}]})}},f54a:function(t,e,a){},f585:function(t,e,a){"use strict";a.d(e,"a",(function(){return o})),a.d(e,"b",(function(){return c}));var s=a("5530"),i=a("b775"),n={detail:"/setting/detail",update:"/setting/update"};function o(t){return Object(i["b"])({url:n.detail,method:"get",params:{key:t}})}function c(t,e){return Object(i["b"])({url:n.update,method:"post",data:Object(s["a"])({key:t},e)})}},f8f0:function(t,e,a){},fb19:function(t,e,a){(function(e,a){t.exports=a()})("undefined"!==typeof self&&self,(function(){return function(t){var e={};function a(s){if(e[s])return e[s].exports;var i=e[s]={i:s,l:!1,exports:{}};return t[s].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=t,a.c=e,a.d=function(t,e,s){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(a.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(s,i,function(e){return t[e]}.bind(null,i));return s},a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s="fb15")}({"0029":function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"0185":function(t,e,a){var s=a("e5fa");t.exports=function(t){return Object(s(t))}},"01f9":function(t,e,a){"use strict";var s=a("2d00"),i=a("5ca1"),n=a("2aba"),o=a("32e9"),c=a("84f2"),r=a("41a0"),l=a("7f20"),u=a("38fd"),d=a("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),m="@@iterator",v="keys",f="values",h=function(){return this};t.exports=function(t,e,a,b,g,y,C){r(a,e,b);var _,k,x,I=function(t){if(!p&&t in L)return L[t];switch(t){case v:return function(){return new a(this,t)};case f:return function(){return new a(this,t)}}return function(){return new a(this,t)}},w=e+" Iterator",S=g==f,M=!1,L=t.prototype,E=L[d]||L[m]||g&&L[g],T=E||I(g),O=g?S?I("entries"):T:void 0,P="Array"==e&&L.entries||E;if(P&&(x=u(P.call(new t)),x!==Object.prototype&&x.next&&(l(x,w,!0),s||"function"==typeof x[d]||o(x,d,h))),S&&E&&E.name!==f&&(M=!0,T=function(){return E.call(this)}),s&&!C||!p&&!M&&L[d]||o(L,d,T),c[e]=T,c[w]=h,g)if(_={values:S?T:I(f),keys:y?T:I(v),entries:O},C)for(k in _)k in L||n(L,k,_[k]);else i(i.P+i.F*(p||M),e,_);return _}},"02f4":function(t,e,a){var s=a("4588"),i=a("be13");t.exports=function(t){return function(e,a){var n,o,c=String(i(e)),r=s(a),l=c.length;return r<0||r>=l?t?"":void 0:(n=c.charCodeAt(r),n<55296||n>56319||r+1===l||(o=c.charCodeAt(r+1))<56320||o>57343?t?c.charAt(r):n:t?c.slice(r,r+2):o-56320+(n-55296<<10)+65536)}}},"0a49":function(t,e,a){var s=a("9b43"),i=a("626a"),n=a("4bf8"),o=a("9def"),c=a("cd1c");t.exports=function(t,e){var a=1==t,r=2==t,l=3==t,u=4==t,d=6==t,p=5==t||d,m=e||c;return function(e,c,v){for(var f,h,b=n(e),g=i(b),y=s(c,v,3),C=o(g.length),_=0,k=a?m(e,C):r?m(e,0):void 0;C>_;_++)if((p||_ in g)&&(f=g[_],h=y(f,_,b),t))if(a)k[_]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return _;case 2:k.push(f)}else if(u)return!1;return d?-1:l||u?u:k}}},"0a91":function(t,e,a){a("b42c"),a("93c4"),t.exports=a("b77f")},"0bfb":function(t,e,a){"use strict";var s=a("cb7c");t.exports=function(){var t=s(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,a){var s=a("ce10"),i=a("e11e");t.exports=Object.keys||function(t){return s(t,i)}},"0f89":function(t,e,a){var s=a("6f8a");t.exports=function(t){if(!s(t))throw TypeError(t+" is not an object!");return t}},"103a":function(t,e,a){var s=a("da3c").document;t.exports=s&&s.documentElement},1169:function(t,e,a){var s=a("2d95");t.exports=Array.isArray||function(t){return"Array"==s(t)}},"11e9":function(t,e,a){var s=a("52a7"),i=a("4630"),n=a("6821"),o=a("6a99"),c=a("69a8"),r=a("c69a"),l=Object.getOwnPropertyDescriptor;e.f=a("9e1e")?l:function(t,e){if(t=n(t),e=o(e,!0),r)try{return l(t,e)}catch(a){}if(c(t,e))return i(!s.f.call(t,e),t[e])}},"12fd":function(t,e,a){var s=a("6f8a"),i=a("da3c").document,n=s(i)&&s(i.createElement);t.exports=function(t){return n?i.createElement(t):{}}},1495:function(t,e,a){var s=a("86cc"),i=a("cb7c"),n=a("0d58");t.exports=a("9e1e")?Object.defineProperties:function(t,e){i(t);var a,o=n(e),c=o.length,r=0;while(c>r)s.f(t,a=o[r++],e[a]);return t}},1938:function(t,e,a){var s=a("d13f");s(s.S,"Array",{isArray:a("b5aa")})},"1b55":function(t,e,a){var s=a("7772")("wks"),i=a("7b00"),n=a("da3c").Symbol,o="function"==typeof n,c=t.exports=function(t){return s[t]||(s[t]=o&&n[t]||(o?n:i)("Symbol."+t))};c.store=s},"1b8f":function(t,e,a){var s=a("a812"),i=Math.max,n=Math.min;t.exports=function(t,e){return t=s(t),t<0?i(t+e,0):n(t,e)}},"1c01":function(t,e,a){var s=a("5ca1");s(s.S+s.F*!a("9e1e"),"Object",{defineProperty:a("86cc").f})},"1fa8":function(t,e,a){var s=a("cb7c");t.exports=function(t,e,a,i){try{return i?e(s(a)[0],a[1]):e(a)}catch(o){var n=t["return"];throw void 0!==n&&s(n.call(t)),o}}},"230e":function(t,e,a){var s=a("d3f4"),i=a("7726").document,n=s(i)&&s(i.createElement);t.exports=function(t){return n?i.createElement(t):{}}},2312:function(t,e,a){t.exports=a("8ce0")},"23c6":function(t,e,a){var s=a("2d95"),i=a("2b4c")("toStringTag"),n="Arguments"==s(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(a){}};t.exports=function(t){var e,a,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=o(e=Object(t),i))?a:n?s(e):"Object"==(c=s(e))&&"function"==typeof e.callee?"Arguments":c}},2418:function(t,e,a){var s=a("6a9b"),i=a("a5ab"),n=a("1b8f");t.exports=function(t){return function(e,a,o){var c,r=s(e),l=i(r.length),u=n(o,l);if(t&&a!=a){while(l>u)if(c=r[u++],c!=c)return!0}else for(;l>u;u++)if((t||u in r)&&r[u]===a)return t||u||0;return!t&&-1}}},"245b":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},2695:function(t,e,a){var s=a("43c8"),i=a("6a9b"),n=a("2418")(!1),o=a("5d8f")("IE_PROTO");t.exports=function(t,e){var a,c=i(t),r=0,l=[];for(a in c)a!=o&&s(c,a)&&l.push(a);while(e.length>r)s(c,a=e[r++])&&(~n(l,a)||l.push(a));return l}},"27ee":function(t,e,a){var s=a("23c6"),i=a("2b4c")("iterator"),n=a("84f2");t.exports=a("8378").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||n[s(t)]}},"2a4e":function(t,e,a){var s=a("a812"),i=a("e5fa");t.exports=function(t){return function(e,a){var n,o,c=String(i(e)),r=s(a),l=c.length;return r<0||r>=l?t?"":void 0:(n=c.charCodeAt(r),n<55296||n>56319||r+1===l||(o=c.charCodeAt(r+1))<56320||o>57343?t?c.charAt(r):n:t?c.slice(r,r+2):o-56320+(n-55296<<10)+65536)}}},"2aba":function(t,e,a){var s=a("7726"),i=a("32e9"),n=a("69a8"),o=a("ca5a")("src"),c="toString",r=Function[c],l=(""+r).split(c);a("8378").inspectSource=function(t){return r.call(t)},(t.exports=function(t,e,a,c){var r="function"==typeof a;r&&(n(a,"name")||i(a,"name",e)),t[e]!==a&&(r&&(n(a,o)||i(a,o,t[e]?""+t[e]:l.join(String(e)))),t===s?t[e]=a:c?t[e]?t[e]=a:i(t,e,a):(delete t[e],i(t,e,a)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[o]||r.call(this)}))},"2aeb":function(t,e,a){var s=a("cb7c"),i=a("1495"),n=a("e11e"),o=a("613b")("IE_PROTO"),c=function(){},r="prototype",l=function(){var t,e=a("230e")("iframe"),s=n.length,i="<",o=">";e.style.display="none",a("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+o+"document.F=Object"+i+"/script"+o),t.close(),l=t.F;while(s--)delete l[r][n[s]];return l()};t.exports=Object.create||function(t,e){var a;return null!==t?(c[r]=s(t),a=new c,c[r]=null,a[o]=t):a=l(),void 0===e?a:i(a,e)}},"2b4c":function(t,e,a){var s=a("5537")("wks"),i=a("ca5a"),n=a("7726").Symbol,o="function"==typeof n,c=t.exports=function(t){return s[t]||(s[t]=o&&n[t]||(o?n:i)("Symbol."+t))};c.store=s},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var a={}.toString;t.exports=function(t){return a.call(t).slice(8,-1)}},"2ea1":function(t,e,a){var s=a("6f8a");t.exports=function(t,e){if(!s(t))return t;var a,i;if(e&&"function"==typeof(a=t.toString)&&!s(i=a.call(t)))return i;if("function"==typeof(a=t.valueOf)&&!s(i=a.call(t)))return i;if(!e&&"function"==typeof(a=t.toString)&&!s(i=a.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"2f21":function(t,e,a){"use strict";var s=a("79e5");t.exports=function(t,e){return!!t&&s((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"2fdb":function(t,e,a){"use strict";var s=a("5ca1"),i=a("d2c8"),n="includes";s(s.P+s.F*a("5147")(n),"String",{includes:function(t){return!!~i(this,t,n).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(t,e,a){var s=a("86cc"),i=a("4630");t.exports=a("9e1e")?function(t,e,a){return s.f(t,e,i(1,a))}:function(t,e,a){return t[e]=a,t}},"33a4":function(t,e,a){var s=a("84f2"),i=a("2b4c")("iterator"),n=Array.prototype;t.exports=function(t){return void 0!==t&&(s.Array===t||n[i]===t)}},3425:function(t,e,a){"use strict";var s=function(){var t,e=this,a=e.$createElement,s=e._self._c||a;return s("div",{class:[(t={},t[e.classNameActive]=e.enabled,t[e.classNameDragging]=e.dragging,t[e.classNameResizing]=e.resizing,t[e.classNameDraggable]=e.draggable,t[e.classNameResizable]=e.resizable,t),e.className],style:e.style,on:{mousedown:e.elementMouseDown,touchstart:e.elementTouchDown}},[e._l(e.actualHandles,(function(t){return s("div",{key:t,class:[e.classNameHandle,e.classNameHandle+"-"+t],style:{display:e.enabled?"block":"none"},on:{mousedown:function(a){a.stopPropagation(),a.preventDefault(),e.handleDown(t,a)},touchstart:function(a){a.stopPropagation(),a.preventDefault(),e.handleTouchDown(t,a)}}},[e._t(t)],2)})),e._v(" "),e._t("default")],2)},i=[],n=(a("1c01"),a("58b2"),a("8e6e"),a("f3e2"),a("456d"),a("85f2")),o=a.n(n);function c(t,e,a){return e in t?o()(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}a("3b2b");var r=a("a745"),l=a.n(r);function u(t){if(l()(t))return t}var d=a("5d73"),p=a.n(d),m=a("c8bb"),v=a.n(m);function f(t,e){if(v()(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t)){var a=[],s=!0,i=!1,n=void 0;try{for(var o,c=p()(t);!(s=(o=c.next()).done);s=!0)if(a.push(o.value),e&&a.length===e)break}catch(r){i=!0,n=r}finally{try{s||null==c["return"]||c["return"]()}finally{if(i)throw n}}return a}}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function b(t,e){return u(t)||f(t,e)||h()}function g(t){return"function"===typeof t||"[object Function]"===Object.prototype.toString.call(t)}function y(t,e,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i="number"===typeof s?[s,s]:s,n=b(i,2),o=n[0],c=n[1],r=Math.round(e/o/t[0])*t[0],l=Math.round(a/c/t[1])*t[1];return[r,l]}function C(t,e,a){return t-e-a}function _(t,e,a){return t-e-a}function k(t,e,a){return null!==e&&t0:"auto"===t}},h:{type:[Number,String],default:200,validator:function(t){return"number"===typeof t?t>0:"auto"===t}},minWidth:{type:Number,default:0,validator:function(t){return t>=0}},minHeight:{type:Number,default:0,validator:function(t){return t>=0}},maxWidth:{type:Number,default:null,validator:function(t){return t>=0}},maxHeight:{type:Number,default:null,validator:function(t){return t>=0}},x:{type:Number,default:0},y:{type:Number,default:0},z:{type:[String,Number],default:"auto",validator:function(t){return"string"===typeof t?"auto"===t:t>=0}},handles:{type:Array,default:function(){return["tl","tm","tr","mr","br","bm","bl","ml"]},validator:function(t){var e=new Set(["tl","tm","tr","mr","br","bm","bl","ml"]);return new Set(t.filter((function(t){return e.has(t)}))).size===t.length}},dragHandle:{type:String,default:null},dragCancel:{type:String,default:null},axis:{type:String,default:"both",validator:function(t){return["x","y","both"].includes(t)}},grid:{type:Array,default:function(){return[1,1]}},parent:{type:Boolean,default:!1},scale:{type:[Number,Array],default:1,validator:function(t){return"number"===typeof t?t>0:2===t.length&&t[0]>0&&t[1]>0}},onDragStart:{type:Function,default:function(){return!0}},onDrag:{type:Function,default:function(){return!0}},onResizeStart:{type:Function,default:function(){return!0}},onResize:{type:Function,default:function(){return!0}}},data:function(){return{left:this.x,top:this.y,right:null,bottom:null,width:null,height:null,widthTouched:!1,heightTouched:!1,aspectFactor:null,parentWidth:null,parentHeight:null,minW:this.minWidth,minH:this.minHeight,maxW:this.maxWidth,maxH:this.maxHeight,handle:null,enabled:this.active,resizing:!1,dragging:!1,dragEnable:!1,resizeEnable:!1,zIndex:this.z}},created:function(){this.maxWidth&&this.minWidth>this.maxWidth&&console.warn("[Vdr warn]: Invalid prop: minWidth cannot be greater than maxWidth"),this.maxWidth&&this.minHeight>this.maxHeight&&console.warn("[Vdr warn]: Invalid prop: minHeight cannot be greater than maxHeight"),this.resetBoundsAndMouseState()},mounted:function(){this.enableNativeDrag||(this.$el.ondragstart=function(){return!1});var t=this.getParentSize(),e=b(t,2),a=e[0],s=e[1];this.parentWidth=a,this.parentHeight=s;var i=I(this.$el),n=b(i,2),o=n[0],c=n[1];this.aspectFactor=("auto"!==this.w?this.w:o)/("auto"!==this.h?this.h:c),this.width="auto"!==this.w?this.w:o,this.height="auto"!==this.h?this.h:c,this.right=this.parentWidth-this.width-this.left,this.bottom=this.parentHeight-this.height-this.top,this.active&&this.$emit("activated"),w(document.documentElement,"mousedown",this.deselect),w(document.documentElement,"touchend touchcancel",this.deselect),w(window,"resize",this.checkParentSize)},beforeDestroy:function(){S(document.documentElement,"mousedown",this.deselect),S(document.documentElement,"touchstart",this.handleUp),S(document.documentElement,"mousemove",this.move),S(document.documentElement,"touchmove",this.move),S(document.documentElement,"mouseup",this.handleUp),S(document.documentElement,"touchend touchcancel",this.deselect),S(window,"resize",this.checkParentSize)},methods:{resetBoundsAndMouseState:function(){this.mouseClickPosition={mouseX:0,mouseY:0,x:0,y:0,w:0,h:0},this.bounds={minLeft:null,maxLeft:null,minRight:null,maxRight:null,minTop:null,maxTop:null,minBottom:null,maxBottom:null}},checkParentSize:function(){if(this.parent){var t=this.getParentSize(),e=b(t,2),a=e[0],s=e[1];this.parentWidth=a,this.parentHeight=s,this.right=this.parentWidth-this.width-this.left,this.bottom=this.parentHeight-this.height-this.top}},getParentSize:function(){if(this.parent){var t=window.getComputedStyle(this.$el.parentNode,null);return[parseInt(t.getPropertyValue("width"),10),parseInt(t.getPropertyValue("height"),10)]}return[null,null]},elementTouchDown:function(t){P=E.touch,this.elementDown(t)},elementMouseDown:function(t){P=E.mouse,this.elementDown(t)},elementDown:function(t){if(!(t instanceof MouseEvent&&1!==t.which)){var e=t.target||t.srcElement;if(this.$el.contains(e)){if(!1===this.onDragStart(t))return;if(this.dragHandle&&!x(e,this.dragHandle,this.$el)||this.dragCancel&&x(e,this.dragCancel,this.$el))return void(this.dragging=!1);this.enabled||(this.enabled=!0,this.$emit("activated"),this.$emit("update:active",!0)),this.draggable&&(this.dragEnable=!0),this.mouseClickPosition.mouseX=t.touches?t.touches[0].pageX:t.pageX,this.mouseClickPosition.mouseY=t.touches?t.touches[0].pageY:t.pageY,this.mouseClickPosition.left=this.left,this.mouseClickPosition.right=this.right,this.mouseClickPosition.top=this.top,this.mouseClickPosition.bottom=this.bottom,this.parent&&(this.bounds=this.calcDragLimits()),w(document.documentElement,P.move,this.move),w(document.documentElement,P.stop,this.handleUp)}}},calcDragLimits:function(){return{minLeft:this.left%this.grid[0],maxLeft:Math.floor((this.parentWidth-this.width-this.left)/this.grid[0])*this.grid[0]+this.left,minRight:this.right%this.grid[0],maxRight:Math.floor((this.parentWidth-this.width-this.right)/this.grid[0])*this.grid[0]+this.right,minTop:this.top%this.grid[1],maxTop:Math.floor((this.parentHeight-this.height-this.top)/this.grid[1])*this.grid[1]+this.top,minBottom:this.bottom%this.grid[1],maxBottom:Math.floor((this.parentHeight-this.height-this.bottom)/this.grid[1])*this.grid[1]+this.bottom}},deselect:function(t){var e=t.target||t.srcElement,a=new RegExp(this.className+"-([trmbl]{2})","");this.$el.contains(e)||a.test(e.className)||(this.enabled&&!this.preventDeactivation&&(this.enabled=!1,this.$emit("deactivated"),this.$emit("update:active",!1)),S(document.documentElement,P.move,this.handleResize)),this.resetBoundsAndMouseState()},handleTouchDown:function(t,e){P=E.touch,this.handleDown(t,e)},handleDown:function(t,e){e instanceof MouseEvent&&1!==e.which||!1!==this.onResizeStart(t,e)&&(e.stopPropagation&&e.stopPropagation(),this.lockAspectRatio&&!t.includes("m")?this.handle="m"+t.substring(1):this.handle=t,this.resizeEnable=!0,this.mouseClickPosition.mouseX=e.touches?e.touches[0].pageX:e.pageX,this.mouseClickPosition.mouseY=e.touches?e.touches[0].pageY:e.pageY,this.mouseClickPosition.left=this.left,this.mouseClickPosition.right=this.right,this.mouseClickPosition.top=this.top,this.mouseClickPosition.bottom=this.bottom,this.bounds=this.calcResizeLimits(),w(document.documentElement,P.move,this.handleResize),w(document.documentElement,P.stop,this.handleUp))},calcResizeLimits:function(){var t=this.minW,e=this.minH,a=this.maxW,s=this.maxH,i=this.aspectFactor,n=b(this.grid,2),o=n[0],c=n[1],r=this.width,l=this.height,u=this.left,d=this.top,p=this.right,m=this.bottom;this.lockAspectRatio&&(t/e>i?e=t/i:t=i*e,a&&s?(a=Math.min(a,i*s),s=Math.min(s,a/i)):a?s=a/i:s&&(a=i*s)),a-=a%o,s-=s%c;var v={minLeft:null,maxLeft:null,minTop:null,maxTop:null,minRight:null,maxRight:null,minBottom:null,maxBottom:null};return this.parent?(v.minLeft=u%o,v.maxLeft=u+Math.floor((r-t)/o)*o,v.minTop=d%c,v.maxTop=d+Math.floor((l-e)/c)*c,v.minRight=p%o,v.maxRight=p+Math.floor((r-t)/o)*o,v.minBottom=m%c,v.maxBottom=m+Math.floor((l-e)/c)*c,a&&(v.minLeft=Math.max(v.minLeft,this.parentWidth-p-a),v.minRight=Math.max(v.minRight,this.parentWidth-u-a)),s&&(v.minTop=Math.max(v.minTop,this.parentHeight-m-s),v.minBottom=Math.max(v.minBottom,this.parentHeight-d-s)),this.lockAspectRatio&&(v.minLeft=Math.max(v.minLeft,u-d*i),v.minTop=Math.max(v.minTop,d-u/i),v.minRight=Math.max(v.minRight,p-m*i),v.minBottom=Math.max(v.minBottom,m-p/i))):(v.minLeft=null,v.maxLeft=u+Math.floor((r-t)/o)*o,v.minTop=null,v.maxTop=d+Math.floor((l-e)/c)*c,v.minRight=null,v.maxRight=p+Math.floor((r-t)/o)*o,v.minBottom=null,v.maxBottom=m+Math.floor((l-e)/c)*c,a&&(v.minLeft=-(p+a),v.minRight=-(u+a)),s&&(v.minTop=-(m+s),v.minBottom=-(d+s)),this.lockAspectRatio&&a&&s&&(v.minLeft=Math.min(v.minLeft,-(p+a)),v.minTop=Math.min(v.minTop,-(s+m)),v.minRight=Math.min(v.minRight,-u-a),v.minBottom=Math.min(v.minBottom,-d-s))),v},move:function(t){this.resizing?this.handleResize(t):this.dragEnable&&this.handleDrag(t)},handleDrag:function(t){var e=this.axis,a=this.grid,s=this.bounds,i=this.mouseClickPosition,n=e&&"y"!==e?i.mouseX-(t.touches?t.touches[0].pageX:t.pageX):0,o=e&&"x"!==e?i.mouseY-(t.touches?t.touches[0].pageY:t.pageY):0,c=y(a,n,o,this.scale),r=b(c,2),l=r[0],u=r[1],d=k(i.left-l,s.minLeft,s.maxLeft),p=k(i.top-u,s.minTop,s.maxTop);if(!1!==this.onDrag(d,p)){var m=k(i.right+l,s.minRight,s.maxRight),v=k(i.bottom+u,s.minBottom,s.maxBottom);this.left=d,this.top=p,this.right=m,this.bottom=v,this.$emit("dragging",this.left,this.top),this.dragging=!0}},moveHorizontally:function(t){var e=y(this.grid,t,this.top,1),a=b(e,2),s=a[0],i=(a[1],k(s,this.bounds.minLeft,this.bounds.maxLeft));this.left=i,this.right=this.parentWidth-this.width-i},moveVertically:function(t){var e=y(this.grid,this.left,t,1),a=b(e,2),s=(a[0],a[1]),i=k(s,this.bounds.minTop,this.bounds.maxTop);this.top=i,this.bottom=this.parentHeight-this.height-i},handleResize:function(t){var e=this.left,a=this.top,s=this.right,i=this.bottom,n=this.mouseClickPosition,o=(this.lockAspectRatio,this.aspectFactor),c=n.mouseX-(t.touches?t.touches[0].pageX:t.pageX),r=n.mouseY-(t.touches?t.touches[0].pageY:t.pageY);!this.widthTouched&&c&&(this.widthTouched=!0),!this.heightTouched&&r&&(this.heightTouched=!0);var l=y(this.grid,c,r,this.scale),u=b(l,2),d=u[0],p=u[1];this.handle.includes("b")?(i=k(n.bottom+p,this.bounds.minBottom,this.bounds.maxBottom),this.lockAspectRatio&&this.resizingOnY&&(s=this.right-(this.bottom-i)*o)):this.handle.includes("t")&&(a=k(n.top-p,this.bounds.minTop,this.bounds.maxTop),this.lockAspectRatio&&this.resizingOnY&&(e=this.left-(this.top-a)*o)),this.handle.includes("r")?(s=k(n.right+d,this.bounds.minRight,this.bounds.maxRight),this.lockAspectRatio&&this.resizingOnX&&(i=this.bottom-(this.right-s)/o)):this.handle.includes("l")&&(e=k(n.left-d,this.bounds.minLeft,this.bounds.maxLeft),this.lockAspectRatio&&this.resizingOnX&&(a=this.top-(this.left-e)/o));var m=C(this.parentWidth,e,s),v=_(this.parentHeight,a,i);!1!==this.onResize(this.handle,e,a,m,v)&&(this.left=e,this.top=a,this.right=s,this.bottom=i,this.width=m,this.height=v,this.$emit("resizing",this.left,this.top,this.width,this.height),this.resizing=!0)},changeWidth:function(t){var e=y(this.grid,t,0,1),a=b(e,2),s=a[0],i=(a[1],k(this.parentWidth-s-this.left,this.bounds.minRight,this.bounds.maxRight)),n=this.bottom;this.lockAspectRatio&&(n=this.bottom-(this.right-i)/this.aspectFactor);var o=C(this.parentWidth,this.left,i),c=_(this.parentHeight,this.top,n);this.right=i,this.bottom=n,this.width=o,this.height=c},changeHeight:function(t){var e=y(this.grid,0,t,1),a=b(e,2),s=(a[0],a[1]),i=k(this.parentHeight-s-this.top,this.bounds.minBottom,this.bounds.maxBottom),n=this.right;this.lockAspectRatio&&(n=this.right-(this.bottom-i)*this.aspectFactor);var o=C(this.parentWidth,this.left,n),c=_(this.parentHeight,this.top,i);this.right=n,this.bottom=i,this.width=o,this.height=c},handleUp:function(t){this.handle=null,this.resetBoundsAndMouseState(),this.dragEnable=!1,this.resizeEnable=!1,this.resizing&&(this.resizing=!1,this.$emit("resizestop",this.left,this.top,this.width,this.height)),this.dragging&&(this.dragging=!1,this.$emit("dragstop",this.left,this.top)),S(document.documentElement,P.move,this.handleResize)}},computed:{style:function(){return L({transform:"translate(".concat(this.left,"px, ").concat(this.top,"px)"),width:this.computedWidth,height:this.computedHeight,zIndex:this.zIndex},this.dragging&&this.disableUserSelect?T:O)},actualHandles:function(){return this.resizable?this.handles:[]},computedWidth:function(){return"auto"!==this.w||this.widthTouched?this.width+"px":"auto"},computedHeight:function(){return"auto"!==this.h||this.heightTouched?this.height+"px":"auto"},resizingOnX:function(){return Boolean(this.handle)&&(this.handle.includes("l")||this.handle.includes("r"))},resizingOnY:function(){return Boolean(this.handle)&&(this.handle.includes("t")||this.handle.includes("b"))},isCornerHandle:function(){return Boolean(this.handle)&&["tl","tr","br","bl"].includes(this.handle)}},watch:{active:function(t){this.enabled=t,t?this.$emit("activated"):this.$emit("deactivated")},z:function(t){(t>=0||"auto"===t)&&(this.zIndex=t)},x:function(t){this.resizing||this.dragging||(this.parent&&(this.bounds=this.calcDragLimits()),this.moveHorizontally(t))},y:function(t){this.resizing||this.dragging||(this.parent&&(this.bounds=this.calcDragLimits()),this.moveVertically(t))},lockAspectRatio:function(t){this.aspectFactor=t?this.width/this.height:void 0},minWidth:function(t){t>0&&t<=this.width&&(this.minW=t)},minHeight:function(t){t>0&&t<=this.height&&(this.minH=t)},maxWidth:function(t){this.maxW=t},maxHeight:function(t){this.maxH=t},w:function(t){this.resizing||this.dragging||(this.parent&&(this.bounds=this.calcResizeLimits()),this.changeWidth(t))},h:function(t){this.resizing||this.dragging||(this.parent&&(this.bounds=this.calcResizeLimits()),this.changeHeight(t))}}},z=A;function R(t,e,a,s,i,n,o,c){var r,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=a,l._compiled=!0),s&&(l.functional=!0),n&&(l._scopeId="data-v-"+n),o?(r=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},l._ssrRegister=r):i&&(r=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),r)if(l.functional){l._injectStyles=r;var u=l.render;l.render=function(t,e){return r.call(e),u(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,r):[r]}return{exports:t,options:l}}var N=R(z,s,i,!1,null,null,null);e["a"]=N.exports},3846:function(t,e,a){a("9e1e")&&"g"!=/./g.flags&&a("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:a("0bfb")})},"38fd":function(t,e,a){var s=a("69a8"),i=a("4bf8"),n=a("613b")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),s(t,n)?t[n]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"3adc":function(t,e,a){var s=a("0f89"),i=a("a47f"),n=a("2ea1"),o=Object.defineProperty;e.f=a("7d95")?Object.defineProperty:function(t,e,a){if(s(t),e=n(e,!0),s(a),i)try{return o(t,e,a)}catch(c){}if("get"in a||"set"in a)throw TypeError("Accessors not supported!");return"value"in a&&(t[e]=a.value),t}},"3b2b":function(t,e,a){var s=a("7726"),i=a("5dbc"),n=a("86cc").f,o=a("9093").f,c=a("aae3"),r=a("0bfb"),l=s.RegExp,u=l,d=l.prototype,p=/a/g,m=/a/g,v=new l(p)!==p;if(a("9e1e")&&(!v||a("79e5")((function(){return m[a("2b4c")("match")]=!1,l(p)!=p||l(m)==m||"/a/i"!=l(p,"i")})))){l=function(t,e){var a=this instanceof l,s=c(t),n=void 0===e;return!a&&s&&t.constructor===l&&n?t:i(v?new u(s&&!n?t.source:t,e):u((s=t instanceof l)?t.source:t,s&&n?r.call(t):e),a?this:d,l)};for(var f=function(t){t in l||n(l,t,{configurable:!0,get:function(){return u[t]},set:function(e){u[t]=e}})},h=o(u),b=0;h.length>b;)f(h[b++]);d.constructor=l,l.prototype=d,a("2aba")(s,"RegExp",l)}a("7a56")("RegExp")},"41a0":function(t,e,a){"use strict";var s=a("2aeb"),i=a("4630"),n=a("7f20"),o={};a("32e9")(o,a("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,a){t.prototype=s(o,{next:i(1,a)}),n(t,e+" Iterator")}},"43c8":function(t,e){var a={}.hasOwnProperty;t.exports=function(t,e){return a.call(t,e)}},"456d":function(t,e,a){var s=a("4bf8"),i=a("0d58");a("5eda")("keys",(function(){return function(t){return i(s(t))}}))},4588:function(t,e){var a=Math.ceil,s=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?s:a)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4a59":function(t,e,a){var s=a("9b43"),i=a("1fa8"),n=a("33a4"),o=a("cb7c"),c=a("9def"),r=a("27ee"),l={},u={};e=t.exports=function(t,e,a,d,p){var m,v,f,h,b=p?function(){return t}:r(t),g=s(a,d,e?2:1),y=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(n(b)){for(m=c(t.length);m>y;y++)if(h=e?g(o(v=t[y])[0],v[1]):g(t[y]),h===l||h===u)return h}else for(f=b.call(t);!(v=f.next()).done;)if(h=i(f,g,v.value,e),h===l||h===u)return h},e.BREAK=l,e.RETURN=u},"4bf8":function(t,e,a){var s=a("be13");t.exports=function(t){return Object(s(t))}},"4f7f":function(t,e,a){"use strict";var s=a("c26b"),i=a("b39a"),n="Set";t.exports=a("e0b8")(n,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return s.def(i(this,n),t=0===t?0:t,t)}},s)},5147:function(t,e,a){var s=a("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(a){try{return e[s]=!1,!"/./"[t](e)}catch(i){}}return!0}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,a){var s=a("8378"),i=a("7726"),n="__core-js_shared__",o=i[n]||(i[n]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:s.version,mode:a("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"58b2":function(t,e,a){var s=a("5ca1");s(s.S+s.F*!a("9e1e"),"Object",{defineProperties:a("1495")})},"5ca1":function(t,e,a){var s=a("7726"),i=a("8378"),n=a("32e9"),o=a("2aba"),c=a("9b43"),r="prototype",l=function(t,e,a){var u,d,p,m,v=t&l.F,f=t&l.G,h=t&l.S,b=t&l.P,g=t&l.B,y=f?s:h?s[e]||(s[e]={}):(s[e]||{})[r],C=f?i:i[e]||(i[e]={}),_=C[r]||(C[r]={});for(u in f&&(a=e),a)d=!v&&y&&void 0!==y[u],p=(d?y:a)[u],m=g&&d?c(p,s):b&&"function"==typeof p?c(Function.call,p):p,y&&o(y,u,p,t&l.U),C[u]!=p&&n(C,u,m),b&&_[u]!=p&&(_[u]=p)};s.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5cc5":function(t,e,a){var s=a("2b4c")("iterator"),i=!1;try{var n=[7][s]();n["return"]=function(){i=!0},Array.from(n,(function(){throw 2}))}catch(o){}t.exports=function(t,e){if(!e&&!i)return!1;var a=!1;try{var n=[7],c=n[s]();c.next=function(){return{done:a=!0}},n[s]=function(){return c},t(n)}catch(o){}return a}},"5ce7":function(t,e,a){"use strict";var s=a("7108"),i=a("f845"),n=a("c0d8"),o={};a("8ce0")(o,a("1b55")("iterator"),(function(){return this})),t.exports=function(t,e,a){t.prototype=s(o,{next:i(1,a)}),n(t,e+" Iterator")}},"5d73":function(t,e,a){t.exports=a("0a91")},"5d8f":function(t,e,a){var s=a("7772")("keys"),i=a("7b00");t.exports=function(t){return s[t]||(s[t]=i(t))}},"5dbc":function(t,e,a){var s=a("d3f4"),i=a("8b97").set;t.exports=function(t,e,a){var n,o=e.constructor;return o!==a&&"function"==typeof o&&(n=o.prototype)!==a.prototype&&s(n)&&i&&i(t,n),t}},"5df3":function(t,e,a){"use strict";var s=a("02f4")(!0);a("01f9")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,a=this._i;return a>=e.length?{value:void 0,done:!0}:(t=s(e,a),this._i+=t.length,{value:t,done:!1})}))},"5eda":function(t,e,a){var s=a("5ca1"),i=a("8378"),n=a("79e5");t.exports=function(t,e){var a=(i.Object||{})[t]||Object[t],o={};o[t]=e(a),s(s.S+s.F*n((function(){a(1)})),"Object",o)}},"613b":function(t,e,a){var s=a("5537")("keys"),i=a("ca5a");t.exports=function(t){return s[t]||(s[t]=i(t))}},"626a":function(t,e,a){var s=a("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==s(t)?t.split(""):Object(t)}},6762:function(t,e,a){"use strict";var s=a("5ca1"),i=a("c366")(!0);s(s.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("9c6c")("includes")},"67ab":function(t,e,a){var s=a("ca5a")("meta"),i=a("d3f4"),n=a("69a8"),o=a("86cc").f,c=0,r=Object.isExtensible||function(){return!0},l=!a("79e5")((function(){return r(Object.preventExtensions({}))})),u=function(t){o(t,s,{value:{i:"O"+ ++c,w:{}}})},d=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!n(t,s)){if(!r(t))return"F";if(!e)return"E";u(t)}return t[s].i},p=function(t,e){if(!n(t,s)){if(!r(t))return!0;if(!e)return!1;u(t)}return t[s].w},m=function(t){return l&&v.NEED&&r(t)&&!n(t,s)&&u(t),t},v=t.exports={KEY:s,NEED:!1,fastKey:d,getWeak:p,onFreeze:m}},6821:function(t,e,a){var s=a("626a"),i=a("be13");t.exports=function(t){return s(i(t))}},"69a8":function(t,e){var a={}.hasOwnProperty;t.exports=function(t,e){return a.call(t,e)}},"6a99":function(t,e,a){var s=a("d3f4");t.exports=function(t,e){if(!s(t))return t;var a,i;if(e&&"function"==typeof(a=t.toString)&&!s(i=a.call(t)))return i;if("function"==typeof(a=t.valueOf)&&!s(i=a.call(t)))return i;if(!e&&"function"==typeof(a=t.toString)&&!s(i=a.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6a9b":function(t,e,a){var s=a("8bab"),i=a("e5fa");t.exports=function(t){return s(i(t))}},"6b54":function(t,e,a){"use strict";a("3846");var s=a("cb7c"),i=a("0bfb"),n=a("9e1e"),o="toString",c=/./[o],r=function(t){a("2aba")(RegExp.prototype,o,t,!0)};a("79e5")((function(){return"/a/b"!=c.call({source:"a",flags:"b"})}))?r((function(){var t=s(this);return"/".concat(t.source,"/","flags"in t?t.flags:!n&&t instanceof RegExp?i.call(t):void 0)})):c.name!=o&&r((function(){return c.call(this)}))},"6e1f":function(t,e){var a={}.toString;t.exports=function(t){return a.call(t).slice(8,-1)}},"6f42":function(t,e,a){},"6f8a":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},7108:function(t,e,a){var s=a("0f89"),i=a("f568"),n=a("0029"),o=a("5d8f")("IE_PROTO"),c=function(){},r="prototype",l=function(){var t,e=a("12fd")("iframe"),s=n.length,i="<",o=">";e.style.display="none",a("103a").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+o+"document.F=Object"+i+"/script"+o),t.close(),l=t.F;while(s--)delete l[r][n[s]];return l()};t.exports=Object.create||function(t,e){var a;return null!==t?(c[r]=s(t),a=new c,c[r]=null,a[o]=t):a=l(),void 0===e?a:i(a,e)}},7514:function(t,e,a){"use strict";var s=a("5ca1"),i=a("0a49")(5),n="find",o=!0;n in[]&&Array(1)[n]((function(){o=!1})),s(s.P+s.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("9c6c")(n)},7633:function(t,e,a){var s=a("2695"),i=a("0029");t.exports=Object.keys||function(t){return s(t,i)}},7726:function(t,e){var a=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=a)},7772:function(t,e,a){var s=a("a7d3"),i=a("da3c"),n="__core-js_shared__",o=i[n]||(i[n]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:s.version,mode:a("b457")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"77f1":function(t,e,a){var s=a("4588"),i=Math.max,n=Math.min;t.exports=function(t,e){return t=s(t),t<0?i(t+e,0):n(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7a56":function(t,e,a){"use strict";var s=a("7726"),i=a("86cc"),n=a("9e1e"),o=a("2b4c")("species");t.exports=function(t){var e=s[t];n&&e&&!e[o]&&i.f(e,o,{configurable:!0,get:function(){return this}})}},"7b00":function(t,e){var a=0,s=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++a+s).toString(36))}},"7d8a":function(t,e,a){var s=a("6e1f"),i=a("1b55")("toStringTag"),n="Arguments"==s(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(a){}};t.exports=function(t){var e,a,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=o(e=Object(t),i))?a:n?s(e):"Object"==(c=s(e))&&"function"==typeof e.callee?"Arguments":c}},"7d95":function(t,e,a){t.exports=!a("d782")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"7f20":function(t,e,a){var s=a("86cc").f,i=a("69a8"),n=a("2b4c")("toStringTag");t.exports=function(t,e,a){t&&!i(t=a?t:t.prototype,n)&&s(t,n,{configurable:!0,value:e})}},8378:function(t,e){var a=t.exports={version:"2.6.1"};"number"==typeof __e&&(__e=a)},"84f2":function(t,e){t.exports={}},"85f2":function(t,e,a){t.exports=a("ec5b")},"86cc":function(t,e,a){var s=a("cb7c"),i=a("c69a"),n=a("6a99"),o=Object.defineProperty;e.f=a("9e1e")?Object.defineProperty:function(t,e,a){if(s(t),e=n(e,!0),s(a),i)try{return o(t,e,a)}catch(c){}if("get"in a||"set"in a)throw TypeError("Accessors not supported!");return"value"in a&&(t[e]=a.value),t}},"87b3":function(t,e,a){var s=Date.prototype,i="Invalid Date",n="toString",o=s[n],c=s.getTime;new Date(NaN)+""!=i&&a("2aba")(s,n,(function(){var t=c.call(this);return t===t?o.call(this):i}))},8875:function(t,e,a){var s,i,n;(function(a,o){i=[],s=o,n="function"===typeof s?s.apply(e,i):s,void 0===n||(t.exports=n)})("undefined"!==typeof self&&self,(function(){function t(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(d){var t,e,a,s=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,n=s.exec(d.stack)||i.exec(d.stack),o=n&&n[1]||!1,c=n&&n[2]||!1,r=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");o===r&&(t=document.documentElement.outerHTML,e=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*