chunk-3b4ae73b.27b53403.js 78 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-3b4ae73b"],{"0388":function(t,a,i){"use strict";var e=i("5a4a");i.n(e).a},"0715":function(t,a,i){"use strict";i.r(a);var e={name:"c_checkbox",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{formData:{type:0},defaults:{},configData:{}}},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.defaults=t.configObj,t.configData=t.configObj[t.configNme]}))},methods:{checkboxChange:function(t){this.$emit("getConfig",t)}}},n=(i("8a60"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"acea-row row-top",staticStyle:{"margin-bottom":"20px"}},[t.configData?i("div",{staticClass:"title-tips"},[i("span",[t._v(t._s(t.configData.title))])]):t._e(),i("div",{staticClass:"checkbox-box"},[i("CheckboxGroup",{on:{"on-change":function(a){return t.checkboxChange(a)}},model:{value:t.configData.type,callback:function(a){t.$set(t.configData,"type",a)},expression:"configData.type"}},t._l(t.configData.list,(function(a,e){return i("Checkbox",{key:e,attrs:{label:a.id}},[i("span",[t._v(t._s(a.name))])])})),1)],1)])}),[],!1,null,"33797100",null);a.default=s.exports},"0746":function(t,a,i){},"0d73":function(t,a,i){"use strict";var e=i("db7c");i.n(e).a},1439:function(t,a,i){"use strict";i.r(a);var e={name:"c_goods_search",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{formData:{type:0},defaults:{},configData:{}}},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.defaults=t.configObj,t.configData=t.configObj[t.configNme]}))},methods:{checkboxChange:function(t){this.$emit("getConfig",t)},sliderChange:function(t){var a=window.localStorage;this.configData.activeValue=t||a.getItem(this.timeStamp),this.$emit("getConfig",{name:"cascader",values:t})}}},n=i("2877"),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.configData?i("div",{staticClass:"acea-row row-top",staticStyle:{"margin-bottom":"20px"}},[i("CheckboxGroup",{on:{"on-change":function(a){return t.checkboxChange(a)}},model:{value:t.configData.type,callback:function(a){t.$set(t.configData,"type",a)},expression:"configData.type"}},[i("div",[i("Checkbox",{attrs:{label:1}},[i("span",[t._v("商品分类")])]),i("Cascader",{attrs:{data:t.configData.list,placeholder:"请选择商品分类","change-on-select":"",filterable:""},on:{"on-change":t.sliderChange},model:{value:t.configData.activeValue,callback:function(a){t.$set(t.configData,"activeValue",a)},expression:"configData.activeValue"}})],1),i("div",[i("Checkbox",{attrs:{label:2}},[i("span",[t._v("Twitter2")])])],1)])],1):t._e()}),[],!1,null,null,null);a.default=s.exports},"146e":function(t,a,i){"use strict";var e=i("a651");i.n(e).a},1680:function(t,a,i){},"17a1":function(t,a,i){"use strict";var e=i("87c4");i.n(e).a},1964:function(t,a,i){"use strict";var e=i("e2f1");i.n(e).a},"1f43":function(t,a,i){"use strict";var e=i("f57c");i.n(e).a},2588:function(t,a,i){},2756:function(t,a,i){"use strict";i.r(a);var e={name:"c_tab",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{formData:{type:0},defaults:{},configData:{}}},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.defaults=t.configObj,t.configData=t.configObj[t.configNme]}))},methods:{radioChange:function(t){this.defaults.picStyle&&(this.defaults.picStyle.tabVal=0),this.$emit("getConfig",t)}}},n=(i("fabe"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticStyle:{"margin-bottom":"20px"}},[t.configData.tabList?i("div",{staticClass:"title-tips"},[i("span",[t._v(t._s(t.configData.title))]),t._v(t._s(t.configData.tabList[t.configData.tabVal].name)+"\n ")]):t._e(),i("div",{staticClass:"radio-box",class:{on:1==t.configData.type}},[i("RadioGroup",{attrs:{type:"button",size:"large"},on:{"on-change":function(a){return t.radioChange(a)}},model:{value:t.configData.tabVal,callback:function(a){t.$set(t.configData,"tabVal",a)},expression:"configData.tabVal"}},t._l(t.configData.tabList,(function(a,e){return i("Radio",{key:e,attrs:{label:e}},[a.icon?i("span",{staticClass:"iconfont-diy",class:a.icon}):i("span",[t._v(t._s(a.name))])])})),1)],1)])}),[],!1,null,"16687342",null);a.default=s.exports},"27ef":function(t,a,i){"use strict";i.r(a);var e=i("310e"),n=i.n(e),s=(i("2f62"),i("b0e7")),o=(i("b562"),{name:"c_hot_imgs",props:{configObj:{type:Object}},components:{draggable:n.a,uploadPictures:s.a},data:function(){return{defaults:{},menus:[],list:[{title:"aa",val:""}],modalPic:!1,isChoice:"单选",gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},activeIndex:0}},created:function(){this.defaults=this.configObj},watch:{configObj:{handler:function(t,a){this.defaults=t},immediate:!0,deep:!0}},methods:{addBox:function(){this.defaults.menu.push({img:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1594458238721&di=d9978a807dcbf5d8a01400875bc51162&imgtype=0&src=http%3A%2F%2Fattachments.gfan.com%2Fforum%2F201604%2F23%2F002205xqdkj84gnw4oi85v.jpg",info:[{title:"标题",value:"",tips:"选填,不超过4个字",max:4},{title:"简介",value:"",tips:"选填,不超过20个字",max:20}],link:{title:"链接",optiops:[{type:0,value:"",label:"一级>二级分类"},{type:1,value:"",label:"自定义链接"}]}})},modalPicTap:function(t,a){this.activeIndex=a,this.modalPic=!0},addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,a){var i=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:t,name:a,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});return this.dialog=i,new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){i.render(),i.open()}})}),37)},getPic:function(t){this.defaults.menu[this.activeIndex].img=t.att_dir,this.modalPic=!1}}}),c=(i("d92d"),i("2877")),l=Object(c.a)(o,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"hot_imgs"},[i("div",{staticClass:"title"},[t._v("\n 最多可添加4个版块,图片建议尺寸140 * 140px;鼠标拖拽左侧圆点可\n 调整版块顺序\n ")]),i("div",{staticClass:"list-box"},[i("draggable",{staticClass:"dragArea list-group",attrs:{list:t.defaults.menu,group:"people",handle:".move-icon"}},t._l(t.defaults.menu,(function(a,e){return i("div",{key:e,staticClass:"item"},[i("div",{staticClass:"move-icon"},[i("Icon",{attrs:{type:"ios-keypad-outline",size:"22"}})],1),i("div",{staticClass:"img-box",on:{click:function(a){return t.modalPicTap("单选",e)}}},[a.img?i("img",{attrs:{src:a.img,alt:""}}):i("div",{staticClass:"upload-box"},[i("Icon",{attrs:{type:"ios-camera-outline",size:"36"}})],1),i("div",[i("Modal",{attrs:{width:"960px",scrollable:"","footer-hide":"",closable:"",title:"上传图片","mask-closable":!1,"z-index":1},model:{value:t.modalPic,callback:function(a){t.modalPic=a},expression:"modalPic"}},[t.modalPic?i("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1)]),i("div",{staticClass:"info"},t._l(a.info,(function(a,e){return i("div",{key:e,staticClass:"info-item"},[i("span",[t._v(t._s(a.title))]),i("div",{staticClass:"input-box"},[i("Input",{attrs:{placeholder:a.tips,maxlength:a.max},model:{value:a.value,callback:function(i){t.$set(a,"value",i)},expression:"infos.value"}})],1)])})),0)])})),0)],1),t.defaults.menu.length<4?i("div",{staticClass:"add-btn"},[i("Button",{staticStyle:{width:"100%",height:"40px"},on:{click:t.addBox}},[t._v("添加板块")])],1):t._e()])}),[],!1,null,"fd47458a",null);a.default=l.exports},"2c34":function(t,a,i){var e={"./c_bg_color.vue":"95a6","./c_cascader.vue":"b5004","./c_checkbox.vue":"0715","./c_comb_data.vue":"edba","./c_foot.vue":"312f","./c_goods.vue":"a497","./c_goods_label.vue":"9e05","./c_goods_search.vue":"1439","./c_hot_box.vue":"6b1a","./c_hot_imgs.vue":"27ef","./c_hot_word.vue":"f3ffe","./c_input_item.vue":"c31e","./c_input_number.vue":"8055","./c_is_show.vue":"3d85","./c_menu_list.vue":"c774","./c_page_ueditor.vue":"bd5a","./c_pictrue.vue":"60e2","./c_product.vue":"fe40","./c_promotion.vue":"fa66","./c_radio.vue":"3d55","./c_select.vue":"5413","./c_select_item.vue":"c413","./c_set_up.vue":"fed0","./c_slider.vue":"80c1","./c_status.vue":"e291","./c_tab.vue":"2756","./c_txt_tab.vue":"58f1","./c_upload_img.vue":"500d"};function n(t){var a=s(t);return i(a)}function s(t){if(!i.o(e,t)){var a=new Error("Cannot find module '"+t+"'");throw a.code="MODULE_NOT_FOUND",a}return e[t]}n.keys=function(){return Object.keys(e)},n.resolve=s,t.exports=n,n.id="2c34"},"2d44":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXcAAAAUCAYAAAB2132+AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAABd6ADAAQAAAABAAAAFAAAAABeOGisAAAGY0lEQVR4Ae2ZCWwVVRSGX6VaRItogShW8xCsilZwQ8QqQRQjilaLEhG1uEWIS9QgrmlFUYILwaIxRuKCCrhgVcANbIjGqMiSWGrSsFTEJSgYLUtww+9v58ab6fS9tjxbXt75k6/33jMz9837e++ZM20sZjIHzAFzwBwwB8wBc8AcMAfMAXPAHDAHzAFzwBwwB8wBc8AcMAfMgVQ4kJWKSWwOc8AcMAfMgUgHehItiDzS9mAtl25KdvleyU5o5fFizt8VoH5z6sWB+2Ax/A7rgnYJbRkcCiZzIAcLepgN5sBuODCBa68OXa9kOwMWwUTw8+DZjGfD63AxOB1C5yYY5AJBeyttbijmhoV0Stwgha3m1NwJ5X+phCe28OAA7zy/74VjMxlUw4MwDPQw6Az/wFlQDt/A02DKTAey+dpPwTZQhbIGToJE0lvoAqj3TtL6vgF2wGgvHtWdS1Br8cLQQRePWs9jgmtUkJj2LAdO5HbK4VGIg9P+dN6BTnAvnAFTQeoPr8AyeBymwQXQBRaC1uLtMAokFaH54K85xZ2U314FrWf1U0H3YM4i2v9Vq5hdG2Jl8CnlwVgx9X3dxWAzaMP+DFUgcy+D00Gb735QXCbKsC2gX4IpsxyYxNfdCefBwfAwbARV8s1pIgf0Fug2mtbNBlgNWo+JkntXjm+HtaCKzZdL7s/6waD/Ca3mLos4ZqGOdUB5ZTrUgP/7KWH8OTgNoaO8pEKgAlyip9twXSWtis4nFUADYVZDLxZ7glbrszkp50laI6ni14YZYzE3dzBs2ugL7Y70pJOiqprGI//93EpX1ZUqdG20obACjoQR0AdkuuKXg879O4DGlEEOnMl3rYL34CfQJlWVNBwOhCWgdeI0mM7N8JALBO0dtC2pcFSJ7QBVZSOhG/jShlKVfoAXLKSvjb7di1l3z3HgNW7lNvgydEt9GasoddID/SBQRRx1rID4pzAMxsMj8BYoXymnaX22p8JrUw+rSLUmuRczg3v6qN9azeQCGZUL6+FreAm0Ie+BKTAHlPD1Gq7Xp6PAlHkO6LW4H+gBL53a2MQOp9XfPlVJnRLE8mi1bq4DvRE6qTBQFa41m0xXcsJ8WARK1peCLyUDrdmrvKA2eiXUezHr7vkOxLlFveE5fU9Ha2Q/iMNv4PQdHcX/gHOhB0yGBaAHh4oO5SkVp/tAR0hFzqCoD06U3JXAy8Al8gHeBH7fCyft/hKc8QHtcSBT9eRUZaRWVf0J8CFIWxob+5lhDrzJ9z0MPgJtJhUG2mDZUANxeAyU/F8EJWa3Zui2SnpgDIF58CdUgpJ9WLMIKKFLKlDGgmKm9HJAD28VBE770tHvXYlcx7qDkxK7Ck1pI2gtLgXlLj0UtA6+glGwHDpDR0hvHk2UKLnr1aMc1KZaquC1KdX2hf5BewztC2AVOyZksPRWVwpd4RyYBFqrP4D0LagQuBZUDLwM2nD5oPPU16Ztia7gpCy4CKaD5iiCOPiazaAPDAVdo8JjMZjSywGtnbh3y+rXwl8QdUzFRFi3EKgAFQEPwDXwBoyE9pb+nPhF1IcmSu5R56cyVspk2jDayKrkq0GvPePAlNkOHM3X10YbCKeB/q6ZDSvAV28GvUDVk9bRZOgS9FUwtETaoGtABcWxwQWq4MYGfddspqOqfgKMh+dBDxhTejnwLrc7GFRYaq3oH5OfgfQ26MGdA/lwPbhjdBukNbkatkIdHA97Qz+og/bWVD5Qa7OJOjK562ZcxaWKXfyooCnjHcjDgY9hBOg1+W6ogrXQE5TIVSVNAR13qKLaFoyV8JPpZE7QursRhnvMo6+kH9ZzBEpAbwZK7qb0c2A9t3wnLAetp8JgTNNQbK6k3QA1sArmgC+tlWeCwHxaFaTVsA6WQZSWRgXbGAvPFZnYk82tL7YL1ErFoLFQX2rJOY1nNv9TDxgZbTIHfAcqGGjhar0pUatCl+KwCUohrHEE6kPBbow1x+hQXMMZoLeCThp4UqLXNfpH7lzQg0bSWq2D98FJ15e5gbVp40Aud3pEM3ertaYiIiytk97hYILxGI4VJTje1kOa85JkF2clO8GOmwMd6IA2Ux4omZvMgXRzIIcbPh8KUnzjtcy3EHameF6bzhwwB8wBc8AcMAfMAXPAHDAHzAFzwBwwB8wBc8AcMAfMAXPAHDAHIhz4FwO/QgbhZ4FRAAAAAElFTkSuQmCC"},"312f":function(t,a,i){"use strict";i.r(a);var e=i("310e"),n=i.n(e),s=i("b0e7"),o=i("7af3"),c={name:"c_foot",props:{configObj:{type:Object,default:function(){return{}}},configNme:{type:String,default:""}},components:{uploadPictures:s.a,linkaddress:o.a,draggable:n.a},data:function(){return{val1:"",val2:"",footConfig:[],modalPic:!1,isChoice:"单选",itemIndex:0,itemChildIndex:0,gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},gridPic:{xl:6,lg:8,md:12,sm:12,xs:12}}},watch:{configObj:{handler:function(t,a){this.footConfig=t[this.configNme]},deep:!0}},created:function(){this.footConfig=this.configObj[this.configNme]},methods:{linkUrl:function(t){this.footConfig[this.itemIndex].link=t},getLink:function(t){this.itemIndex=t,this.$refs.linkaddres.modals=!0},modalPicTap:function(t,a){this.itemIndex=t,this.itemChildIndex=a,this.modalPic=!0},getPic:function(t){var a=this;this.$nextTick((function(){a.footConfig[a.itemIndex].imgList[a.itemChildIndex]=t.att_dir,a.modalPic=!1,a.$store.commit("admin/mobildConfig/footUpdata",a.footConfig)}))},addMenu:function(){this.footConfig.push({imgList:["",""],name:"自定义",link:""})},deleteMenu:function(t){var a=this;this.$Modal.confirm({title:"提示",content:"是否确定删除该菜单",onOk:function(){a.footConfig.splice(t,1)},onCancel:function(){}})}}},l=(i("d917"),i("2877")),r=Object(l.a)(c,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.footConfig?i("div",[i("p",{staticClass:"tips"},[t._v("图片建议宽度81*81px;鼠标拖拽左侧圆点可调整导航顺序")]),i("draggable",{staticClass:"dragArea list-group",attrs:{list:t.footConfig,group:"peoples",handle:".iconfont"}},t._l(t.footConfig,(function(a,e){return i("div",{key:e,staticClass:"box-item"},[i("div",{staticClass:"left-tool"},[i("span",{staticClass:"iconfont icondrag2"})]),i("div",{staticClass:"right-wrapper"},[i("div",{staticClass:"img-wrapper"},t._l(a.imgList,(function(a,n){return i("div",{staticClass:"img-item",on:{click:function(a){return t.modalPicTap(e,n)}}},[a?i("img",{attrs:{src:a,alt:""}}):t._e(),a?i("p",{staticClass:"txt"},[t._v(t._s(0==n?"选中":"未选中"))]):i("div",{staticClass:"empty-img"},[i("span",{staticClass:"iconfont iconjiahao"}),i("p",[t._v(t._s(0==n?"选中":"未选中"))])])])})),0),i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"label",attrs:{span:"4"}},[t._v("\n 名称\n ")]),i("Col",{staticClass:"slider-box",attrs:{span:"19"}},[i("Input",{attrs:{placeholder:"选填不超过10个字"},model:{value:a.name,callback:function(i){t.$set(a,"name",i)},expression:"item.name"}})],1)],1),i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"label",attrs:{span:"4"}},[t._v("\n 链接\n ")]),i("Col",{staticClass:"slider-box",attrs:{span:"19"}},[i("div",{on:{click:function(a){return t.getLink(e)}}},[i("Input",{attrs:{icon:"ios-arrow-forward",readonly:"",placeholder:"选填不超过10个字"},model:{value:a.link,callback:function(i){t.$set(a,"link",i)},expression:"item.link"}})],1)])],1)]),i("div",{staticClass:"del-box",on:{click:function(a){return t.deleteMenu(e)}}},[i("span",{staticClass:"iconfont iconcha"})])])})),0),t.footConfig.length<5?i("Button",{staticClass:"add-btn",attrs:{type:"info",ghost:""},on:{click:t.addMenu}},[t._v("添加图文导航")]):t._e(),i("div",[i("Modal",{attrs:{width:"960px",scrollable:"","footer-hide":"",closable:"",title:"上传底部菜单","mask-closable":!1,"z-index":1},model:{value:t.modalPic,callback:function(a){t.modalPic=a},expression:"modalPic"}},[t.modalPic?i("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1),i("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}})],1):t._e()}),[],!1,null,"ed821e64",null);a.default=r.exports},"34efc":function(t,a,i){"use strict";var e=i("fcbe");i.n(e).a},3539:function(t,a,i){},"381d":function(t,a,i){},"3bdf":function(t,a,i){},"3cf4":function(t,a,i){},"3d55":function(t,a,i){"use strict";i.r(a);var e={name:"c_radio",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{defaults:{},configData:{}}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{radioChange:function(t){this.$emit("getConfig",t)}}},n=(i("1f43"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.configData?i("div",{staticClass:"c_radio mb15"},[i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"c_label",class:"form"==t.configData.type?"on":"",attrs:{span:"4"}},[t._v("\n "+t._s(t.configData.title)+"\n ")]),i("Col",{staticClass:"color-box",attrs:{span:"19"}},[i("RadioGroup",{on:{"on-change":function(a){return t.radioChange(a)}},model:{value:t.configData.tabVal,callback:function(a){t.$set(t.configData,"tabVal",a)},expression:"configData.tabVal"}},t._l(t.configData.tabList,(function(a,e){return i("Radio",{key:e,attrs:{label:e}},[i("span",[t._v(t._s(a.name))])])})),1)],1)],1)]):t._e()}),[],!1,null,"7bb4146c",null);a.default=s.exports},"3d85":function(t,a,i){"use strict";i.r(a);var e={name:"c_is_show",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{defaults:{},configData:{}}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{}},n=(i("d9d8"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"c_label",class:{on:"form"==t.configData.type,on2:"ranges"==t.configData.type},attrs:{span:"form"==t.configData.type||"ranges"==t.configData.type?"4":""}},[t._v(t._s(t.configData.title))]),i("Col",{attrs:{span:"form"==t.configData.type||"ranges"==t.configData.type?"19":""}},[i("i-switch",{model:{value:t.configData.val,callback:function(a){t.$set(t.configData,"val",a)},expression:"configData.val"}},[i("span",{attrs:{slot:"open"},slot:"open"},[t._v("是")]),i("span",{attrs:{slot:"close"},slot:"close"},[t._v("否")])])],1)],1)}),[],!1,null,"34074252",null);a.default=s.exports},"478c":function(t,a,i){},"4c2b":function(t,a,i){},"4c39":function(t,a,i){"use strict";var e=i("9ae0");i.n(e).a},"4f9c":function(t,a,i){"use strict";var e=i("3539");i.n(e).a},"500d":function(t,a,i){"use strict";i.r(a);var e=i("2f62");function n(t,a){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);a&&(e=e.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),i.push.apply(i,e)}return i}function s(t,a,i){return a in t?Object.defineProperty(t,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[a]=i,t}var o={name:"c_upload_img",components:{uploadPictures:i("b0e7").a},computed:function(t){for(var a=1;a<arguments.length;a++){var i=null!=arguments[a]?arguments[a]:{};a%2?n(i,!0).forEach((function(a){s(t,a,i[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):n(i).forEach((function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))}))}return t}({},Object(e.e)({tabVal:function(t){return t.admin.mobildConfig.searchConfig.data.tabVal}})),props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{defaultList:[{name:"a42bdcc1178e62b4694c830f028db5c0",url:"https://o5wwk8baw.qnssl.com/a42bdcc1178e62b4694c830f028db5c0/avatar"},{name:"bc7521e033abdd1e92222d733590f104",url:"https://o5wwk8baw.qnssl.com/bc7521e033abdd1e92222d733590f104/avatar"}],defaults:{},configData:{},modalPic:!1,isChoice:"单选",gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},activeIndex:0}},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},methods:{bindDelete:function(){this.configData.url=""},modalPicTap:function(t){this.modalPic=!0},addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,a){var i=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:t,name:a,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});return this.dialog=i,new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){i.render(),i.open()}})}),37)},getPic:function(t){var a=this;this.$nextTick((function(){a.configData.url=t.att_dir,a.modalPic=!1}))}}},c=(i("68d6"),i("2877")),l=Object(c.a)(o,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.configData?i("div",{staticClass:"upload_img"},[i("div",{staticClass:"header"},[t._v(t._s(t.configData.header))]),i("div",{staticClass:"title"},[t._v(t._s(t.configData.title))]),i("div",{staticClass:"box",on:{click:function(a){return t.modalPicTap("单选")}}},[t.configData.url?i("img",{attrs:{src:t.configData.url,alt:""}}):i("div",{staticClass:"upload-box"},[i("Icon",{attrs:{type:"ios-camera-outline",size:"36"}})],1),t.configData.url&&t.configData.type?i("span",{staticClass:"iconfont-diy icondel_1",on:{click:function(a){return a.stopPropagation(),t.bindDelete(a)}}}):t._e()]),i("div",[i("Modal",{attrs:{width:"960px",scrollable:"","footer-hide":"",closable:"",title:t.configData.header?t.configData.header:"上传图片","mask-closable":!1,"z-index":1},model:{value:t.modalPic,callback:function(a){t.modalPic=a},expression:"modalPic"}},[t.modalPic?i("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1)]):t._e()}),[],!1,null,"1077af9d",null);a.default=l.exports},5413:function(t,a,i){"use strict";i.r(a);var e={name:"c_select",props:{configObj:{type:Object},configNme:{type:String},number:{type:null}},data:function(){return{defaults:{},configData:{},timeStamp:""}},mounted:function(){var t=this;this.$nextTick((function(){t.defaults=t.configObj,t.configData=t.configObj[t.configNme]}))},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},deep:!0},number:function(t){this.timeStamp=t}},methods:{sliderChange:function(t){var a=window.localStorage;this.configData.activeValue=t||a.getItem(this.timeStamp),this.$emit("getConfig",{name:"select",values:t})}}},n=(i("4c39"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"slider-box"},[i("div",{staticClass:"c_row-item"},[t.configData.title?i("Col",{staticClass:"label",attrs:{span:"4"}},[t._v("\n "+t._s(t.configData.title)+"\n ")]):t._e(),i("Col",{staticClass:"slider-box",attrs:{span:"19"}},[i("Select",{on:{"on-change":t.sliderChange},model:{value:t.configData.activeValue,callback:function(a){t.$set(t.configData,"activeValue",a)},expression:"configData.activeValue"}},t._l(t.configData.list,(function(a,e){return i("Option",{key:e,attrs:{value:a.activeValue}},[t._v(t._s(a.title))])})),1)],1)],1)])}),[],!1,null,"ea35ea5e",null);a.default=s.exports},"58f1":function(t,a,i){"use strict";i.r(a);var e={name:"c_txt_tab",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{defaults:{},configData:{}}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{radioChange:function(t){"itemSstyle"!==this.configData.name&&"bgStyle"!==this.configData.name&&"conStyle"!==this.configData.name&&this.$emit("getConfig",{name:"radio",values:t})}}},n=(i("f320"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.configData?i("div",{staticClass:"txt_tab"},[i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"c_label"},[t._v("\n "+t._s(t.configData.title)+"\n "),i("span",[t._v(t._s(t.configData.list[t.configData.type].val))])]),i("Col",{staticClass:"color-box"},[i("RadioGroup",{attrs:{type:"button"},on:{"on-change":function(a){return t.radioChange(a)}},model:{value:t.configData.type,callback:function(a){t.$set(t.configData,"type",a)},expression:"configData.type"}},t._l(t.configData.list,(function(a,e){return i("Radio",{key:e,attrs:{label:e}},[a.icon?i("span",{staticClass:"iconfont-diy",class:a.icon}):i("span",[t._v(t._s(a.val))])])})),1)],1)],1)]):t._e()}),[],!1,null,"5021fba3",null);a.default=s.exports},"5a4a":function(t,a,i){},"5b85":function(t,a,i){"use strict";var e=i("fa65");i.n(e).a},"60e2":function(t,a,i){"use strict";i.r(a);var e={name:"c_pictrue",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{defaults:{},configData:{},style:0,isUpdate:!1,currentIndex:0,arrayObj:{image:"",link:""}}},mounted:function(){var t=this;this.$nextTick((function(){t.defaults=t.configObj,t.configObj.hasOwnProperty("timestamp")?t.isUpdate=!0:t.isUpdate=!1,t.$set(t,"configData",t.configObj[t.configNme])}))},watch:{configObj:{handler:function(t,a){this.defaults=t,this.$set(this,"configData",t[this.configNme]),this.style=t.tabConfig.tabVal,this.isUpdate=!0,this.$set(this,"isUpdate",!0)},deep:!0},"configObj.tabConfig.tabVal":{handler:function(t,a){this.count=this.defaults.tabConfig.tabList[t].count,this.picArrayConcat(this.count),this.configData.picList.splice(t+1),this.currentIndex=0;var i=this.defaults.menuConfig.list[0];this.configData.picList[0]&&(i.img=this.configData.picList[0].image,i.info[0].value=this.configData.picList[0].link)},deep:!0}},methods:{currentTab:function(t,a){if(this.currentIndex=t,this.configData.tabVal=t,this.defaults.menuConfig.isCube){var i=this.defaults.menuConfig.list[0];a.picList[t]&&a.picList[t].image?(i.img=a.picList[t].image,i.info[0].value=a.picList[t].link):(i.img="",i.info[0].value="")}},picArrayConcat:function(t){for(var a=this.configData.picList.length;a<t;a++)this.configData.picList.push(this.arrayObj)}}},n=(i("b3d4"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"mobile-page"},[t.isUpdate?i("div",[i("Divider"),i("div",{staticClass:"title"},[t._v("布局")]),i("div",{staticClass:"tip"},[t._v("选定布局区域,在下方添加图片,建议添加比例一致的图片")]),i("div",{staticClass:"advert"},[t._l(t.configData.picList,(function(a,e){return 0===t.style?i("div",{key:e,staticClass:"advertItem01 acea-row"},[a.image?i("img",{attrs:{src:a.image}}):i("div",{staticClass:"empty-box"},[t._v("尺寸不限")])]):t._e()})),1===t.style?i("div",{staticClass:"advertItem02 acea-row"},t._l(t.configData.picList,(function(a,e){return i("div",{staticClass:"item",class:t.currentIndex===e?"on":"",on:{click:function(a){return t.currentTab(e,t.configData)}}},[a.image?i("img",{attrs:{src:a.image}}):i("div",{staticClass:"empty-box"},[t._m(0,!0)])])})),0):t._e(),2===t.style?i("div",{staticClass:"advertItem02 advertItem03 acea-row"},t._l(t.configData.picList,(function(a,e){return i("div",{staticClass:"item",class:t.currentIndex===e?"on":"",on:{click:function(a){return t.currentTab(e,t.configData)}}},[a.image?i("img",{attrs:{src:a.image}}):i("div",{staticClass:"empty-box"},[t._m(1,!0)])])})),0):t._e(),3===t.style?i("div",{staticClass:"advertItem04 acea-row"},[i("div",{staticClass:"item",class:0===t.currentIndex?"on":"",on:{click:function(a){return t.currentTab(0,t.configData)}}},[t.configData.picList[0].image?i("img",{attrs:{src:t.configData.picList[0].image}}):i("div",{staticClass:"empty-box"},[t._v("375*375像素或同比例")])]),i("div",{staticClass:"item"},[i("div",{staticClass:"pic",class:1===t.currentIndex?"on":"",on:{click:function(a){return t.currentTab(1,t.configData)}}},[t.configData.picList[1].image?i("img",{attrs:{src:t.configData.picList[1].image}}):i("div",{staticClass:"empty-box"},[t._v("375*188像素或同比例")])]),i("div",{staticClass:"pic",class:2===t.currentIndex?"on":"",on:{click:function(a){return t.currentTab(2,t.configData)}}},[t.configData.picList[2].image?i("img",{attrs:{src:t.configData.picList[2].image}}):i("div",{staticClass:"empty-box"},[t._v("375*188像素或同比例")])])])]):t._e(),4===t.style?i("div",{staticClass:"advertItem02 advertItem05 acea-row"},t._l(t.configData.picList,(function(a,e){return i("div",{staticClass:"item",class:t.currentIndex===e?"on":"",on:{click:function(a){return t.currentTab(e,t.configData)}}},[a.image?i("img",{attrs:{src:a.image}}):i("div",{staticClass:"empty-box"},[t._v("宽188像素高度不限")])])})),0):t._e(),5===t.style?i("div",{staticClass:"advertItem06 acea-row"},t._l(t.configData.picList,(function(a,e){return i("div",{staticClass:"item",class:t.currentIndex===e?"on":"",on:{click:function(a){return t.currentTab(e,t.configData)}}},[a.image?i("img",{attrs:{src:a.image}}):i("div",{staticClass:"empty-box"},[t._v("375*188像素或同比例")])])})),0):t._e()],2)],1):t._e()])}),[function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("div",[this._v("宽375像素")]),a("div",[this._v("高度不限")])])},function(){var t=this.$createElement,a=this._self._c||t;return a("div",[a("div",[this._v("宽250像素")]),a("div",[this._v("高度不限")])])}],!1,null,"170461fe",null);a.default=s.exports},"61f7":function(t,a,i){"use strict";function e(t,a){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);a&&(e=e.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),i.push.apply(i,e)}return i}function n(t){for(var a=1;a<arguments.length;a++){var i=null!=arguments[a]?arguments[a]:{};a%2?e(i,!0).forEach((function(a){s(t,a,i[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(i).forEach((function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))}))}return t}function s(t,a,i){return a in t?Object.defineProperty(t,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[a]=i,t}function o(t,a){/(y+)/.test(a)&&(a=a.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var i={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(var e in i)if(new RegExp("(".concat(e,")")).test(a)){var n=i[e]+"";a=a.replace(RegExp.$1,1===RegExp.$1.length?n:c(n))}return a}function c(t){return("00"+t).substr(t.length)}i.d(a,"a",(function(){return o})),i.d(a,"c",(function(){return f})),i.d(a,"b",(function(){return u}));var l={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"},r=function(t,a){t.message=function(t){return a.replace("%s",t||"")}};function f(t){return n({required:!0,message:t,type:"string"},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}function u(t){return d.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}r(f,"请输入%s"),r(u,"%s格式不正确");var d=Object.keys(l).reduce((function(t,a){return t[a]=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="range"===a?{min:t[0],max:t[1]}:s({},a,t);return n({message:i.replace(":".concat(a),"range"===a?"".concat(t[0],"-").concat(t[1]):t),type:"string"},o,{},e)},r(t[a],l[a]),t}),{})},"68d6":function(t,a,i){"use strict";var e=i("db04");i.n(e).a},"6b1a":function(t,a,i){"use strict";i.r(a);var e={name:"c_hot_box"},n=i("2877"),s=Object(n.a)(e,(function(){var t=this.$createElement;return(this._self._c||t)("div")}),[],!1,null,"3b5f862a",null);a.default=s.exports},8055:function(t,a,i){"use strict";i.r(a);var e={name:"c_input_number",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{defaults:{},sliderWidth:0,configData:{}}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{bindChange:function(){this.$emit("getConfig",{name:"number",numVal:this.configData.val})}}},n=(i("a83b"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.configData?i("div",{staticClass:"numbox"},[i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"label",class:"form"==t.configData.type?"on":"",attrs:{span:"4"}},[i("span",[t._v(t._s(t.configData.title||"商品数量"))])]),i("Col",{staticClass:"slider-box",attrs:{span:"19"}},[i("InputNumber",{staticStyle:{"text-align":"right"},attrs:{placeholder:"请输入数量",step:1,max:100,min:1},on:{"on-change":t.bindChange},model:{value:t.configData.val,callback:function(a){t.$set(t.configData,"val",a)},expression:"configData.val"}})],1)],1)]):t._e()}),[],!1,null,"749543b0",null);a.default=s.exports},"80c1":function(t,a,i){"use strict";i.r(a);var e={name:"c_slider",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{defaults:{},sliderWidth:0,configData:{}}},mounted:function(){var t=this;this.$nextTick((function(){t.defaults=t.configObj,t.configData=t.configObj[t.configNme]}))},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},deep:!0}},methods:{sliderChange:function(t){}}},n=(i("0388"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"slider-box"},[i("div",{staticClass:"c_row-item"},[t.configData.title?i("Col",{staticClass:"label",attrs:{span:"4"}},[t._v("\n "+t._s(t.configData.title)+"\n ")]):t._e(),i("Col",{staticClass:"slider-box",attrs:{span:"18"}},[i("Slider",{attrs:{"show-input":"",min:t.configData.min},on:{"on-change":function(a){return t.sliderChange(a)}},model:{value:t.configData.val,callback:function(a){t.$set(t.configData,"val",a)},expression:"configData.val"}})],1)],1)])}),[],!1,null,"7283c1ad",null);a.default=s.exports},"87c4":function(t,a,i){},"88a6":function(t,a,i){"use strict";var e=i("3bdf");i.n(e).a},"8a60":function(t,a,i){"use strict";var e=i("97c6");i.n(e).a},"95a6":function(t,a,i){"use strict";i.r(a);var e={name:"c_bg_color",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{defaults:{},configData:{},bgColor:{bgStar:"",bgEnd:""},oldColor:{bgStar:"",bgEnd:""},index:0}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{changeColor:function(t,a){t||(a.item="transparent")},resetBgA:function(t,a,i){t.item=this.configData.default[i].item}}},n=(i("c0ae"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",[t.configData?i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"c_label",attrs:{span:"8"}},[t._v(t._s(t.configData.title))]),i("Col",{staticClass:"color-box",attrs:{span:"14"}},t._l(t.configData.color,(function(a,e){return i("div",{key:e,staticClass:"color-item"},[i("ColorPicker",{attrs:{alpha:""},on:{"on-change":function(i){return t.changeColor(i,a)}},model:{value:a.item,callback:function(i){t.$set(a,"item",i)},expression:"color.item"}}),i("span",{on:{click:function(i){return t.resetBgA(a,t.index,e)}}},[t._v("重置")])],1)})),0)],1):t._e()])}),[],!1,null,"6874f878",null);a.default=s.exports},"97c6":function(t,a,i){},"9ae0":function(t,a,i){},"9e05":function(t,a,i){"use strict";i.r(a);var e={name:"c_goods_label",components:{storeLabelList:i("f1c7").a},props:{configObj:{type:Object},configNme:{type:String},number:{type:null}},data:function(){return{defaults:{},configData:{},timeStamp:"",storeLabelShow:!1}},mounted:function(){var t=this;this.$nextTick((function(){t.defaults=t.configObj,t.configData=t.configObj[t.configNme]}))},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},deep:!0},number:function(t){this.timeStamp=t}},methods:{openStoreLabel:function(t){this.storeLabelShow=!0,this.$refs.storeLabel.storeLabel(JSON.parse(JSON.stringify(this.configData.list)))},closeStoreLabel:function(t){var a=this.configData.list.indexOf(this.configData.list.filter((function(a){return a.id==t.id}))[0]);this.configData.list.splice(a,1),this.getLabelId(this.configData.list)},activeStoreData:function(t){this.storeLabelShow=!1,this.configData.list=t,this.getLabelId(t)},getLabelId:function(t){var a=[];t.forEach((function(t){a.push(t.id)})),this.configData.activeValue=a,this.$emit("getConfig",{name:"goodsLabel"})},storeLabelClose:function(){this.storeLabelShow=!1}}},n=(i("34efc"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"slider-box mt20"},[i("div",{staticClass:"c_row-item"},[t.configData.title?i("Col",{staticClass:"label",attrs:{span:"4"}},[t._v("\n "+t._s(t.configData.title)+"\n ")]):t._e(),i("Col",{staticClass:"slider-box",attrs:{span:"19"}},[i("div",{staticClass:"labelInput acea-row row-between-wrapper",on:{click:t.openStoreLabel}},[i("div",{staticStyle:{width:"90%"}},[t.configData.list.length?i("div",t._l(t.configData.list,(function(a,e){return i("Tag",{key:e,attrs:{closable:""},on:{"on-close":function(i){return t.closeStoreLabel(a)}}},[t._v(t._s(a.label_name))])})),1):i("span",{staticClass:"span"},[t._v("选择商品标签")])]),i("div",{staticClass:"iconfont iconxiayi"})])])],1),i("Modal",{attrs:{scrollable:"",title:"选择商品标签",closable:!0,width:"540","footer-hide":!0,"mask-closable":!1},model:{value:t.storeLabelShow,callback:function(a){t.storeLabelShow=a},expression:"storeLabelShow"}},[i("storeLabelList",{ref:"storeLabel",on:{activeData:t.activeStoreData,close:t.storeLabelClose}})],1)],1)}),[],!1,null,"3e5f3139",null);a.default=s.exports},a497:function(t,a,i){"use strict";i.r(a);var e=i("310e"),n=i.n(e),s=i("c4ad"),o={name:"c_goods",props:{configObj:{type:Object}},components:{goodsList:s.default,draggable:n.a},watch:{configObj:{handler:function(t,a){this.defaults=t},immediate:!0,deep:!0}},data:function(){return{modals:!1,goodsList:[],tempGoods:{},defaults:{}}},created:function(){this.defaults=this.configObj},methods:{unique:function(t){var a=new Map;return t.filter((function(t){return!a.has(t.id)&&a.set(t.id,1)}))},getProductId:function(t){this.modals=!1;var a=this.defaults.goodsList.list.concat(t);this.defaults.goodsList.list=this.unique(a)},cancel:function(){this.modals=!1},ok:function(){this.defaults.goodsList.list.push(this.tempGoods)},bindDelete:function(t){this.defaults.goodsList.list.splice(t,1)}}},c=(i("88a6"),i("2877")),l=Object(c.a)(o,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.defaults.goodsList?i("div",{staticClass:"goods-box"},[i("div",{staticClass:"wrapper"},[i("draggable",{staticClass:"dragArea list-group",attrs:{list:t.defaults.goodsList.list,group:"peoples"}},[t._l(t.defaults.goodsList.list,(function(a,e){return t.defaults.goodsList.list.length?i("div",{key:e,staticClass:"item"},[i("img",{attrs:{src:a.image,alt:""}}),i("span",{staticClass:"iconfont-diy icondel_1",on:{click:function(a){return a.stopPropagation(),t.bindDelete(e)}}})]):t._e()})),i("div",{staticClass:"add-item item",on:{click:function(a){t.modals=!0}}},[i("span",{staticClass:"iconfont-diy iconaddto"})])],2)],1),i("Modal",{staticClass:"paymentFooter",attrs:{title:"商品列表",footerHide:"",scrollable:"",width:"900"},on:{"on-cancel":t.cancel},model:{value:t.modals,callback:function(a){t.modals=a},expression:"modals"}},[t.modals?i("goods-list",{ref:"goodslist",attrs:{ischeckbox:!0,isdiy:!0},on:{getProductId:t.getProductId}}):t._e()],1)],1):t._e()}),[],!1,null,"909cf2b4",null);a.default=l.exports},a651:function(t,a,i){},a83b:function(t,a,i){"use strict";var e=i("1680");i.n(e).a},ad63:function(t,a,i){"use strict";var e=i("2588");i.n(e).a},b3d4:function(t,a,i){"use strict";var e=i("3cf4");i.n(e).a},b5004:function(t,a,i){"use strict";i.r(a);var e={name:"c_cascader",props:{configObj:{type:Object},configNme:{type:String},number:{type:null}},data:function(){return{defaults:{},configData:{},timeStamp:""}},mounted:function(){var t=this;this.$nextTick((function(){t.defaults=t.configObj,t.configData=t.configObj[t.configNme]}))},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},deep:!0},number:function(t){this.timeStamp=t}},methods:{sliderChange:function(t){var a=window.localStorage;this.configData.activeValue=t||a.getItem(this.timeStamp),this.$emit("getConfig",{name:"cascader",values:t})}}},n=i("2877"),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"slider-box"},[i("div",{staticClass:"c_row-item"},[t.configData.title?i("Col",{staticClass:"label",attrs:{span:"4"}},[t._v("\n "+t._s(t.configData.title)+"\n ")]):t._e(),i("Col",{staticClass:"slider-box",attrs:{span:"19"}},[i("Cascader",{attrs:{data:t.configData.list,placeholder:"请选择商品分类","change-on-select":"",filterable:""},on:{"on-change":t.sliderChange},model:{value:t.configData.activeValue,callback:function(a){t.$set(t.configData,"activeValue",a)},expression:"configData.activeValue"}})],1)],1)])}),[],!1,null,"cfe3db56",null);a.default=s.exports},b562:function(t,a,i){"use strict";i.d(a,"l",(function(){return n})),i.d(a,"n",(function(){return s})),i.d(a,"D",(function(){return o})),i.d(a,"h",(function(){return c})),i.d(a,"j",(function(){return l})),i.d(a,"m",(function(){return r})),i.d(a,"y",(function(){return f})),i.d(a,"a",(function(){return u})),i.d(a,"x",(function(){return d})),i.d(a,"s",(function(){return g})),i.d(a,"t",(function(){return p})),i.d(a,"C",(function(){return h})),i.d(a,"g",(function(){return m})),i.d(a,"i",(function(){return b})),i.d(a,"k",(function(){return v})),i.d(a,"d",(function(){return D})),i.d(a,"e",(function(){return C})),i.d(a,"f",(function(){return _})),i.d(a,"z",(function(){return x})),i.d(a,"B",(function(){return y})),i.d(a,"A",(function(){return O})),i.d(a,"H",(function(){return w})),i.d(a,"o",(function(){return j})),i.d(a,"c",(function(){return k})),i.d(a,"G",(function(){return A})),i.d(a,"E",(function(){return L})),i.d(a,"F",(function(){return S})),i.d(a,"w",(function(){return P})),i.d(a,"u",(function(){return $})),i.d(a,"v",(function(){return I})),i.d(a,"p",(function(){return E})),i.d(a,"b",(function(){return N})),i.d(a,"r",(function(){return B})),i.d(a,"q",(function(){return V}));var e=i("b6bd");function n(t){return Object(e.a)({url:"app/routine",method:"get",params:t})}function s(){return Object(e.a)({url:"app/routine/syncSubscribe",method:"GET"})}function o(){return Object(e.a)({url:"app/wechat/syncSubscribe",method:"GET"})}function c(){return Object(e.a)({url:"app/routine/create",method:"get"})}function l(t){return Object(e.a)({url:"app/routine/".concat(t,"/edit"),method:"get"})}function r(t){return Object(e.a)({url:"app/routine/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function f(t){return Object(e.a)({url:"app/wechat/menu",method:"get"})}function u(t){return Object(e.a)({url:"app/wechat/menu",method:"post",data:t})}function d(t){return Object(e.a)({url:"app/wechat/template",method:"get",params:t})}function g(){return Object(e.a)({url:"app/wechat/template/create",method:"get"})}function p(t){return Object(e.a)({url:"app/wechat/template/".concat(t,"/edit"),method:"get"})}function h(t){return Object(e.a)({url:"app/wechat/template/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function m(t){return Object(e.a)({url:t.url,method:"post",data:t.key})}function b(t){return Object(e.a)({url:"app/routine/download",method:"post",data:t})}function v(){return Object(e.a)({url:"app/routine/info",method:"get"})}function D(t){return Object(e.a)({url:"app/wechat/keyword",method:"get",params:t})}function C(t){return Object(e.a)({url:"app/wechat/keyword/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function _(t,a){return Object(e.a)({url:t,method:"get",params:a.key})}function x(t){return Object(e.a)({url:"/app/wechat/news",method:"POST",data:t})}function y(t){return Object(e.a)({url:"app/wechat/news",method:"GET",params:t})}function O(t){return Object(e.a)({url:"app/wechat/news/".concat(t),method:"GET"})}function w(t){return Object(e.a)({url:"app/wechat/user",method:"GET",params:t})}function j(){return Object(e.a)({url:"app/wechat/user/tag_group",method:"GET"})}function k(t){return Object(e.a)({url:t,method:"GET"})}function A(){return Object(e.a)({url:"app/wechat/tag",method:"GET"})}function L(){return Object(e.a)({url:"app/wechat/tag/create",method:"GET"})}function S(t){return Object(e.a)({url:"app/wechat/tag/".concat(t,"/edit"),method:"GET"})}function P(){return Object(e.a)({url:"app/wechat/group",method:"GET"})}function $(){return Object(e.a)({url:"app/wechat/group/create",method:"GET"})}function I(t){return Object(e.a)({url:"app/wechat/group/".concat(t,"/edit"),method:"GET"})}function E(t){return Object(e.a)({url:"app/wechat/action",method:"GET",params:t})}function N(t){return Object(e.a)({url:"app/wechat/code_reply/".concat(t),method:"GET"})}function B(){return Object(e.a)({url:"/app/wechat/card",method:"GET"})}function V(t){return Object(e.a)({url:"/app/wechat/card",method:"post",data:t})}},b762:function(t,a,i){"use strict";var e=i("4c2b");i.n(e).a},b7d1:function(t,a,i){"use strict";var e=i("0746");i.n(e).a},bd5a:function(t,a,i){"use strict";i.r(a);var e=i("a069"),n={name:"c_page_ueditor",props:{configObj:{type:Object},configNme:{type:String}},components:{WangEditor:e.a},data:function(){return{description:"",defaults:{},configData:{},val:""}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme],this.val=this.configData.val},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{getEditorContent:function(t){this.configData.val=t},addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,a){var i=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:t,name:a,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});return this.dialog=i,new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){i.render(),i.open()}})}),37),window.UE.registerUI("video-dialog",(function(t,a){var i=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.video/index.html?fodder=video",editor:t,name:a,title:"上传视频",cssRules:"width:1000px;height:500px;padding:20px;"});return this.dialog=i,new window.UE.ui.Button({name:"video-button",title:"上传视频",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -320px -20px;",onclick:function(){i.render(),i.open()}})}),38)}}},s=i("2877"),o=Object(s.a)(n,(function(){var t=this.$createElement,a=this._self._c||t;return this.configData?a("div",{staticClass:"box"},[a("WangEditor",{staticStyle:{width:"100%",height:"60%"},attrs:{content:this.val},on:{editorContent:this.getEditorContent}})],1):this._e()}),[],!1,null,"55332931",null);a.default=o.exports},bdaf:function(t,a,i){},befa:function(t,a,i){"use strict";var e=i("2f62");function n(t,a){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);a&&(e=e.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),i.push.apply(i,e)}return i}function s(t,a,i){return a in t?Object.defineProperty(t,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[a]=i,t}var o={name:"rightBtn",props:["activeIndex","configObj"],methods:function(t){for(var a=1;a<arguments.length;a++){var i=null!=arguments[a]?arguments[a]:{};a%2?n(i,!0).forEach((function(a){s(t,a,i[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):n(i).forEach((function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))}))}return t}({handleSubmit:function(t){var a={};a.activeIndex=this.activeIndex,a.data=this.configObj,this.add(a)}},Object(e.d)({add:"admin/mobildConfig/UPDATEARR"}))},c=i("2877"),l=Object(c.a)(o,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"btn-box",staticStyle:{display:"none"}},[i("Button",{staticStyle:{"text-align":"center",width:"60%"},attrs:{type:"primary"},on:{click:function(a){return t.handleSubmit("formInline")}}},[t._v("确定")])],1)}),[],!1,null,"0990cd28",null);a.a=l.exports},c0ae:function(t,a,i){"use strict";var e=i("478c");i.n(e).a},c31e:function(t,a,i){"use strict";i.r(a);var e=i("7af3"),n={name:"c_input_item",props:{configObj:{type:Object},configNme:{type:String}},components:{linkaddress:e.a},data:function(){return{value:"",defaults:{},configData:{}}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{linkUrl:function(t){this.configData.value=t},getLink:function(t){"链接"==t&&(this.$refs.linkaddres.modals=!0)}}},s=(i("b7d1"),i("2877")),o=Object(s.a)(n,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.configData?i("div",{staticClass:"box"},[i("div",{staticClass:"c_row-item",class:{on:"form"==t.configData.type,on2:"ranges"==t.configData.type}},[i("Col",{staticClass:"label",attrs:{span:"ranges"==t.configData.type?"":4}},[t._v("\n "+t._s(t.configData.title)+"\n ")]),i("Col",{staticClass:"slider-box",attrs:{span:"ranges"==t.configData.type?24:19}},[i("div",{on:{click:function(a){return t.getLink(t.configData.title)}}},["text"==t.configData.inputType?i("Input",{attrs:{type:1==t.defaults.valConfig.tabVal||4==t.defaults.valConfig.tabVal?"number":"text",icon:"链接"==t.configData.title?"ios-arrow-forward":"",readonly:"链接"==t.configData.title,placeholder:t.configData.place,maxlength:t.configData.max},model:{value:t.configData.value,callback:function(a){t.$set(t.configData,"value",a)},expression:"configData.value"}}):i("Input",{attrs:{icon:"链接"==t.configData.title?"ios-arrow-forward":"",readonly:"链接"==t.configData.title,placeholder:t.configData.place,maxlength:t.configData.max},model:{value:t.configData.value,callback:function(a){t.$set(t.configData,"value",a)},expression:"configData.value"}})],1)])],1),"form"!=t.configData.type?i("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}}):t._e()],1):t._e()}),[],!1,null,"d6cd8d1c",null);a.default=o.exports},c413:function(t,a,i){"use strict";i.r(a);var e={name:"c_select_item",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{defaults:{},configData:{},batchWord:"",visible:!1}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},watch:{configObj:{handler:function(t,a){this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{cancel:function(t){if(this.visible=!1,2==t){var a=[];this.batchWord.split("\n").forEach((function(t){var i={};i.val=t,a.push(i)})),this.configData.list=this.configData.list.concat(a)}this.batchWord=""},addHotTxt:function(){this.configData.list.push({val:""})},bindDelete:function(t){this.configData.list.splice(t,1)}}},n=(i("1964"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.configData?i("div",{staticClass:"select-word"},[i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"label",attrs:{span:"4"}},[t._v("\n "+t._s(t.configData.title)+"\n ")]),i("Col",{staticClass:"slider-box",attrs:{span:"19"}},[t._l(t.configData.list,(function(a,e){return i("div",{key:e,staticClass:"inputs"},[i("Input",{attrs:{icon:e>1?"ios-trash-outline":"",maxlength:"10",placeholder:"选填,不超过十个字"},on:{"on-click":function(a){return t.bindDelete(e)}},model:{value:a.val,callback:function(i){t.$set(a,"val",i)},expression:"item.val"}})],1)})),i("div",{staticClass:"button acea-row row-between-wrapper",class:0==t.configData.list.length?"on":""},[i("div",{staticClass:"bnt acea-row row-center-wrapper",on:{click:t.addHotTxt}},[i("span",{staticClass:"iconfont iconjia"}),t._v("\n 添加单个选项\n ")]),i("Poptip",{attrs:{placement:"bottom",trigger:"click",width:"256",transfer:"",padding:"8px"},model:{value:t.visible,callback:function(a){t.visible=a},expression:"visible"}},[i("div",{staticClass:"bnt acea-row row-center-wrapper"},[i("span",{staticClass:"iconfont iconjia"}),t._v("\n 批量添加选项\n ")]),i("div",{staticClass:"batchItem on",attrs:{slot:"content"},slot:"content"},[i("div",{staticClass:"title"},[t._v("批量添加选项")]),i("div",{staticClass:"tips"},[t._v("可按回车键添加多个选项")]),i("Input",{attrs:{type:"textarea",autosize:{minRows:3,maxRows:5}},model:{value:t.batchWord,callback:function(a){t.batchWord=a},expression:"batchWord"}}),i("div",{staticClass:"batchBnt acea-row row-right"},[i("Button",{on:{click:function(a){return a.stopPropagation(),t.cancel(1)}}},[t._v("取消")]),i("Button",{staticClass:"ml10",attrs:{type:"primary"},on:{click:function(a){return a.stopPropagation(),t.cancel(2)}}},[t._v("确定")])],1)],1)])],1)],2)],1)]):t._e()}),[],!1,null,"64304642",null);a.default=s.exports},c774:function(t,a,i){"use strict";i.r(a);var e=i("310e"),n=i.n(e),s=i("b0e7"),o=i("7af3"),c={name:"c_menu_list",props:{configObj:{type:Object},configNme:{type:String},index:{type:null}},components:{draggable:n.a,linkaddress:o.a,uploadPictures:s.a},data:function(){return{defaults:{},configData:{},menus:[],list:[{title:"aa",val:""}],modalPic:!1,isChoice:"单选",gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},activeIndex:0,indexLast:0,lastObj:{}}},mounted:function(){var t=this;this.$nextTick((function(){t.defaults=t.configObj,t.configData=t.configObj[t.configNme]}))},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},deep:!0}},methods:{linkUrl:function(t){this.configData.list[this.activeIndex].info[this.indexLast].value=t,"pictureCube"==this.defaults.name&&(this.defaults.picStyle.picList[this.defaults.picStyle.tabVal].link=t)},getLink:function(t,a,i){this.indexLast=i.length-1,a==i.length-1&&(this.activeIndex=t,this.$refs.linkaddres.modals=!0)},addBox:function(){if(0==this.configData.list.length)this.lastObj.img="",this.lastObj.info[0].value="",this.lastObj.info[1].value="",this.configData.list.push(this.lastObj);else{var t=JSON.parse(JSON.stringify(this.configData.list[this.configData.list.length-1]));t.img="",t.info[0].value="",t.info[1].value="",this.configData.list.push(t)}},modalPicTap:function(t,a){this.activeIndex=a,this.modalPic=!0},addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,a){var i=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:t,name:a,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});return this.dialog=i,new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){i.render(),i.open()}})}),37)},getPic:function(t){var a=this;this.$nextTick((function(){a.configData.list[a.activeIndex].img=t.att_dir;var i=a.defaults.menuConfig;i&&i.isCube&&a.defaults.picStyle.picList.splice(a.defaults.picStyle.tabVal,1,{image:t.att_dir,link:i.list[0].info[0].value}),a.modalPic=!1}))},onBlur:function(){var t=this.defaults.menuConfig;this.defaults.picStyle.picList[this.defaults.picStyle.tabVal].link=t.list[0].info[0].value},bindDelete:function(t,a){1==this.configData.list.length&&(this.lastObj=this.configData.list[0]),this.configData.list.splice(a,1)}}},l=(i("146e"),i("2877")),r=Object(l.a)(c,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"hot_imgs"},[t.configData.title?i("div",{staticClass:"title"},[t._v("\n "+t._s(t.configData.title)+"\n ")]):t._e(),i("div",{staticClass:"list-box"},[i("draggable",{staticClass:"dragArea list-group",attrs:{list:t.configData.list,group:"peoples",handle:".move-icon"}},t._l(t.configData.list,(function(a,e){return i("div",{key:e,staticClass:"item"},[i("div",{staticClass:"move-icon"},[i("span",{staticClass:"iconfont-diy icondrag"})]),i("div",{staticClass:"img-box",on:{click:function(a){return t.modalPicTap("单选",e)}}},[a.img?i("img",{attrs:{src:a.img,alt:""}}):i("div",{staticClass:"upload-box"},[i("Icon",{attrs:{type:"ios-camera-outline",size:"36"}})],1),t.configData.isCube?t._e():i("div",{staticClass:"delect-btn",on:{click:function(i){return i.stopPropagation(),t.bindDelete(a,e)}}},[i("span",{staticClass:"iconfont-diy icondel_1"})])]),i("div",{staticClass:"info"},t._l(a.info,(function(n,s){return i("div",{key:s,staticClass:"info-item"},[i("span",[t._v(t._s(n.title))]),i("div",{staticClass:"input-box",on:{click:function(i){return t.getLink(e,s,a.info)}}},[t.configData.isCube?i("Input",{attrs:{icon:s==a.info.length-1?"ios-arrow-forward":"",readonly:s==a.info.length-1,placeholder:n.tips,maxlength:n.max},on:{"on-blur":t.onBlur},model:{value:n.value,callback:function(a){t.$set(n,"value",a)},expression:"infos.value"}}):i("Input",{attrs:{icon:s==a.info.length-1?"ios-arrow-forward":"",readonly:s==a.info.length-1,placeholder:n.tips,maxlength:n.max},model:{value:n.value,callback:function(a){t.$set(n,"value",a)},expression:"infos.value"}})],1)])})),0)])})),0),i("div",[i("Modal",{attrs:{width:"960px",scrollable:"","footer-hide":"",closable:"",title:"上传图片","mask-closable":!1,"z-index":1},model:{value:t.modalPic,callback:function(a){t.modalPic=a},expression:"modalPic"}},[t.modalPic?i("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1)],1),t.configData.list?[t.configData.list.length<t.configData.maxList?i("div",{staticClass:"add-btn"},[i("Button",{staticStyle:{width:"100%",height:"40px","border-color":"#1890FF",color:"#1890FF"},attrs:{type:"primary",ghost:""},on:{click:t.addBox}},[t._v("添加板块")])],1):t._e()]:t._e(),i("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}})],2)}),[],!1,null,"1737e8d9",null);a.default=r.exports},d4a0:function(t,a,i){},d917:function(t,a,i){"use strict";var e=i("defd");i.n(e).a},d92d:function(t,a,i){"use strict";var e=i("bdaf");i.n(e).a},d9d8:function(t,a,i){"use strict";var e=i("e5c8");i.n(e).a},db04:function(t,a,i){},db7c:function(t,a,i){},dd01:function(t,a,i){},defd:function(t,a,i){},e291:function(t,a,i){"use strict";i.r(a);var e={name:"c_status",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{configData:{status:!1}}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{change:function(t){var a=this;this.$nextTick((function(){a.configData.status=t,a.$store.commit("admin/mobildConfig/footStatus",t)}))}}},n=(i("ad63"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",[t.configData?i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"c_label",attrs:{span:"8"}},[t._v(t._s(t.configData.title))]),i("Col",{staticClass:"color-box",attrs:{span:"14"}},[i("i-switch",{attrs:{"true-value":!0,"false-value":!1},on:{"on-change":t.change},model:{value:t.configData.status,callback:function(a){t.$set(t.configData,"status",a)},expression:"configData.status"}})],1)],1):t._e()])}),[],!1,null,"56612750",null);a.default=s.exports},e2f1:function(t,a,i){},e5c8:function(t,a,i){},e9e6:function(t,a,i){"use strict";var e=i("381d");i.n(e).a},edba:function(t,a,i){"use strict";i.r(a);var e={name:"c_comb_data",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{defaults:{},configData:{}}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{getDaterange:function(t){this.$emit("getConfig",{type:2,val:t})},radioChange:function(t){this.$emit("getConfig",{type:0,val:t})},radioDataChange:function(t){this.$emit("getConfig",{type:1,val:t})}}},n=(i("b762"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.configData?i("div",{staticClass:"c_radio mb15"},[i("div",{staticClass:"c_row-item",class:{on:"ranges"==t.configData.type}},[i("Col",{staticClass:"c_label on",attrs:{span:"ranges"==t.configData.type?"":4}},[t._v("\n "+t._s(t.configData.title)+"\n ")]),i("Col",{staticClass:"color-box",attrs:{span:"ranges"==t.configData.type?24:19}},[i("div",[i("RadioGroup",{on:{"on-change":function(a){return t.radioChange(a)}},model:{value:t.configData.tabVal,callback:function(a){t.$set(t.configData,"tabVal",a)},expression:"configData.tabVal"}},t._l(t.configData.tabList,(function(a,e){return i("Radio",{key:e,attrs:{label:e}},[i("span",[t._v(t._s(a.name))])])})),1)],1),i("div",[0==t.configData.tabVal?i("RadioGroup",{on:{"on-change":function(a){return t.radioDataChange(a)}},model:{value:t.configData.tabData,callback:function(a){t.$set(t.configData,"tabData",a)},expression:"configData.tabData"}},t._l(t.configData.dataList,(function(a,e){return i("Radio",{key:e+"data",attrs:{label:e}},[i("span",[t._v(t._s(a.name))])])})),1):t._e()],1),1==t.configData.tabData&&0==t.configData.tabVal&&"data"==t.configData.type?i("DatePicker",{staticStyle:{"margin-top":"6px"},attrs:{type:"date",placeholder:"请选择"},model:{value:t.configData.specifyDate,callback:function(a){t.$set(t.configData,"specifyDate",a)},expression:"configData.specifyDate"}}):1==t.configData.tabData&&0==t.configData.tabVal&&"time"==t.configData.type?i("TimePicker",{staticStyle:{"margin-top":"6px"},attrs:{type:"time",format:"HH:mm",placeholder:"请选择"},model:{value:t.configData.specifyDate,callback:function(a){t.$set(t.configData,"specifyDate",a)},expression:"configData.specifyDate"}}):1==t.configData.tabData&&0==t.configData.tabVal&&"daterange"==t.configData.type?i("DatePicker",{staticStyle:{"margin-top":"6px"},attrs:{type:"daterange",placement:"bottom-end",format:"yyyy/MM/dd",placeholder:"请选择"},on:{"on-change":t.getDaterange},model:{value:t.configData.specifyDate,callback:function(a){t.$set(t.configData,"specifyDate",a)},expression:"configData.specifyDate"}}):1==t.configData.tabData&&0==t.configData.tabVal&&"timerange"==t.configData.type?i("TimePicker",{staticStyle:{"margin-top":"6px"},attrs:{format:"HH:mm",type:"timerange",placement:"bottom-end",placeholder:"请选择"},model:{value:t.configData.specifyDate,callback:function(a){t.$set(t.configData,"specifyDate",a)},expression:"configData.specifyDate"}}):t._e()],1)],1)]):t._e()}),[],!1,null,"4ab71983",null);a.default=s.exports},f1c7:function(t,a,i){"use strict";var e=i("c4c8"),n={name:"storeLabelList",props:{},data:function(){return{labelList:[],dataLabel:[],isStore:!1}},mounted:function(){},methods:{inArray:function(t,a){for(var i in a)if(a[i].id===t)return!0;return!1},storeLabel:function(t){var a=this;this.dataLabel=t,Object(e.cb)().then((function(t){t.data.map((function(t){t.children&&t.children.length&&(a.isStore=!0,t.children.map((function(t){a.inArray(t.id,a.dataLabel)?t.disabled=!0:t.disabled=!1})))})),a.labelList=t.data})).catch((function(t){a.$Message.error(t.msg)}))},selectLabel:function(t){if(t.disabled){var a=this.dataLabel.indexOf(this.dataLabel.filter((function(a){return a.id===t.id}))[0]);this.dataLabel.splice(a,1),t.disabled=!1}else this.dataLabel.push({label_name:t.label_name,id:t.id}),t.disabled=!0},subBtn:function(){this.$emit("activeData",JSON.parse(JSON.stringify(this.dataLabel)))},cancel:function(){this.$emit("close")}}},s=(i("4f9c"),i("2877")),o=Object(s.a)(n,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"label-wrapper"},[i("div",{staticClass:"list-box"},[t._l(t.labelList,(function(a,e){return t.isStore?i("div",{key:e,staticClass:"label-box"},[a.children&&a.children.length?i("div",{staticClass:"title"},[t._v(t._s(a.label_name))]):t._e(),a.children&&a.children.length?i("div",{staticClass:"list"},t._l(a.children,(function(a,e){return i("div",{key:e,staticClass:"label-item",class:{on:a.disabled},on:{click:function(i){return t.selectLabel(a)}}},[t._v(t._s(a.label_name))])})),0):t._e()]):t._e()})),t.isStore?t._e():i("div",[t._v("暂无标签")])],2),i("div",{staticClass:"footer"},[i("Button",{staticClass:"btns",attrs:{type:"primary"},on:{click:t.subBtn}},[t._v("确定")]),i("Button",{staticClass:"btns",attrs:{type:"primary",ghost:""},on:{click:t.cancel}},[t._v("取消")])],1)])}),[],!1,null,"96f98f60",null);a.a=o.exports},f320:function(t,a,i){"use strict";var e=i("d4a0");i.n(e).a},f3ffe:function(t,a,i){"use strict";i.r(a);var e=i("310e"),n={name:"c_hot_word",props:{configObj:{type:Object},configNme:{type:String}},components:{draggable:i.n(e).a},data:function(){return{hotWordList:[],hotIndex:1,defaults:{},configData:{}}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},watch:{configObj:{handler:function(t,a){this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{addHotTxt:function(){this.configData.list.push({val:""})},bindDelete:function(t){this.configData.list.splice(t,1)}}},s=(i("17a1"),i("2877")),o=Object(s.a)(n,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.configData?i("div",{staticClass:"line-box"},[t._m(0),i("div",{staticClass:"input-box"},[i("draggable",{staticClass:"dragArea list-group",attrs:{list:t.configData.list,group:"peoples",handle:".icon"}},t._l(t.configData.list,(function(a,e){return i("div",{key:e,staticClass:"input-item"},[i("div",{staticClass:"icon"},[i("Icon",{attrs:{type:"ios-keypad",size:"20"}})],1),i("Input",{attrs:{maxlength:"10",placeholder:"选填,不超过十个字"},model:{value:a.val,callback:function(i){t.$set(a,"val",i)},expression:"item.val"}}),i("div",{staticClass:"delete",on:{click:function(a){return a.stopPropagation(),t.bindDelete(e)}}},[i("Icon",{attrs:{type:"ios-close-circle",size:"20"}})],1)],1)})),0),t.configData.list.length<20?i("div",{staticClass:"add-btn",on:{click:t.addHotTxt}},[i("Button",{staticStyle:{width:"100%",height:"40px","border-color":"#1890FF",color:"#1890FF"},attrs:{type:"primary",ghost:""}},[t._v("添加热词")])],1):t._e()],1)]):t._e()}),[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"title"},[a("p",[this._v("搜索热词")]),a("span",[this._v("热词最多20个词,鼠标拖拽左侧圆点可调整")])])}],!1,null,"638547c9",null);a.default=o.exports},f57c:function(t,a,i){},fa65:function(t,a,i){},fa66:function(t,a,i){"use strict";i.r(a);var e=i("310e"),n=i.n(e),s=i("f1c7"),o=i("c4ad"),c={name:"c_promotion",props:{configObj:{type:Object},configNme:{type:String},index:{type:null}},components:{draggable:n.a,storeLabelList:s.a,goodsList:o.default},data:function(){return{defaults:{},configData:{},itemObj:{},storeLabelShow:!1,modals:!1}},mounted:function(){var t=this;this.$nextTick((function(){t.defaults=t.configObj,t.configData=t.configObj[t.configNme]}))},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},deep:!0}},methods:{openGoods:function(){this.modals=!0},unique:function(t){var a=new Map;return t.filter((function(t){return!a.has(t.id)&&a.set(t.id,1)}))},getProductId:function(t){this.modals=!1;var a=this.configData.list[this.configData.tabCur].goodsList.list.concat(t);this.configData.list[this.configData.tabCur].goodsList.list=this.unique(a)},cancel:function(){this.modals=!1},bindGoodDelete:function(t){this.configData.list[this.configData.tabCur].goodsList.list.splice(t,1)},openStoreLabel:function(t,a){this.storeLabelShow=!0,this.$refs.storeLabel.storeLabel(JSON.parse(JSON.stringify(t)))},closeStoreLabel:function(t){var a=this.configData.list[this.configData.tabCur].goodsLabel.list,i=a.indexOf(a.filter((function(a){return a.id==t.id}))[0]);a.splice(i,1),this.getLabelId(a)},activeStoreData:function(t){this.storeLabelShow=!1,this.configData.list[this.configData.tabCur].goodsLabel.list=t,this.getLabelId(t)},getLabelId:function(t){var a=[];t.forEach((function(t){a.push(t.id)})),this.configData.list[this.configData.tabCur].goodsLabel.activeValue=a,this.$emit("getConfig",{name:"goodsLabel"})},storeLabelClose:function(){this.storeLabelShow=!1},addHotTxt:function(){if(0==this.configData.list.length){var t=window.localStorage;this.itemObj=JSON.parse(t.getItem("itemObj")),this.itemObj.link&&(this.itemObj.link.activeVal=0),this.itemObj.chiild[0].val="首发新品",this.itemObj.chiild[1].val="最新出炉",this.itemObj.tabVal=0,this.itemObj.selectConfig.activeValue=[],this.itemObj.goodsLabel.activeValue=[],this.itemObj.goodsLabel.list=[],this.itemObj.goodsSort=0,this.itemObj.numConfig.val=6,this.itemObj.goodsList.list=[],this.itemObj.productList.list=[],this.configData.list.push(this.itemObj)}else{var a=JSON.parse(JSON.stringify(this.configData.list[this.configData.list.length-1]));a.chiild[0].empty&&(a.chiild[0].val="",a.chiild[1].val=""),a.tabVal=0,a.selectConfig.activeValue=[],a.goodsLabel.activeValue=[],a.goodsLabel.list=[],a.goodsSort=0,a.numConfig.val=6,a.goodsList.list=[],a.productList.list=[],this.configData.list.push(a)}},bindDelete:function(t){if(1==this.configData.list.length){var a=this.configData.list[0];this.itemObj=a,window.localStorage.setItem("itemObj",JSON.stringify(a))}this.configData.list.splice(t,1),this.configData.tabCur=0,this.$emit("getConfig",{name:"delete",indexs:0})},activeBtn:function(t){this.configData.tabCur=t},radioChange:function(t){this.$emit("getConfig",{name:"promotion",values:t})},sliderChange:function(t){this.configData.list[this.configData.tabCur].selectConfig.activeValue=t,this.$emit("getConfig",{name:"cascader",values:t})},tabChange:function(t){this.$emit("getConfig",t)}}},l=(i("0d73"),i("2877")),r=Object(l.a)(c,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.configData?i("div",{staticClass:"c_product"},[i("div",{staticClass:"title"},[t._v(t._s(t.configData.title))]),i("div",{staticClass:"list-box"},[i("draggable",{staticClass:"dragArea list-group",attrs:{list:t.configData.list,group:"peoples",handle:".move-icon"}},t._l(t.configData.list,(function(a,e){return i("div",{key:e,staticClass:"item",on:{click:function(a){return t.activeBtn(e)}},model:{value:t.configData.tabCur,callback:function(a){t.$set(t.configData,"tabCur",a)},expression:"configData.tabCur"}},[i("div",{staticClass:"acea-row"},[i("div",{staticClass:"move-icon"},[i("span",{staticClass:"iconfont-diy icondrag2"})]),i("div",{staticClass:"content"},t._l(a.chiild,(function(a,e){return i("div",{key:e,staticClass:"con-item"},[i("span",[t._v(t._s(a.title))]),i("div",{staticStyle:{width:"100%"}},[i("Input",{attrs:{placeholder:a.pla,maxlength:a.max},model:{value:a.val,callback:function(i){t.$set(a,"val",i)},expression:"list.val"}})],1)])})),0)]),t.configData.tabCur==e?i("div",{staticClass:"acea-row row-right"},[i("div",{staticClass:"conter"},[i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"c_label"},[t._v("\n\t\t\t\t\t\t\t 选择方式"),i("span",[t._v(t._s(a.tabVal?"手动选择":"自动选择"))])]),i("Col",{staticClass:"color-box"},[i("RadioGroup",{attrs:{type:"button"},on:{"on-change":function(a){return t.tabChange(a)}},model:{value:a.tabVal,callback:function(i){t.$set(a,"tabVal",i)},expression:"item.tabVal"}},[i("Radio",{attrs:{label:0}},[i("span",{staticClass:"iconfont-diy iconzidongxuanze"})]),i("Radio",{attrs:{label:1}},[i("span",{staticClass:"iconfont-diy iconshoudongxuanze"})])],1)],1)],1),0==a.tabVal?i("div",[i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"label",attrs:{span:"5"}},[t._v("商品分类")]),i("Col",{staticClass:"slider-box",attrs:{span:"18"}},[i("Cascader",{attrs:{data:t.configData.classList,placeholder:"请选择商品分类","change-on-select":"",filterable:""},on:{"on-change":t.sliderChange},model:{value:a.selectConfig.activeValue,callback:function(i){t.$set(a.selectConfig,"activeValue",i)},expression:"item.selectConfig.activeValue"}})],1)],1),i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"label",attrs:{span:"5"}},[t._v("商品标签")]),i("Col",{staticClass:"slider-box",attrs:{span:"18"}},[i("div",{staticClass:"labelInput acea-row row-between-wrapper",on:{click:function(i){return t.openStoreLabel(a.goodsLabel.list,e)}}},[i("div",{staticStyle:{width:"90%"}},[a.goodsLabel.list.length?i("div",t._l(a.goodsLabel.list,(function(a,e){return i("Tag",{key:e,attrs:{closable:""},on:{"on-close":function(i){return t.closeStoreLabel(a)}}},[t._v(t._s(a.label_name))])})),1):i("span",{staticClass:"span"},[t._v("选择商品标签")])]),i("div",{staticClass:"iconfont iconxiayi"})])])],1),i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"c_label"},[t._v("\n\t\t\t\t\t\t\t\t 商品排序"),i("span",[t._v(t._s(0==a.goodsSort?"综合":1==a.goodsSort?"销量":"价格"))])]),i("Col",{staticClass:"color-box"},[i("RadioGroup",{attrs:{type:"button"},on:{"on-change":function(a){return t.radioChange(a)}},model:{value:a.goodsSort,callback:function(i){t.$set(a,"goodsSort",i)},expression:"item.goodsSort"}},[i("Radio",{attrs:{label:0}},[i("span",{staticClass:"iconfont-diy iconComm_whole"})]),i("Radio",{attrs:{label:1}},[i("span",{staticClass:"iconfont-diy iconComm_number"})]),i("Radio",{attrs:{label:2}},[i("span",{staticClass:"iconfont-diy iconComm_Price"})])],1)],1)],1),i("div",{staticClass:"c_row-item"},[i("Col",{staticClass:"label",attrs:{span:"5"}},[i("span",[t._v("商品数量")])]),i("Col",{staticClass:"slider-box",attrs:{span:"18"}},[i("InputNumber",{attrs:{placeholder:"请输入数量",step:1,max:100,min:1},on:{"on-change":function(a){return t.radioChange(a)}},model:{value:a.numConfig.val,callback:function(i){t.$set(a.numConfig,"val",i)},expression:"item.numConfig.val"}})],1)],1)]):i("div",{staticClass:"goods-box"},[i("draggable",{staticClass:"dragArea list-group",attrs:{list:a.goodsList.list,group:"peoples"}},[t._l(a.goodsList.list,(function(e,n){return a.goodsList.list.length?i("div",{key:n,staticClass:"items"},[i("img",{attrs:{src:e.image,alt:""}}),i("span",{staticClass:"iconfont-diy icondel_1",on:{click:function(a){return a.stopPropagation(),t.bindGoodDelete(n)}}})]):t._e()})),i("div",{staticClass:"add-item items",on:{click:function(a){return t.openGoods(e)}}},[i("span",{staticClass:"iconfont-diy iconaddto"})])],2)],1)])]):t._e(),i("div",{staticClass:"delete",on:{click:function(a){return a.stopPropagation(),t.bindDelete(e)}}},[i("Icon",{attrs:{type:"ios-close-circle",size:"26"}})],1)])})),0)],1),t.configData.list?i("div",[i("div",{staticClass:"add-btn",on:{click:t.addHotTxt}},[i("Button",{staticStyle:{width:"100%",height:"40px","border-color":"#1890FF",color:"#1890FF"},attrs:{type:"primary",ghost:""}},[t._v("添加模块")])],1)]):t._e(),i("Modal",{attrs:{scrollable:"",title:"选择商品标签",closable:!0,width:"540","footer-hide":!0,"mask-closable":!1},model:{value:t.storeLabelShow,callback:function(a){t.storeLabelShow=a},expression:"storeLabelShow"}},[i("storeLabelList",{ref:"storeLabel",on:{activeData:t.activeStoreData,close:t.storeLabelClose}})],1),i("Modal",{staticClass:"paymentFooter",attrs:{title:"商品列表",footerHide:"",scrollable:"",width:"900"},on:{"on-cancel":t.cancel},model:{value:t.modals,callback:function(a){t.modals=a},expression:"modals"}},[t.modals?i("goods-list",{ref:"goodslist",attrs:{ischeckbox:!0,isdiy:!0},on:{getProductId:t.getProductId}}):t._e()],1)],1):t._e()}),[],!1,null,"13d2289b",null);a.default=r.exports},fabe:function(t,a,i){"use strict";var e=i("dd01");i.n(e).a},fcbe:function(t,a,i){},fd0b:function(t,a,i){"use strict";var e=i("df7c"),n=i("2c34"),s={};n.keys().forEach((function(t){var a=e.basename(t,".vue");s[a]=n(t).default||n(t)})),a.a=s},fe40:function(t,a,i){"use strict";i.r(a);var e=i("310e"),n=i.n(e),s=i("7af3"),o={name:"c_product",props:{configObj:{type:Object},configNme:{type:String},index:{type:null}},components:{linkaddress:s.a,draggable:n.a},data:function(){return{defaults:{},configData:{},itemObj:{},activeIndex:0}},mounted:function(){var t=this;this.$nextTick((function(){t.defaults=t.configObj,t.configData=t.configObj[t.configNme]}))},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},deep:!0}},methods:{linkUrl:function(t){this.configData.list[this.activeIndex].chiild[1].val=t},getLink:function(t,a,i){a&&!i.link&&(this.activeIndex=t,this.$refs.linkaddres.modals=!0)},addHotTxt:function(){if(0==this.configData.list.length){var t=window.localStorage;this.itemObj=JSON.parse(t.getItem("itemObj")),this.itemObj.link&&(this.itemObj.link.activeVal=0),this.itemObj.chiild[0].val="",this.itemObj.chiild[1].val="",this.configData.list.push(this.itemObj)}else{var a=JSON.parse(JSON.stringify(this.configData.list[this.configData.list.length-1]));a.chiild[0].empty&&(a.chiild[0].val="",a.chiild[1].val=""),this.configData.list.push(a)}},bindDelete:function(t){if(1==this.configData.list.length){var a=this.configData.list[0];this.itemObj=a,window.localStorage.setItem("itemObj",JSON.stringify(a))}this.configData.list.splice(t,1),this.configData.tabCur=0,this.$emit("getConfig",{name:"delete",indexs:0})},sliderChange:function(t){this.configData.tabCur=t,this.$emit("getConfig",{name:"product",indexs:t})},activeBtn:function(t){this.configData.tabCur=t,this.$emit("getConfig",{name:"product",indexs:t})}}},c=(i("e9e6"),i("2877")),l=Object(c.a)(o,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return t.configData?i("div",{staticClass:"c_product"},[i("div",{staticClass:"title"},[t._v(t._s(t.configData.title))]),i("div",{staticClass:"list-box"},[i("draggable",{staticClass:"dragArea list-group",attrs:{list:t.configData.list,group:"peoples",handle:".move-icon"}},t._l(t.configData.list,(function(a,e){return i("div",{key:e,staticClass:"item",on:{click:function(a){return t.activeBtn(e)}},model:{value:t.configData.tabCur,callback:function(a){t.$set(t.configData,"tabCur",a)},expression:"configData.tabCur"}},[i("div",{staticClass:"move-icon"},[i("span",{staticClass:"iconfont-diy icondrag2"})]),i("div",{staticClass:"content"},[t._l(a.chiild,(function(n,s){return i("div",{key:s,staticClass:"con-item"},[i("span",[t._v(t._s(n.title))]),i("div",{staticStyle:{width:"100%"},on:{click:function(i){return t.getLink(e,s,a)}}},[i("Input",{attrs:{icon:s&&!a.link?"ios-arrow-forward":"",readonly:!(!s||a.link),placeholder:n.pla,maxlength:n.max},model:{value:n.val,callback:function(a){t.$set(n,"val",a)},expression:"list.val"}})],1)])})),a.link?i("div",{staticClass:"con-item"},[i("span",[t._v(t._s(a.link.title))]),i("Select",{on:{"on-change":function(a){return t.sliderChange(e)}},model:{value:a.link.activeVal,callback:function(i){t.$set(a.link,"activeVal",i)},expression:"item.link.activeVal"}},t._l(a.link.optiops,(function(a,e){return i("Option",{key:e,attrs:{value:a.value}},[t._v(t._s(a.label)+"\n ")])})),1)],1):t._e()],2),i("div",{staticClass:"delete",on:{click:function(a){return a.stopPropagation(),t.bindDelete(e)}}},[i("Icon",{attrs:{type:"ios-close-circle",size:"26"}})],1)])})),0)],1),t.configData.list?i("div",[t.configData.list.length<t.configData.max?i("div",{staticClass:"add-btn",on:{click:t.addHotTxt}},[i("Button",{staticStyle:{width:"100%",height:"40px","border-color":"#1890FF",color:"#1890FF"},attrs:{type:"primary",ghost:""}},[t._v("添加模块")])],1):t._e()]):t._e(),i("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}})],1):t._e()}),[],!1,null,"255100ea",null);a.default=l.exports},fed0:function(t,a,i){"use strict";i.r(a);var e={name:"c_set_up",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{defaults:{},configData:{}}},watch:{configObj:{handler:function(t,a){this.defaults=t,this.configData=t[this.configNme]},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){t.defaults=t.configObj,t.configData=t.configObj[t.configNme]}))},methods:{onClickTab:function(t){}}},n=(i("5b85"),i("2877")),s=Object(n.a)(e,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"setUp"},[[i("Tabs",{model:{value:t.configData.tabVal,callback:function(a){t.$set(t.configData,"tabVal",a)},expression:"configData.tabVal"}},[i("TabPane",{attrs:{label:"内容设置"}}),i("TabPane",{attrs:{label:"样式设置"}})],1)]],2)}),[],!1,null,"081e38cc",null);a.default=s.exports}}]);