徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
20 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-1a5a3c0a"],{"3dde":function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAFaUlEQVR4Ae2cTYgcRRTHu3pmZ12zm2GH/d4NLigeVg0YjGQP4jc5iJKLQsCDKAh6kFw8iAeJ6DWgB/UiehAJJH4gIoKKYCIoiDGooBBJjElmnGyCMdnNzibT7e9pdhnHYenqqZmukffgn3T3VL169euururq6g0CNSWgBJSAElACSkAJKAEloASUgBJQAkpgPQJmvR9T/GZGRia39PWZZ4PAbDfGXJ3CR6eyLMdx8EW9vrK7Wq1+RSGRq4Jyrhz942dmoFg0rxkT3g/APre+2/aWNya4NgjCWWM2friycv5i2x6vOAhdORI/pdKSgLvNpU/XvgC5bWgodtpCnEIMwzAmyPOuK+7Y34VareasKUtsTiEuLCyscN/5wHGlnbrjJH8cx7HTE+26YwmKxeLwwMCGndwT5wHqzX3RmPgy8RymP3mzUqmcdnpm1JkS8IKAk+ZcKk1tyudNyYsaWQQRhvVzNO1jFllaJm0L4sTE1O4wNI8xsJ5u6b0HDnKfrMh9slw+9RzhrqQJOQ1EMzY2Np/LFV6ip7slTaE+5qHHPgTMXeVy+QDxxTYxWkMslSbm+vvz+wA4Z1NQL6QF5LF6/dIOHgvpxZOb9TixUMg/CcDrkhfRUyln8vm+XbYRW0NkvLWVQgq2BfVCesa2eeK82TZWyWRrU80ZaAYHOXaAIFLdmJv9dWOfmGVCYp5O8a7G8uLYjDfuJ9m2hgiomUbHBHO2Xo/2VKvl9xqP98L2+Pj03Tzub6ZOI6vxAnZidTvp/9bNuYX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loASUgBJwTeAvcjcmfqDl9tUAAAAASUVORK5CYII="},"49ec":function(t,i,e){"use strict";e("cb0e")},"8ea6":function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAFrElEQVR4Ae2bTWhUVxTH/y/TKImf1WgI7UJoUPyowRTFSCoGAlVCTEEwWBRxVeyuO0s3dteFyyzaXambbkJoNNpNoNRQSgQxQROFlqoEE0yKg/lQk5m5/Z88hmYyo3nnzZ3Mm+m9cPMyb84799zfO/fecz8GcMkRcAQcAUfAEXAEHAFHwBFwBBwBR8ARcATeRsB725fa7wzgoa2tEZ73NfMnfL5aq6Ng8sa8ou7fYMw36Ov7gxVP2SrLLsSmpirEYt0EeMKWgdb1GNOP+flOb3DwH1u637GlaFHP5GQlqqs/JkSraq0qM+YwUilpIRGFGI8bLCxME+J6qxW3q2wGiYS1piym2fXEqal5JJO97Hc+t1tvq9p+QTw+bVOj9XbHweVdGngGFRVNvFbaNDZPXQk24yHq+IGVnsxTl3vcEYggASvN2bS317D51nFAiUWwjrlNisVSbN4TXk/Ps9wCwe/mBdGcOvUtB5ELhLc9eJERkzRmivZfxdzcV97Nm6/DWKeGyIGjAidPNjOo7mKBH4YpNJLPGDNCz7yI3t4BQlGFQHqIHR0C7ifmPZGEkZ9Rf7Nlfer19g5r1OjjRHlbQL2mkJKR9bz3CfFL2ntBY7MeojGtLGCNppCSkTWmkhBbtPbqIaZSteyIteWUkvxWrbF6iMasYwesLad05D1PvXynh5hKlU4sGObVGVOhfSwMRG0ZZS/vIFp4xQ6ig2iBgAUVek80nPi5lEFAD7Gcw5sMNME/RBvixo3A3r3AgwfA8+fBa7XKkuqYaDHQFm8sdJZZ0ZEjwOXLQAtnYjGGp4UuM61f+RKi64nbuUR5+jSwn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OAKOgCPgCDgCjoAj4Ag4Ao5AORH4F4zMVX3rEBPNAAAAAElFTkSuQmCC"},cb0e:function(t,i,e){},da69:function(t,i,e){"use strict";e.r(i);var n=e("f478"),a=e("b76a"),o=e.n(a),s=e("877c"),r=e("6980"),c=e("4358"),l=e("2f62"),m=e("d708");function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{};i%2?f(Object(e),!0).forEach((function(i){h(t,i,e[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}))}return t}function h(t,i,e){return(i=function(t){var i=function(t,i){if("object"!=g(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,i||"default");if("object"!=g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)}(t,"string");return"symbol"==g(i)?i:i+""}(i))in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}var u={inject:["reload"],name:"index.vue",components:d(d({footPage:c.a,draggable:o.a},s.a),r.a),filters:{filterTxt:function(t){if(t)return t.substr(0,t.length-1)}},computed:d({},Object(l.e)({titleTxt:function(t){return t.admin.mobildConfig.pageTitle||"专题页"},titleTxt2:function(t){return t.admin.mobildConfig}})),data:function(){return{roterPre:m.a.roterPre,clientHeight:"",rollHeight:"",leftMenu:[],lConfig:[],mConfig:[],rConfig:[],activeConfigName:"",propsObj:{},activeIndex:-99,number:0,pageId:"",pageName:"",pageType:"",category:[],tabList:[{title:"组件库",key:0},{title:"页面链接",key:1}],tabCur:0,urlList:[],footActive:!1,loading:!1,isSearch:!1,isTab:!1,isFllow:!1}},created:function(){this.categoryList(),this.getUrlList(),this.pageId=this.$route.query.id,this.pageName=this.$route.query.name,this.pageType=this.$route.query.type,this.lConfig=this.objToArr(s.a)},mounted:function(){var t=this,i={imgList:[e("8ea6"),e("3dde")],name:"主题页",link:"/pages/annex/special/index?id="+this.pageId};this.$nextTick((function(){t.$store.commit("admin/mobildConfig/FOOTER",{title:"是否显示",name:i}),t.arraySort(),0!=t.pageId&&t.getDefaultConfig(),t.clientHeight="".concat(document.documentElement.clientHeight)-65.81;var e="".concat(document.documentElement.clientHeight)-180;t.rollHeight=e>650?650:e;var n=t;window.onresize=function(){n.clientHeight="".concat(document.documentElement.clientHeight)-65.81;var t="".concat(document.documentElement.clientHeight)-180;n.rollHeight=t>650?650:t}}))},methods:{leftRemove:function(t){t.to,t.from;var i=t.item,e=(t.clone,t.oldIndex,t.newIndex);this.isSearch&&0==e&&("z_wechat_attention"==i._underlying_vm_.name?this.isFllow=!0:(this.$store.commit("admin/mobildConfig/ARRAYREAST",this.mConfig[0].num),this.mConfig.splice(0,1))),(this.isFllow=e>=1)&&this.$store.commit("admin/mobildConfig/ARRAYREAST",this.mConfig[0].num)},onMove:function(t){return"search_box"!=t.relatedContext.element.name&&"nav_bar"!=t.relatedContext.element.name},onCopy:function(){this.$Message.success("复制成功")},onError:function(){this.$Message.error("复制失败")},setmoren:function(){var t=this;Object(n.w)(this.pageId).then((function(i){t.$Message.success(i.msg)})).catch((function(i){t.$Message.error(i.msg)}))},getmoren:function(){var t=this;Object(n.t)(this.pageId).then((function(i){t.$Message.success(i.msg),t.reload()})).catch((function(i){t.$Message.error(i.msg)}))},getUrlList:function(){var t=this;Object(n.o)().then((function(i){t.urlList=i.data.url}))},bindTab:function(t){this.tabCur=t},showTitle:function(){this.activeIndex=-100;var t={};for(var i in r.a)"pageTitle"==i&&((t=r.a[i]).configName=r.a[i].name,t.cname="页面设置");this.rConfig=[],this.rConfig[0]=JSON.parse(JSON.stringify(t))},showFoot:function(){this.activeIndex=-101;var t={};for(var i in r.a)"pageFoot"==i&&((t=r.a[i]).configName=r.a[i].name,t.cname="底部菜单");this.rConfig=[],this.rConfig[0]=JSON.parse(JSON.stringify(t))},objToArr:function(t){return Object.keys(t).map((function(i){return t[i]}))},log:function(t){if(t.moved){if("search_box"==t.moved.element.name)return this.$Message.warning("该组件禁止拖拽");if("nav_bar"==t.moved.element.name)return this.$Message.warning("该组件禁止拖拽");t.moved.oldNum=this.mConfig[t.moved.oldIndex].num,t.moved.newNum=this.mConfig[t.moved.newIndex].num,t.moved.status=t.moved.oldIndex>t.moved.newIndex,this.mConfig.forEach((function(t,i){t.num=1e3*(new Date).getTime()+i})),t.moved.list=this.mConfig,this.rConfig=[];var i=t.moved.element,e=JSON.parse(JSON.stringify(i));this.rConfig.push(e),this.activeIndex=t.moved.newIndex,this.$store.commit("admin/mobildConfig/SETCONFIGNAME",i.name),this.$store.commit("admin/mobildConfig/defaultArraySort",t.moved)}if(t.added){var n=t.added.element,a=1e3*(new Date).getTime();n.num=a,this.activeConfigName=n.name;var o=JSON.parse(JSON.stringify(n));o.id="id"+o.num,this.mConfig[t.added.newIndex]=o,this.rConfig=[],this.rConfig.push(o),this.mConfig.forEach((function(t,i){t.num=1e3*(new Date).getTime()+i})),t.added.list=this.mConfig,this.activeIndex=t.added.newIndex,this.$store.commit("admin/mobildConfig/SETCONFIGNAME",n.name),this.$store.commit("admin/mobildConfig/defaultArraySort",t.added)}},cloneDog:function(t){return d({},t)},swapArray:function(t,i,e){return t[i]=t.splice(e,1,t[i])[0],t},movePage:function(t,i,e){if(e){if(0==i)return}else if(i==this.mConfig.length-1)return;if("search_box"==t.name)return this.$Message.warning("该组件禁止移动");if("nav_bar"==t.name)return this.$Message.warning("该组件禁止移动");if(e){if("search_box"==this.mConfig[i-1].name||"nav_bar"==this.mConfig[i-1].name)return this.$Message.warning("搜索框、商品分类必须为顶部");this.swapArray(this.mConfig,i-1,i)}else this.swapArray(this.mConfig,i,i+1);var n={};this.rConfig=[],n.oldIndex=i,n.newIndex=e?i-1:i+1,this.mConfig.forEach((function(t,i){t.num=1e3*(new Date).getTime()+i}));var a=JSON.parse(JSON.stringify(t));this.rConfig.push(a),n.element=t,n.list=this.mConfig,this.activeIndex=e?i-1:i+1,this.$store.commit("admin/mobildConfig/SETCONFIGNAME",t.name),this.$store.commit("admin/mobildConfig/defaultArraySort",n)},addDomCon:function(t,i,e){if("search_box"==t.name){if(this.isSearch)return this.$Message.error("该组件只能添加一次");this.isSearch=!0}if("nav_bar"==t.name){if(this.isTab)return this.$Message.error("该组件只能添加一次");this.isTab=!0}var n={},a=1e3*(new Date).getTime();t.num="".concat(a),t.id="id".concat(a),this.activeConfigName=t.name;var o=JSON.parse(JSON.stringify(t));"search_box"==t.name?(this.rConfig=[],this.mConfig.unshift(o),this.activeIndex=0,this.rConfig.push(o)):"nav_bar"==t.name?(this.rConfig=[],this.mConfig[0]&&"search_box"===this.mConfig[0].name?(this.mConfig.splice(1,0,o),this.activeIndex=1):(this.mConfig.splice(0,0,o),this.activeIndex=0),this.rConfig.push(o)):i?(this.rConfig=[],this.mConfig.push(o),this.activeIndex=this.mConfig.length-1,this.rConfig.push(o)):(this.mConfig.splice(e+1,0,o),this.activeIndex=e),this.mConfig.forEach((function(t,i){t.num=1e3*(new Date).getTime()+i})),n.element=t,n.list=this.mConfig,this.$store.commit("admin/mobildConfig/SETCONFIGNAME",t.name),this.$store.commit("admin/mobildConfig/defaultArraySort",n)},bindAddDom:function(t,i,e){var n=t;this.lConfig.forEach((function(i){t.name==i.name&&(n=i)})),this.addDomCon(n,i,e)},addDom:function(t,i){this.addDomCon(t,i)},bindconfig:function(t,i){this.rConfig=[];var e=JSON.parse(JSON.stringify(t));this.rConfig.push(e),this.activeIndex=i,this.$store.commit("admin/mobildConfig/SETCONFIGNAME",t.name)},bindDelete:function(t,i){"search_box"==t.name&&(this.isSearch=!1),"nav_bar"==t.name&&(this.isTab=!1),this.mConfig.splice(i,1),this.rConfig.splice(0,1),this.mConfig.length!=i?this.rConfig.push(this.mConfig[i]):this.mConfig.length?(this.activeIndex=i-1,this.rConfig.push(this.mConfig[i-1])):this.showTitle(),this.$store.commit("admin/mobildConfig/DELETEARRAY",t)},config:function(t){var i=this.propsObj;i.data=t,i.name=this.activeConfigName},addSort:function(t,i,e){return t[i]=t.splice(e,1,t[i])[0],t},arraySort:function(){var t=[],i={title:"基础组件",list:[],isOpen:!0},e={title:"营销组件",list:[],isOpen:!0},n={title:"工具组件",list:[],isOpen:!0};this.lConfig.map((function(t,a){0==t.type&&i.list.push(t),1==t.type&&e.list.push(t),2==t.type&&n.list.push(t)})),t.push(i,e,n),this.leftMenu=t},saveConfig:function(){var t=this;if(0==this.mConfig.length)return this.$Message.error("暂未添加任何组件,保存失败!");this.loading=!0;var i=this.$store.state.admin.mobildConfig.defaultArray;this.footActive||(i[1e3*(new Date).getTime()]=this.$store.state.admin.mobildConfig.pageFooter,this.footActive=!0),Object(n.e)(this.pageId,{name:this.pageName,type:this.pageType,value:i,title:this.titleTxt}).then((function(i){t.loading=!1,t.pageId=i.data.id,t.$Message.success(i.msg)})).catch((function(i){t.loading=!1,t.$Message.error(i.msg)}))},getDefaultConfig:function(){var t=this;Object(n.c)(this.pageId,{type:2}).then((function(i){var e=i.data,n={},a=[];t.$store.commit("admin/mobildConfig/titleUpdata",e.info.title);var o=t.objToArr(e.info.value);o.sort((function(t,i){return t.timestamp-i.timestamp})),o.map((function(i,e){"headerSerch"==i.name&&(t.isSearch=!0),"tabNav"==i.name&&(t.isTab=!0),i.id="id"+i.timestamp,t.lConfig.map((function(e,o){if(i.name==e.defaultName){e.num=i.timestamp,e.id="id"+i.timestamp;var s=JSON.parse(JSON.stringify(e));a.push(s),n[i.timestamp]=i,t.mConfig.push(s),t.$store.commit("admin/mobildConfig/ADDARRAY",{num:i.timestamp,val:i})}}))}));var s=o[o.length-1];"pageFoot"==s.name&&t.$store.commit("admin/mobildConfig/footPageUpdata",s),t.rConfig=[],t.activeIndex=0,t.rConfig.push(t.mConfig[0])}))},categoryList:function(){var t=this;Object(n.a)((function(i){t.category=i.data}))},reast:function(){var t=this;0==this.pageId?this.$Message.error("新增页面,无法重置"):this.$Modal.confirm({title:"提示",content:"<p>是否重置当前页面数据</p>",onOk:function(){t.mConfig=[],t.rConfig=[],t.activeIndex=-99,t.getDefaultConfig()},onCancel:function(){}})}},beforeDestroy:function(){this.$store.commit("admin/mobildConfig/titleUpdata",""),this.$store.commit("admin/mobildConfig/SETEMPTY")},destroyed:function(){this.$store.commit("admin/mobildConfig/titleUpdata",""),this.$store.commit("admin/mobildConfig/SETEMPTY")}},p=(e("49ec"),e("2877")),A=Object(p.a)(u,(function(){var t=this,i=t._self._c;return i("div",{staticClass:"diy-page"},[i("PageHeader",{staticClass:"product_tabs",attrs:{title:t.$route.meta.title,"hidden-breadcrumb":""}},[i("div",{attrs:{slot:"title"},slot:"title"},[i("div",{staticClass:"float-l"},[i("router-link",{attrs:{to:{path:"".concat(t.roterPre,"/setting/pages/special")}}},[i("Button",{staticClass:"mr20",attrs:{icon:"ios-arrow-back",size:"small"}},[t._v("返回\n ")])],1),i("span",{staticClass:"mr20",domProps:{textContent:t._s(t.$route.meta.title)}})],1),i("div",{staticStyle:{float:"right"}},[i("Button",{staticClass:"bnt",attrs:{type:"primary",loading:t.loading},on:{click:t.saveConfig}},[t._v("保存")]),i("Button",{staticClass:"bnt ml20",on:{click:t.reast}},[t._v("重置")])],1)])]),i("Card",{staticClass:"ivu-mt",staticStyle:{margin:"0 10px"},attrs:{bordered:!1,"dis-hover":""}},[i("div",{staticClass:"diy-wrapper",style:"height:"+t.clientHeight+"px;"},[i("div",{staticClass:"left"},[i("div",{staticClass:"title-bar"},t._l(t.tabList,(function(e,n){return i("div",{key:n,staticClass:"title-item",class:{on:t.tabCur==n},on:{click:function(i){return t.bindTab(n)}}},[t._v("\n "+t._s(e.title)+"\n ")])})),0),0==t.tabCur?i("div",{staticClass:"wrapper"},t._l(t.leftMenu,(function(e,n){return i("div",{key:n},[i("div",{staticClass:"tips",on:{click:function(t){e.isOpen=!e.isOpen}}},[t._v("\n "+t._s(e.title)+"\n\n "),e.isOpen?i("Icon",{attrs:{type:"ios-arrow-down",size:"16"}}):i("Icon",{attrs:{type:"ios-arrow-forward",size:"16"}})],1),i("draggable",{staticClass:"dragArea list-group",attrs:{list:e.list,group:{name:"people",pull:"clone",put:!1},clone:t.cloneDog,dragClass:"dragClass",filter:".search , .navbar"}},t._l(e.list,(function(n,a){return i("div",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"item.isOpen"}],key:n.id,staticClass:"list-group-item",class:{search:"搜索框"==n.cname,navbar:"商品分类"==n.cname},on:{click:function(i){return t.addDom(n,1)}}},[i("div",[i("div",{staticClass:"position",staticStyle:{display:"none"}},[t._v("释放鼠标将组建添加到此处")]),i("span",{staticClass:"conter iconfont-diy",class:n.icon}),i("p",{staticClass:"conter"},[t._v(t._s(n.cname))])])])})),0)],1)})),0):i("div",t._l(t.urlList,(function(e,n){return i("div",{key:n,staticClass:"link-item"},[i("div",{staticClass:"name"},[t._v(t._s(e.name))]),i("div",{staticClass:"link-txt"},[t._v("地址:"+t._s(e.url))]),i("div",{staticClass:"params"},[i("span",{staticClass:"txt"},[t._v("参数:")]),i("span",[t._v(t._s(e.parameter))])]),i("div",{staticClass:"lable"},[i("p",{staticClass:"txt"},[t._v("例如:"+t._s(e.example))]),i("Button",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.example,expression:"item.example",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:t.onCopy,expression:"onCopy",arg:"success"},{name:"clipboard",rawName:"v-clipboard:error",value:t.onError,expression:"onError",arg:"error"}],attrs:{size:"small"}},[t._v("复制\n ")])],1)])})),0)]),i("div",{staticClass:"wrapper-con",staticStyle:{flex:"1",background:"#f0f2f5",display:"flex","justify-content":"center","padding-top":"20px",height:"100%"}},[i("div",{staticClass:"content",staticStyle:{display:"flex","justify-content":"center"}},[i("div",{staticClass:"contxt",staticStyle:{display:"flex","flex-direction":"column",overflow:"hidden",height:"100%"}},[i("div",{staticClass:"overflowy"},[i("div",{staticClass:"picture"},[i("img",{attrs:{src:e("2d44")}})]),i("div",{staticClass:"page-title",class:{on:-100==t.activeIndex},on:{click:t.showTitle}},[t._v("\n "+t._s(t.titleTxt)+"\n "),i("div",{staticClass:"delete-box"}),i("div",{staticClass:"handle"})])]),i("div",{staticClass:"scrollCon"},[i("div",{staticStyle:{width:"460px",margin:"0 auto"}},[i("div",{staticClass:"scroll-box",style:"height:"+t.rollHeight+"px;"},[i("draggable",{staticClass:"dragArea list-group",attrs:{list:t.mConfig,group:"people",filter:".top",move:t.onMove,animation:"300"},on:{change:t.log}},t._l(t.mConfig,(function(e,n){return i("div",{key:n,staticClass:"mConfig-item",class:{on:t.activeIndex==n,top:"search_box"==e.name||"nav_bar"==e.name},on:{click:function(i){return i.stopPropagation(),t.bindconfig(e,n)}}},[i(e.name,{ref:"getComponentData",refInFor:!0,tag:"component",attrs:{configData:t.propsObj,index:n,num:e.num}}),i("div",{staticClass:"delete-box"},[i("div",{staticClass:"handleType"},[i("div",{staticClass:"iconfont iconshanchu2",on:{click:function(i){return i.stopPropagation(),t.bindDelete(e,n)}}}),i("div",{staticClass:"iconfont iconfuzhi",on:{click:function(i){return i.stopPropagation(),t.bindAddDom(e,0,n)}}}),i("div",{staticClass:"iconfont iconshangyi",class:0===n?"on":"",on:{click:function(i){return i.stopPropagation(),t.movePage(e,n,1)}}}),i("div",{staticClass:"iconfont iconxiayi",class:n===t.mConfig.length-1?"on":"",on:{click:function(i){return i.stopPropagation(),t.movePage(e,n,0)}}})])]),i("div",{staticClass:"handle"})],1)})),0)],1)])]),i("div",{staticClass:"overflowy"},[i("div",{staticClass:"page-foot",class:{on:-101==t.activeIndex},on:{click:t.showFoot}},[i("footPage"),i("div",{staticClass:"delete-box"}),i("div",{staticClass:"handle"})],1)])]),0!==t.pageId?i("div",{staticClass:"defaultData"},[i("div",{staticClass:"data",on:{click:t.setmoren}},[t._v("设置默认")]),i("div",{staticClass:"data",on:{click:t.getmoren}},[t._v("恢复默认")])]):t._e()])]),i("div",{staticClass:"right-box"},t._l(t.rConfig,(function(e,n){return i("div",{key:n,staticClass:"mConfig-item"},[i("div",{staticClass:"title-bar"},[t._v(t._s(e.cname))]),i(e.configName,{tag:"component",attrs:{activeIndex:t.activeIndex,num:e.num,index:n},on:{config:t.config}})],1)})),0)])])],1)}),[],!1,null,"33456409",null);i.default=A.exports}}]);