shop_mer_admin/mer/js/chunk-cf533182.1f1436f3.js

1 line
50 KiB
JavaScript
Raw Permalink Normal View History

2024-03-16 17:53:53 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-cf533182"],{"0436":function(t,e,i){},"084d":function(t,e,i){},1189:function(t,e,i){},"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("5530"),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("2339"),i("2877")),m=Object(l["a"])(f,n,a,!1,null,"76f5be90",null);e["default"]=m.exports},"1f2c":function(t,e,i){},"1fba":function(t,e,i){"use strict";i("ad70")},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("5530")),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("f237"),i("2877")),l=Object(f["a"])(r,n,a,!1,null,"7662ab6c",null);e["default"]=l.exports},2339:function(t,e,i){"use strict";i("998e")},2409:function(t,e,i){"use strict";i.r(e);var n=function(){v