(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dc0c314e"],{"0503":function(t,e,i){},"0b31":function(t,e,i){},1550:function(t,e,i){},1644:function(t,e,i){"use strict";i("6c93")},"1df1":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mobile-config"},[t._l(t.rCom,(function(e,n){return i("div",{key:n},[i(e.components&&e.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:t.configObj,configNme:e.configNme,index:t.activeIndex,num:e.num},on:{getConfig:t.getConfig}})],1)})),t._v(" "),i("rightBtn",{attrs:{activeIndex:t.activeIndex,configObj:t.configObj}})],2)},a=[],o=i("db72"),s=i("fd0b"),c=i("befa"),r={name:"c_home_select",componentsName:"home_select",components:Object(o["a"])(Object(o["a"])({},s["a"]),{},{rightBtn:c["a"]}),props:{activeIndex:{type:null},num:{type:null},index:{type:null}},data:function(){return{configObj:{},rCom:[{components:s["a"].c_input_item,configNme:"titleConfig"},{components:s["a"].c_select_item,configNme:"wordsConfig"},{components:s["a"].c_is_show,configNme:"titleShow"}]}},watch:{num:function(t){var e=JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[t]));this.configObj=e},configObj:{handler:function(t,e){this.$store.commit("mobildConfig/UPDATEARR",{num:this.num,val:t})},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){var e=JSON.parse(JSON.stringify(t.$store.state.mobildConfig.defaultArray[t.num]));t.configObj=e}))},methods:{getConfig:function(t){}}},f=r,l=(i("5ae9"),i("2877")),m=Object(l["a"])(f,n,a,!1,null,"881531fa",null);e["default"]=m.exports},2e3:function(t,e,i){"use strict";i("47bc")},2088:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-box acea-row row-between-wrapper"},[i("span",{staticClass:"title"},[t._v(t._s(t.titleTxt))]),t._v(" "),i("div",{staticClass:"textVal"},[t.tipVal?i("span",{staticClass:"place"},[t._v(t._s(t.tipVal))]):i("span",{staticClass:"place on"},[t._v(t._s(t.time))]),t._v(" "),i("span",{staticClass:"iconfont iconjinru"})])])},a=[],o=(i("6b54"),i("f576"),i("db72")),s=(i("61f7"),i("2f62")),c={name:"home_date",cname:"日期",icon:"iconbiaodanzujian-riqi",configName:"c_home_date",type:0,defaultName:"dates",props:{index:{type:null},num:{type:null}},computed:Object(o["a"])({},Object(s["d"])("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(t,e){this.setConfig(t)},deep:!0},num:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[t];this.setConfig(i)},deep:!0},defaultArray:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(i)},deep:!0}},data:function(){return{defaultConfig:{name:"dates",timestamp:this.num,titleConfig:{title:"标题",value:"日期",place:"请输入标题",max:10,type:"form"},valConfig:{title:"默认值",type:"data",specifyDate:"",tabVal:0,tabData:0,tabList:[{name:"显示"},{name:"隐藏"}],dataList:[{name:"当前日期"},{name:"指定日期"}]},tipConfig:{title:"提示语",value:"请选择",place:"请输入提示语",max:10,type:"form"},titleShow:{title:"是否必填",val:!0,type:"form"}},titleTxt:"",tipVal:"",pageData:{},time:""}},mounted:function(){var t=this;this.$nextTick((function(){t.pageData=t.$store.state.mobildConfig.defaultArray[t.num],t.setConfig(t.pageData)}))},methods:{setConfig:function(t){if(t&&t.titleConfig)if(this.titleTxt=t.titleConfig.value,0==t.valConfig.tabVal)if(0==t.valConfig.tabData){this.tipVal="";var e=new Date,i=e.getFullYear(),n=e.getMonth(),a=e.getDate();n+=1,n=n.toString().padStart(2,"0"),a=a.toString().padStart(2,"0");var o="".concat(i,"/").concat(n,"/").concat(a);this.time=o}else t.valConfig.specifyDate?(this.tipVal="",this.time=t.valConfig.specifyDate):this.tipVal=t.tipConfig.value;else this.tipVal=t.tipConfig.value}}},r=c,f=(i("a25c"),i("2877")),l=Object(f["a"])(r,n,a,!1,null,"6783b95d",null);e["default"]=l.exports},2409:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"diy-page"},[n("div",{staticClass:"product_tabs"},[n("div",{attrs:{slot:"title"},slot:"title"},[n("div",{staticStyle:{float:"left"}},[n("el-button",{staticClass:"back",attrs:{icon:"el-icon-arrow-left",type:"text"},on:{click:t.goBack}},[t._v("返回")]),t._v(" "),n("span",{staticClass:"form-name"},[t._v(t._s(t.storeName))])],1),t._v(" "),n("div",[n("el-button",{attrs:{type:"primary",size:"mini",loading:t.loading},on:{click:t.saveConfig}},[t._v("保存")]),t._v(" "),n("el-button",{attrs:{size:"mini"},on:{click:t.reast}},[t._v("重置")])],1)])]),t._v(" "),n("el-card",[n("div",{staticClass:"diy-wrapper",style:"height:"+t.clientHeight+"px;"},[n("div",{staticClass:"left"},[n("div",{staticClass:"title"},[n("div",{staticClass:"tips"},[t._v("表单名称")]),t._v(" "),n("el-input",{staticClass:"input-add",attrs:{placeholder:"请输入表单名称",size:"small"},model:{value:t.storeName,callback:function(e){t.storeName=e},expression:"storeName"}})],1),t._v(" "),0==t.tabCur?n("div",{staticClass:"wrapper",style:"height:"+(t.clientHeight-96)+"px;"},t._l(t.leftMenu,(function(e,i){return n("div",{key:i},[n("div",{staticClass:"tips",on:{click:function(t){e.isOpen=!e.isOpen}}},[t._v("\n "+t._s(e.title)+"\n "),e.isOpen?n("i",{staticClass:"el-icon-arrow-down",attrs:{size:"16"}}):n("i",{staticClass:"el-icon-arrow-right",attrs:{size:"16"}})]),t._v(" "),n("draggable",{staticClass:"dragArea list-group",attrs:{list:e.list,group:{name:"people",pull:"clone",put:!1},clone:t.cloneDog,dragClass:"dragClass",filter:".search , .navbar , .homeComb , .service"}},t._l(e.list,(function(i,a){return n("div",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"item.isOpen"}],key:i.id,staticClass:"list-group-item",class:{search:"搜索框"==i.cname,navbar:"商品分类"==i.cname,homeComb:"组合组件"==i.cname,service:"在线客服"==i.cname},on:{click:function(e){return t.addDom(i,1)}}},[n("div",[n("div",{staticClass:"position",staticStyle:{display:"none"}},[t._v("释放鼠标将组建添加到此处")]),t._v(" "),n("span",{staticClass:"conter iconfont-diy",class:i.icon}),t._v(" "),n("p",{staticClass:"conter"},[t._v(t._s(i.cname))])])])})),0)],1)})),0):t._e()]),t._v(" "),n("div",{staticClass:"wrapper-con",staticStyle:{flex:"1",background:"#f0f2f5",display:"flex","justify-content":"center","padding-top":"20px",height:"100%"}},[n("div",{staticClass:"content"},[n("div",{staticClass:"contxt",staticStyle:{display:"flex","flex-direction":"column",overflow:"hidden",height:"100%"}},[n("div",{staticClass:"overflowy"},[n("div",{staticClass:"picture"},[n("img",{attrs:{src:i("2d44")}})]),t._v(" "),n("div",{staticClass:"page-title"},[t._v("\n "+t._s(t.storeName)+"\n ")])]),t._v(" "),n("div",{staticClass:"scrollCon"},[n("div",{staticStyle:{width:"460px",margin:"0 auto"}},[n("div",{ref:"imgContainer",staticClass:"scroll-box",class:t.picTxt&&2==t.tabValTxt?"fullsize noRepeat":t.picTxt&&1==t.tabValTxt?"repeat ysize":"noRepeat ysize",style:"background-color:"+(t.colorTxt?t.colorPickerTxt:"")+";background-image: url("+(t.picTxt?t.picUrlTxt:"")+");height:"+t.rollHeight+"px;"},[n("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,i){return n("div",{key:i,staticClass:"mConfig-item",class:{on:t.activeIndex==i,top:"search_box"==e.name||"nav_bar"==e.name},style:t.colorTxt?"background-color:"+t.colorPickerTxt+";":"background-color:#fff;",on:{click:function(n){return n.stopPropagation(),t.bindconfig(e,i)}}},[n(e.name,{ref:"getComponentData",refInFor:!0,tag:"component",attrs:{configData:t.propsObj,index:i,num:e.num}}),t._v(" "),n("div",{staticClass:"delete-box"},[n("div",{staticClass:"handleType"},[n("div",{staticClass:"iconfont iconshanchu2",on:{click:function(n){return n.stopPropagation(),t.bindDelete(e,i)}}}),t._v(" "),n("div",{staticClass:"iconfont iconfuzhi",on:{click:function(n){return n.stopPropagation(),t.bindAddDom(e,0,i)}}}),t._v(" "),n("div",{staticClass:"iconfont iconshangyi",class:0===i?"on":"",on:{click:function(n){return n.stopPropagation(),t.movePage(e,i,1)}}}),t._v(" "),n("div",{staticClass:"iconfont iconxiayi",class:i===t.mConfig.length-1?"on":"",on:{click:function(n){return n.stopPropagation(),t.movePage(e,i,0)}}})])]),t._v(" "),n("div",{staticClass:"handle"})],1)})),0)],1)])])])])]),t._v(" "),n("div",{staticClass:"right-box"},t._l(t.rConfig,(function(e,i){return n("div",{key:i,staticClass:"mConfig-item",staticStyle:{"background-color":"#fff"}},[n("div",{staticClass:"title-bar"},[t._v(t._s(e.cname))]),t._v(" "),n(e.configName,{tag:"component",attrs:{activeIndex:t.activeIndex,num:e.num,index:i},on:{config:t.config}})],1)})),0)])])],1)},a=[],o=(i("55dd"),i("ac6a"),i("456d"),i("7f7f"),i("db72")),s=i("90e7"),c=i("1980"),r=i.n(c),f=i("df7c"),l=i("2c2c"),m={};l.keys().forEach((function(t){var e=f.basename(t,".vue");m[e]=l(t).default||l(t)}));var u=m,d=i("df7c"),g=i("5448"),p={};g.keys().forEach((function(t){var e=d.basename(t,".vue");p[e]=g(t).default||g(t)}));var h=p,v=i("2f62"),C=i("c0e9"),b=i.n(C),_=i("83d6"),y={inject:["reload"],name:"index.vue",components:Object(o["a"])(Object(o["a"])({html2canvas:b.a,draggable:r.a},u),h),filters:{filterTxt:function(t){if(t)return t.substr(0,t.length-1)}},computed:Object(o["a"])({},Object(v["d"])({nameTxt:function(t){return t.mobildConfig.pageName||"模板"},showTxt:function(t){return t.mobildConfig.pageShow},colorTxt:function(t){return t.mobildConfig.pageColor},picTxt:function(t){return t.mobildConfig.pagePic},colorPickerTxt:function(t){return t.mobildConfig.pageColorPicker},tabValTxt:function(t){return t.mobildConfig.pageTabVal},picUrlTxt:function(t){return t.mobildConfig.pagePicUrl}})),data:function(){return{roterPre:_["roterPre"],clientHeight:"",rollHeight:"",leftMenu:[],lConfig:[],mConfig:[],rConfig:[],activeConfigName:"",propsObj:{},activeIndex:0,number:0,pageId:"",pageName:"",pageType:"",tabCur:0,loading:!1,relLoading:!1,isSearch:!1,isTab:!1,isFllow:!1,isComb:!1,isService:!1,storeName:"系统表单"}},created:function(){this.pageId=this.$route.query.id,this.pageName=this.$route.query.name,this.pageType=this.$route.query.type,this.lConfig=this.objToArr(u)},mounted:function(){var t=this;this.$nextTick((function(){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 i=t;window.onresize=function(){i.clientHeight="".concat(document.documentElement.clientHeight)-65.81;var t="".concat(document.documentElement.clientHeight)-180;i.rollHeight=t>650?650:t}}))},methods:{goBack:function(){this.$router.push({path:"".concat(_["roterPre"],"/systemForm/form_list")})},onMove:function(t){return"search_box"!=t.relatedContext.element.name&&("nav_bar"!=t.relatedContext.element.name&&"home_comb"!=t.relatedContext.element.name)},onCopy:function(){this.$message.success("复制成功")},onError:function(){this.$message.error("复制失败")},bindTab:function(t){this.tabCur=t},objToArr:function(t){var e=Object.keys(t),i=e.map((function(e){return t[e]}));return i},log:function(t){if(t.moved){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,e){t.num=1e3*(new Date).getTime()+e})),t.moved.list=this.mConfig,this.rConfig=[];var e=t.moved.element,i=JSON.parse(JSON.stringify(e));this.rConfig.push(i),this.activeIndex=t.moved.newIndex,this.$store.commit("mobildConfig/SETCONFIGNAME",e.name),this.$store.commit("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,e){t.num=1e3*(new Date).getTime()+e})),t.added.list=this.mConfig,this.activeIndex=t.added.newIndex,this.$store.commit("mobildConfig/SETCONFIGNAME",n.name),this.$store.commit("mobildConfig/defaultArraySort",t.added)}},cloneDog:function(t){return Object(o["a"])({},t)},swapArray:function(t,e,i){return t[e]=t.splice(i,1,t[e])[0],t},movePage:function(t,e,i){if(i){if(0==e)return}else if(e==this.mConfig.length-1)return;i?this.swapArray(this.mConfig,e-1,e):this.swapArray(this.mConfig,e,e+1);var n={};this.rConfig=[],n.oldIndex=e,n.newIndex=i?e-1:e+1,this.mConfig.forEach((function(t,e){t.num=1e3*(new Date).getTime()+e}));var a=JSON.parse(JSON.stringify(t));this.rConfig.push(a),n.element=t,n.list=this.mConfig,this.activeIndex=i?e-1:e+1,this.$store.commit("mobildConfig/SETCONFIGNAME",t.name),this.$store.commit("mobildConfig/defaultArraySort",n)},addDomCon:function(t,e,i){1;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));e?(this.rConfig=[],this.mConfig.push(o),this.activeIndex=this.mConfig.length-1,this.rConfig.push(o)):(this.mConfig.splice(i+1,0,o),this.activeIndex=i),this.mConfig.forEach((function(t,e){t.num=1e3*(new Date).getTime()+e})),n.element=t,n.list=this.mConfig,this.$store.commit("mobildConfig/SETCONFIGNAME",t.name),this.$store.commit("mobildConfig/defaultArraySort",n)},bindAddDom:function(t,e,i){var n=t;this.lConfig.forEach((function(e){t.name==e.name&&(n=e)})),this.addDomCon(n,e,i)},addDom:function(t,e){this.addDomCon(t,e)},bindconfig:function(t,e){this.rConfig=[];var i=JSON.parse(JSON.stringify(t));this.rConfig.push(i),this.activeIndex=e,this.$store.commit("mobildConfig/SETCONFIGNAME",t.name)},bindDelete:function(t,e){"search_box"==t.name&&(this.isSearch=!1),"nav_bar"==t.name&&(this.isTab=!1),"home_comb"==t.name&&(this.isComb=!1),"home_service"==t.name&&(this.isService=!1),this.mConfig.splice(e,1),this.rConfig.splice(0,1),this.mConfig.length!=e?this.rConfig.push(this.mConfig[e]):this.mConfig.length&&(this.activeIndex=e-1,this.rConfig.push(this.mConfig[e-1])),this.$store.commit("mobildConfig/DELETEARRAY",t)},config:function(t){var e=this.propsObj;e.data=t,e.name=this.activeConfigName},addSort:function(t,e,i){return t[e]=t.splice(i,1,t[e])[0],t},arraySort:function(){var t=[],e={title:"组件",list:[],isOpen:!0};this.lConfig.map((function(t,i){0==t.type&&e.list.push(t)})),t.push(e),this.leftMenu=t},diySaveDate:function(t){var e=this;this.pageId?Object(s["U"])(this.pageId,{value:t,name:this.storeName}).then((function(t){e.$message.success(t.message);var i=e;e.loading=!1,setTimeout((function(){i.$router.push(i.roterPre+"/systemForm/form_list")}),500)})).catch((function(t){e.loading=!1,e.relLoading=!1,e.$message.error(t.message)})):Object(s["R"])({value:t,name:this.storeName}).then((function(t){e.$message.success(t.message);var i=e;e.loading=!1,setTimeout((function(){i.$router.push(i.roterPre+"/systemForm/form_list")}),500)})).catch((function(t){e.loading=!1,e.relLoading=!1,e.$message.error(t.message)}))},saveConfig:function(t){if(0==this.mConfig.length)return this.$message.error("暂未添加任何组件,保存失败!");this.loading=!0;var e=this.$store.state.mobildConfig.defaultArray;this.$nextTick((function(){this.diySaveDate(e)}))},getDefaultConfig:function(){var t=this;Object(s["S"])(this.pageId).then((function(e){var i=e.data;t.storeName=i.name;var n={},a=[],o=t.objToArr(i.value);function s(t,e){return t.timestamp-e.timestamp}o.sort(s),o.map((function(e,i){e.id="id"+e.timestamp,t.lConfig.map((function(i,o){if(e.name==i.defaultName){i.num=e.timestamp,i.id="id"+e.timestamp;var s=JSON.parse(JSON.stringify(i));a.push(s),n[e.timestamp]=e,t.mConfig.push(s),t.$store.commit("mobildConfig/ADDARRAY",{num:e.timestamp,val:e})}}))})),t.rConfig=[],t.activeIndex=0,t.rConfig.push(t.mConfig[0])}))},reast:function(){var t=this;0==this.pageId?this.$message.error("新增页面,无法重置"):this.$modalSure("是否重置当前页面数据?").then((function(){t.mConfig=[],t.rConfig=[],t.activeIndex=-99,t.getDefaultConfig()}))}},beforeDestroy:function(){this.$store.commit("mobildConfig/titleUpdata",""),this.$store.commit("mobildConfig/nameUpdata",""),this.$store.commit("mobildConfig/showUpdata",1),this.$store.commit("mobildConfig/colorUpdata",0),this.$store.commit("mobildConfig/picUpdata",0),this.$store.commit("mobildConfig/pickerUpdata","#f5f5f5"),this.$store.commit("mobildConfig/radioUpdata",0),this.$store.commit("mobildConfig/picurlUpdata",""),this.$store.commit("mobildConfig/SETEMPTY")},destroyed:function(){this.$store.commit("mobildConfig/titleUpdata",""),this.$store.commit("mobildConfig/nameUpdata",""),this.$store.commit("mobildConfig/showUpdata",1),this.$store.commit("mobildConfig/colorUpdata",0),this.$store.commit("mobildConfig/picUpdata",0),this.$store.commit("mobildConfig/pickerUpdata","#f5f5f5"),this.$store.commit("mobildConfig/radioUpdata",0),this.$store.commit("mobildConfig/picurlUpdata",""),this.$store.commit("mobildConfig/SETEMPTY")}},x=y,O=(i("3b31"),i("2877")),j=Object(O["a"])(x,n,a,!1,null,"1bdd6747",null);e["default"]=j.exports},"2c2c":function(t,e,i){var n={"./home_checkbox.vue":"e62c","./home_city.vue":"71fb","./home_date.vue":"2088","./home_daterange.vue":"dfc6","./home_radio.vue":"cb44","./home_select.vue":"ad6a","./home_text.vue":"9ecb","./home_time.vue":"c563","./home_timerange.vue":"c077","./home_upload_picture.vue":"a7e1"};function a(t){var e=o(t);return i(e)}function o(t){var e=n[t];if(!(e+1)){var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}return e}a.keys=function(){return Object.keys(n)},a.resolve=o,t.exports=a,a.id="2c2c"},"2ff6":function(t,e,i){"use strict";i("a3f3")},3785:function(t,e,i){"use strict";i("a488")},"3a0e":function(t,e,i){"use strict";i("0b31")},"3b31":function(t,e,i){"use strict";i("88b1")},"3ffb":function(t,e,i){},"40e6":function(t,e,i){},4350:function(t,e,i){"use strict";i("d178")},"46dd":function(t,e,i){t.exports=i.p+"mer/img/formImg.f0b358fe.png"},"47bc":function(t,e,i){},5403:function(t,e,i){"use strict";i("d86f")},5448:function(t,e,i){var n={"./c_home_checkbox.vue":"d49a","./c_home_city.vue":"772c","./c_home_date.vue":"57b4","./c_home_daterange.vue":"fc90","./c_home_radio.vue":"a0cd","./c_home_select.vue":"1df1","./c_home_text.vue":"68a3","./c_home_time.vue":"a3fe","./c_home_timerange.vue":"a9af","./c_upload_picture.vue":"657a"};function a(t){var e=o(t);return i(e)}function o(t){var e=n[t];if(!(e+1)){var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}return e}a.keys=function(){return Object.keys(n)},a.resolve=o,t.exports=a,a.id="5448"},"57b4":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mobile-config"},[t._l(t.rCom,(function(e,n){return i("div",{key:n},[i(e.components&&e.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:t.configObj,configNme:e.configNme,index:t.activeIndex,num:e.num},on:{getConfig:t.getConfig}})],1)})),t._v(" "),i("rightBtn",{attrs:{activeIndex:t.activeIndex,configObj:t.configObj}})],2)},a=[],o=i("db72"),s=(i("61f7"),i("fd0b")),c=i("befa"),r={name:"c_home_date",componentsName:"home_date",components:Object(o["a"])(Object(o["a"])({},s["a"]),{},{rightBtn:c["a"]}),props:{activeIndex:{type:null},num:{type:null},index:{type:null}},data:function(){return{configObj:{},rCom:[{components:s["a"].c_input_item,configNme:"titleConfig"},{components:s["a"].c_comb_data,configNme:"valConfig"},{components:s["a"].c_input_item,configNme:"tipConfig"},{components:s["a"].c_is_show,configNme:"titleShow"}]}},watch:{num:function(t){var e=JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[t]));this.getChange(e),this.configObj=e},configObj:{handler:function(t,e){this.getChange(t),this.$store.commit("mobildConfig/UPDATEARR",{num:this.num,val:t})},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){var e=JSON.parse(JSON.stringify(t.$store.state.mobildConfig.defaultArray[t.num]));t.getChange(e),t.configObj=e}))},methods:{getChange:function(t){t.valConfig.specifyDate},getConfig:function(t){}}},f=r,l=(i("f71d"),i("2877")),m=Object(l["a"])(f,n,a,!1,null,"3d512898",null);e["default"]=m.exports},"5ae9":function(t,e,i){"use strict";i("0503")},"61f6":function(t,e,i){"use strict";i("f898")},"657a":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mobile-config"},[t._l(t.rCom,(function(e,n){return i("div",{key:n},[i(e.components&&e.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:t.configObj,configNme:e.configNme,index:t.activeIndex,num:e.num},on:{getConfig:t.getConfig}})],1)})),t._v(" "),i("rightBtn",{attrs:{activeIndex:t.activeIndex,configObj:t.configObj}})],2)},a=[],o=i("db72"),s=i("fd0b"),c=i("befa"),r={name:"c_upload_picture",componentsName:"home_upload_picture",components:Object(o["a"])(Object(o["a"])({},s["a"]),{},{rightBtn:c["a"]}),props:{activeIndex:{type:null},num:{type:null},index:{type:null}},data:function(){return{configObj:{},rCom:[{components:s["a"].c_input_item,configNme:"titleConfig"},{components:s["a"].c_input_number,configNme:"numConfig"},{components:s["a"].c_is_show,configNme:"titleShow"}]}},watch:{num:function(t){var e=JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[t]));this.configObj=e},configObj:{handler:function(t,e){this.$store.commit("mobildConfig/UPDATEARR",{num:this.num,val:t})},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){var e=JSON.parse(JSON.stringify(t.$store.state.mobildConfig.defaultArray[t.num]));t.configObj=e}))},methods:{getConfig:function(t){}}},f=r,l=(i("2000"),i("2877")),m=Object(l["a"])(f,n,a,!1,null,"0b67cf42",null);e["default"]=m.exports},6818:function(t,e,i){"use strict";i("8cc4")},"68a3":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mobile-config"},[t._l(t.rCom,(function(e,n){return i("div",{key:n},[i(e.components&&e.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:t.configObj,configNme:e.configNme,index:t.activeIndex,num:e.num},on:{getConfig:t.getConfig}})],1)})),t._v(" "),i("rightBtn",{attrs:{activeIndex:t.activeIndex,configObj:t.configObj}})],2)},a=[],o=i("db72"),s=i("fd0b"),c=i("befa"),r={name:"c_home_text",componentsName:"home_text",components:Object(o["a"])(Object(o["a"])({},s["a"]),{},{rightBtn:c["a"]}),props:{activeIndex:{type:null},num:{type:null},index:{type:null}},data:function(){return{configObj:{},rCom:[{components:s["a"].c_input_item,configNme:"titleConfig"},{components:s["a"].c_radio,configNme:"valConfig"},{components:s["a"].c_input_item,configNme:"defaultValConfig"},{components:s["a"].c_input_item,configNme:"tipConfig"},{components:s["a"].c_is_show,configNme:"titleShow"}]}},watch:{num:function(t){var e=JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[t]));this.configObj=e},configObj:{handler:function(t,e){this.$store.commit("mobildConfig/UPDATEARR",{num:this.num,val:t})},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){var e=JSON.parse(JSON.stringify(t.$store.state.mobildConfig.defaultArray[t.num]));t.configObj=e}))},methods:{getConfig:function(t){}}},f=r,l=(i("7694"),i("2877")),m=Object(l["a"])(f,n,a,!1,null,"0a1e3c31",null);e["default"]=m.exports},"6c93":function(t,e,i){},"71fb":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-box acea-row row-between-wrapper"},[i("span",{staticClass:"title"},[t._v(t._s(t.titleTxt))]),t._v(" "),i("div",{staticClass:"textVal"},[i("span",{staticClass:"place"},[t._v(t._s(t.tipVal))]),t._v(" "),i("span",{staticClass:"iconfont iconjinru"})])])},a=[],o=i("db72"),s=i("2f62"),c={name:"home_city",cname:"城市",icon:"iconbiaodanzujian-chengshi",configName:"c_home_city",type:0,defaultName:"citys",props:{index:{type:null},num:{type:null}},computed:Object(o["a"])({},Object(s["d"])("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(t,e){this.setConfig(t)},deep:!0},num:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[t];this.setConfig(i)},deep:!0},defaultArray:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(i)},deep:!0}},data:function(){return{defaultConfig:{name:"citys",timestamp:this.num,titleConfig:{title:"标题",value:"城市",place:"请输入标题",max:10,type:"form"},valConfig:{title:"默认值",tabVal:1,type:"form",tabList:[{name:"省市"},{name:"省市区"},{name:"省市区街道"}]},tipConfig:{title:"提示语",value:"请选择",place:"请输入提示语",max:10,type:"form"},titleShow:{title:"是否必填",val:!0,type:"form"}},titleTxt:"",tipVal:"",pageData:{}}},mounted:function(){var t=this;this.$nextTick((function(){t.pageData=t.$store.state.mobildConfig.defaultArray[t.num],t.setConfig(t.pageData)}))},methods:{setConfig:function(t){t&&t.titleConfig&&(this.titleTxt=t.titleConfig.value,this.tipVal=t.tipConfig.value)}}},r=c,f=(i("b2b7"),i("2877")),l=Object(f["a"])(r,n,a,!1,null,"242a6caa",null);e["default"]=l.exports},7694:function(t,e,i){"use strict";i("d091")},"772c":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mobile-config"},[t._l(t.rCom,(function(e,n){return i("div",{key:n},[i(e.components&&e.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:t.configObj,configNme:e.configNme,index:t.activeIndex,num:e.num},on:{getConfig:t.getConfig}})],1)})),t._v(" "),i("rightBtn",{attrs:{activeIndex:t.activeIndex,configObj:t.configObj}})],2)},a=[],o=i("db72"),s=i("fd0b"),c=i("befa"),r={name:"c_home_text",componentsName:"home_text",components:Object(o["a"])(Object(o["a"])({},s["a"]),{},{rightBtn:c["a"]}),props:{activeIndex:{type:null},num:{type:null},index:{type:null}},data:function(){return{configObj:{},rCom:[{components:s["a"].c_input_item,configNme:"titleConfig"},{components:s["a"].c_radio,configNme:"valConfig"},{components:s["a"].c_input_item,configNme:"tipConfig"},{components:s["a"].c_is_show,configNme:"titleShow"}]}},watch:{num:function(t){var e=JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[t]));this.configObj=e},configObj:{handler:function(t,e){this.$store.commit("mobildConfig/UPDATEARR",{num:this.num,val:t})},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){var e=JSON.parse(JSON.stringify(t.$store.state.mobildConfig.defaultArray[t.num]));t.configObj=e}))},methods:{getConfig:function(t){}}},f=r,l=(i("2ff6"),i("2877")),m=Object(l["a"])(f,n,a,!1,null,"8110a1c0",null);e["default"]=m.exports},"792f":function(t,e,i){"use strict";i("8498")},"7b83":function(t,e,i){"use strict";i("40e6")},8498:function(t,e,i){},"86a0":function(t,e,i){},"88b1":function(t,e,i){},"8b4e":function(t,e,i){"use strict";i("cafc")},"8cc4":function(t,e,i){},"9ce2":function(t,e,i){},"9ecb":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-box acea-row row-between-wrapper"},[i("span",{staticClass:"title"},[t._v(t._s(t.titleTxt))]),t._v(" "),i("div",{staticClass:"textVal"},[t.defaultVal?i("span",[t._v(t._s(t.defaultVal))]):i("span",{staticClass:"place"},[t._v(t._s(t.tipVal))])])])},a=[],o=i("db72"),s=i("2f62"),c={name:"home_text",cname:"文本框",icon:"iconbiaodanzujian-danhangwenben",configName:"c_home_text",type:0,defaultName:"texts",props:{index:{type:null},num:{type:null}},computed:Object(o["a"])({},Object(s["d"])("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(t,e){this.setConfig(t)},deep:!0},num:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[t];this.setConfig(i)},deep:!0},defaultArray:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(i)},deep:!0}},data:function(){return{defaultConfig:{name:"texts",timestamp:this.num,titleConfig:{title:"标题",value:"文本框",place:"请输入标题",max:10,type:"form"},valConfig:{title:"内容",tabVal:0,type:"form",tabList:[{name:"文本"},{name:"手机号"},{name:"身份证号"},{name:"邮箱"},{name:"数字"}]},defaultValConfig:{title:"默认值",value:"",place:"请输入默认值",max:100,type:"form",inputType:"text"},tipConfig:{title:"提示语",value:"请填写",place:"请输入提示语",max:13,type:"form"},titleShow:{title:"是否必填",val:!0,type:"form"}},titleTxt:"",defaultVal:"",tipVal:"",pageData:{}}},mounted:function(){var t=this;this.$nextTick((function(){t.pageData=t.$store.state.mobildConfig.defaultArray[t.num],t.setConfig(t.pageData)}))},methods:{setConfig:function(t){t&&t.titleConfig&&(this.titleTxt=t.titleConfig.value,this.defaultVal=t.defaultValConfig.value,this.tipVal=t.tipConfig.value)}}},r=c,f=(i("5403"),i("2877")),l=Object(f["a"])(r,n,a,!1,null,"42bbdf52",null);e["default"]=l.exports},a0cd:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mobile-config"},[t._l(t.rCom,(function(e,n){return i("div",{key:n},[i(e.components&&e.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:t.configObj,configNme:e.configNme,index:t.activeIndex,num:e.num},on:{getConfig:t.getConfig}})],1)})),t._v(" "),i("rightBtn",{attrs:{activeIndex:t.activeIndex,configObj:t.configObj}})],2)},a=[],o=i("db72"),s=i("fd0b"),c=i("befa"),r={name:"c_home_radio",componentsName:"home_radio",components:Object(o["a"])(Object(o["a"])({},s["a"]),{},{rightBtn:c["a"]}),props:{activeIndex:{type:null},num:{type:null},index:{type:null}},data:function(){return{configObj:{},rCom:[{components:s["a"].c_input_item,configNme:"titleConfig"},{components:s["a"].c_select_item,configNme:"wordsConfig"}]}},watch:{num:function(t){var e=JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[t]));this.configObj=e},configObj:{handler:function(t,e){this.$store.commit("mobildConfig/UPDATEARR",{num:this.num,val:t})},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){var e=JSON.parse(JSON.stringify(t.$store.state.mobildConfig.defaultArray[t.num]));t.configObj=e}))},methods:{getConfig:function(t){}}},f=r,l=(i("3a0e"),i("2877")),m=Object(l["a"])(f,n,a,!1,null,"80fe468e",null);e["default"]=m.exports},a14e:function(t,e,i){},a25c:function(t,e,i){"use strict";i("3ffb")},a3f3:function(t,e,i){},a3fe:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mobile-config"},[t._l(t.rCom,(function(e,n){return i("div",{key:n},[i(e.components&&e.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:t.configObj,configNme:e.configNme,index:t.activeIndex,num:e.num},on:{getConfig:t.getConfig}})],1)})),t._v(" "),i("rightBtn",{attrs:{activeIndex:t.activeIndex,configObj:t.configObj}})],2)},a=[],o=i("db72"),s=i("fd0b"),c=i("befa"),r={name:"c_home_time",componentsName:"home_time",components:Object(o["a"])(Object(o["a"])({},s["a"]),{},{rightBtn:c["a"]}),props:{activeIndex:{type:null},num:{type:null},index:{type:null}},data:function(){return{configObj:{},rCom:[{components:s["a"].c_input_item,configNme:"titleConfig"},{components:s["a"].c_comb_data,configNme:"valConfig"},{components:s["a"].c_input_item,configNme:"tipConfig"},{components:s["a"].c_is_show,configNme:"titleShow"}]}},watch:{num:function(t){var e=JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[t]));this.configObj=e},configObj:{handler:function(t,e){this.$store.commit("mobildConfig/UPDATEARR",{num:this.num,val:t})},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){var e=JSON.parse(JSON.stringify(t.$store.state.mobildConfig.defaultArray[t.num]));t.configObj=e}))},methods:{getConfig:function(t){}}},f=r,l=(i("4350"),i("2877")),m=Object(l["a"])(f,n,a,!1,null,"68d9429d",null);e["default"]=m.exports},a488:function(t,e,i){},a7e1:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uploadPicture"},[n("div",{staticClass:"title"},[t._v(t._s(t.titleTxt))]),t._v(" "),n("div",{staticClass:"list acea-row row-middle"},[t._l(t.picList,(function(t,e){return n("div",{key:e,staticClass:"pictrue"},[n("img",{attrs:{src:i("46dd")}})])})),t._v(" "),t._m(0)],2)])},a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:i("b671")}})])}],o=i("db72"),s=i("2f62"),c={name:"home_upload_picture",cname:"图片",icon:"iconbiaodanzujian-tupian",configName:"c_upload_picture",type:0,defaultName:"uploadPicture",props:{index:{type:null},num:{type:null}},computed:Object(o["a"])({},Object(s["d"])("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(t,e){this.setConfig(t)},deep:!0},num:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[t];this.setConfig(i)},deep:!0},defaultArray:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(i)},deep:!0}},data:function(){return{defaultConfig:{name:"uploadPicture",timestamp:this.num,titleConfig:{title:"标题",value:"上传图片",place:"请输入标题",max:20,type:"form"},numConfig:{val:8,title:"最多上传",type:"form"},titleShow:{title:"是否必填",val:!0,type:"form"}},picList:[],titleTxt:"",pageData:{}}},mounted:function(){var t=this;this.$nextTick((function(){t.pageData=t.$store.state.mobildConfig.defaultArray[t.num],t.setConfig(t.pageData)}))},methods:{setConfig:function(t){if(t&&t.titleConfig){this.titleTxt=t.titleConfig.value;var e=t.numConfig.val;this.picList=[];for(var i=0;i=10?e.getMinutes():"0"+e.getMinutes();i=i.toString().padStart(2,"0");var a="".concat(i,":").concat(n);this.time=a,this.time=a+" - "+a}else t.valConfig.specifyDate[0]?(this.tipVal="",this.time=t.valConfig.specifyDate[0]+" - "+t.valConfig.specifyDate[1]):this.tipVal=t.tipConfig.value;else this.tipVal=t.tipConfig.value}}},r=c,f=(i("6818"),i("2877")),l=Object(f["a"])(r,n,a,!1,null,"2e580df5",null);e["default"]=l.exports},c563:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-box acea-row row-between-wrapper"},[i("span",{staticClass:"title"},[t._v(t._s(t.titleTxt))]),t._v(" "),i("div",{staticClass:"textVal"},[t.tipVal?i("span",{staticClass:"place"},[t._v(t._s(t.tipVal))]):i("span",{staticClass:"place on"},[t._v(t._s(t.time))]),t._v(" "),i("span",{staticClass:"iconfont iconjinru"})])])},a=[],o=(i("6b54"),i("f576"),i("db72")),s=(i("61f7"),i("2f62")),c={name:"home_time",cname:"时间",icon:"iconbiaodanzujian-shijian",configName:"c_home_time",type:0,defaultName:"times",props:{index:{type:null},num:{type:null}},computed:Object(o["a"])({},Object(s["d"])("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(t,e){console.log("eee",t),this.setConfig(t)},deep:!0},num:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[t];this.setConfig(i)},deep:!0},defaultArray:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(i)},deep:!0}},data:function(){return{defaultConfig:{name:"times",timestamp:this.num,titleConfig:{title:"标题",value:"时间",place:"请输入标题",max:10,type:"form"},valConfig:{title:"默认值",type:"time",specifyDate:"",tabVal:0,tabData:0,tabList:[{name:"显示"},{name:"隐藏"}],dataList:[{name:"当前时间"},{name:"指定时间"}]},tipConfig:{title:"提示语",value:"请选择",place:"请输入提示语",max:10,type:"form"},titleShow:{title:"是否必填",val:!0,type:"form"}},titleTxt:"",tipVal:"",pageData:{},time:""}},mounted:function(){var t=this;this.$nextTick((function(){t.pageData=t.$store.state.mobildConfig.defaultArray[t.num],t.setConfig(t.pageData)}))},methods:{setConfig:function(t){if(t&&t.titleConfig)if(this.titleTxt=t.titleConfig.value,0==t.valConfig.tabVal)if(0==t.valConfig.tabData){this.tipVal="";var e=new Date,i=e.getHours(),n=e.getMinutes();i=i.toString().padStart(2,"0");var a="".concat(i,":").concat(n);this.time=a}else t.valConfig.specifyDate?(this.tipVal="",this.time=t.valConfig.specifyDate):this.tipVal=t.tipConfig.value;else this.tipVal=t.tipConfig.value}}},r=c,f=(i("7b83"),i("2877")),l=Object(f["a"])(r,n,a,!1,null,"680eb18e",null);e["default"]=l.exports},cafc:function(t,e,i){},cb44:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-box acea-row row-between"},[i("div",{staticClass:"title"},[t._v(t._s(t.titleTxt))]),t._v(" "),i("div",{staticClass:"textVal acea-row row-middle row-right"},t._l(t.list,(function(e,n){return i("div",{key:n,staticClass:"item acea-row row-middle"},[i("div",{staticClass:"select acea-row row-center-wrapper",class:e.show?"on":""},[e.show?i("span",{staticClass:"iconfont iconduihao"}):t._e()]),t._v(" "),i("div",[t._v(t._s(e.val))])])})),0)])},a=[],o=i("db72"),s=i("2f62"),c={name:"home_radio",cname:"单选框",icon:"iconbiaodanzujian-danxuankuang",configName:"c_home_radio",type:0,defaultName:"radios",props:{index:{type:null},num:{type:null}},computed:Object(o["a"])({},Object(s["d"])("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(t,e){this.setConfig(t)},deep:!0},num:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[t];this.setConfig(i)},deep:!0},defaultArray:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(i)},deep:!0}},data:function(){return{defaultConfig:{name:"radios",timestamp:this.num,titleConfig:{title:"标题",value:"单选框",place:"请输入标题",max:10,type:"form"},wordsConfig:{title:"选项",list:[{val:"选项一",show:!0},{val:"选项二",show:!1}]},titleShow:{title:"是否必填",val:!1,type:"form"}},titleTxt:"",pageData:{},list:[]}},mounted:function(){var t=this;this.$nextTick((function(){t.pageData=t.$store.state.mobildConfig.defaultArray[t.num],t.setConfig(t.pageData)}))},methods:{setConfig:function(t){t&&t.titleConfig&&(this.titleTxt=t.titleConfig.value,this.list=t.wordsConfig.list)}}},r=c,f=(i("61f6"),i("2877")),l=Object(f["a"])(r,n,a,!1,null,"1a764bcc",null);e["default"]=l.exports},d091:function(t,e,i){},d178:function(t,e,i){},d283:function(t,e,i){},d49a:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mobile-config"},[t._l(t.rCom,(function(e,n){return i("div",{key:n},[i(e.components&&e.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:t.configObj,configNme:e.configNme,index:t.activeIndex,num:e.num},on:{getConfig:t.getConfig}})],1)})),t._v(" "),i("rightBtn",{attrs:{activeIndex:t.activeIndex,configObj:t.configObj}})],2)},a=[],o=i("db72"),s=i("fd0b"),c=i("befa"),r={name:"c_home_checkbox",componentsName:"home_checkbox",components:Object(o["a"])(Object(o["a"])({},s["a"]),{},{rightBtn:c["a"]}),props:{activeIndex:{type:null},num:{type:null},index:{type:null}},data:function(){return{configObj:{},rCom:[{components:s["a"].c_input_item,configNme:"titleConfig"},{components:s["a"].c_select_item,configNme:"wordsConfig"},{components:s["a"].c_is_show,configNme:"titleShow"}]}},watch:{num:function(t){var e=JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[t]));this.configObj=e},configObj:{handler:function(t,e){this.$store.commit("mobildConfig/UPDATEARR",{num:this.num,val:t})},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){var e=JSON.parse(JSON.stringify(t.$store.state.mobildConfig.defaultArray[t.num]));t.configObj=e}))},methods:{getConfig:function(t){}}},f=r,l=(i("debc"),i("2877")),m=Object(l["a"])(f,n,a,!1,null,"0da43285",null);e["default"]=m.exports},d86f:function(t,e,i){},debc:function(t,e,i){"use strict";i("9ce2")},dfc6:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-box acea-row row-between-wrapper"},[i("span",{staticClass:"title"},[t._v(t._s(t.titleTxt))]),t._v(" "),i("div",{staticClass:"textVal"},[t.tipVal?i("span",{staticClass:"place"},[t._v(t._s(t.tipVal))]):i("span",{staticClass:"place on"},[t._v(t._s(t.time))]),t._v(" "),i("span",{staticClass:"iconfont iconjinru"})])])},a=[],o=(i("6b54"),i("f576"),i("db72")),s=i("2f62"),c={name:"home_daterange",cname:"日期范围",icon:"iconbiaodanzujian-riqifanwei",configName:"c_home_daterange",type:0,defaultName:"dateranges",props:{index:{type:null},num:{type:null}},computed:Object(o["a"])({},Object(s["d"])("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(t,e){this.setConfig(t)},deep:!0},num:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[t];this.setConfig(i)},deep:!0},defaultArray:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(i)},deep:!0}},data:function(){return{defaultConfig:{name:"dateranges",timestamp:this.num,titleConfig:{title:"标题",value:"日期范围",place:"请输入标题",max:10,type:"form"},valConfig:{title:"默认值",type:"daterange",specifyDate:"",tabVal:0,tabData:0,tabList:[{name:"显示"},{name:"隐藏"}],dataList:[{name:"当前日期"},{name:"指定日期"}]},tipConfig:{title:"提示语",value:"请选择",place:"请输入提示语",max:10,type:"form"},titleShow:{title:"是否必填",val:!0,type:"form"}},titleTxt:"",tipVal:"",pageData:{},time:""}},mounted:function(){var t=this;this.$nextTick((function(){t.pageData=t.$store.state.mobildConfig.defaultArray[t.num],t.setConfig(t.pageData)}))},methods:{setConfig:function(t){if(t&&t.titleConfig)if(this.titleTxt=t.titleConfig.value,0==t.valConfig.tabVal)if(0==t.valConfig.tabData){this.tipVal="";var e=new Date,i=e.getFullYear(),n=e.getMonth(),a=e.getDate();n+=1,n=n.toString().padStart(2,"0"),a=a.toString().padStart(2,"0");var o="".concat(i,"/").concat(n,"/").concat(a);this.time=o+" - "+o}else if(t.valConfig.specifyDate[0]){var s=t.valConfig.specifyDate[0],c=t.valConfig.specifyDate[1];this.tipVal="",this.time=s+" - "+c}else this.tipVal=t.tipConfig.value;else this.tipVal=t.tipConfig.value}}},r=c,f=(i("f162"),i("2877")),l=Object(f["a"])(r,n,a,!1,null,"5b3e3710",null);e["default"]=l.exports},e62c:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-box acea-row row-between"},[i("div",{staticClass:"title"},[t._v(t._s(t.titleTxt))]),t._v(" "),i("div",{staticClass:"textVal acea-row row-middle row-right"},t._l(t.list,(function(e,n){return i("div",{key:n,staticClass:"item acea-row row-middle"},[i("div",{staticClass:"select acea-row row-center-wrapper",class:e.show?"on":""},[e.show?i("span",{staticClass:"iconfont iconduihao"}):t._e()]),t._v(" "),i("div",[t._v(t._s(e.val))])])})),0)])},a=[],o=i("db72"),s=i("2f62"),c={name:"home_checkbox",cname:"多选框",icon:"iconbiaodanzujian-duoxuankuang",configName:"c_home_checkbox",type:0,defaultName:"checkboxs",props:{index:{type:null},num:{type:null}},computed:Object(o["a"])({},Object(s["d"])("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(t,e){this.setConfig(t)},deep:!0},num:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[t];this.setConfig(i)},deep:!0},defaultArray:{handler:function(t,e){var i=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(i)},deep:!0}},data:function(){return{defaultConfig:{name:"checkboxs",timestamp:this.num,titleConfig:{title:"标题",value:"多选框",place:"请输入标题",max:10,type:"form"},wordsConfig:{title:"选项",list:[{val:"选项一",show:!1},{val:"选项二",show:!1}]},titleShow:{title:"是否必填",val:!0,type:"form"}},titleTxt:"",pageData:{},list:[]}},mounted:function(){var t=this;this.$nextTick((function(){t.pageData=t.$store.state.mobildConfig.defaultArray[t.num],t.setConfig(t.pageData)}))},methods:{setConfig:function(t){t&&t.titleConfig&&(this.titleTxt=t.titleConfig.value,this.list=t.wordsConfig.list)}}},r=c,f=(i("792f"),i("2877")),l=Object(f["a"])(r,n,a,!1,null,"35b83a6e",null);e["default"]=l.exports},f162:function(t,e,i){"use strict";i("d283")},f71d:function(t,e,i){"use strict";i("a14e")},f898:function(t,e,i){},fc90:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mobile-config"},[t._l(t.rCom,(function(e,n){return i("div",{key:n},[i(e.components&&e.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:t.configObj,configNme:e.configNme,index:t.activeIndex,num:e.num},on:{getConfig:t.getConfig}})],1)})),t._v(" "),i("rightBtn",{attrs:{activeIndex:t.activeIndex,configObj:t.configObj}})],2)},a=[],o=i("db72"),s=(i("61f7"),i("fd0b")),c=i("befa"),r={name:"c_home_daterange",componentsName:"home_daterange",components:Object(o["a"])(Object(o["a"])({},s["a"]),{},{rightBtn:c["a"]}),props:{activeIndex:{type:null},num:{type:null},index:{type:null}},data:function(){return{configObj:{},rCom:[{components:s["a"].c_input_item,configNme:"titleConfig"},{components:s["a"].c_comb_data,configNme:"valConfig"},{components:s["a"].c_input_item,configNme:"tipConfig"},{components:s["a"].c_is_show,configNme:"titleShow"}]}},watch:{num:function(t){var e=JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[t]));this.getChange(e),this.configObj=e},configObj:{handler:function(t,e){this.$store.commit("mobildConfig/UPDATEARR",{num:this.num,val:t})},deep:!0}},mounted:function(){var t=this;this.$nextTick((function(){var e=JSON.parse(JSON.stringify(t.$store.state.mobildConfig.defaultArray[t.num]));t.getChange(e),t.configObj=e}))},methods:{getChange:function(t){t.valConfig.specifyDate.length&&(t.specifyDate=t.valConfig.specifyDate)},getConfig:function(t){2==t.type&&(this.configObj.valConfig.specifyDate=t.val)}}},f=r,l=(i("1644"),i("2877")),m=Object(l["a"])(f,n,a,!1,null,"290cd01c",null);e["default"]=m.exports}}]);