1 line
84 KiB
JavaScript
1 line
84 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d5e173b6","chunk-2d0da983","chunk-2d0da983"],{"0165":function(t,i,e){"use strict";e("6c75")},"01fd":function(t,i,e){"use strict";e("9f5b")},"144d":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"hot_imgs"},[t.configData.title?e("div",{staticClass:"title"},[t._v("\n "+t._s(t.configData.title)+"\n ")]):t._e(),t._v(" "),e("div",{staticClass:"list-box"},[e("draggable",{staticClass:"dragArea list-group",attrs:{list:t.configData.list,group:"peoples",handle:".move-icon"}},t._l(t.configData.list,(function(i,a){return e("div",{key:a,staticClass:"item"},[e("div",{staticClass:"info"},t._l(i.info,(function(n,s){return e("div",{key:s,staticClass:"info-item"},[e("span",[t._v(t._s(n.title))]),t._v(" "),e("div",{staticClass:"input-box",on:{click:function(e){return t.getLink(a,s,i.info)}}},[t.configData.isCube?e("el-input",{attrs:{readonly:s==i.info.length-1,placeholder:n.tips,maxlength:n.max},on:{blur:t.onBlur},model:{value:n.value,callback:function(i){t.$set(n,"value",i)},expression:"infos.value"}},[s==i.info.length-1?e("el-button",{attrs:{slot:"append",icon:"el-icon-arrow-right"},slot:"append"}):t._e()],1):e("el-input",{attrs:{readonly:s==i.info.length-1,placeholder:n.tips,maxlength:n.max},model:{value:n.value,callback:function(i){t.$set(n,"value",i)},expression:"infos.value"}},[s==i.info.length-1?e("el-button",{attrs:{slot:"append",icon:"el-icon-arrow-right"},slot:"append"}):t._e()],1)],1)])})),0)])})),0),t._v(" "),e("div",[e("el-dialog",{attrs:{visible:t.modalPic,width:"950px",title:"上传图片"},on:{"update:visible":function(i){t.modalPic=i}}},[t.modalPic?e("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1)],1),t._v(" "),t.configData.list?[t.configData.list.length<t.configData.maxList?e("div",{staticClass:"add-btn"},[e("el-button",{staticClass:"btn",staticStyle:{width:"100%",height:"40px"},attrs:{plain:""},on:{click:t.addBox}},[t._v("添加板块")])],1):t._e()]:t._e(),t._v(" "),e("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}})],2)},n=[],s=(e("7f7f"),e("1980")),c=e.n(s),o=e("b5b8"),l=e("7af3"),r={name:"c_custom_menu_list",props:{configObj:{type:Object},configNme:{type:String},index:{type:null}},components:{draggable:c.a,linkaddress:l["a"],uploadPictures:o["default"]},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,i){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,i,e){this.indexLast=e.length-1,i==e.length-1&&(this.activeIndex=t,this.$refs.linkaddres.modals=!0)},addBox:function(){if(0==this.configData.list.length)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,i){var e=this;e.$modalUpload((function(i){t.img=i[0]}))},addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,i){var e=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:t,name:i,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});this.dialog=e;var a=new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){e.render(),e.open()}});return a}),37)},getPic:function(t){var i=this;this.$nextTick((function(){i.configData.list[i.activeIndex].img=t.att_dir;var e=i.defaults.menuConfig;e&&e.isCube&&(console.log("kkkkkkkkkkk11",e.list[0].info[0].value),i.defaults.picStyle.picList.splice(i.defaults.picStyle.tabVal,1,{image:t.att_dir,link:e.list[0].info[0].value})),i.modalPic=!1}))},onBlur:function(){var t=this.defaults.menuConfig;console.log("kkkkkkkkkkk22",t.list[0].info[0].value),this.defaults.picStyle.picList[this.defaults.picStyle.tabVal].link=t.list[0].info[0].value},bindDelete:function(t,i){1==this.configData.list.length&&(this.lastObj=this.configData.list[0]),this.configData.list.splice(i,1)}}},d=r,u=(e("1bd1"),e("2877")),f=Object(u["a"])(d,a,n,!1,null,"49a36cf1",null);i["default"]=f.exports},"1a05":function(t,i,e){"use strict";e("c580")},"1bd1":function(t,i,e){"use strict";e("f150")},"1ef4":function(t,i,e){"use strict";e("8336")},2707:function(t,i,e){"use strict";e("6d10")},2756:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticStyle:{"margin-bottom":"20px"}},[t.configData.tabList?e("div",{staticClass:"title-tips"},[e("span",[t._v(t._s(t.configData.title))]),t._v(t._s(t.configData.tabList[t.configData.tabVal].name)+"\n ")]):t._e(),t._v(" "),e("div",{staticClass:"radio-box",class:{on:1==t.configData.type}},[e("el-radio-group",{attrs:{type:"button",size:"large"},on:{change:function(i){return t.radioChange(i)}},model:{value:t.configData.tabVal,callback:function(i){t.$set(t.configData,"tabVal",i)},expression:"configData.tabVal"}},t._l(t.configData.tabList,(function(i,a){return e("el-radio",{key:a,attrs:{label:a}},[i.icon?e("span",{staticClass:"iconfont-diy",class:i.icon}):e("span",[t._v(t._s(i.name))])])})),1)],1)])},n=[],s={name:"c_tab",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{formData:{type:0},defaults:{},configData:{}}},watch:{configObj:{handler:function(t,i){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)}}},c=s,o=(e("61cf"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"2cccce9e",null);i["default"]=l.exports},"27ef":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"hot_imgs"},[e("div",{staticClass:"title"},[t._v("\n 最多可添加4个板块片建议尺寸140 * 140px;鼠标拖拽左侧圆点可\n 调整板块顺序\n ")]),t._v(" "),e("div",{staticClass:"list-box"},[e("draggable",{staticClass:"dragArea list-group",attrs:{list:t.defaults.menu,group:"people",handle:".move-icon"}},t._l(t.defaults.menu,(function(i,a){return e("div",{key:a,staticClass:"item"},[e("div",{staticClass:"move-icon"},[e("Icon",{attrs:{type:"ios-keypad-outline",size:"22"}})],1),t._v(" "),e("div",{staticClass:"img-box",on:{click:function(i){return t.modalPicTap("单选",a)}}},[i.img?e("img",{attrs:{src:i.img,alt:""}}):e("div",{staticClass:"upload-box"},[e("Icon",{attrs:{type:"ios-camera-outline",size:"36"}})],1),t._v(" "),e("div",[e("el-dialog",{attrs:{visible:t.modalPic,width:"950px",title:"上传图片"},on:{"update:visible":function(i){t.modalPic=i}}},[t.modalPic?e("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1)]),t._v(" "),e("div",{staticClass:"info"},t._l(i.info,(function(i,a){return e("div",{key:a,staticClass:"info-item"},[e("span",[t._v(t._s(i.title))]),t._v(" "),e("div",{staticClass:"input-box"},[e("el-input",{attrs:{placeholder:i.tips,maxlength:i.max},model:{value:i.value,callback:function(e){t.$set(i,"value",e)},expression:"infos.value"}})],1)])})),0)])})),0)],1),t._v(" "),t.defaults.menu.length<4?e("div",{staticClass:"add-btn"},[e("Button",{staticStyle:{width:"100%",height:"40px"},on:{click:t.addBox}},[t._v("添加板块")])],1):t._e()])},n=[],s=e("1980"),c=e.n(s),o=e("6625"),l=e.n(o),r=e("b5b8"),d={name:"c_hot_imgs",props:{configObj:{type:Object}},components:{draggable:c.a,UeditorWrap:l.a,uploadPictures:r["default"]},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,i){this.defaults=t},immediate:!0,deep:!0}},methods:{addBox:function(){var t={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:"自定义链接"}]}};this.defaults.menu.push(t)},modalPicTap:function(t,i){this.activeIndex=i,this.modalPic=!0},addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,i){var e=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:t,name:i,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});this.dialog=e;var a=new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){e.render(),e.open()}});return a}),37)},getPic:function(t){this.defaults.menu[this.activeIndex].img=t.att_dir,this.modalPic=!1}}},u=d,f=(e("cf4b"),e("2877")),g=Object(f["a"])(u,a,n,!1,null,"589749e6",null);i["default"]=g.exports},2804:function(t,i,e){},"2b7d":function(t,i,e){},"2bfa":function(t,i,e){},"2c34":function(t,i,e){var a={"./c_bg_color.vue":"95a6","./c_cascader.vue":"b500","./c_comb_data.vue":"edba","./c_custom_menu_list.vue":"144d","./c_foot.vue":"312f","./c_goods.vue":"a497","./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_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 i=s(t);return e(i)}function s(t){var i=a[t];if(!(i+1)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i}n.keys=function(){return Object.keys(a)},n.resolve=s,t.exports=n,n.id="2c34"},"2d44":function(t,i){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"},3085:function(t,i,e){"use strict";e("2b7d")},"312f":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.footConfig?e("div",[e("p",{staticClass:"tips"},[t._v("图片建议宽度81*81px;鼠标拖拽左侧圆点可调整导航顺序")]),t._v(" "),e("draggable",{staticClass:"dragArea list-group",attrs:{list:t.footConfig,group:"peoples",handle:".iconfont"}},t._l(t.footConfig,(function(i,a){return e("div",{key:a,staticClass:"box-item"},[e("div",{staticClass:"left-tool"},[e("span",{staticClass:"iconfont icondrag2"})]),t._v(" "),e("div",{staticClass:"right-wrapper"},[e("div",{staticClass:"img-wrapper"},t._l(i.imgList,(function(i,n){return e("div",{key:n,staticClass:"img-item",on:{click:function(i){return t.modalPicTap(a,n)}}},[i?e("img",{attrs:{src:i,alt:""}}):t._e(),t._v(" "),i?e("p",{staticClass:"txt"},[t._v(t._s(0==n?"选中":"未选中"))]):e("div",{staticClass:"empty-img"},[e("span",{staticClass:"iconfont iconjiahao"}),t._v(" "),e("p",[t._v(t._s(0==n?"选中":"未选中"))])])])})),0),t._v(" "),e("div",{staticClass:"c_row-item"},[e("el-col",{staticClass:"label",attrs:{span:4}},[t._v("\n 名称\n ")]),t._v(" "),e("el-col",{staticClass:"slider-box",attrs:{span:19}},[e("el-input",{attrs:{placeholder:"选填不超过10个字"},model:{value:i.name,callback:function(e){t.$set(i,"name",e)},expression:"item.name"}})],1)],1),t._v(" "),e("div",{staticClass:"c_row-item"},[e("el-col",{staticClass:"label",attrs:{span:4}},[t._v("\n 链接\n ")]),t._v(" "),e("el-col",{staticClass:"slider-box",attrs:{span:19}},[e("div",{on:{click:function(i){return t.getLink(a)}}},[e("el-input",{attrs:{icon:"ios-arrow-forward",readonly:"",placeholder:"选填不超过10个字"},model:{value:i.link,callback:function(e){t.$set(i,"link",e)},expression:"item.link"}})],1)])],1)]),t._v(" "),e("div",{staticClass:"del-box",on:{click:function(i){return t.deleteMenu(a)}}},[e("span",{staticClass:"iconfont iconcha"})])])})),0),t._v(" "),t.footConfig.length<5?e("el-button",{staticClass:"add-btn",attrs:{type:"info",ghost:""},on:{click:t.addMenu}},[t._v("添加图文导航")]):t._e(),t._v(" "),e("div",[e("el-dialog",{attrs:{visible:t.modalPic,width:"950px",title:"上传底部菜单"},on:{"update:visible":function(i){t.modalPic=i}}},[t.modalPic?e("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1),t._v(" "),e("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}})],1):t._e()},n=[],s=e("1980"),c=e.n(s),o=e("b5b8"),l=e("7af3"),r={name:"c_foot",props:{configObj:{type:Object,default:function(){return{}}},configNme:{type:String,default:""}},components:{uploadPictures:o["default"],linkaddress:l["a"],draggable:c.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,i){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.init()},modalPicTap:function(t,i){var e=this;e.itemIndex=t,e.itemChildIndex=i,e.$modalUpload((function(a){e.footConfig[t].imgList[i]=a[0],e.$forceUpdate(),e.getPic(a[0])}))},getPic:function(t){var i=this;this.$nextTick((function(){i.footConfig[i.itemIndex].imgList[i.itemChildIndex]=t,i.$store.commit("mobildConfig/footUpdata",i.footConfig)}))},addMenu:function(){var t={imgList:["",""],name:"自定义",link:""};this.footConfig.push(t)},deleteMenu:function(t){var i=this;this.$confirm("是否确定删除该菜单?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i.footConfig.splice(t,1)})).catch((function(){i.$message({type:"info",message:"已取消"})}))}}},d=r,u=(e("50ae"),e("2877")),f=Object(u["a"])(d,a,n,!1,null,"3508f4ab",null);i["default"]=f.exports},3274:function(t,i,e){},39536:function(t,i,e){"use strict";e("5ce9")},"3d55":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.configData?e("div",{staticClass:"c_radio mb15"},[e("div",{staticClass:"c_row-item"},[e("el-col",{staticClass:"c_label",class:"form"==t.configData.type?"on":"",attrs:{span:4}},[t._v("\n "+t._s(t.configData.title)+"\n ")]),t._v(" "),e("el-col",{staticClass:"color-box",attrs:{span:19}},[e("el-radio-group",{on:{change:function(i){return t.radioChange(i)}},model:{value:t.configData.tabVal,callback:function(i){t.$set(t.configData,"tabVal",i)},expression:"configData.tabVal"}},t._l(t.configData.tabList,(function(i,a){return e("el-radio",{key:a,attrs:{label:a}},[e("span",[t._v(t._s(i.name))])])})),1)],1)],1)]):t._e()},n=[],s={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,i){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{radioChange:function(t){this.$emit("getConfig",t)}}},c=s,o=(e("c928"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"c370310a",null);i["default"]=l.exports},"3d85":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.configData?e("div",{staticClass:"c_row-item"},[e("el-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:21}},[t._v(t._s(t.configData.title))]),t._v(" "),e("el-col",{attrs:{span:"form"==t.configData.type||"ranges"==t.configData.type?19:3}},[e("el-switch",{attrs:{"active-value":!0,"inactive-value":!1,"active-text":"是","inactive-text":"否"},model:{value:t.configData.val,callback:function(i){t.$set(t.configData,"val",i)},expression:"configData.val"}})],1)],1):t._e()},n=[],s={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,i){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{}},c=s,o=(e("2707"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"0151cfea",null);i["default"]=l.exports},"42e8":function(t,i,e){"use strict";e("3274")},"500d":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.configData?e("div",{staticClass:"upload_img"},[e("div",{staticClass:"header"},[t._v(t._s(t.configData.header))]),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(t.configData.title))]),t._v(" "),e("div",{staticClass:"box",on:{click:t.modalPicTap}},[t.configData.url?e("img",{attrs:{src:t.configData.url,alt:""}}):e("div",{staticClass:"upload-box"},[e("i",{staticClass:"iconfont iconjiahao",staticStyle:{"font-size":"30px"}}),t._v("添加图片")]),t._v(" "),t.configData.url&&t.configData.type?e("span",{staticClass:"iconfont-diy icondel_1",on:{click:function(i){return i.stopPropagation(),t.bindDelete(i)}}}):t._e()]),t._v(" "),e("div",[e("el-dialog",{attrs:{visible:t.modalPic,width:"950px",title:t.configData.header?t.configData.header:"上传图片"},on:{"update:visible":function(i){t.modalPic=i}}},[t.modalPic?e("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1)]):t._e()},n=[],s=e("db72"),c=e("2f62"),o=e("b5b8"),l={name:"c_upload_img",components:{uploadPictures:o["default"]},computed:Object(s["a"])({},Object(c["d"])({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,i){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(){var t=this;this.$modalUpload((function(i){t.configData.url=i[0]}))},addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,i){var e=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:t,name:i,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});this.dialog=e;var a=new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){e.render(),e.open()}});return a}),37)},getPic:function(t){var i=this;this.$nextTick((function(){i.configData.url=t.att_dir,i.modalPic=!1}))}}},r=l,d=(e("52ae"),e("2877")),u=Object(d["a"])(r,a,n,!1,null,"535ead1c",null);i["default"]=u.exports},"50ae":function(t,i,e){"use strict";e("acf4")},"519f":function(t,i,e){"use strict";e("2bfa")},"526b":function(t,i,e){},"52ae":function(t,i,e){"use strict";e("cbd0")},5413:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"slider-box"},[e("div",{staticClass:"c_row-item"},[t.configData.title?e("el-col",{staticClass:"label",attrs:{span:4}},[t._v("\n "+t._s(t.configData.title)+"\n ")]):t._e(),t._v(" "),e("el-col",{staticClass:"slider-box",attrs:{span:19}},[e("Select",{on:{change:t.sliderChange},model:{value:t.configData.activeValue,callback:function(i){t.$set(t.configData,"activeValue",i)},expression:"configData.activeValue"}},t._l(t.configData.list,(function(i,a){return e("Option",{key:a,attrs:{value:i.activeValue}},[t._v(t._s(i.title))])})),1)],1)],1)])},n=[],s={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,i){this.defaults=t,this.configData=t[this.configNme]},deep:!0},number:function(t){this.timeStamp=t}},methods:{sliderChange:function(t){var i=window.localStorage;this.configData.activeValue=t||i.getItem(this.timeStamp),this.$emit("getConfig",{name:"select",values:t})}}},c=s,o=(e("77e3"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"6a9b8b80",null);i["default"]=l.exports},"588a":function(t,i,e){},"58f1":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.configData?e("div",{staticClass:"txt_tab"},[e("div",{staticClass:"c_row-item"},[e("el-row",{staticClass:"c_label"},[t._v("\n "+t._s(t.configData.title)+"\n "),e("span",[t._v(t._s(t.configData.list[t.configData.type].val))])]),t._v(" "),e("el-row",{staticClass:"color-box"},[e("el-radio-group",{attrs:{type:"button"},on:{change:function(i){return t.radioChange(i)}},model:{value:t.configData.type,callback:function(i){t.$set(t.configData,"type",i)},expression:"configData.type"}},t._l(t.configData.list,(function(i,a){return e("el-radio",{key:a,attrs:{label:a}},[i.icon?e("span",{staticClass:"iconfont-diy",class:i.icon}):e("span",[t._v(t._s(i.val))])])})),1)],1)],1)]):t._e()},n=[],s=(e("7f7f"),{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,i){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})}}}),c=s,o=(e("39536"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"0e7d7ef6",null);i["default"]=l.exports},"5ce9":function(t,i,e){},"5de9":function(t,i,e){"use strict";e("cda8")},"60e2":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"mobile-page"},[t.isUpdate?e("div",[e("el-divider"),t._v(" "),e("div",{staticClass:"title"},[t._v("布局")]),t._v(" "),e("div",{staticClass:"tip"},[t._v("选定布局区域,在下方添加图片,建议添加比例一致的图片")]),t._v(" "),e("div",{staticClass:"advert"},[t._l(t.configData.picList,(function(i,a){return 0===t.style?e("div",{key:a,staticClass:"advertItem01 acea-row"},[i.image?e("img",{attrs:{src:i.image}}):e("div",{staticClass:"empty-box"},[t._v("尺寸不限")])]):t._e()})),t._v(" "),1===t.style?e("div",{staticClass:"advertItem02 acea-row"},t._l(t.configData.picList,(function(i,a){return e("div",{key:a,staticClass:"item",class:t.currentIndex===a?"on":"",on:{click:function(i){return t.currentTab(a,t.configData)}}},[i.image?e("img",{attrs:{src:i.image}}):e("div",{staticClass:"empty-box"},[t._m(0,!0)])])})),0):t._e(),t._v(" "),2===t.style?e("div",{staticClass:"advertItem02 advertItem03 acea-row"},t._l(t.configData.picList,(function(i,a){return e("div",{key:a,staticClass:"item",class:t.currentIndex===a?"on":"",on:{click:function(i){return t.currentTab(a,t.configData)}}},[i.image?e("img",{attrs:{src:i.image}}):e("div",{staticClass:"empty-box"},[t._m(1,!0)])])})),0):t._e(),t._v(" "),3===t.style?e("div",{staticClass:"advertItem04 acea-row"},[e("div",{staticClass:"item",class:0===t.currentIndex?"on":"",on:{click:function(i){return t.currentTab(0,t.configData)}}},[t.configData.picList[0].image?e("img",{attrs:{src:t.configData.picList[0].image}}):e("div",{staticClass:"empty-box"},[t._v("375*375像素或同比例")])]),t._v(" "),e("div",{staticClass:"item"},[e("div",{staticClass:"pic",class:1===t.currentIndex?"on":"",on:{click:function(i){return t.currentTab(1,t.configData)}}},[t.configData.picList[1].image?e("img",{attrs:{src:t.configData.picList[1].image}}):e("div",{staticClass:"empty-box"},[t._v("375*188像素或同比例")])]),t._v(" "),e("div",{staticClass:"pic",class:2===t.currentIndex?"on":"",on:{click:function(i){return t.currentTab(2,t.configData)}}},[t.configData.picList[2].image?e("img",{attrs:{src:t.configData.picList[2].image}}):e("div",{staticClass:"empty-box"},[t._v("375*188像素或同比例")])])])]):t._e(),t._v(" "),4===t.style?e("div",{staticClass:"advertItem02 advertItem05 acea-row"},t._l(t.configData.picList,(function(i,a){return e("div",{key:a,staticClass:"item",class:t.currentIndex===a?"on":"",on:{click:function(i){return t.currentTab(a,t.configData)}}},[i.image?e("img",{attrs:{src:i.image}}):e("div",{staticClass:"empty-box"},[t._v("宽188像素高度不限")])])})),0):t._e(),t._v(" "),5===t.style?e("div",{staticClass:"advertItem06 acea-row"},t._l(t.configData.picList,(function(i,a){return e("div",{key:a,staticClass:"item",class:t.currentIndex===a?"on":"",on:{click:function(i){return t.currentTab(a,t.configData)}}},[i.image?e("img",{attrs:{src:i.image}}):e("div",{staticClass:"empty-box"},[t._v("375*188像素或同比例")])])})),0):t._e()],2)],1):t._e()])},n=[function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",[e("div",[t._v("宽375像素")]),t._v(" "),e("div",[t._v("高度不限")])])},function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",[e("div",[t._v("宽250像素")]),t._v(" "),e("div",[t._v("高度不限")])])}],s=(e("b54a"),{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,i){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,i){this.count=this.defaults.tabConfig.tabList[t].count,this.picArrayConcat(this.count),this.configData.picList.splice(t+1),this.currentIndex=0;var e=this.defaults.menuConfig.list[0];this.configData.picList[0]&&(e.img=this.configData.picList[0].image,e.info[0].value=this.configData.picList[0].link)},deep:!0}},methods:{currentTab:function(t,i){if(this.currentIndex=t,this.configData.tabVal=t,this.defaults.menuConfig.isCube){var e=this.defaults.menuConfig.list[0];i.picList[t]&&i.picList[t].image?(e.img=i.picList[t].image,e.info[0].value=i.picList[t].link):(e.img="",e.info[0].value="")}},picArrayConcat:function(t){for(var i=this.configData.picList.length;i<t;i++)this.configData.picList.push(this.arrayObj)}}}),c=s,o=(e("8906"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"01039992",null);i["default"]=l.exports},"61cf":function(t,i,e){"use strict";e("526b")},"627c":function(t,i,e){},6547:function(t,i,e){},"6b1a":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div")},n=[],s={name:"c_hot_box"},c=s,o=e("2877"),l=Object(o["a"])(c,a,n,!1,null,"3b5f862a",null);i["default"]=l.exports},"6bef":function(t,i,e){"use strict";e.r(i);e("28a5"),e("a481");(function(){if(window.frameElement&&window.frameElement.id){var t=window.parent,i=t.$EDITORUI[window.frameElement.id.replace(/_iframe$/,"")],e=i.editor,a=t.UE,n=a.dom.domUtils,s=a.utils,c=(a.browser,a.ajax,function(t){return document.getElementById(t)});window.nowEditor={editor:e,dialog:i},s.loadFile(document,{href:e.options.themePath+e.options.theme+"/dialogbase.css?cache="+Math.random(),tag:"link",type:"text/css",rel:"stylesheet"});var o=e.getLang(i.className.split("-")[2]);o&&n.on(window,"load",(function(){var t=e.options.langPath+e.options.lang+"/images/";for(var i in o["static"]){var a=c(i);if(a){var l=a.tagName,r=o["static"][i];switch(r.src&&(r=s.extend({},r,!1),r.src=t+r.src),r.style&&(r=s.extend({},r,!1),r.style=r.style.replace(/url\s*\(/g,"url("+t)),l.toLowerCase()){case"var":a.parentNode.replaceChild(document.createTextNode(r),a);break;case"select":for(var d,u=a.options,f=0;d=u[f];)d.innerHTML=r.options[f++];for(var g in r)"options"!=g&&a.setAttribute(g,r[g]);break;default:n.setAttributes(a,r)}}}}))}})()},"6c75":function(t,i,e){},"6d10":function(t,i,e){},"6de9":function(t,i,e){"use strict";e("8663")},"77e3":function(t,i,e){"use strict";e("8922")},"7af3":function(t,i,e){"use strict";var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"divBox"},[t.modals?e("el-dialog",{attrs:{visible:t.modals,title:"选择链接",width:"900px","before-close":t.cancel},on:{"update:visible":function(i){t.modals=i}}},[e("div",{staticClass:"table_box"},[e("div",{staticClass:"left_box"},[e("el-tree",{attrs:{data:t.categoryData,"default-expand-all":"","node-key":"id","highlight-current":!0,"expand-on-click-node":!1,"current-node-key":t.treeId},on:{"node-click":t.handleCheckChange}})],1),t._v(" "),"link"==t.currenType?e("div",{staticClass:"right_box"},t._l(t.currentList,(function(i,a){return e("div",{key:a},[e("div",{staticClass:"cont"},[t._v(t._s(i.name))]),t._v(" "),e("div",{staticClass:"Box"},t._l(i.pageLink,(function(i,a){return e("div",{key:a,staticClass:"cont_box",class:t.currenId==i.id?"on":"",on:{click:function(e){return t.getUrl(i)}}},[t._v(t._s(i.name))])})),0)])})),0):t._e(),t._v(" "),"special"==t.currenType||"product_category"==t.currenType||"product"==t.currenType||"seckill"==t.currenType||"presell"==t.currenType||"bargain"==t.currenType||"combination"==t.currenType||"active"==t.currenType?e("div",{staticClass:"right_box"},["product"==t.currenType?e("el-form",{ref:"formValidate",staticClass:"tabform",attrs:{model:t.formValidate}},[e("el-row",{attrs:{type:"flex"}},[e("el-col",[e("el-form-item",{attrs:{label:"商品分类:","label-for":"pid"}},[e("el-cascader",{staticClass:"selWidth",attrs:{options:t.merCateList,props:t.props,clearable:""},on:{change:function(i){return t.userSearchs()}},model:{value:t.formValidate.cate_id,callback:function(i){t.$set(t.formValidate,"cate_id",i)},expression:"formValidate.cate_id"}})],1)],1),t._v(" "),e("el-col",[e("el-form-item",{attrs:{label:"搜索:","label-for":"store_name"}},[e("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入商品名称,关键字,编号"},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&t._k(i.keyCode,"enter",13,i.key,"Enter")?null:t.userSearchs(i)}},model:{value:t.formValidate.store_name,callback:function(i){t.$set(t.formValidate,"store_name",i)},expression:"formValidate.store_name"}})],1)],1)],1)],1):t._e(),t._v(" "),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"table",attrs:{size:"mini",data:t.tableList,"row-key":"id","default-expand-all":!1,"tree-props":{children:"children",hasChildren:"hasChildren"}}},[e("el-table-column",{key:"1",attrs:{label:"选择","min-width":"60"},scopedSlots:t._u([{key:"default",fn:function(i){return[e("el-radio",{attrs:{label:i.$index},nativeOn:{change:function(e){return t.getCurrentRow(i.row)}},model:{value:t.radio,callback:function(i){t.radio=i},expression:"radio"}})]}}],null,!1,4056121160)}),t._v(" "),e("el-table-column",{key:"2",attrs:{prop:"id",label:"ID","min-width":"60"},scopedSlots:t._u([{key:"default",fn:function(i){return[e("span",[t._v(t._s(i.row.id||i.row.product_id||i.row.store_category_id))])]}}],null,!1,3988162992)}),t._v(" "),"special"==t.currenType?e("el-table-column",{key:"3",attrs:{prop:"name",label:"页面名称","min-width":"60"}}):t._e(),t._v(" "),"special"==t.currenType?e("el-table-column",{key:"4",attrs:{prop:"url",label:"页面链接","min-width":"150"}}):t._e(),t._v(" "),"product_category"==t.currenType?e("el-table-column",{key:"5",attrs:{prop:"cate_name",label:"分类名称","min-width":"60"}}):t._e(),t._v(" "),"product_category"==t.currenType?e("el-table-column",{key:"6",attrs:{label:"分类图标","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(t){return[e("div",{staticClass:"demo-image__preview"},[e("el-image",{staticStyle:{width:"36px",height:"36px"},attrs:{src:t.row.pic,"preview-src-list":[t.row.pic]}})],1)]}}],null,!1,251680844)}):t._e(),t._v(" "),"bargain"==t.currenType||"combination"==t.currenType||"presell"==t.currenType||"seckill"==t.currenType||"product"==t.currenType?e("el-table-column",{key:"7",attrs:{label:"商品图片","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(t){return[e("div",{staticClass:"demo-image__preview"},[e("el-image",{staticStyle:{width:"36px",height:"36px"},attrs:{src:t.row.image,"preview-src-list":[t.row.image]}})],1)]}}],null,!1,2331550732)}):t._e(),t._v(" "),"bargain"==t.currenType||"combination"==t.currenType||"presell"==t.currenType||"seckill"==t.currenType||"product"==t.currenType?e("el-table-column",{key:"8",attrs:{prop:"store_name",label:"商品名称","min-width":"150"}}):t._e(),t._v(" "),"active"==t.currenType?e("el-table-column",{key:"10",attrs:{label:"专场图片","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(t){return[e("div",{staticClass:"demo-image__preview"},[e("el-image",{staticStyle:{width:"36px",height:"36px"},attrs:{src:t.row.value.image,"preview-src-list":[t.row.value.image]}})],1)]}}],null,!1,3156087308)}):t._e(),t._v(" "),"active"==t.currenType?e("el-table-column",{key:"11",attrs:{prop:"value.name",label:"专场名称","min-width":"150"}}):t._e()],1),t._v(" "),"product"==t.currenType||"seckill"==t.currenType||"presell"==t.currenType||"bargain"==t.currenType||"combination"==t.currenType||"active"==t.currenType?e("div",{staticClass:"block"},[e("el-pagination",{attrs:{"page-size":t.formValidate.limit,"current-page":t.formValidate.page,layout:"prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1):t._e()],1):t._e(),t._v(" "),"custom"==t.currenType?e("div",{staticClass:"right_box"},[e("div",{staticStyle:{width:"360px",margin:"150px 100px 0 120px"}},[e("el-form",{ref:"customdate",attrs:{size:"small",model:t.customdate,rules:t.ruleValidate,"label-width":"120px"}},[e("el-form-item",{attrs:{"label-width":"0"}},[e("el-radio-group",{model:{value:t.customdate.status,callback:function(i){t.$set(t.customdate,"status",i)},expression:"customdate.status"}},[e("el-radio",{staticClass:"radio",attrs:{label:1}},[t._v("普通链接")]),t._v(" "),e("el-radio",{attrs:{label:2}},[t._v("跳转其他小程序")])],1)],1),t._v(" "),1==t.customdate.status?e("el-form-item",{attrs:{label:"跳转路径:",prop:"url"}},[e("el-input",{attrs:{size:"small",placeholder:"请输入正确跳转路径"},model:{value:t.customdate.url,callback:function(i){t.$set(t.customdate,"url",i)},expression:"customdate.url"}})],1):t._e(),t._v(" "),2==t.customdate.status?e("div",[e("el-form-item",{attrs:{label:"APPID:",prop:"appid"}},[e("el-input",{attrs:{size:"small",placeholder:"请输入正确APPID"},model:{value:t.customdate.appid,callback:function(i){t.$set(t.customdate,"appid",i)},expression:"customdate.appid"}})],1),t._v(" "),e("el-form-item",{attrs:{label:"小程序路径:",prop:"mpUrl"}},[e("el-input",{attrs:{size:"small",placeholder:"请输入正确小程序路径"},model:{value:t.customdate.mpUrl,callback:function(i){t.$set(t.customdate,"mpUrl",i)},expression:"customdate.mpUrl"}})],1),t._v(" "),e("el-form-item",{attrs:{"label-width":"0"}},[e("div",[t._v("路径示例:merchant/devise/diy/index?id=184")])]),t._v(" "),e("div",{staticStyle:{color:"#ff4949"}},[t._v("小程序跳转外链链接,域名需在白名单范围内的合法域名")])],1):t._e()],1)],1)]):t._e()]),t._v(" "),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{size:"small"},on:{click:t.cancel}},[t._v("取消")]),t._v(" "),"custom"==t.currenType?e("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(i){return t.handleSubmit("customdate")}}},[t._v("确定")]):e("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.ok}},[t._v("确定")])],1)]):t._e()],1)},n=[],s=e("c80c"),c=(e("ac6a"),e("96cf"),e("3b8d")),o=(e("7f7f"),e("f478")),l=e("c4c8"),r={name:"linkaddress",data:function(){return{modals:!1,categoryData:[],currenType:"link",radio:"",props:{emitPath:!1},merCateList:[],formValidate:{page:1,limit:15,cate_id:"",store_name:""},total:0,currentList:[],currenId:"",currenUrl:"",treeId:0,loading:!1,tableList:[],presentId:0,categoryId:"",customdate:{name:"",mpUrl:"",url:"",status:1},customNum:1,ruleValidate:{name:[{required:!0,message:"请输入链接名称",trigger:"blur"}],mpUrl:[{required:!0,message:"请输入跳转路径",trigger:"blur"}],appid:[{required:!0,message:"请输入APPID",trigger:"blur"}]}}},computed:{},created:function(){this.getSort(),this.goodsCategory()},mounted:function(){},methods:{init:function(){},getCurrentRow:function(t){t.checked=!0,this.presentId=t.id,this.currenUrl=t.url},getCustomList:function(){var t=this;Object(o["j"])(this.categoryId).then((function(i){i.data.list.length||(t.customNum=2),t.tableList=i.data.list})).catch((function(i){t.$message.error(i.message)}))},handleSubmit:function(t){var i=this;this.$refs[t].validate((function(t){if(t){var e=i.customdate.url;e=1==i.customdate.status?i.customdate.url:i.customdate.mpUrl+"@APPID="+i.customdate.appid,i.$emit("linkUrl",e),i.modals=!1,i.reset()}else i.$message.error("请填写信息")}))},pageChange:function(t){this.formValidate.page=t,this.getList()},handleSizeChange:function(t){this.formValidate.limit=t,this.getList()},goodsCategory:function(){var t=this;Object(l["t"])().then((function(i){t.merCateList=i.data})).catch((function(i){t.$message.error(i.message)}))},userSearchs:function(){this.formValidate.page=1,this.getList()},reset:function(){this.currenUrl="",this.presentId=0,this.currenId="",this.radio="",this.tableList=[],this.customdate.status,this.customdate.url="",this.customdate.mpUrl=""},getUrl:function(t){this.currenId=t.id,this.currenUrl=t.url},getSort:function(){var t=this;Object(o["i"])().then((function(i){i.data[0].children[0]?(i.data[0].children[0].selected=!0,t.handleCheckChange(i.data[0].children[0]),t.treeId=i.data[0]["children"][0]["id"]):(t.handleCheckChange(i.data[0]),t.treeId=i.data[0]&&i.data[0]["id"]),t.categoryData=i.data})).catch((function(i){t.$message.error(i.message)}))},getList:function(){var t=this;if(this.loading=!0,"product"==this.currenType){var i=this.formValidate;i.product_type=0,Object(o["f"])(i).then(function(){var i=Object(c["a"])(Object(s["a"])().mark((function i(e){var a;return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:a=e.data,a.list.forEach((function(t){t.url="/pages/goods_details/index?id=".concat(t.product_id)})),t.tableList=a.list,t.total=e.data.count,t.loading=!1;case 5:case"end":return i.stop()}}),i)})));return function(t){return i.apply(this,arguments)}}()).catch((function(i){t.loading=!1,t.$message.error(i.message)}))}else if("seckill"==this.currenType){var e=this.formValidate;e.product_type=1,Object(o["f"])(e).then(function(){var i=Object(c["a"])(Object(s["a"])().mark((function i(e){var a;return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:a=e.data,a.list.forEach((function(t){t.url="/pages/activity/goods_seckill_details/index?id=".concat(t.product_id)})),t.tableList=a.list,t.total=e.data.count,t.loading=!1;case 5:case"end":return i.stop()}}),i)})));return function(t){return i.apply(this,arguments)}}()).catch((function(i){t.loading=!1,t.$message.error(i.message)}))}else if("bargain"==this.currenType){var a=this.formValidate;a.product_type=3,Object(o["f"])(a).then(function(){var i=Object(c["a"])(Object(s["a"])().mark((function i(e){var a;return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:a=e.data,a.list.forEach((function(t){t.url="/pages/activity/assist_detail/index?id=".concat(t.activity_id)})),t.tableList=a.list,t.total=e.data.count,t.loading=!1;case 5:case"end":return i.stop()}}),i)})));return function(t){return i.apply(this,arguments)}}()).catch((function(i){t.loading=!1,t.$message.error(i.message)}))}else if("combination"==this.currenType){var n=this.formValidate;n.product_type=4,Object(o["f"])(n).then(function(){var i=Object(c["a"])(Object(s["a"])().mark((function i(e){var a;return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:a=e.data,a.list.forEach((function(t){t.url="/pages/activity/combination_details/index?id=".concat(t.activity_id)})),t.tableList=a.list,t.total=e.data.count,t.loading=!1;case 5:case"end":return i.stop()}}),i)})));return function(t){return i.apply(this,arguments)}}()).catch((function(i){t.loading=!1,t.$message.error(i.message)}))}else if("presell"==this.currenType){var l=this.formValidate;l.product_type=2,Object(o["f"])(l).then(function(){var i=Object(c["a"])(Object(s["a"])().mark((function i(e){var a;return Object(s["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:a=e.data,a.list.forEach((function(t){t.url="/pages/activity/presell_details/index?id=".concat(t.activity_id)})),t.tableList=a.list,t.total=e.data.count,t.loading=!1;case 5:case"end":return i.stop()}}),i)})));return function(t){return i.apply(this,arguments)}}()).catch((function(i){t.loading=!1,t.$message.error(i.message)}))}else Object(o["j"])(id,{page:this.formValidate.page,limit:this.formValidate.limit}).then((function(i){t.loading=!1;var e=i.data;if(t.currentList=e,"special"==t.currenType){var a=[];e.forEach((function(t){t.url="/pages/index/index?id=".concat(t.id),t.is_diy&&a.push(t)})),t.tableList=a}else"product_category"==t.currenType?(e.forEach((function(t){t.hasOwnProperty("children")&&t.children.forEach((function(t){t.id=t.store_category_id,t.url="/pages/store/list/index?id=".concat(t.store_category_id,"&title=").concat(t.cate_name),t.hasOwnProperty("children")&&t.children.forEach((function(t){t.url="/pages/store/list/index?id=".concat(t.store_category_id,"&title=").concat(t.cate_name)}))})),t.id=t.store_category_id,t.url="/pages/store/list/index?id=".concat(t.store_category_id,"&title=默认")})),t.tableList=e,t.total=e.length):"active"==t.currenType&&(e.list.forEach((function(t){t.id=t.group_data_id,t.url="/pages/activity/topic_detail/index?id=".concat(t.group_data_id)})),t.tableList=e.list,t.total=i.data.count)})).catch((function(i){t.loading=!1,t.$message.error(i.message)}))},handleCheckChange:function(t){var i=this;this.reset();var e="";if(this.currenType=t.type,!t.pid)return!1;if(e=t.id,this.categoryId=t.id,this.loading=!0,this.formValidate.page=1,"product"==this.currenType||"seckill"==this.currenType||"presell"==this.currenType||"bargain"==this.currenType||"combination"==this.currenType)this.getList();else if("custom"==this.currenType)this.getCustomList();else{var a={};"active"==this.currenType&&(a.page=this.formValidate.page,a.limit=this.formValidate.limit),Object(o["j"])(e,a).then((function(t){i.loading=!1;var e=t.data;if(i.currentList=e,"special"==i.currenType){var a=[];e.list.forEach((function(t){t.url="/pages/index/index?id=".concat(t.id),t.is_diy&&a.push(t)})),i.tableList=a}else"product_category"==i.currenType?(e.forEach((function(t){t.hasOwnProperty("children")&&t.children.forEach((function(t){t.id=t.store_category_id,t.url="/pages/store/list/index?id=".concat(t.store_category_id,"&title=").concat(t.cate_name),t.hasOwnProperty("children")&&t.children.forEach((function(t){t.url="/pages/store/list/index?id=".concat(t.store_category_id,"&title=").concat(t.cate_name)}))})),t.id=t.store_category_id,t.url="/pages/store/list/index?id=".concat(t.store_category_id,"&title=默认")})),i.tableList=e,i.total=e.length):"active"==i.currenType&&(e.list.forEach((function(t){t.id=t.group_data_id,t.url="/pages/activity/topic_detail/index?id=".concat(t.group_data_id)})),i.tableList=e.list,i.total=t.data.count)})).catch((function(t){i.loading=!1,i.$message.error(t.message)}))}},ok:function(){if(""==this.currenUrl)return this.$message.warning("请选择链接");this.$emit("linkUrl",this.currenUrl),this.modals=!1,this.reset()},cancel:function(){this.modals=!1,this.reset()}}},d=r,u=(e("a1ce"),e("2877")),f=Object(u["a"])(d,a,n,!1,null,"468eb9be",null);i["a"]=f.exports},8055:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.configData?e("div",{staticClass:"numbox"},[e("div",{staticClass:"c_row-item"},[e("el-col",{staticClass:"label",class:"form"==t.configData.type?"on":"",attrs:{span:4}},[e("span",[t._v(t._s(t.configData.title||"商品数量"))])]),t._v(" "),e("el-col",{staticClass:"slider-box",attrs:{span:19}},[e("el-input-number",{staticStyle:{"text-align":"right"},attrs:{placeholder:"请输入数量",step:1,max:100,min:1},on:{change:t.bindChange},model:{value:t.configData.val,callback:function(i){t.$set(t.configData,"val",i)},expression:"configData.val"}})],1)],1)]):t._e()},n=[],s={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,i){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{bindChange:function(){this.$emit("getConfig",{name:"number",numVal:this.configData.val})}}},c=s,o=(e("e24f"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"b3a4ba8e",null);i["default"]=l.exports},"80c1":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"slider-box"},[e("div",{staticClass:"c_row-item"},[t.configData.title?e("el-col",{staticClass:"label",attrs:{span:4}},[t._v("\n "+t._s(t.configData.title)+"\n ")]):t._e(),t._v(" "),e("el-col",{staticClass:"slider-box",attrs:{span:18}},[e("el-slider",{attrs:{"show-input":"",min:t.configData.min},on:{change:function(i){return t.sliderChange(i)}},model:{value:t.configData.val,callback:function(i){t.$set(t.configData,"val",i)},expression:"configData.val"}})],1)],1)])},n=[],s={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,i){this.defaults=t,this.configData=t[this.configNme]},deep:!0}},methods:{sliderChange:function(t){}}},c=s,o=(e("5de9"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"081f1bac",null);i["default"]=l.exports},8171:function(t,i,e){},8336:function(t,i,e){},8663:function(t,i,e){},8726:function(t,i,e){},8906:function(t,i,e){"use strict";e("627c")},8922:function(t,i,e){},"959b":function(t,i,e){},"95a6":function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",[t.configData?e("div",{staticClass:"c_row-item"},[e("el-col",{staticClass:"c_label",attrs:{span:8}},[t._v(t._s(t.configData.title))]),t._v(" "),e("el-col",{staticClass:"color-box",attrs:{span:14}},t._l(t.configData.color,(function(i,a){return e("div",{key:a,staticClass:"color-item"},[e("el-color-picker",{attrs:{alpha:"","show-alpha":""},on:{change:function(e){return t.changeColor(e,i)}},model:{value:i.item,callback:function(e){t.$set(i,"item",e)},expression:"color.item"}}),e("span",{on:{click:function(e){return t.resetBgA(i,t.index,a)}}},[t._v("重置")])],1)})),0)],1):t._e()])},n=[],s={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,i){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{changeColor:function(t,i){t||(i.item="transparent")},resetBgA:function(t,i,e){t.item=this.configData.default[e].item}}},c=s,o=(e("1a05"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"084e024d",null);i["default"]=l.exports},"9f5b":function(t,i,e){},a1ce:function(t,i,e){"use strict";e("959b")},a497:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.configObj.goodsList?e("div",{staticClass:"goods-box"},[e("div",{staticClass:"wrapper"},[e("draggable",{staticClass:"dragArea list-group",attrs:{list:t.configObj.goodsList.list,group:"peoples"}},[t._l(t.configObj.goodsList.list,(function(i,a){return t.configObj.goodsList.list.length?e("div",{key:a,staticClass:"item"},[e("img",{attrs:{src:i.image,alt:""}}),t._v(" "),e("span",{staticClass:"iconfont-diy icondel_1",on:{click:function(i){return i.stopPropagation(),t.bindDelete(a)}}})]):t._e()})),t._v(" "),e("div",{staticClass:"add-item item",on:{click:function(i){t.modals=!0}}},[e("span",{staticClass:"iconfont-diy iconaddto"})])],2)],1),t._v(" "),e("el-dialog",{staticClass:"paymentFooter",attrs:{visible:t.modals,title:"商品列表",scrollable:"",width:"900px","before-close":t.cancel},on:{"update:visible":function(i){t.modals=i}}},[t.modals?e("goods-list",{ref:"goodslist",attrs:{ischeckbox:!0,isdiy:!0,selectedArr:t.multipleSelectionAll},on:{getProductId:t.getProductId,close:t.cancel}}):t._e()],1)],1):t._e()},n=[],s=(e("ac6a"),e("5df3"),e("f400"),e("1980")),c=e.n(s),o=e("c4ad"),l={name:"c_goods",props:{configObj:{type:Object}},components:{goodsList:o["a"],draggable:c.a},watch:{configObj:{handler:function(t,i){this.configObj=t,this.multipleSelectionAll=this.configObj.goodsList.list},immediate:!0,deep:!0}},data:function(){return{modals:!1,goodsList:[],multipleSelectionAll:[],tempGoods:{},defaults:{}}},created:function(){this.defaults=this.configObj},methods:{unique:function(t){var i=new Map;return t.filter((function(t){return!i.has(t.product_id)&&i.set(t.product_id,1)}))},getProductId:function(t){this.modals=!1;var i=this.configObj.goodsList.list.concat(t);this.configObj.goodsList.list=this.unique(i),this.configObj.goodsList.ids=this.configObj.goodsList.list.map((function(t){return t.product_id}))},cancel:function(){this.modals=!1},ok:function(){this.configObj.goodsList.list.push(this.tempGoods)},bindDelete:function(t){this.configObj.goodsList.list.splice(t,1)}}},r=l,d=(e("01fd"),e("2877")),u=Object(d["a"])(r,a,n,!1,null,"1468d6e4",null);i["default"]=u.exports},acf4:function(t,i,e){},ae8a:function(t,i,e){"use strict";e("8726")},b500:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"slider-box"},[e("div",{staticClass:"c_row-item"},[t.configData.title?e("el-col",{staticClass:"label",attrs:{span:4}},[t._v("\n "+t._s(t.configData.title)+"\n ")]):t._e(),t._v(" "),e("el-col",{staticClass:"slider-box",attrs:{span:19}},[e("el-cascader",{attrs:{options:t.configData.list,placeholder:"请选择商品分类",props:{checkStrictly:!0,emitPath:!1},filterable:"",clearable:""},on:{change:t.sliderChange},model:{value:t.configData.activeValue,callback:function(i){t.$set(t.configData,"activeValue",i)},expression:"configData.activeValue"}})],1)],1)])},n=[],s={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,i){this.defaults=t,this.configData=t[this.configNme]},deep:!0},number:function(t){this.timeStamp=t}},methods:{sliderChange:function(t){var i=window.localStorage;this.configData.activeValue=t||i.getItem(this.timeStamp),this.$emit("getConfig",{name:"cascader",values:t})}}},c=s,o=e("2877"),l=Object(o["a"])(c,a,n,!1,null,"daf601ce",null);i["default"]=l.exports},bd5a:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.configData?e("div",{staticClass:"box"},[e("WangEditor",{staticStyle:{width:"100%",height:"60%"},attrs:{content:t.configData.val},on:{editorContent:t.getEditorContent}})],1):t._e()},n=[],s=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.monacoBox,expression:"!monacoBox"}]},[e("div",{ref:"wang-editor",staticClass:"wang-editor"})]),t._v(" "),t.monacoBox?e("div",[e("el-button",{staticClass:"bottom",attrs:{type:"primary"},on:{click:t.getHtmlint}},[t._v("可视化界面")]),t._v(" "),e("monaco",{attrs:{value:t.newHtml},on:{change:t.changeValue}})],1):t._e(),t._v(" "),e("el-dialog",{attrs:{visible:t.modalVideo,width:"1024px",title:"上传视频"},on:{"update:visible":function(i){t.modalVideo=i}}},[e("uploadVideo",{attrs:{isDiy:!0},on:{getVideo:t.getvideo}})],1)],1)},c=[],o=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{ref:"code_box",staticClass:"text"})},l=[],r=e("8ea9"),d={data:function(){return{monacoInstance:null}},props:{value:{type:String,default:""}},mounted:function(){this.seteditor()},methods:{setValue:function(t){},seteditor:function(){var t=this;this.monacoInstance=r["a"].create(this.$refs.code_box,{value:this.value,theme:"vs",language:"html",readOnly:!1}),this.monacoInstance.onDidChangeModelContent((function(){t.$emit("change",t.monacoInstance.getValue())}))}},beforeDestroy:function(){this.monacoInstance.dispose(),this.monacoInstance=null}},u=d,f=(e("519f"),e("2877")),g=Object(f["a"])(u,o,l,!1,null,"0abd9a76",null),p=g.exports,m=e("6fad"),h=e.n(m),v=e("d225"),b=e("b0b4"),_=e("b23e"),y=e("4e2b"),x=e("2b0e"),D=new x["default"],C=(h.a.$,h.a.BtnMenu),k=(h.a.DropListMenu,h.a.PanelMenu,h.a.DropList,h.a.Panel,h.a.Tooltip,function(t){function i(t){Object(v["a"])(this,i),t;var e=h.a.$('<div class="w-e-menu" data-title="视频">\n <div class="iconfont iconshipin"></div>\n </div>');return Object(_["a"])(this,i,[e,t])}return Object(y["a"])(i,t),Object(b["a"])(i,[{key:"clickHandler",value:function(){D.$emit("Video")}},{key:"tryChangeActive",value:function(){this.active()}}])}(C)),w=(h.a.$,h.a.BtnMenu),O=(h.a.DropListMenu,h.a.PanelMenu,h.a.DropList,h.a.Panel,h.a.Tooltip,function(t){function i(t){Object(v["a"])(this,i),t;var e=h.a.$('<div class="w-e-menu" data-title="html">\n <div style="font-size=\'12px;\'">HTML</div>\n </div>');return Object(_["a"])(this,i,[e,t])}return Object(y["a"])(i,t),Object(b["a"])(i,[{key:"clickHandler",value:function(){D.$emit("Html")}},{key:"tryChangeActive",value:function(){this.active()}}])}(w)),j=e("b5b8"),A=e("4553"),L={name:"Index",components:{uploadPictures:j["default"],uploadVideo:A["default"],monaco:p},props:{content:{type:String,default:""}},data:function(){return{monacoBox:!1,value:"",modalPic:!1,isChoice:"多选",picTit:"danFrom",img:"",modalVideo:!1,editor:null,uploadSize:2,video:"",newHtml:""}},computed:{initEditor:function(){return this.content&&this.editor}},watch:{initEditor:function(t){t&&this.editor.txt.html(this.content)}},created:function(){},mounted:function(){var t=this;this.createEditor(),D.$on("Video",(function(i){t.getvideoint()})),D.$on("Html",(function(i){t.getHtmlint()}))},methods:{changeValue:function(t){this.newHtml=t,this.$emit("editorContent",t),this.$emit("input",t)},getPic:function(t){var i=this;i.img=t.att_dir,i.modalPic=!1,this.editor.cmd.do("insertHTML",'<img src="'.concat(i.img,'" style="max-width:100%;"/>'))},getimg:function(){var t=this;t.isChoice="多选",t.$modalUpload((function(i){i.map((function(i){t.editor.cmd.do("insertHTML",'<img src="'.concat(i,'" style="max-width:100%;"/>'))}))}))},getvideoint:function(){this.modalVideo=!0},getHtmlint:function(){this.monacoBox=!this.monacoBox,this.value=this.newHtml,this.monacoBox||this.editor.txt.html(this.newHtml)},getPicD:function(t){var i=this,e=this;e.modalPic=!1,t.map((function(t){i.editor.cmd.do("insertHTML",'<img src="'.concat(t.att_dir,'" style="max-width:100%;"/>'))}))},getvideo:function(t){var i=this;i.modalVideo=!1,this.video=t,this.editor.cmd.do("insertHTML",'<video src="'.concat(i.video,'" controls style="max-width:100%;"/>'))},createEditor:function(){var t=this,i=this,e="alertMenuKey",a="alertHtml";this.editor=new h.a(this.$refs["wang-editor"]),this.editor.menus.extend(e,k),this.editor.menus.extend(a,O),this.editor.config.menus=this.editor.config.menus.concat(a),this.editor.config.menus=this.editor.config.menus.concat(e),this.editor.config.uploadImgFromMedia=function(){i.getimg()},this.editor.config.height=600,this.editor.config.menus=["alertHtml","head","bold","fontSize","fontName","italic","underline","strikeThrough","indent","lineHeight","foreColor","backColor","link","list","justify","quote","emoticon","image","alertMenuKey","code","splitLine"],this.editor.config.uploadImgShowBase64=!0,this.editor.config.zIndex=0,this.editor.config.compatibleMode=function(){return!0},this.editor.config.onchange=function(i){t.newHtml=i,t.$emit("editorContent",i)},this.editor.config.onchangeTimeout=800,this.editor.create()}}},P=L,$=(e("1ef4"),Object(f["a"])(P,s,c,!1,null,"08410a22",null)),S=$.exports,T={name:"c_page_ueditor",props:{configObj:{type:Object},configNme:{type:String}},components:{WangEditor:S},data:function(){return{myConfig:{autoHeightEnabled:!1,initialFrameHeight:350,initialFrameWidth:"100%",UEDITOR_HOME_URL:"/admin/UEditor/",serverUrl:""},description:"",defaults:{},configData:{}}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},watch:{configObj:{handler:function(t,i){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,i){var e=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:t,name:i,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});this.dialog=e;var a=new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){e.render(),e.open()}});return a}),37),window.UE.registerUI("video-dialog",(function(t,i){var e=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.video/index.html?fodder=video",editor:t,name:i,title:"上传视频",cssRules:"width:1000px;height:500px;padding:20px;"});this.dialog=e;var a=new window.UE.ui.Button({name:"video-button",title:"上传视频",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -320px -20px;",onclick:function(){e.render(),e.open()}});return a}),38)}}},U=T,I=Object(f["a"])(U,a,n,!1,null,"5817d816",null);i["default"]=I.exports},befa:function(t,i,e){"use strict";var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"btn-box",staticStyle:{display:"none"}},[e("el-button",{staticStyle:{"text-align":"center",width:"60%"},attrs:{type:"primary"},on:{click:function(i){return t.handleSubmit("formInline")}}},[t._v("确定")])],1)},n=[],s=e("db72"),c=e("2f62"),o={name:"rightBtn",props:["activeIndex","configObj"],methods:Object(s["a"])({handleSubmit:function(t){var i={};i.activeIndex=this.activeIndex,i.data=this.configObj,this.add(i)}},Object(c["c"])({add:"mobildConfig/UPDATEARR"}))},l=o,r=e("2877"),d=Object(r["a"])(l,a,n,!1,null,"61285e76",null);i["a"]=d.exports},c148:function(t,i,e){"use strict";e("8171")},c31e:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.configData?e("div",{staticClass:"box"},[e("div",{staticClass:"c_row-item"},[e("el-col",{staticClass:"label",attrs:{span:4}},[t._v("\n "+t._s(t.configData.title)+"\n ")]),t._v(" "),e("el-col",{staticClass:"slider-box",attrs:{span:19}},[e("div",[e("el-input",{attrs:{icon:"链接"==t.configData.title?"ios-arrow-forward":"",size:"small",placeholder:t.configData.place,maxlength:t.configData.max},model:{value:t.configData.value,callback:function(i){t.$set(t.configData,"value",i)},expression:"configData.value"}},["链接"==t.configData.title?e("el-button",{attrs:{slot:"append",icon:"el-icon-arrow-right"},on:{click:function(i){return t.getLink(t.configData.title)}},slot:"append"}):t._e(),t._v(" "),e("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v(t._s(t.configData.unit||""))])],1)],1)])],1),t._v(" "),e("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}})],1):t._e()},n=[],s=e("7af3"),c={name:"c_input_item",props:{configObj:{type:Object},configNme:{type:String}},components:{linkaddress:s["a"]},data:function(){return{value:"",defaults:{},configData:{}}},created:function(){this.defaults=this.configObj,this.configData=this.configObj[this.configNme]},watch:{configObj:{handler:function(t,i){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)}}},o=c,l=(e("dbf3"),e("2877")),r=Object(l["a"])(o,a,n,!1,null,"416e1f5c",null);i["default"]=r.exports},c413:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.configData?e("div",{staticClass:"select-word"},[e("div",{staticClass:"c_row-item"},[e("el-col",{staticClass:"label",attrs:{span:4}},[t._v("\n "+t._s(t.configData.title)+"\n ")]),t._v(" "),e("el-col",{staticClass:"slider-box",attrs:{span:19}},[t._l(t.configData.list,(function(i,a){return e("div",{key:a,staticClass:"inputs"},[e("el-input",{attrs:{size:"small",maxlength:"10",placeholder:"选填,不超过十个字"},model:{value:i.val,callback:function(e){t.$set(i,"val",e)},expression:"item.val"}},[a>1?e("i",{staticClass:"el-icon-delete",attrs:{slot:"suffix"},on:{click:function(i){return t.bindDelete(a)}},slot:"suffix"}):t._e()])],1)})),t._v(" "),e("div",{staticClass:"button acea-row row-between-wrapper",class:0==t.configData.list.length?"on":""},[e("div",{staticClass:"bnt acea-row row-center-wrapper",on:{click:t.addHotTxt}},[e("span",{staticClass:"iconfont iconjia"}),t._v("\n 添加单个选项\n ")]),t._v(" "),e("div",{staticClass:"bnt acea-row row-center-wrapper",on:{click:function(i){t.visible=!0}}},[e("span",{staticClass:"iconfont iconjia"}),t._v("\n 批量添加选项\n ")]),t._v(" "),t.visible?e("div",{staticClass:"batchCount"},[e("div",{staticClass:"batchItem on"},[e("div",{staticClass:"title"},[t._v("批量添加选项")]),t._v(" "),e("div",{staticClass:"tips"},[t._v("可按回车键添加多个选项")]),t._v(" "),e("el-input",{attrs:{type:"textarea",autosize:{minRows:3,maxRows:5}},model:{value:t.batchWord,callback:function(i){t.batchWord=i},expression:"batchWord"}}),t._v(" "),e("div",{staticClass:"batchBnt acea-row row-right"},[e("el-button",{attrs:{size:"small"},on:{click:function(i){return i.stopPropagation(),t.cancel(1)}}},[t._v("取消")]),t._v(" "),e("el-button",{staticClass:"ml10",attrs:{type:"primary",size:"small"},on:{click:function(i){return i.stopPropagation(),t.cancel(2)}}},[t._v("确定")])],1)],1)]):t._e()])],2)],1)]):t._e()},n=[],s=(e("ac6a"),e("28a5"),{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,i){this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{handleConfirm:function(){},handleCancel:function(){},cancel:function(t){if(this.visible=!1,2==t){var i=this.batchWord.split("\n"),e=[];i.forEach((function(t){var i={};i["val"]=t,e.push(i)})),this.configData.list=this.configData.list.concat(e)}this.batchWord=""},addHotTxt:function(){var t={val:""};this.configData.list.push(t)},bindDelete:function(t){this.configData.list.splice(t,1)}}}),c=s,o=(e("ae8a"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"7d4e4208",null);i["default"]=l.exports},c580:function(t,i,e){},c774:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"hot_imgs"},[t.configData.title?e("div",{staticClass:"title"},[t._v("\n "+t._s(t.configData.title)+"\n ")]):t._e(),t._v(" "),e("div",{staticClass:"list-box"},[e("draggable",{staticClass:"dragArea list-group",attrs:{list:t.configData.list,group:"peoples",handle:".move-icon"}},t._l(t.configData.list,(function(i,a){return e("div",{key:a,staticClass:"item"},[e("div",{staticClass:"move-icon"},[e("span",{staticClass:"iconfont-diy icondrag"})]),t._v(" "),e("div",{staticClass:"img-box",on:{click:function(e){return t.modalPicTap(i,a)}}},[i.img?e("img",{attrs:{src:i.img,alt:""}}):e("div",{staticClass:"upload-box"},[e("i",{staticClass:"el-icon-camera-solid",staticStyle:{"font-size":"30px"}})]),t._v(" "),t.configData.isCube?t._e():e("div",{staticClass:"delect-btn",on:{click:function(e){return e.stopPropagation(),t.bindDelete(i,a)}}},[e("span",{staticClass:"iconfont-diy icondel_1"})])]),t._v(" "),e("div",{staticClass:"info"},t._l(i.info,(function(n,s){return e("div",{key:s,staticClass:"info-item"},[e("span",[t._v(t._s(n.title))]),t._v(" "),e("div",{staticClass:"input-box"},[t.configData.isCube?e("el-input",{attrs:{placeholder:n.tips,maxlength:n.max},on:{blur:t.onBlur},model:{value:n.value,callback:function(i){t.$set(n,"value",i)},expression:"infos.value"}},[s==i.info.length-1?e("el-button",{attrs:{slot:"append",icon:"el-icon-arrow-right"},on:{click:function(e){return t.getLink(a,s,i.info)}},slot:"append"}):t._e()],1):e("el-input",{attrs:{placeholder:n.tips,maxlength:n.max},model:{value:n.value,callback:function(i){t.$set(n,"value",i)},expression:"infos.value"}},[s==i.info.length-1?e("el-button",{attrs:{slot:"append",icon:"el-icon-arrow-right"},on:{click:function(e){return t.getLink(a,s,i.info)}},slot:"append"}):t._e()],1)],1)])})),0)])})),0),t._v(" "),e("div",[e("el-dialog",{attrs:{visible:t.modalPic,width:"950px",title:"上传图片"},on:{"update:visible":function(i){t.modalPic=i}}},[t.modalPic?e("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1)],1),t._v(" "),t.configData.list?[t.configData.list.length<t.configData.maxList?e("div",{staticClass:"add-btn"},[e("el-button",{staticClass:"btn",staticStyle:{width:"100%",height:"40px"},attrs:{plain:""},on:{click:t.addBox}},[t._v("添加板块")])],1):t._e()]:t._e(),t._v(" "),e("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}})],2)},n=[],s=(e("7f7f"),e("1980")),c=e.n(s),o=e("b5b8"),l=e("7af3"),r={name:"c_menu_list",props:{configObj:{type:Object},configNme:{type:String},index:{type:null},isRub:{type:Boolean,default:!1}},components:{draggable:c.a,linkaddress:l["a"],uploadPictures:o["default"]},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,i){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,i,e){this.indexLast=e.length-1,i==e.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,i){var e=this;e.$modalUpload((function(i){t.img=i[0],e.isRub&&e.getPic(i[0])}))},addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,i){var e=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:t,name:i,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});this.dialog=e;var a=new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){e.render(),e.open()}});return a}),37)},getPic:function(t){var i=this;this.$nextTick((function(){i.configData.list[i.activeIndex].img=t;var e=i.defaults.menuConfig;e&&e.isCube&&(console.log("kkkkkkkkkkk11",e.list[0].info[0].value),i.defaults.picStyle.picList.splice(i.defaults.picStyle.tabVal,1,{image:t,link:e.list[0].info[0].value})),i.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,i){1==this.configData.list.length&&(this.lastObj=this.configData.list[0]),this.configData.list.splice(i,1)}}},d=r,u=(e("c148"),e("2877")),f=Object(u["a"])(d,a,n,!1,null,"623029d4",null);i["default"]=f.exports},c928:function(t,i,e){"use strict";e("588a")},cbd0:function(t,i,e){},cda8:function(t,i,e){},cf4b:function(t,i,e){"use strict";e("6547")},dbf3:function(t,i,e){"use strict";e("e043")},e043:function(t,i,e){},e24f:function(t,i,e){"use strict";e("2804")},e291:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",[t.configData?e("div",{staticClass:"c_row-item"},[e("el-col",{staticClass:"c_label",attrs:{span:8}},[t._v(t._s(t.configData.title))]),t._v(" "),e("div",{staticClass:"color-box"},[e("el-switch",{attrs:{"true-value":!0,"false-value":!1},on:{change:t.change},model:{value:t.configData.status,callback:function(i){t.$set(t.configData,"status",i)},expression:"configData.status"}})],1)],1):t._e()])},n=[],s={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,i){this.defaults=t,this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{change:function(t){var i=this;this.$nextTick((function(){i.configData.status=t,i.$store.commit("mobildConfig/footStatus",t)}))}}},c=s,o=(e("42e8"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"0d398083",null);i["default"]=l.exports},edba:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.configData?e("div",{staticClass:"c_radio mb15"},[e("div",{staticClass:"c_row-item",class:{on:"ranges"==t.configData.type}},[e("el-col",{staticClass:"c_label on",attrs:{span:"ranges"==t.configData.type?"":4}},[t._v("\n "+t._s(t.configData.title)+"\n ")]),t._v(" "),e("el-col",{staticClass:"color-box",attrs:{span:"ranges"==t.configData.type?24:19}},[e("div",[e("el-radio-group",{on:{"on-change":function(i){return t.radioChange(i)}},model:{value:t.configData.tabVal,callback:function(i){t.$set(t.configData,"tabVal",i)},expression:"configData.tabVal"}},t._l(t.configData.tabList,(function(i,a){return e("el-radio",{key:a,attrs:{label:a}},[e("span",[t._v(t._s(i.name))])])})),1)],1),t._v(" "),e("div",[0==t.configData.tabVal?e("el-radio-group",{on:{"on-change":function(i){return t.radioDataChange(i)}},model:{value:t.configData.tabData,callback:function(i){t.$set(t.configData,"tabData",i)},expression:"configData.tabData"}},t._l(t.configData.dataList,(function(i,a){return e("el-radio",{key:a+"data",attrs:{label:a}},[e("span",[t._v(t._s(i.name))])])})),1):t._e()],1),t._v(" "),1==t.configData.tabData&&0==t.configData.tabVal&&"data"==t.configData.type?e("el-date-picker",{staticStyle:{"margin-top":"6px"},attrs:{type:"date","value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",placeholder:"请选择",size:"small"},model:{value:t.configData.specifyDate,callback:function(i){t.$set(t.configData,"specifyDate",i)},expression:"configData.specifyDate"}}):1==t.configData.tabData&&0==t.configData.tabVal&&"time"==t.configData.type?e("el-time-picker",{staticStyle:{"margin-top":"6px"},attrs:{type:"datetime","value-format":"HH:mm",format:"HH:mm",placeholder:"请选择",size:"small"},model:{value:t.configData.specifyDate,callback:function(i){t.$set(t.configData,"specifyDate",i)},expression:"configData.specifyDate"}}):1==t.configData.tabData&&0==t.configData.tabVal&&"daterange"==t.configData.type?e("el-date-picker",{staticStyle:{"margin-top":"6px"},attrs:{type:"daterange",placement:"bottom-end","value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",placeholder:"请选择",size:"small"},on:{change:t.getDaterange},model:{value:t.configData.specifyDate,callback:function(i){t.$set(t.configData,"specifyDate",i)},expression:"configData.specifyDate"}}):1==t.configData.tabData&&0==t.configData.tabVal&&"timerange"==t.configData.type?e("el-time-picker",{staticStyle:{"margin-top":"6px"},attrs:{"is-range":"","value-format":"HH:mm",format:"HH:mm",type:"datetimerange",placement:"bottom-end",placeholder:"请选择",size:"small"},model:{value:t.configData.specifyDate,callback:function(i){t.$set(t.configData,"specifyDate",i)},expression:"configData.specifyDate"}}):t._e()],1)],1)]):t._e()},n=[],s={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,i){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})}}},c=s,o=(e("6de9"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"81354124",null);i["default"]=l.exports},f150:function(t,i,e){},f1ee:function(t,i,e){},f267:function(t,i,e){"use strict";e("f1ee")},f3ffe:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.configData?e("div",{staticClass:"line-box"},[t._m(0),t._v(" "),e("div",{staticClass:"input-box"},[e("draggable",{staticClass:"dragArea list-group",attrs:{list:t.configData.list,group:"peoples",handle:".icon"}},t._l(t.configData.list,(function(i,a){return e("div",{key:a,staticClass:"input-item"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"el-icon-s-grid",staticStyle:{"font-size":"20px"}})]),t._v(" "),e("el-input",{attrs:{maxlength:"10",placeholder:"选填,不超过十个字"},model:{value:i.val,callback:function(e){t.$set(i,"val",e)},expression:"item.val"}}),t._v(" "),e("div",{staticClass:"delete",on:{click:function(i){return i.stopPropagation(),t.bindDelete(a)}}},[e("i",{staticClass:"el-icon-error",staticStyle:{"font-size":"20px"}})])],1)})),0),t._v(" "),t.configData.list.length<20?e("div",{staticClass:"add-btn",on:{click:t.addHotTxt}},[e("el-button",{staticClass:"btn",staticStyle:{width:"100%",height:"40px","font-size":"12px"}},[t._v("添加热词")])],1):t._e()],1)]):t._e()},n=[function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"title"},[e("p",[t._v("搜索热词")]),t._v(" "),e("span",[t._v("热词最多20个词,鼠标拖拽左侧圆点可调整")])])}],s=e("1980"),c=e.n(s),o={name:"c_hot_word",props:{configObj:{type:Object},configNme:{type:String}},components:{draggable:c.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,i){this.configData=t[this.configNme]},immediate:!0,deep:!0}},methods:{addHotTxt:function(){var t={val:""};this.configData.list.push(t)},bindDelete:function(t){this.configData.list.splice(t,1)}}},l=o,r=(e("f267"),e("2877")),d=Object(r["a"])(l,a,n,!1,null,"296b159c",null);i["default"]=d.exports},f478:function(t,i,e){"use strict";e.d(i,"f",(function(){return n})),e.d(i,"e",(function(){return s})),e.d(i,"d",(function(){return c})),e.d(i,"m",(function(){return o})),e.d(i,"c",(function(){return l})),e.d(i,"b",(function(){return r})),e.d(i,"l",(function(){return d})),e.d(i,"k",(function(){return u})),e.d(i,"h",(function(){return f})),e.d(i,"g",(function(){return g})),e.d(i,"i",(function(){return p})),e.d(i,"j",(function(){return m})),e.d(i,"a",(function(){return h}));var a=e("0c6d");function n(t){return a["a"].get("diy/product/lst",t)}function s(t,i){return a["a"].post("diy/create/".concat(t),i)}function c(t){return a["a"].get("diy/lst",t)}function o(t){return a["a"].get("diy/default_lst",t)}function l(t){return a["a"].get("diy/detail/".concat(t))}function r(t,i){return a["a"].delete("diy/delete/".concat(t),i)}function d(t){return a["a"].post("diy/status/".concat(t))}function u(t){return a["a"].get("diy/recovery/".concat(t))}function f(t){return a["a"].get("diy/link/lst",t)}function g(t){return a["a"].get("diy/review/".concat(t))}function p(){return a["a"].get("diy/categroy/options")}function m(t,i){return a["a"].get("diy/link/getLinks/".concat(t),i)}function h(t){return a["a"].get("diy/copy/".concat(t))}},fd0b:function(t,i,e){"use strict";e("ac6a");var a=e("df7c"),n=e("2c34"),s={};n.keys().forEach((function(t){var i=a.basename(t,".vue");s[i]=n(t).default||n(t)})),i["a"]=s},fe40:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.configData?e("div",{staticClass:"c_product"},[e("div",{staticClass:"title"},[t._v(t._s(t.configData.title))]),t._v(" "),e("div",{staticClass:"list-box"},[e("draggable",{staticClass:"dragArea list-group",attrs:{list:t.configData.list,group:"peoples",handle:".move-icon"}},t._l(t.configData.list,(function(i,a){return e("div",{key:a,staticClass:"item",on:{click:function(i){return t.activeBtn(a)}},model:{value:t.configData.tabCur,callback:function(i){t.$set(t.configData,"tabCur",i)},expression:"configData.tabCur"}},[e("div",{staticClass:"move-icon"},[e("span",{staticClass:"iconfont-diy icondrag2"})]),t._v(" "),e("div",{staticClass:"content"},[t._l(i.chiild,(function(n,s){return e("div",{key:s,staticClass:"con-item"},[e("span",[t._v(t._s(n.title))]),t._v(" "),e("div",{staticStyle:{width:"100%"},on:{click:function(e){return t.getLink(a,s,i)}}},[e("el-input",{attrs:{readonly:!(!s||i.link),placeholder:n.pla,maxlength:n.max},model:{value:n.val,callback:function(i){t.$set(n,"val",i)},expression:"list.val"}},[s&&!i.link?e("el-button",{attrs:{slot:"append",icon:"el-icon-arrow-right"},slot:"append"}):t._e()],1)],1)])})),t._v(" "),i.link?e("div",{staticClass:"con-item"},[e("span",[t._v(t._s(i.link.title))]),t._v(" "),e("el-select",{on:{change:function(i){return t.sliderChange(a)}},model:{value:i.link.activeVal,callback:function(e){t.$set(i.link,"activeVal",e)},expression:"item.link.activeVal"}},t._l(i.link.optiops,(function(i,a){return e("el-option",{key:a,attrs:{value:i.value}},[t._v(t._s(i.label)+"\n ")])})),1)],1):t._e()],2),t._v(" "),e("div",{staticClass:"delete",on:{click:function(i){return i.stopPropagation(),t.bindDelete(a)}}},[e("i",{staticClass:"el-icon-error",staticStyle:{"font-size":"26px"}})])])})),0)],1),t._v(" "),t.configData.list?e("div",[t.configData.list.length<t.configData.max?e("div",{staticClass:"add-btn",on:{click:t.addHotTxt}},[e("el-button",{staticClass:"btn",staticStyle:{width:"100%",height:"40px","font-size":"12px"}},[t._v("添加模块")])],1):t._e()]):t._e(),t._v(" "),e("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}})],1):t._e()},n=[],s=(e("b54a"),e("1980")),c=e.n(s),o=e("7af3"),l={name:"c_product",props:{configObj:{type:Object},configNme:{type:String},index:{type:null}},components:{linkaddress:o["a"],draggable:c.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,i){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,i,e){i&&!e.link&&(this.activeIndex=t,this.$refs.linkaddres.init())},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 i=JSON.parse(JSON.stringify(this.configData.list[this.configData.list.length-1]));i.chiild[0].empty&&(i.chiild[0].val="",i.chiild[1].val=""),this.configData.list.push(i)}},bindDelete:function(t){if(1==this.configData.list.length){var i=this.configData.list[0];this.itemObj=i;var e=window.localStorage;e.setItem("itemObj",JSON.stringify(i))}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})}}},r=l,d=(e("0165"),e("2877")),u=Object(d["a"])(r,a,n,!1,null,"c11759ee",null);i["default"]=u.exports},fed0:function(t,i,e){"use strict";e.r(i);var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"setUp"},[[e("el-tabs",{model:{value:t.configData.tabVal,callback:function(i){t.$set(t.configData,"tabVal",i)},expression:"configData.tabVal"}},[e("el-tab-pane",{attrs:{label:"内容设置"}}),t._v(" "),e("el-tab-pane",{attrs:{label:"样式设置"}})],1)]],2)},n=[],s={name:"c_set_up",props:{configObj:{type:Object},configNme:{type:String}},data:function(){return{defaults:{},configData:{}}},watch:{configObj:{handler:function(t,i){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){}}},c=s,o=(e("3085"),e("2877")),l=Object(o["a"])(c,a,n,!1,null,"9363490e",null);i["default"]=l.exports}}]); |