(t=>{function e(e){for(var n,c,l=e[0],s=e[1],r=e[2],u=0,d=[];u{var t=Object(c.a)(Object(n.a)().m((function t(){var e,c;return Object(n.a)().w((function(t){for(;;)switch(t.n){case 0:e=0;case 1:if(e(e*=a,a=Math.min(t.size,e+a),{start:e,end:a,chunk:t.slice(e,a)}))(u,e,a),c=c.chunk,t.n=2,r({chunk:c,currentChunk:e,chunkCount:l});t.n=3;break;case 2:e++,t.n=1;break;case 3:return t.a(2)}}),t)})));return function(){return t.apply(this,arguments)}})(),r=function(t){return new Promise((function(n,c){var i=new FormData;i.append("chunkNumber",t.currentChunk+1),i.append("chunkSize",a),i.append("currentChunkSize",t.chunk.size),i.append("file",t.chunk),i.append("filename",u.name),i.append("totalChunks",t.chunkCount),i.append("md5",e),Object(o.b)(i,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){1==e.data.code?(f(t.currentChunk+1,t.chunkCount),n(!0)):2!=e.data.code||t.currentChunkc&&(n.s.r=c),n.s.c>i&&(n.s.c=i),n.e.r\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t\n\t\t',t.insertBefore(e,t.childNodes[0])},done:function(){n.default.nextTick((function(){setTimeout((function(){var t,e=document.querySelector(".loading-prev");e&&null!=(t=e.parentNode)&&t.removeChild(e)}),1e3)}))}}},"39d1":function(t,e,a){a("630c")},"3b38":function(t,e,a){},"3b8c":function(t,e,a){a("3b38")},"3c5a":function(t,e,a){},"3ce6":function(t,e,a){a("fcc7")},"3d37":function(t,e,a){a.r(e),a("b0c0"),a("a9e3");var n={name:"c_txt_tab",props:{name:{type:String},configData:{type:null},configNum:{type:Number|String,default:"default"}},data:function(){return{defaults:{},datas:this.configData[this.configNum]}},mounted:function(){},watch:{configData:{handler:function(t,e){this.datas=t[this.configNum]},immediate:!0,deep:!0}},methods:{radioChange:function(t){this.$emit("getConfig",{name:"radio",values:t})}}};a("39d1"),a=a("2877"),a=Object(a.a)(n,(function(){var t=this,e=t._self._c;return t.datas[t.name]?e("div",{staticClass:"txt_tab"},[e("div",{staticClass:"c_row-item"},[e("el-col",{staticClass:"c_label"},[t._v("\n "+t._s(t.datas[t.name].title)+"\n "),e("span",[t._v(t._s(t.datas[t.name].list[t.datas[t.name].type].val))])]),e("el-col",{staticClass:"color-box"},[e("el-radio-group",{attrs:{size:"mini",type:"button"},on:{input:function(e){return t.radioChange(e)}},model:{value:t.datas[t.name].type,callback:function(e){t.$set(t.datas[t.name],"type",e)},expression:"datas[name].type"}},t._l(t.datas[t.name].list,(function(a,n){return e("el-radio-button",{key:n,attrs:{label:n}},[a.icon?e("span",{staticClass:"iconfont",class:a.icon}):e("span",[t._v(t._s(a.val))])])})),1)],1)],1)]):t._e()}),[],!1,null,"921fc010",null);e.default=a.exports},"3d76":function(t,e,a){},"40cb":function(t,e,a){var n=a("2909"),c=a("c14f"),i=a("1da1"),o=(a("99af"),a("c740"),a("d81d"),a("14d9"),a("a434"),a("e9f5"),a("ab43"),a("d3b7"),a("12e0")),l=a("d708"),s=a("c276"),r=a("90e7"),u=a("d044"),h=a.n(u),d=a("a006"),m=a("ed08");u={name:"",props:{categoryList:{default:function(){return[]}},categoryId:{default:""},isPage:{default:!1},isIframe:{default:!1}},watch:{uploadModal:{handler:function(t){t&&(this.ruleForm.region=this.categoryId)},immediate:!0}},data:function(){return{webImgUrl:"",uploadModal:!1,fileUrl:l.a.apiBaseURL+"/file/upload",header:{"Authori-zation":"Bearer "+Object(s.c)("token")},uploadData:{},props:{checkStrictly:!0,emitPath:!1,label:"title",value:"id"},disabled:!1,ruleForm:{type:0,region:"",imgList:[]},rules:{type:[{required:!0,message:"请选择活动资源",trigger:"change"}]},qrcode:"",scanToken:"",limit:20,loading:!1,time:void 0}},created:function(){},mounted:function(){},beforeDestroy:function(){clearInterval(this.time),this.time=void 0},methods:{radioChange:function(t){var e=this;this.ruleForm.type=t,this.ruleForm.imgList=[],clearInterval(this.time),this.time=void 0,2==t&&(this.scanUploadQrcode(),this.time=setInterval((function(t){e.scanUploadGet()}),2e3))},scanUploadQrcode:function(){var t=this;Object(r.tb)(this.ruleForm.region).then((function(e){t.creatQrCode(e.data.url),t.scanToken=e.data.url}))},scanUploadGet:function(){var t=this,e=this.scanToken.split("token=")[1];Object(r.sb)(e).then((function(e){t.ruleForm.imgList=e.data}))},getImg:function(){this.webImgUrl?-1!=this.webImgUrl.indexOf(".php")?this.$message.error("请先输入其他图片地址"):this.ruleForm.imgList.push({url:this.webImgUrl}):this.$message.error("请先输入图片地址")},submitUpload:function(){var t=this;return Object(i.a)(Object(c.a)().m((function e(){var a,n,i;return Object(c.a)().w((function(e){for(;;)switch(e.n){case 0:if(t.ruleForm.imgList.length){e.n=1;break}return e.a(2,t.$message.warning("请先选择图片"));case 1:if(0!=t.ruleForm.type)e.n=7;else if(t.uploadData={pid:t.ruleForm.region},t.ruleForm.imgList.length){if(t.loading)return e.a(2);e.n=2}else e.n=6;break;case 2:t.loading=!0,a=0;case 3:if(a{var t=Object(i.a)(Object(c.a)().m((function t(a){var n;return Object(c.a)().w((function(t){for(;;)switch(t.n){case 0:n=a.data.list,e(n);case 1:return t.a(2)}}),t)})));return function(e){return t.apply(this,arguments)}})()).catch((function(t){}))},handleChange:function(t){2==this.ruleForm.type&&this.scanUploadQrcode()},handleDragStart:function(t,e){this.dragging=e},handleDragEnd:function(t,e){this.dragging=null},handleDragOver:function(t){t.dataTransfer.dropEffect="move"},handleDragEnter:function(t,e){var a;t.dataTransfer.effectAllowed="move",e!==this.dragging&&(a=(t=Object(n.a)(this.ruleForm.imgList)).indexOf(this.dragging),e=t.indexOf(e),t.splice.apply(t,[e,0].concat(Object(n.a)(t.splice(a,1)))),this.ruleForm.imgList=t)},closed:function(){this.initData(),Object(o.h)().then((function(t){}))},clear:function(){this.uploadModal=!1,this.initData()},initData:function(){this.ruleForm.type=0,this.ruleForm.region=0,this.scanToken="",this.webImgUrl="",this.ruleForm.imgList=[],clearInterval(this.time),this.time=void 0}}},a("0fe2"),a=a("2877"),a=Object(a.a)(u,(function(){var t=this,e=t._self._c;return e("div",[e("el-dialog",{attrs:{title:"上传图片",visible:t.uploadModal,"append-to-body":!0,width:t.isIframe?"100%":"1024px",fullscreen:t.isIframe},on:{"update:visible":function(e){t.uploadModal=e},close:t.closed}},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"main"},[e("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px"}},[e("el-form-item",{attrs:{label:"上传方式:",prop:"type"}},[e("el-radio-group",{on:{input:function(e){return t.radioChange(t.ruleForm.type)}},model:{value:t.ruleForm.type,callback:function(e){t.$set(t.ruleForm,"type",e)},expression:"ruleForm.type"}},[e("el-radio",{attrs:{label:0}},[t._v("本地上传")]),e("el-radio",{attrs:{label:1}},[t._v("网络上传")]),e("el-radio",{attrs:{label:2}},[t._v("扫码上传")])],1)],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:0==t.ruleForm.type||1==t.ruleForm.type,expression:"ruleForm.type == 0 || ruleForm.type == 1"}],attrs:{label:"上传至分组:",prop:"region"}},[e("el-cascader",{staticClass:"form-width",attrs:{props:t.props,options:t.categoryList},on:{change:t.handleChange},model:{value:t.ruleForm.region,callback:function(e){t.$set(t.ruleForm,"region",e)},expression:"ruleForm.region"}})],1),1==t.ruleForm.type?e("el-form-item",{attrs:{label:"网络图片:",prop:"region"}},[e("el-input",{staticClass:"form-width",attrs:{placeholder:"请网络图片地址"},model:{value:t.webImgUrl,callback:function(e){t.webImgUrl=e},expression:"webImgUrl"}}),e("span",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"tq-text",on:{click:t.getImg}},[t._v("提取照片")])],1):t._e(),0==t.ruleForm.type?e("el-form-item",{attrs:{label:"上传图片:",prop:"region"}},[e("div",{staticClass:"acea-row"},[e("div",{staticClass:"uploadCont"},[e("el-upload",{ref:"upload",attrs:{action:t.fileUrl,"list-type":"picture-card","on-change":t.fileChange,"file-list":t.ruleForm.imgList,"auto-upload":!1,data:t.uploadData,headers:t.header,multiple:!0,limit:t.limit},scopedSlots:t._u([{key:"file",fn:function(a){var n=a.file;return e("div",{attrs:{draggable:"false"},on:{dragstart:function(e){return t.handleDragStart(e,n)},dragover:function(e){return t.handleDragOver(e,n)},dragenter:function(e){return t.handleDragEnter(e,n)},dragend:function(e){return t.handleDragEnd(e,n)}}},[e("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:n.url,alt:""}}),e("i",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"el-icon-error btndel",on:{click:function(e){return t.handleWebRemove(n)}}})])}}],null,!1,2773158317)},[e("i",{staticClass:"el-icon-plus",attrs:{slot:"default"},slot:"default"})]),e("div",{staticClass:"tips"},[t._v("\n 建议上传图片最大宽度750px,不超过3MB;仅支持jpeg、jpg、png格式,可拖拽调整上传顺序\n ")])],1)])]):t._e(),1==t.ruleForm.type?[e("div",{staticClass:"img-box pl100"},t._l(t.ruleForm.imgList,(function(a,n){return e("div",{key:n,staticClass:"pictrue",attrs:{draggable:"false"},on:{dragstart:function(e){return t.handleDragStart(e,a)},dragover:function(e){return e.preventDefault(),t.handleDragOver(e,a)},dragenter:function(e){return t.handleDragEnter(e,a)},dragend:function(e){return t.handleDragEnd(e,a)}}},[e("img",{attrs:{src:a.url}}),e("i",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"el-icon-error btndel",on:{click:function(e){return t.handleRemove(n)}}})])})),0)]:t._e(),2==t.ruleForm.type?e("div",{staticClass:"code-image"},[e("div",{staticClass:"left"},[e("el-form-item",{attrs:{label:"上传至分组:",prop:"region"}},[e("el-cascader",{staticClass:"form-width",attrs:{props:t.props,options:t.categoryList},on:{change:t.handleChange},model:{value:t.ruleForm.region,callback:function(e){t.$set(t.ruleForm,"region",e)},expression:"ruleForm.region"}})],1),e("el-form-item",{attrs:{label:"二维码:",prop:"region"}},[e("div",{ref:"qrCodeUrl",staticClass:"code"}),e("div",{staticClass:"trip"},[t._v("扫描二维码,快速上传手机图片")]),e("div",{staticClass:"trip-small"},[t._v("建议使用手机浏览器")])])],1),e("div",{staticClass:"right"},[e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],attrs:{size:"small"},on:{click:t.scanUploadGet}},[t._v("刷新图库")]),e("div",{staticClass:"tip"},[t._v("刷新图库按钮,可显示移动端上传成功的图片")]),e("div",{staticClass:"img-box"},t._l(t.ruleForm.imgList,(function(a,n){return e("div",{key:n,staticClass:"pictrue",attrs:{draggable:"false"},on:{dragstart:function(e){return t.handleDragStart(e,a)},dragover:function(e){return e.preventDefault(),t.handleDragOver(e,a)},dragenter:function(e){return t.handleDragEnter(e,a)},dragend:function(e){return t.handleDragEnd(e,a)}}},[e("img",{attrs:{src:a.att_dir}}),e("i",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"el-icon-error btndel",on:{click:function(e){return t.handleWebRemove(a)}}})])})),0)],1)]):t._e()],2)],1),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],on:{click:t.clear}},[t._v("取 消")]),e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],attrs:{type:"primary",disabled:!t.ruleForm.imgList.length},on:{click:t.submitUpload}},[t._v("确 定")])],1)])],1)}),[],!1,null,"99994e80",null);e.a=a.exports},"410e":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAK8klEQVR4Ae2cC3BVxRnHuXmHRvKw0EKSGR5JapFppVCNrZVgHzZVO1qH1mJ4JORBa2GaRqEVhdCK1VY7Y2DEhLxKxHEaR7QUsKXEILbWCqF2GlQsNkXSoaKERPN+9fcxN5lzzz3ncM/Jvfccpmdnvuye3e/sft//frv77Z7dTJrkBhcBFwEXARcBFwEXARcBFwEXARcBFwGnIuBxoGCeVatWJUdGRl47Ojp6F/J9FvoEdMrj8bxE/OjQ0FBbbW3th6QdERwF4sqVK5Oio6O/DDIlAPZVPYRGRkaepLwa+nNVVdWgHl+48h0DYmFh4YKIiIh7UXwxFpgEQEayjcB3GnoBq3wYq3wnXIBptWMkqBZ/0PPouimA9xCYFVmpHMC7ofXt7e3V+/fv77dSx0TfsQ3E1atXTxseHs4BvPsAYZ6e5VE2SFkPcQJxpJbClA2T/3u6+cN9fX1/27VrV5cWX6jywg5icXHxZJT9BoDko9QNxHEGyrVR9mtAepN4EXQH/EnEmgE+mWwa4anq6Og40tjYKOCGPGj+sqFqNT8/P52u+wT0I9q4EmWj9doCkEbGu2Jm6ed27Njx94ULF74I72HeuZp4qtZ7lMVCn+Hd2+Lj41Nnz5798vHjxwe0eIOZFw5L9CxbtmwqSt2J4FugeC0FUHwUAPqJ3qKbb2ay2K3FJ3lYcynRWnjTeUfXECg/CZVh+U2hdIlCCqK4LFFRUbejaAH0eRTXtDwUHaXsdWgXyYbq6ur/kjYK4kteiUUXwHQrdc/SY6a+bsr2QXVnzpw5tGfPnh49Xqv5IQExJycnKisr60YsoBRFr0G4BAMBBbBfDQwM7O7u7n7HzDi2ZMmSmISEhHl0+RLayaOeyQbtvIc8BwF8C8NDqwGf6aKgg4hikUlJSRUIuwppYo0kwkpehoqxvDeM+AIpKyoqupE26+CdbsRPe52U/xggnzDiM1MWLBA9TBpprDZupnFxmNO0hEAB6bbSnY6Q3N7Z2fmMGcvTqlOZJ5Y5ZcqUH2KVdwLoXMqilOXKNO2/Cv0C3oOsegRYy2HCIIrgiYmJ4nrIuCddV9dlQehWeLYy6+5hoP+PZakNXvT2hCtg+Sb0A9qbocWOLPKDdkBNUHVqauqB8vJyWQmZDhMCkaWabAxU8mvKUu0yBNasjzL5pR8nfgzrez+Y1qenMTN49ODgYCa942e0ezOixejwjlB+TuQ7f/78Q8jWq8Onm62ptC63ogAAZwFePVnXK7LHkwgmLst5olfgu7eyslJm37AHmeQyMzNvoeEtyJNOrDfJDVG2DdpA9zY1g0fwkqWAQD/hxS9qvQxwIsRvoRKs4Xa7ABTZmpubh5hEdjMzX4dc66HXyNbqtjJ+fg8qhEwFS5ZYUlKyEGFkb0/LcW7HWS6HfldfXy/ui4w9jghilTNnzpxFFxd3aC2G4LeERK9z/f39WTt37vwgUKF1Zy+jCvhV70cANYAylmyjK6wzetfOMrFK2n8b2sSYWUNcCX0NGu+R6JUSGxu7lLytUEBh/OWAuGFiBougoS8p+fn1hgG2vre3d7My38lpfuxTyFeC7P9Qy0neAnWe0bNpENva2qZQYbKyUkCVNW9LQ0ODLLEumSBAaoGIPuniKgWqiGkQacBv/YsgMhOHZdspUMUC5UPuPg3e6LNnzwY8X5gGUaPB//ssF8QgmICl2TkI7RpWwXiUwFJSNnD/ybhl+9c8Q2EpdJQlymDOPuFNycnJbwPgcYbaV3jOuJgSdpc7CkR2YHLYG6wGlE8KMAz6C3iuwKdLtBsoo/YdBSLWJzsu01QC52KRsr3m2OAoEEHpfUi2p3wCFlkg3dwn00EPjgKRVY9slL4IPuoNgo9jpfcsX7481UHYjYviKBBramrOAeSDAKm1YXtNTEzMinHJHZRwFIiCC0C+DpD3qDGiS8dhjXcXFBR8Sl1m97PjQASQEYB8mrhO0iqA5MjdswB5mSrf1kcngngBELp0BXRCjQ4WOReLfAC3x+jzqPq1kD47FsSWlhb5Nvw45PclDiC/S5f/OmUBbxKEEkXHgnj06NFBPhxVY41/VAMAiFOhtbg9Pltyar5wPTsWRAFAvrzxebUUIE+rAQHERVC+Ot+OZ0eDKIDU1dW9S9f9Pkk/J5yxscwO0NRtOh5EEZiPXgeIZE2tDo6YpS8JEPlq2Men13q6tXzunEQsQY4ZB+08jfrXMfN8SYAoCtGtZWtMum8t9BRdeU1cXNx9UmZ3cOSmrB4onB47zJnH1wAwmg/yH8HniG/alxSIAq50bSKtj0tSbEsw3Z0/ItCtfL7s4WpEQZejgen6bNHa2yg76XLISQ5l+QR06fZ+6PfJ13swrbT31JSP3waoIswdrGm/oNeQ0/Jzc3NjOYwqu0LXqmXDpfqXOs/o2TSIUhm/1G+UlfIs4SrZHGBN+4jTNgiUsko6Ly9velpaWg0yP8Kj1qqnSf2O0bOltSfLrRQAk80B6cJ+ActshTZCzbJH6MdgT4aHTd0ZnLP5Ds2XA6Cmj4nMJ1i3z5NlZ6BiBnxUQlnhsWPHeufPn9+NINeTL13ZJ5A/DboJoOfB1zdnzpxT3CcZ8mEK48PSpUuTs7OzV3AarJxmVyKb3g7QaUBcsXfvXlPd2RKIoj/AnOBuygDJqyE/IL15n0bgRfhzs7jM8wa/rt/SDb6QBTl8lZGRsZgd8V/SSCGyZEF+OgOcHIM5wTp9XVdX1wF+cFOuk6XurNSaE7MC1HYoG1liiPXq7GTA3oCPV8cHeTmGZ0pQZZsXSwt4ra2tk/l+/XN4iyC9Wwyy6duHXM8TlwZwfwY2/6CnsD+nQc6aNWtiOVYnB9/zYfscsd+v7X1dzkcfRuhHubfSFIpTZExqM7iAdAvtlUK6nxKQQ4ajl1iXVzBuv+CVz1IUFBC9LXu4S5KJcHL58S4oQ08ieM5SJhdzMMqqQ6TFIiYUxOfDZfkWdRZSkbgtmuMebUsPeBWSg/h/sGp9vD8eggniWKUe3Jx0HuQen8yEfkfxhFGUQeEuop3E9wNmp+RbCTKkMExU8K6cy5ZLkpp6USZtPID1VXIFJGjLRs3GrCii8Y5Ypnxw3wjNhSbrKUfZWyi4jrPSf+KstLhEFx0vZdzjrt50JoNbAVDaUJ+cIGv8x+qg/r8A3ibAO3KhIIh/QgniBTHxzS73noFeAYgLDGQfRNF9lNfip+038tO8fuoS+GUcFu9AL8gaW/YiG6jvOaM69SoIJD/kIIoQctqLo3LTSeZhNXcTazrp5MvYeA5w/sr+YRmbDW/y7BOYOL6C/7kJ8K6C72MG1v0uL5ZxE78pUOv2acjEQ1hAVMrDeHkFym9F+evI173CRtkH8G0EzKdIixsiFi3gictiFGTce5Kb9xtY51seZ40aUJeFHUQRAMuM5xjdt7FK6eLZZKmvcyjlbOGhHUDFH9Wd8eERR/4Q4962kydPHjKzC6NszEraFhDHBBWfjq4pl77LyJs9lm8mBlzZlhPf8zHSB0N5w15PLltBFKFkvOTidwoO8k8BU3y8KD1hNfJ7AW5zT0/Pdv4DyYeUX3RW16hjwlm2g6jQwIO/txgg10OyL6l3kVFeeQ/w9mF95aw2/q2ow5akk0C8AIC4RGwY5AKkrD5uIDNRgUw76b2A9zzjaTMOeo+izLak40AcQ4Kb/FOxtlTGzFQASyF9hrLTrNHb6bph/edBYzK5sYuAi4CLgIuAi4CLgIuAi4CLgItAmBH4H2s7O2B7RMzKAAAAAElFTkSuQmCC"},"42e3":function(t,e,a){a.d(e,"a",(function(){return c})),a.d(e,"G",(function(){return i})),a.d(e,"R",(function(){return o})),a.d(e,"o",(function(){return l})),a.d(e,"q",(function(){return s})),a.d(e,"f",(function(){return r})),a.d(e,"s",(function(){return u})),a.d(e,"v",(function(){return h})),a.d(e,"w",(function(){return d})),a.d(e,"B",(function(){return m})),a.d(e,"E",(function(){return f})),a.d(e,"C",(function(){return p})),a.d(e,"N",(function(){return g})),a.d(e,"O",(function(){return b})),a.d(e,"M",(function(){return v})),a.d(e,"S",(function(){return A})),a.d(e,"T",(function(){return y})),a.d(e,"K",(function(){return k})),a.d(e,"b",(function(){return z})),a.d(e,"l",(function(){return w})),a.d(e,"D",(function(){return x})),a.d(e,"x",(function(){return M})),a.d(e,"u",(function(){return C})),a.d(e,"t",(function(){return j})),a.d(e,"y",(function(){return O})),a.d(e,"r",(function(){return B})),a.d(e,"m",(function(){return H})),a.d(e,"I",(function(){return _})),a.d(e,"J",(function(){return V})),a.d(e,"d",(function(){return L})),a.d(e,"c",(function(){return F})),a.d(e,"g",(function(){return S})),a.d(e,"H",(function(){return D})),a.d(e,"z",(function(){return q})),a.d(e,"Q",(function(){return T})),a.d(e,"F",(function(){return I})),a.d(e,"p",(function(){return N})),a.d(e,"L",(function(){return E})),a.d(e,"j",(function(){return P})),a.d(e,"e",(function(){return R})),a.d(e,"h",(function(){return U})),a.d(e,"i",(function(){return Q})),a.d(e,"k",(function(){return G})),a.d(e,"A",(function(){return Z})),a.d(e,"n",(function(){return W})),a.d(e,"P",(function(){return Y})),a("99af");var n=a("6b6c");function c(t){return Object(n.a)({url:"/login",method:"post",data:t,kefu:!0})}function i(t){return Object(n.a)({url:"/user/record",method:"get",params:t,kefu:!0})}function o(t){return Object(n.a)({url:"/user/info/"+t,method:"get",kefu:!0})}function l(t,e){return Object(n.a)({url:"/order/list/"+t,method:"get",params:e,kefu:!0})}function s(t,e){return Object(n.a)({url:"/order/delivery/"+t,method:"post",data:e,kefu:!0})}function r(t,e){return Object(n.a)({url:"/order/update/".concat(t),method:"put",data:e,kefu:!0})}function u(t){return Object(n.a)({url:"order/edit/"+t,method:"get",kefu:!0})}function h(t){return Object(n.a)({url:"order/refund_form/"+t,method:"get",kefu:!0})}function d(t){return Object(n.a)({url:"order/refund",method:"post",data:t,kefu:!0})}function m(t,e){return Object(n.a)({url:"product/cart/"+t,method:"get",params:e,kefu:!0})}function f(t,e){return Object(n.a)({url:"product/visit/"+t,method:"get",params:e,kefu:!0})}function p(t,e){return Object(n.a)({url:"product/hot/"+t,method:"get",params:e,kefu:!0})}function g(t){return Object(n.a)({url:"service/speechcraft",method:"get",params:t,kefu:!0})}function b(t){return Object(n.a)({url:"service/transfer_list",method:"get",params:t,kefu:!0})}function v(t){return Object(n.a)({url:"service/transfer",method:"post",params:t,kefu:!0})}function A(t){return Object(n.a)({url:"user/label/".concat(t),method:"get",kefu:!0})}function y(t,e){return Object(n.a)({url:"user/label/".concat(t),method:"put",data:e,kefu:!0})}function k(t){return Object(n.a)({url:"service/list",method:"get",params:t,kefu:!0})}function z(){return Object(n.a)({url:"user/logout",method:"post",kefu:!0})}function w(){return Object(n.a)({url:"/key",method:"get",kefu:!0})}function x(t){return Object(n.a)({url:"product/info/".concat(t),method:"get",kefu:!0})}function M(t){return Object(n.a)({url:"/order/remark",method:"post",data:t,kefu:!0})}function C(t){return Object(n.a)({url:"/order/info/"+t,method:"get",kefu:!0})}function j(){return Object(n.a)({url:"/order/export",method:"get",kefu:!0})}function O(t){return Object(n.a)({url:"/order/temp",method:"get",params:t,kefu:!0})}function B(){return Object(n.a)({url:"/order/delivery_all",method:"get",kefu:!0})}function H(){return Object(n.a)({url:"/order/delivery_info",method:"get",kefu:!0})}function _(t){return Object(n.a)({url:"/service/cate",method:"get",params:t,kefu:!0})}function V(t,e){return Object(n.a)({url:"service/speechcraft/"+t,method:"PUT",params:e,kefu:!0})}function L(t){return Object(n.a)({url:"service/speechcraft",method:"post",data:t,kefu:!0})}function F(t){return Object(n.a)({url:"service/cate",method:"post",data:t,kefu:!0})}function S(t,e){return Object(n.a)({url:"service/cate/"+t,method:"PUT",params:e,kefu:!0})}function D(t,e){return Object(n.a)({url:"scan/"+t,method:"get",params:e,kefu:!0})}function q(t){return Object(n.a)({url:"/order/verific/".concat(t),method:"get",kefu:!0})}function T(){return Object(n.a)({url:"user/group",method:"get",kefu:!0})}function I(t,e){return Object(n.a)({url:"user/group/".concat(t,"/").concat(e),method:"put",kefu:!0})}function N(){return Object(n.a)({url:"config",method:"get",kefu:!0})}function E(t){return Object(n.a)({url:"tourist/user",method:"get",params:t,kefu:!0})}function P(){return Object(n.a)({url:"tourist/adv",method:"get",kefu:!0})}function R(t){return Object(n.a)({url:"tourist/chat",method:"get",params:t,kefu:!0})}function U(){return Object(n.a)({url:"tourist/feedback",method:"get",kefu:!0})}function Q(t){return Object(n.a)({url:"tourist/feedback",method:"post",data:t,kefu:!0})}function G(t,e){return Object(n.a)({url:"tourist/order/".concat(t),method:"get",params:e,kefu:!0})}function Z(t){return Object(n.a)({url:"tourist/product/".concat(t),method:"get",kefu:!0})}function W(){return Object(n.a)({url:"get_workerman_url",method:"get"})}function Y(t){return Object(n.a)({url:"upload",method:"post",data:t,kefu:!0})}},4360:function(t,e,a){var n=a("a026"),c=a("2f62"),i=a("bfa9"),o=(a("c740"),a("a434"),a("c24f"),a("5530")),l=a("2909"),s=(a("4de4"),a("caad"),a("14d9"),a("e9f5"),a("910d"),a("d3b7"),a("2532"),a("c276")),r=a("a18c"),u=a("f121").a.homeName,h={state:{breadCrumbList:[],tagNavList:[],homeRoute:{},local:Object(s.j)("local"),errorList:[],adminTitle:"",hasReadErrorPage:!1},getters:{errorCount:function(t){return t.errorList.length}},mutations:{setBreadCrumb:function(t,e){t.breadCrumbList=Object(s.b)(e,t.homeRoute)},setAdminTitle:function(t,e){t.adminTitle=e},setHomeRoute:function(t,e){t.homeRoute=Object(s.d)(e,u)},setTagNavList:function(t,e){var a=[];a=e?Object(l.a)(e):Object(s.i)()||[];t.tagNavList=a,Object(s.p)(Object(l.a)(a))},closeTag:function(t,e){var a,n=t.tagNavList.filter((function(t){return Object(s.m)(t,e)}));(e=n[0]||null)&&(n=t,a=e,t=Object(s.g)(n.tagNavList,a),n.tagNavList=n.tagNavList.filter((function(t){return!Object(s.m)(t,a)})),r.a.push(t))},addTag:function(t,e){var a=e.route,n=(e=e.type,e=void 0===e?"unshift":e,Object(s.h)(a)),c=t.tagNavList.findIndex((function(t){return t.path===a.path}));if(!Object(s.n)(t.tagNavList,n)){if("push"===e){if(!(c<1))return;t.tagNavList.push(n)}Object(s.p)(Object(l.a)(t.tagNavList))}},setLocal:function(t,e){Object(s.k)("local",e),t.local=e},addError:function(t,e){t.errorList.push(e)},setHasReadErrorLoggerStatus:function(t){t.hasReadErrorPage=!(1{var a=Object(m.a)(Object(d.a)().m((function a(n){return Object(d.a)().w((function(a){for(;;)switch(a.n){case 0:t(n),e("getmenusNav",n.data.menus);case 1:return a.a(2)}}),a)})));return function(t){return a.apply(this,arguments)}})()).catch((function(t){a(t)}))}))}}},a("7db0"),a("b0c0"),a("f665"),a("7d54"),a("159b"),a("2ef0")),b=a("6987");function v(t,e,a){return t.forEach((function(t){var n=t.auth;if(!n||Object(b.g)(n,e)){var c,i={};for(c in t)"children"!==c&&(i[c]=Object(g.cloneDeep)(t[c]));t.children&&t.children.length&&(i.children=[]),a.push(i),t.children&&v(t.children,e,i.children)}})),a}var A={namespaced:!0,state:{header:[],oneMenuName:"",sider:[],headerName:"",activePath:"",openNames:[]},getters:{filterSider:function(t,e,a){return a=a.user.info.access,a&&a.length?v(t.sider,a,[]):v(t.sider,[],[])},filterHeader:function(t,e,a){t.header.forEach((function(t){t.path=function t(e){return e.children?t(e.children[0]):e.path}(t)}));var n=a.admin.user.info.access;return n&&n.length?t.header.filter((function(t){var e=!0;return!(t.auth&&!Object(b.g)(t.auth,n))&&e})):t.header.filter((function(t){var e=!0;return(!t.auth||!t.auth.length)&&e}))},currentHeader:function(t){return t.header.find((function(e){return e.name===t.headerName}))},hideSider:function(t,e){var a=!1;return e.currentHeader&&"hideSider"in e.currentHeader?e.currentHeader.hideSider:a}},mutations:{setSider:function(t,e){t.sider=e},setOpenMenuName:function(t,e){t.oneMenuName=e},setHeader:function(t,e){t.header=e},setHeaderName:function(t,e){t.headerName=e},setActivePath:function(t,e){t.activePath=e},setOpenNames:function(t,e){t.openNames=e}}},y={namespaced:!0,state:{userInfo:null,uniqueAuth:[],name:"",avatar:"",access:"",logo:"",logoSmall:"",version:"",newOrderAudioLink:"",pageName:"",uploadListDataswiperBg:{},uploadListDatamenus:{},uploadListDataactivity:{},uploadListDatarecommend:{},uploadListDataadsRecommend:{},txtListData:{}},mutations:{uploadListswiperBg:function(t,e){t.uploadListDataswiperBg=e},uploadListmenus:function(t,e){t.uploadListDatamenus=e},uploadListrecommend:function(t,e){t.uploadListDatarecommend=e},uploadListactivity:function(t,e){t.uploadListDataactivity=e},uploadListadsRecommend:function(t,e){t.uploadListDataadsRecommend=e},txtList:function(t,e){t.txtListData=e},setPageName:function(t,e){t.pageName=e},userInfo:function(t,e){t.userInfo=e},userRealName:function(t,e){t.userInfo.real_name=e},userRealHeadPic:function(t,e){t.userInfo.head_pic=e},uniqueAuth:function(t,e){t.uniqueAuth=e},name:function(t,e){t.name=e},avatar:function(t,e){t.avatar=e},access:function(t,e){t.access=e},logo:function(t,e){t.logo=e},logoSmall:function(t,e){t.logoSmall=e},version:function(t,e){t.version=e},newOrderAudioLink:function(t,e){t.newOrderAudioLink=e}},actions:{getMenusNavList:function(t){var e=t.commit;return new Promise((function(t,a){menusApi().then((()=>{var a=Object(m.a)(Object(d.a)().m((function a(n){return Object(d.a)().w((function(a){for(;;)switch(a.n){case 0:t(n),e("getmenusNav",n.data.menus);case 1:return a.a(2)}}),a)})));return function(t){return a.apply(this,arguments)}})()).catch((function(t){a(t)}))}))}}},k=a("93bf"),z=a.n(k),w=(k={namespaced:!0,state:{taskId:0,levelId:0,categoryId:0},mutations:{getTaskId:function(t,e){t.taskId=e},getlevelId:function(t,e){t.levelId=e},getCategoryId:function(t,e){t.categoryId=e}},actions:{listenFullscreen:function(t){var e=t.commit;return new Promise((function(t){z.a.enabled&&z.a.on("change",(function(){z.a.isFullscreen||e("setFullscreen",!1)})),t()}))},toggleFullscreen:function(t){var e=t.commit;return new Promise((function(t){z.a.isFullscreen?(z.a.exit(),e("setFullscreen",!1)):(z.a.request(),e("setFullscreen",!0)),t()}))}}},a("f8b7")),x={namespaced:!0,state:{orderStatus:"",orderTime:"",orderNum:"",orderType:0,fieldKey:"",orderChartType:{},isDels:!1,delIdList:[],iconsaaaa:"",orderPayType:"",real_name:""},mutations:{getOrderStatus:function(t,e){t.orderStatus=e},getOrderType:function(t,e){t.orderPayType=e},getOrderTime:function(t,e){t.orderTime=e},getOrderNum:function(t,e){t.orderNum=e},getfieldKey:function(t,e){t.fieldKey=e},setOrderKeyword:function(t,e){t.real_name=e},onChangeTabs:function(t,e){t.orderType=e},onChangeChart:function(t,e){t.orderChartType=e},getIsDel:function(t,e){t.isDels=e},getisDelIdListl:function(t,e){t.delIdList=e},resetSearch:function(t){t.orderType="",t.orderTime="",t.orderNum="",t.orderPayType="",t.real_name=""}},actions:{getOrderTabs:function(t,e){var a=t.commit;return new Promise((function(t,n){Object(w.p)(e).then((()=>{var e=Object(m.a)(Object(d.a)().m((function e(n){return Object(d.a)().w((function(e){for(;;)switch(e.n){case 0:t(n),a("onChangeChart",n.data);case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(t){n(t)}))}))},listenFullscreen:function(t){var e=t.commit;return new Promise((function(t){z.a.enabled&&z.a.on("change",(function(){z.a.isFullscreen||e("setFullscreen",!1)})),t()}))},toggleFullscreen:function(t){var e=t.commit;return new Promise((function(t){z.a.isFullscreen?(z.a.exit(),e("setFullscreen",!1)):(z.a.request(),e("setFullscreen",!0)),t()}))}}},M=a("2542"),C={namespaced:!0,state:{periphery:1,activeName:{},defaultConfig:{headerSerch:{imgUrl:{title:"最多可添加1张图片,图片建议宽度128 * 45px",url:""},hotList:{title:"热词最多20个字,鼠标拖拽左侧圆点可调整热词顺序",max:99,list:[{val:"",maxlength:20}]}},swiperBg:{isShow:{val:!0},imgList:{title:"最多可添加10张图片,建议宽度750px",max:10,list:[{img:"http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/a32307fd1043c350932a462839288d38.jpg",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]},{img:"http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/906d46eb6f734eaf1fd820601893af0d.jpg",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}},menus:{isShow:{val:!0},imgList:{title:"最多可添加20个,图片建议宽度96*96px;鼠标拖拽左侧圆点可调整图标顺序",max:20,list:[{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/723bb4d18893a5aa6871c94d19f3bc4d.png",info:[{title:"标题",value:"商品分类",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/goods_cate/goods_cate",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/e908c8f088db07a0f4f6fddc2a7b96f9.png",info:[{title:"标题",value:"领优惠券",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/users/user_get_coupon/index",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/1a9a1189bf4a1e9970517d31bcb00bbc.png",info:[{title:"标题",value:"行业资讯",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/extension/news_list/index",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/dded4f4779e705d54cf640826d1b5558.png",info:[{title:"标题",value:"我的收藏",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/users/user_goods_collection/index",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/f95dd1f3f71fef869e80533df9ccb1a0.png",info:[{title:"标题",value:"拼团活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_combination/index",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/8bf36e0cd9f9490c1f06abcd7efe8c2d.png",info:[{title:"标题",value:"秒杀活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_seckill/index",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/5cbdc6eda8c4a2c92c88abffee50d1ff.png",info:[{title:"标题",value:"砍价活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/fdb67663ea188163b0ad863a05f77fbf.png",info:[{title:"标题",value:"地址管理",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"请填写链接"}]}]}},goodList:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"综合",icon:"iconComm_whole"},{val:"销量",icon:"iconComm_number"},{val:"价格",icon:"iconComm_Price"}]},goodsList:{max:20,list:[]}},tabBar:{isShow:{val:!0},tabBarList:{title:"图片建议宽度81*81px",list:[{name:"首页",imgList:[a("7272"),a("e211")],link:"/pages/index/index"},{name:"分类",imgList:[a("45f6"),a("1458")],link:"/pages/goods_cate/goods_cate"},{name:"周边",imgList:[a("4875"),a("4685")],pagePath:"/pages/storeList/index"},{name:"购物车",imgList:[a("c759"),a("6e6e")],link:"/pages/order_addcart/order_addcart"},{name:"我的",imgList:[a("ccf0"),a("a3be")],link:"/pages/user/index"}]}}},component:{headerSerch:{list:[{components:M.a.c_upload_img,configNme:"imgUrl"},{components:M.a.c_hot_word,configNme:"hotList"}]},swiperBg:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_list,configNme:"imgList"}]},menus:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_list,configNme:"imgList"}]},goodList:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_tab,configNme:"tabConfig"},{components:M.a.c_select,configNme:"selectConfig"},{components:M.a.c_input_number,configNme:"numConfig"},{components:M.a.c_txt_tab,configNme:"goodsSort"}]},tabBar:{list:[{components:M.a.c_tab_bar,configNme:"tabBarList"}]}}},mutations:{setConfig:function(t,e){t.activeName=e},upDataGoodList:function(t,e){var a=[];a=e?[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_tab,configNme:"tabConfig"},{components:M.a.c_goods,configNme:"goodsList"}]:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_tab,configNme:"tabConfig"},{components:M.a.c_select,configNme:"selectConfig"},{components:M.a.c_input_number,configNme:"numConfig"},{components:M.a.c_txt_tab,configNme:"goodsSort"}];t.component.goodList.list=a},updataConfig:function(t,e){var a,n=t.defaultConfig;for(a in e)for(var c in n)a===c&&(n[c]=e[a]);t.defaultConfig=n}},actions:{}},j={namespaced:!0,state:{activeName:{},defaultConfig:{headerSerch:{defaultVal:{isShow:{val:!0},imgUrl:{title:"最多可添加1张图片,图片建议宽度128 * 45px",url:""},titleInfo:{title:"",type:8,list:[{title:"商城简介",val:"好物尽享 任你选择",max:20,pla:"选填,不超过10个字"}]},hotList:{title:"热词最多20个字,鼠标拖拽左侧圆点可调整热词顺序",max:99,list:[{val:"",maxlength:20}]}},default:{isShow:{val:!0},imgUrl:{title:"最多可添加1张图片,图片建议宽度128 * 45px",url:""},titleInfo:{title:"",type:8,list:[{title:"商城简介",val:"好物尽享 任你选择",max:20,pla:"选填,不超过10个字"}]},hotList:{title:"热词最多20个字,鼠标拖拽左侧圆点可调整热词顺序",max:99,list:[{val:"",maxlength:20}]}}},swiperBg:{defaultVal:{isShow:{val:!0},imgList:{title:"最多可添加10张图片,建议宽度750px",max:10,list:[{img:"",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}},default:{isShow:{val:!0},imgList:{title:"最多可添加10张图片,建议宽度750px",max:10,list:[{img:"",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}}},menus:{defaultVal:{isShow:{val:!0},imgList:{title:"最多可添加20个,图片建议宽度96*96px;鼠标拖拽左侧圆点可调整图标顺序",max:20,list:[{img:"",info:[{title:"标题",value:"商品分类",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/goods_cate/goods_cate",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"领优惠券",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/users/user_get_coupon/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"行业资讯",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/extension/news_list/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"我的收藏",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/users/user_goods_collection/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"拼团活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_combination/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"秒杀活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_seckill/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"砍价活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"地址管理",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"请填写链接"}]}]}},default:{isShow:{val:!0},imgList:{title:"最多可添加20个,图片建议宽度96*96px;鼠标拖拽左侧圆点可调整图标顺序",max:20,list:[{img:"",info:[{title:"标题",value:"商品分类",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/goods_cate/goods_cate",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"领优惠券",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/users/user_get_coupon/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"行业资讯",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/extension/news_list/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"我的收藏",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/users/user_goods_collection/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"拼团活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_combination/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"秒杀活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_seckill/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"砍价活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"请填写链接"}]},{img:"",info:[{title:"标题",value:"地址管理",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"请填写链接"}]}]}}},tabNav:{defaultVal:{isShow:{val:!0}},default:{isShow:{val:!0}}},news:{defaultVal:{isShow:{val:!0},imgUrl:{title:"最多可添加10个模板,图片建议宽度124 * 28px",url:""},newList:{max:10,list:[{chiild:[{title:"标题",val:"CRMEB_PRO 1.1正式公测啦",max:20,pla:"选填,不超过四个字"},{title:"链接",val:"链接",max:99,pla:"选填"}]}]}},default:{isShow:{val:!0},imgUrl:{title:"最多可添加10个模板,图片建议宽度124 * 28px",url:""},newList:{max:10,list:[{chiild:[{title:"标题",val:"CRMEB_PRO 1.1正式公测啦",max:20,pla:"选填,不超过四个字"},{title:"链接",val:"链接",max:99,pla:"选填"}]}]}}},activity:{defaultVal:{isShow:{val:!0},imgList:{isDelete:!0,title:"最多可添加3组模块,第一张336*298px,后两张416*124px",max:3,list:[{img:"",info:[{title:"标题",value:"一起来拼团",maxlength:20,tips:"标题"},{title:"描述",value:"优惠多多",maxlength:20,tips:"描述"},{title:"链接",value:"/pages/activity/goods_combination/index",maxlength:999,tips:"链接"}]},{img:"",info:[{title:"标题",value:"秒杀专区",maxlength:20,tips:"标题"},{title:"描述",value:"新能源汽车优惠多多",maxlength:20,tips:"描述"},{title:"链接",value:"/pages/activity/goods_seckill/index",maxlength:999,tips:"链接"}]},{img:"",info:[{title:"标题",value:"砍价活动",maxlength:20,tips:"标题"},{title:"描述",value:"呼朋唤友来砍价~~",maxlength:20,tips:"描述"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"链接"}]}]},max:3},default:{isShow:{val:!0},imgList:{isDelete:!0,title:"最多可添加3组模块,第一张336*298px,后两张416*124px",max:3,list:[{img:"",info:[{title:"标题",value:"一起来拼团",maxlength:20,tips:"标题"},{title:"描述",value:"优惠多多",maxlength:20,tips:"描述"},{title:"链接",value:"/pages/activity/goods_combination/index",maxlength:999,tips:"链接"}]},{img:"",info:[{title:"标题",value:"秒杀专区",maxlength:20,tips:"标题"},{title:"描述",value:"新能源汽车优惠多多",maxlength:20,tips:"描述"},{title:"链接",value:"/pages/activity/goods_seckill/index",maxlength:999,tips:"链接"}]},{img:"",info:[{title:"标题",value:"砍价活动",maxlength:20,tips:"标题"},{title:"描述",value:"呼朋唤友来砍价~~",maxlength:20,tips:"描述"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"链接"}]}]},max:3}},alive:{defaultVal:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"直播间",max:20,pla:"选填,不超过六个字"},{title:"介绍",val:"精彩直播",max:8,pla:"选填,不超过8个字"},{title:"链接",val:"/pages/columnGoods/live_list/index",max:999,pla:"选填"}]},numConfig:{title:"显示数量",val:3}},default:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"直播间",max:20,pla:"选填,不超过六个字"},{title:"介绍",val:"精彩直播",max:8,pla:"选填,不超过8个字"},{title:"链接",val:"/pages/columnGoods/live_list/index",max:999,pla:"选填"}]},numConfig:{title:"显示数量",val:3}}},scrollBox:{defaultVal:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"快速选择",max:4,pla:"选填,不超过4个字"},{title:"介绍",val:"诚意推荐品质商品",max:8,pla:"选填,不超过8个字"},{title:"链接",val:"/pages/goods_cate/goods_cate",max:999,pla:"选填"}]}},default:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"快速选择",max:4,pla:"选填,不超过4个字"},{title:"介绍",val:"诚意推荐品质商品",max:8,pla:"选填,不超过8个字"},{title:"链接",val:"/pages/goods_cate/goods_cate",max:999,pla:"选填"}]}}},adsRecommend:{defaultVal:{isShow:{val:!0},imgList:{title:"图片建议尺寸338 * 206px;鼠标拖拽左侧圆点可调整版块顺序",max:10,list:[{img:"",info:[{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}},default:{isShow:{val:!0},imgList:{title:"图片建议尺寸338 * 206px;鼠标拖拽左侧圆点可调整版块顺序",max:10,list:[{img:"",info:[{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}}},coupon:{defaultVal:{isShow:{val:!0},numConfig:{val:10}},default:{isShow:{val:!0},numConfig:{val:10}}},seckill:{defaultVal:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleInfo:{title:"",type:2,list:[{title:"商品类型",val:"限时秒杀",max:20,pla:"选填,不超过四个字"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}},default:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleInfo:{title:"",type:2,list:[{title:"商品类型",val:"限时秒杀",max:20,pla:"选填,不超过四个字"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}}},combination:{defaultVal:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleInfo:{title:"",type:3,list:[{title:"商品类型",val:"拼团列表",max:20,pla:"选填,不超过四个字"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}},default:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleInfo:{title:"",type:3,list:[{title:"商品类型",val:"拼团列表",max:20,pla:"选填,不超过四个字"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}}},bargain:{defaultVal:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleInfo:{title:"",type:8,list:[{title:"商品类型",val:"砍价列表",max:20,pla:"选填,不超过四个字"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}},default:{isShow:{val:!0},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleInfo:{title:"",type:8,list:[{title:"商品类型",val:"砍价列表",max:20,pla:"选填,不超过四个字"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}}},goodList:{defaultVal:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"快速选择",max:4,pla:"选填,不超过4个字"},{title:"介绍",val:"诚意推荐品质商品",max:8,pla:"选填,不超过8个字"},{title:"链接",val:"/pages/columnGoods/HotNewGoods/index",max:999,pla:"选填"}]},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},selectSortConfig:{title:"商品类型",activeValue:"",list:[{activeValue:"0",title:"商品列表"},{activeValue:"7",title:"优品推荐"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}},default:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"快速选择",max:4,pla:"选填,不超过4个字"},{title:"介绍",val:"诚意推荐品质商品",max:8,pla:"选填,不超过8个字"},{title:"链接",val:"/pages/columnGoods/HotNewGoods/index?type=1",max:999,pla:"选填"}]},tabConfig:{tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},selectSortConfig:{title:"商品类型",activeValue:"",list:[{activeValue:"0",title:"商品列表"},{activeValue:"7",title:"精品推荐"}]},selectConfig:{title:"商品分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},numConfig:{val:6},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"系统排序",icon:"iconComm_whole"},{val:"销量最高",icon:"iconComm_number"},{val:"最新上架",icon:"iconzuixin"}]},goodsList:{max:20,list:[]}}},picTxt:{defaultVal:{isShow:{val:!0},richText:{val:""}},default:{isShow:{val:!0},richText:{val:""}}},titles:{defaultVal:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"精品推荐",max:20,pla:"选填,不超过四个字"},{title:"标题",val:"精品推荐",max:20,pla:"选填,不超过四个字"},{title:"链接",val:"/pages/columnGoods/HotNewGoods/index?type=1",max:999,pla:"选填"}]}},default:{isShow:{val:!0},titleInfo:{title:"",list:[{title:"标题",val:"精品推荐",max:20,pla:"选填,不超过四个字"},{title:"标题",val:"精品推荐",max:20,pla:"选填,不超过四个字"},{title:"链接",val:"/pages/columnGoods/HotNewGoods/index?type=1",max:999,pla:"选填"}]}}},customerService:{defaultVal:{isShow:{val:!0},imgUrl:{title:"最多可添加1张图片,图片建议宽度128 * 45px",url:""}},default:{isShow:{val:!0},imgUrl:{title:"最多可添加1张图片,图片建议宽度128 * 45px",url:""}}},tabBar:{defaultVal:{isShow:{val:!0},tabBarList:{title:"图片建议宽度81*81px",list:[{name:"首页",imgList:["https://qiniu.crmeb.net/attach/2021/04/9ebdf202104251644215768.png","https://qiniu.crmeb.net/attach/2021/04/44bc420210425164421586.png"],link:"/pages/index/index"},{name:"分类",imgList:["https://qiniu.crmeb.net/attach/2021/04/b62c8202104251644218412.png","https://qiniu.crmeb.net/attach/2021/04/9509c202104251644214836.png"],link:"/pages/goods_cate/goods_cate"},{name:"购物车",imgList:["https://qiniu.crmeb.net/attach/2021/04/2e682202104251644216849.png","https://qiniu.crmeb.net/attach/2021/04/6b3cb202104251644218211.png"],link:"/pages/order_addcart/order_addcart"},{name:"我的",imgList:["https://qiniu.crmeb.net/attach/2021/04/3329c20210425164421428.png","https://qiniu.crmeb.net/attach/2021/04/031ce202104251644215432.png"],link:"/pages/user/index"}]}},default:{isShow:{val:!0},tabBarList:{title:"图片建议宽度81*81px",list:[{name:"首页",imgList:["https://qiniu.crmeb.net/attach/2021/04/9ebdf202104251644215768.png","https://qiniu.crmeb.net/attach/2021/04/44bc420210425164421586.png"],link:"/pages/index/index"},{name:"分类",imgList:["https://qiniu.crmeb.net/attach/2021/04/b62c8202104251644218412.png","https://qiniu.crmeb.net/attach/2021/04/9509c202104251644214836.png"],link:"/pages/goods_cate/goods_cate"},{name:"购物车",imgList:["https://qiniu.crmeb.net/attach/2021/04/2e682202104251644216849.png","https://qiniu.crmeb.net/attach/2021/04/6b3cb202104251644218211.png"],link:"/pages/order_addcart/order_addcart"},{name:"我的",imgList:["https://qiniu.crmeb.net/attach/2021/04/3329c20210425164421428.png","https://qiniu.crmeb.net/attach/2021/04/031ce202104251644215432.png"],link:"/pages/user/index"}]}}}},component:{headerSerch:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_input_list,configNme:"titleInfo"},{components:M.a.c_upload_img,configNme:"imgUrl"},{components:M.a.c_hot_word,configNme:"hotList"}]},swiperBg:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_list,configNme:"imgList"}]},menus:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_list,configNme:"imgList"}]},news:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_img,configNme:"imgUrl"},{components:M.a.c_txt_list,configNme:"newList"}]},tabNav:{list:[{components:M.a.c_is_show,configNme:"isShow"}]},activity:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_list,configNme:"imgList"}]},alive:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_input_list,configNme:"titleInfo"},{components:M.a.c_input_number,configNme:"numConfig"}]},scrollBox:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_input_list,configNme:"titleInfo"}]},adsRecommend:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_list,configNme:"imgList"}]},coupon:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_input_number,configNme:"numConfig"}]},seckill:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_tab,configNme:"tabConfig"},{components:M.a.c_input_list,configNme:"titleInfo"},{components:M.a.c_select,configNme:"selectConfig"},{components:M.a.c_input_number,configNme:"numConfig"},{components:M.a.c_txt_tab,configNme:"goodsSort"}]},combination:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_tab,configNme:"tabConfig"},{components:M.a.c_input_list,configNme:"titleInfo"},{components:M.a.c_select,configNme:"selectConfig"},{components:M.a.c_input_number,configNme:"numConfig"},{components:M.a.c_txt_tab,configNme:"goodsSort"}]},bargain:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_tab,configNme:"tabConfig"},{components:M.a.c_input_list,configNme:"titleInfo"},{components:M.a.c_select,configNme:"selectConfig"},{components:M.a.c_input_number,configNme:"numConfig"},{components:M.a.c_txt_tab,configNme:"goodsSort"}]},goodList:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_input_list,configNme:"titleInfo"},{components:M.a.c_tab,configNme:"tabConfig"},{components:M.a.c_select,configNme:"selectSortConfig"},{components:M.a.c_select,configNme:"selectConfig"},{components:M.a.c_input_number,configNme:"numConfig"},{components:M.a.c_txt_tab,configNme:"goodsSort"}]},picTxt:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_page_ueditor,configNme:"richText"}]},titles:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_input_list,configNme:"titleInfo"}]},customerService:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_img,configNme:"imgUrl"}]},tabBar:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_tab_bar,configNme:"tabBarList"}]}}},mutations:{setConfig:function(t,e){t.activeName=e},upDataName:function(t,e){t.defaultConfig[t.activeName]=e},upDataGoodList:function(t,e){var a,n,c=[],i=(e.type?c=[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_input_list,configNme:"titleInfo"},{components:M.a.c_tab,configNme:"tabConfig"},{components:M.a.c_goods,configNme:"goodsList"}]:(c=[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_input_list,configNme:"titleInfo"},{components:M.a.c_tab,configNme:"tabConfig"},{components:M.a.c_select,configNme:"selectConfig"},{components:M.a.c_input_number,configNme:"numConfig"}],a={components:M.a.c_txt_tab,configNme:"goodsSort"},n={components:M.a.c_select,configNme:"selectSortConfig"},i={components:M.a.c_input_list,configNme:"titleInfo"},"seckill"!==e.name&&"combination"!==e.name&&"bargain"!==e.name||(c.splice(2,0,i),c.push(a)),"goodList"===e.name&&(c.splice(3,0,n),c.push(a))),{components:M.a.c_upload_list,configNme:"imgList"});switch("recommend"===e.name&&c.splice(1,0,i),e.name){case"scrollBox":t.component.scrollBox.list=c;break;case"popular":t.component.popular.list=c;break;case"recommend":t.component.recommend.list=c;break;case"seckill":t.component.seckill.list=c;break;case"combination":t.component.combination.list=c;break;case"bargain":t.component.bargain.list=c;break;case"newGoods":t.component.newGoods.list=c;break;case"promotion":t.component.promotion.list=c;break;case"goodList":t.component.goodList.list=c}},updataConfig:function(t,e){var a,n=t.defaultConfig;for(a in e)for(var c in n)a===c&&(n[c]=e[a]);t.defaultConfig=n}},actions:{}},O={namespaced:!0,state:{activeName:{},defaultConfig:{swiperBg:{isShow:{val:!0},imgList:{title:"最多可添加10张图片,建议宽度750px",max:10,list:[{img:"http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/a32307fd1043c350932a462839288d38.jpg",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]},{img:"http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/906d46eb6f734eaf1fd820601893af0d.jpg",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}},monograph:{isShow:{val:!0},imgList:{title:"建议宽度750px",max:"",list:[{img:"http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/a32307fd1043c350932a462839288d38.jpg",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]},{img:"http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/906d46eb6f734eaf1fd820601893af0d.jpg",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}},picTxt:{isShow:{val:!0},richText:{val:""}},tabBar:{tabBarList:{title:"图片建议宽度81*81px",list:[{name:"首页",imgList:[a("7272"),a("e211")],link:"/pages/index/index"},{name:"分类",imgList:[a("45f6"),a("1458")],link:"/pages/goods_cate/goods_cate"},{name:"购物车",imgList:[a("c759"),a("6e6e")],link:"/pages/order_addcart/order_addcart"},{name:"我的",imgList:[a("ccf0"),a("a3be")],link:"/pages/user/index"}]}}},component:{swiperBg:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_list,configNme:"imgList"}]},monograph:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_list,configNme:"imgList"}]},picTxt:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_page_ueditor,configNme:"richText"}]},tabBar:{list:[{components:M.a.c_tab_bar,configNme:"tabBarList"}]}}},mutations:{setConfig:function(t,e){t.activeName=e},updataConfig:function(t,e){var a,n=t.defaultConfig;for(a in e)for(var c in n)a===c&&(n[c]=e[a]);t.defaultConfig=n}},actions:{}},B={namespaced:!0,state:{activeName:{},defaultConfig:{headerSerch:{imgUrl:{title:"最多可添加1张图片,图片建议宽度128 * 45px",url:""},hotList:{title:"热词最多20个字,鼠标拖拽左侧圆点可调整热词顺序",max:99,list:[{val:"",maxlength:20}]}},swiperBg:{isShow:{val:!0},imgList:{title:"最多可添加10张图片,建议宽度750px",max:10,list:[{img:"http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/a32307fd1043c350932a462839288d38.jpg",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]},{img:"http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/906d46eb6f734eaf1fd820601893af0d.jpg",info:[{title:"标题",value:"",maxlength:10,tips:"选填,不超过十个字"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}},news:{isShow:{val:!0},logoConfig:{title:"最多可添加1张图片,建议宽度130 * 36px",url:a("0af8")},listConfig:{title:"最多可添加10个版块;鼠标拖拽左侧圆点可调整版块顺序",max:10,list:[{chiild:[{title:"标题",val:"标题",max:20,pla:"选填,不超过四个字"},{title:"链接",val:"链接",max:99,pla:"选填,不超过四个字"}]}]}},menus:{isShow:{val:!0},imgList:{title:"最多可添加20个,图片建议宽度96*96px;鼠标拖拽左侧圆点可调整图标顺序",max:20,list:[{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/723bb4d18893a5aa6871c94d19f3bc4d.png",info:[{title:"标题",value:"商品分类",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/goods_cate/goods_cate",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/e908c8f088db07a0f4f6fddc2a7b96f9.png",info:[{title:"标题",value:"领优惠券",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/users/user_get_coupon/index",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/1a9a1189bf4a1e9970517d31bcb00bbc.png",info:[{title:"标题",value:"行业资讯",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/extension/news_list/index",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/dded4f4779e705d54cf640826d1b5558.png",info:[{title:"标题",value:"我的收藏",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/users/user_goods_collection/index",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/f95dd1f3f71fef869e80533df9ccb1a0.png",info:[{title:"标题",value:"拼团活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_combination/index",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/8bf36e0cd9f9490c1f06abcd7efe8c2d.png",info:[{title:"标题",value:"秒杀活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_seckill/index",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/5cbdc6eda8c4a2c92c88abffee50d1ff.png",info:[{title:"标题",value:"砍价活动",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"请填写链接"}]},{img:"http://admin.crmeb.net/uploads/attach/2020/05/20200515/fdb67663ea188163b0ad863a05f77fbf.png",info:[{title:"标题",value:"地址管理",maxlength:5,tips:"请填写标题"},{title:"链接",value:"/pages/activity/goods_bargain/index",maxlength:999,tips:"请填写链接"}]}]}},coupon:{isShow:{val:!0}},seckill:{isShow:{val:!0},numConfig:{val:6}},combination:{isShow:{val:!0}},bargain:{isShow:{val:!0}},recommend:{isShow:{val:!0},imgList:{title:"图片建议尺寸338 * 206px;鼠标拖拽左侧圆点可调整版块顺序",max:100,list:[{img:"http://kaifa.crmeb.net/uploads/attach/2020/03/20200319/906d46eb6f734eaf1fd820601893af0d.jpg",info:[{title:"标题",value:"商品分类",maxlength:5,tips:"请填写标题"},{title:"链接",value:"",maxlength:999,tips:"请填写链接"}]}]}},topList:{isShow:{val:!0},numConfig:{val:6,show:1,title:"商品数量"}},newProduct:{isShow:{val:!0},is_new:"1",goodsList:{max:20,list:[]}},productSort:{isShow:{val:!0},numConfig:{val:30,show:1,title:"商品数量"}},tabBar:{tabBarList:{title:"图片建议宽度81*81px",list:[{name:"首页",imgList:[a("7272"),a("e211")],link:"/pages/index/index"},{name:"分类",imgList:[a("45f6"),a("1458")],link:"/pages/goods_cate/goods_cate"},{name:"购物车",imgList:[a("c759"),a("6e6e")],link:"/pages/order_addcart/order_addcart"},{name:"我的",imgList:[a("ccf0"),a("a3be")],link:"/pages/user/index"}]}}},component:{headerSerch:{list:[{components:M.a.c_upload_img,configNme:"imgUrl"},{components:M.a.c_hot_word,configNme:"hotList"}]},swiperBg:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_list,configNme:"imgList"}]},news:{list:[{components:M.a.c_upload_img,configNme:"logoConfig"},{components:M.a.c_txt_list,configNme:"listConfig"}]},menus:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_list,configNme:"imgList"}]},coupon:{list:[{components:M.a.c_is_show,configNme:"isShow"}]},seckill:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_input_number,configNme:"numConfig"}]},combination:{list:[{components:M.a.c_is_show,configNme:"isShow"}]},bargain:{list:[{components:M.a.c_is_show,configNme:"isShow"}]},recommend:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_upload_list,configNme:"imgList"}]},topList:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_input_number,configNme:"numConfig"}]},newProduct:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_goods,configNme:"goodsList"}]},productSort:{list:[{components:M.a.c_is_show,configNme:"isShow"},{components:M.a.c_input_number,configNme:"numConfig"}]},tabBar:{list:[{components:M.a.c_tab_bar,configNme:"tabBarList"}]}}},mutations:{setConfig:function(t,e){t.activeName=e},updataConfig:function(t,e){var a,n=t.defaultConfig;for(a in e)for(var c in n)a===c&&(n[c]=e[a]);t.defaultConfig=n}},actions:{}},H=a("42e3"),_=a("49ea"),V={namespaced:!0,state:{kefuInfo:null},mutations:{setInfo:function(t,e){t.kefuInfo=e}},actions:{logoutKefu:function(t){function e(){return(e=Object(m.a)(Object(d.a)().m((function t(){return Object(d.a)().w((function(t){for(;;)switch(t.n){case 0:Object(H.b)().then((function(){_.a.then((function(t){t.send({type:"logout",data:{uid:Object(s.c)("kefu_uuid")}})})),Object(s.l)("kefu_token"),Object(s.l)("kefu_expires_time"),Object(s.l)("kefuInfo"),Object(s.l)("kefu_uuid"),r.a.push({path:"/kefu"})})).catch((function(t){}));case 1:return t.a(2)}}),t)})))).apply(this,arguments)}t.commit,t=1Object(c.a)((function t(e){Object(n.a)(this,t),this.ws=null,this.opt=e||{},this.init(e.key)}),[{key:"onOpen",value:function(){this.opt.open&&this.opt.open(),this.ping(),this.socketStatus=!0}},{key:"init",value:function(t){t=2==t?r:1==t?s:"",t&&(this.ws=new WebSocket(t),this.ws.onopen=this.onOpen.bind(this),this.ws.onerror=this.onError.bind(this),this.ws.onmessage=this.onMessage.bind(this),this.ws.onclose=this.onClose.bind(this))}},{key:"ping",value:function(){var t=this;this.timer=setInterval((function(){t.send({type:"ping"})}),1e4)}},{key:"send",value:function(t){var e=this;return new Promise((function(a,n){try{e.ws.send(JSON.stringify(t)),a({status:!0})}catch(a){n({status:!1})}}))}},{key:"onMessage",value:function(t){this.opt.message&&this.opt.message(t)}},{key:"onClose",value:function(){this.timer&&clearInterval(this.timer),this.opt.close&&this.opt.close()}},{key:"onError",value:function(t){this.opt.error&&this.opt.error(t)}},{key:"$on",value:function(){l.$on.apply(l,arguments)}}]))();function h(t){return Object(o.n)().then((function(t){s=t.data.admin,r=t.data.chat,Object(i.o)("WS_ADMIN_URL",t.data.admin),Object(i.o)("WS_CHAT_URL",t.data.chat)})),new Promise((function(e,a){var n=new u({key:t,open:function(){e(n)},error:function(t){a(t)},message:function(t){t=JSON.parse(t.data);var e=t.type;t=t.data;l.$emit(e,void 0===t?{}:t)},close:function(t){l.$emit("close",t)}})}))}var d=h(1),m=h(2)},"4b24":function(t,e,a){a("aefb")},"4b93":function(t,e,a){},"4dc9":function(t,e,a){a("3477")},"4e98":function(t,e,a){},"4fb4":function(t,e,a){t.exports=a.p+"system_static/img/no.7de91001.png"},"50e4":function(t,e,a){a("35d0")},"52bf":function(t,e,a){t.exports=a.p+"system_static/img/look.62b51bae.png"},5640:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAH2UlEQVR4Ae2ca2xURRTHz+1uuy2FluVVRJAYiQlogyLyljTEGKRSIKAYjLWtkaifFCWRYiAqUaIEhAQMoIIBhYgQUUl5FK0SBBsIAQ0k6AcC5REefWwf9MWO/9PmknZ32e7cO7O93dxJTmbv7NyZc35z5nFn7i6RG1wCLgGXgEvAJeAScAm4BFwCLgGXgFMJGE5TTOTkeMnvzyTDmADd3qCkpMdJiEH4fBHyB7W2rqb6+otUWloL5YNO0N9REEVurp9SUuYATAEgTkLsiQCpCVB/gnxJly79Zpw82RIhT1yTHANRzJo1HuAWw/ppiPsijqYbe+AlCgZLyOtdbeze/W9cqYVUFk3RkKx6LsXMmQMAbSW67auWahCiHvcvoaamTUZJSZOlMmze1G0QRV5eFjwpBwDehzwCO+zo0or7D6C8VdTYeMooLa2xyUXqdjuKS1VkZhYTJ6ZRv37PAVwhJAdjW5r5nYK4FmX8gMlnM+3fXw7j7igos8si4gpRzJgxHBp9CpkOgH0Q66j/DhqmEmXvoIaGpUZZWR0+aw06jOiksGBQzz47AF0tnzyejxR7Xqe6IlycR9q7kN8xXgYifK8kSStEMWWKn9LTZ8PriqDteEiyEq3lCqlDwx3ALVvo5k1eEjXI3d51bi0Q2xbMKSnTUf0iAByLmLtud4cbgHmImps/QRf/R6UyyiG2AUxOXgN4r0FRn0pllZQlRA10KzYOHtygpDwUogRi27g3depQPG3wrFuMFh+qSkGN5RyDnquh7yG7SyLbEMWIET4aNmw+lCmC8LiXqtFwlUWj7akKIA9j0ttEZWW/AoalZ3FbEMWkSYPI5/sC8J6GMn0Q2ypPJSGJsoLQ/RZkPdXWfmZl4rFsNMa+Eaj4K4B7CgpbLkfCWN1ZW2HPFqqqets4c6ZepjKvTOZOeYPBJQA4GRUnAkA2jVm8QpmZZxF/zgmxBksA8Og2DrsnZahE5SNbrDrrzleFx8Zs49ixy7FWZM0TDWMZBuNEBMjc/NhRegHxGm0QMaXxRil341jr6In5xsgoLe+J2dkZAMibpokc7mNnwVgX0y6QPESv15vgXkiwLwUeEvN8IQ+R/S9oaU2asJ5rDWJij4fSje1MiGmY+IcMIbpyhej2bWmjbN8g6STWIOrqzh5M/NOmES3GoV///kTnzhEVF+PEmY+cnRuSLKnGLaVDxmBlYQJkxUaOJFq6lKh3bz31RbNBAoyzIA4ciKWuv7P6Y7GnW1gYX4iSPU2+O9fiQK1Xr86GqrqqxPlSAEchfUOWobNnE504QXTkiKqalJZjzRO5pXTI6dNE5eXhSyiGWlBAxJ6qo97QMiUnFmsQo40ldr6rribavJno+vVwT8nOJsrLi0+3ZqgSwVkQuQF4Rl61KtwEH45r2BtHjdIPMi4QQ91f5fUdPK7u20e0Z094t87IIFq3jvAGhf5uHd6M90xxnieaw8G2bUQXLoQrPngw0cKFOMnBUY6ZV0ccXvM9U+Qh1tXpVd4Ech4vL2zd2j5bh6qfm4vNuMntqWZ+1XFonVGu5SFyYaoVjlReSwvRzp2RlzXcnfPz8UoA3gmIdK/dtCjAIn1lDaLKMbCrslauJLp6NVz3ceOI5s7VNzaG13jPFGsQ7ba0zP28CbF8OVFNhFcOi4r0eCLrJxGcD5EN4icV7tqhQeczdWhdUa7lH/u4MF6GxDM0NBDt2kU0AT8oGD263ft4i2z79vjrEsFuaxAl3T1CvfJJPFuvWEE0bx7hnR+io0eJ9u5tBypfmtI7eg5ENvv4caJTp3DMDrXZO7ujMSPg71kQ2YDGxghmKE6SbBx5iM3NTXhaaIEXJCtW3UnF8ZlEzFO0NESjsjIgsrIu4j2ch5xktVJdgsH/Yj1z5nqtLnH2aHlS4G7kDCmTaZSYD6g7FirS0wdjd/sM0rBLmnDhHN248RjANMdqmSVPNOrrr8FjlkFqHOI5qjy4glpaXpcByKClx8S7rRMMfgeAQ/EG1TtIS72b3nM/XMbRwxKqrsYCVC5Y6s4dqxCZmfMBcj3SMiEeiO0yO5av+TPPwNxtr+ApbIERCGAhKh+UGIwxMgsL4EWoHtsq1FNmbey10d/oTd/ghHETQFhegCqByG2HJk2hjAz+lfzzWP4UIgmbfg4NQlRAsw2Q3XjZnZczcidTIWYpg2iWC5he/BTtUYBci7TJiLmLOyMIwb/a346/P3gPClXBeCU7KcohmrQAMw3LoAJAfAtpwyHd9+sqw6jDpHEWOnyMZ+5fVMEzbdUG0axApKY+iIknHx6wAEAfNtPjFPO49xfkW8DbAWMj7Oza10Q7RFaxbbz0+R7AxzcBciEk3b7qXZZQBe/7EH9r8D1yXoOhtsa9aLXFBaKpAGAalJz8JCCuhYxBOjYGlYcGeP3P+DXpIhiHswX9Ia4QTXMAMxMwX0Y3fxEGP4F0FYv1AMr5E+u9jZASGBa3P9XoFogdYA4HzDm45jXmMDNdMubf5pVD1gDeYRh0S/L+np8dXumB3C88nq8hrcLrFTGLx9MkkpI+wP1+SLc6hCNagiFAngHIgwATgIgoch3fbUP+eM/2jmDVpRIAMxDyEuRHSA2k4w5jBa43QnIheAfZGcGxXQCQeK9yCIR/xe+HXINchlRA6VrEbnAJuARcAi4Bl4BLwCXgEnAJuAQSncD/Y8ecHfFPTvQAAAAASUVORK5CYII="},"56d7":function(t,e,a){a.r(e);var n={},c=(a.r(n),a.d(n,"liveReviewStatusFilter",(function(){return dt})),a.d(n,"liveStatusFilter",(function(){return mt})),a.d(n,"formatDate",(function(){return ft})),a.d(n,"broadcastType",(function(){return pt})),a.d(n,"filterClose",(function(){return gt})),a.d(n,"broadcastDisplayType",(function(){return bt})),a.d(n,"filterEmpty",(function(){return vt})),a.d(n,"userType",(function(){return At})),a.d(n,"sourceType",(function(){return yt})),a("e260"),a("e6cf"),a("cca6"),a("a79d"),a("4de4"),a("a630"),a("d81d"),a("e9f5"),a("910d"),a("7d54"),a("ab43"),a("b64b"),a("d3b7"),a("3ca3"),a("2ca0"),a("498a"),a("159b"),a("ddb0"),a("a026")),i=a("5530"),o=(e=a("2f62"),a("caad"),a("e9c4"),a("b311")),l=a.n(o),s=a("5d2d"),r=(a("a15b"),a("ac1f"),a("00b4"),a("25f0"),a("466d"),a("5319"),a("5c96")),u=a.n(r);function h(t,e){M.push({dom:t,fn:e}),e._index=M.length-1}var d=a("9224"),m=(o=a("ade3"),{"theme-1":{"--prev-bg-menuBar":"#282c34","--prev-bg-menuBarColor":"#fff","--prev-color-primary":"#0256FF","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#0256FF","--prev-bg-topBar":"#fff","--prev-bg-topBarColor":"#282c34","--prev-bg-columnsMenuBar":"#282c34","--prev-bg-columnsMenuBarColor":"#fff","--prev-MenuActiveColor":"#0256FF","--prev-tag-active-color":"#0256FF","--prev-color-primary-light-9":"#e5eeff","--prev-bg-columnsMenuActiveColor":"#fff"},"theme-2":{"--prev-bg-menuBar":"#ffffff","--prev-bg-menuBarColor":"#515a6e","--prev-color-primary":"#0256FF","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#e5eeff","--prev-bg-topBar":"#ffffff","--prev-bg-topBarColor":"#515a6e","--prev-bg-columnsMenuBar":"#fff","--prev-bg-columnsMenuBarColor":"#515a6e","--prev-bg-columnsMenuActiveColor":"#fff","--prev-MenuActiveColor":"#0256FF","--prev-bg-columnsMenuActiveBgColor":"#0256FF","--prev-tag-active-color":"#0256FF","--prev-color-primary-light-9":"#e5eeff"},"theme-3":Object(o.a)({"--prev-bg-menuBar":"#282c34","--prev-bg-menuBarColor":"#fff","--prev-color-primary":"#41b584","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#41b584","--prev-bg-topBar":"#fff","--prev-bg-topBarColor":"#282c34","--prev-bg-columnsMenuBar":"#282c34","--prev-bg-columnsMenuBarColor":"#fff","--prev-bg-columnsMenuActiveColor":"#fff","--prev-MenuActiveColor":"#41b584","--prev-color-primary-light-9":"#ecf8f3","--prev-tag-active-color":"#41b584"},"--prev-color-primary-light-9","#ecf8f3"),"theme-4":{"--prev-bg-menuBar":"#ffffff","--prev-bg-menuBarColor":"#515a6e","--prev-color-primary":"#41b584","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#ecf8f3","--prev-bg-topBar":"#ffffff","--prev-bg-topBarColor":"#515a6e","--prev-bg-columnsMenuBar":"#fff","--prev-bg-columnsMenuBarColor":"#515a6e","--prev-bg-columnsMenuActiveColor":"#fff","--prev-MenuActiveColor":"#41b584","--prev-tag-active-color":"#41b584","--prev-color-primary-light-9":"#ecf8f3"},"theme-5":{"--prev-bg-menuBar":"#282c34","--prev-bg-menuBarColor":"#fff","--prev-color-primary":"#6954f0","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#6954f0","--prev-bg-topBar":"#fff","--prev-bg-topBarColor":"#282c34","--prev-bg-columnsMenuBar":"#282c34","--prev-bg-columnsMenuBarColor":"#fff","--prev-bg-columnsMenuActiveColor":"#fff","--prev-MenuActiveColor":"#6954f0","--prev-color-primary-light-9":"#f0eefe","--prev-tag-active-color":"#6954f0"},"theme-6":{"--prev-bg-menuBar":"#ffffff","--prev-bg-menuBarColor":"#515a6e","--prev-color-primary":"#6954f0","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#e5eeff","--prev-bg-topBar":"#ffffff","--prev-bg-topBarColor":"#515a6e","--prev-bg-columnsMenuBar":"#fff","--prev-bg-columnsMenuBarColor":"#515a6e","--prev-bg-columnsMenuActiveColor":"#fff","--prev-MenuActiveColor":"#6954f0","--prev-color-primary-light-9":"#f0eefe","--prev-tag-active-color":"#6954f0"},"theme-7":{"--prev-bg-menuBar":"#282c34","--prev-bg-menuBarColor":"#fff","--prev-color-primary":"#f34d37","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#f34d37","--prev-bg-topBar":"#fff","--prev-bg-topBarColor":"#282c34","--prev-bg-columnsMenuBar":"#282c34","--prev-bg-columnsMenuBarColor":"#fff","--prev-bg-columnsMenuActiveColor":"#fff","--prev-MenuActiveColor":"#f34d37","--prev-tag-active-color":"#f34d37"},"theme-8":{"--prev-bg-menuBar":"#ffffff","--prev-bg-menuBarColor":"#515a6e","--prev-color-primary":"#f34d37","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#feedeb","--prev-bg-topBar":"#ffffff","--prev-bg-topBarColor":"#515a6e","--prev-bg-columnsMenuBar":"#fff","--prev-bg-columnsMenuBarColor":"#515a6e","--prev-bg-columnsMenuActiveColor":"#fff","--prev-color-primary-light-9":"#feedeb","--prev-MenuActiveColor":"#f34d37","--prev-tag-active-color":"#f34d37"},"theme-9":{"--prev-bg-menuBar":"#ffffff","--prev-bg-menuBarColor":"#515a6e","--prev-color-primary":"#0256FF","--prev-color-text-white":"#fff","--prev-bg-menu-hover-ba-color":"#e5eeff","--prev-bg-topBar":"#ffffff","--prev-bg-topBarColor":"#515a6e","--prev-bg-columnsMenuBar":"linear-gradient(90deg,#006cff,#399efd)","--prev-bg-columnsMenuBarColor":"#fff","--prev-bg-columnsMenuActiveColor":"#fff","--prev-tag-active-color":"#0256FF","--prev-MenuActiveColor":"#0256FF","--prev-color-primary-light-9":"#e5eeff"}}),f=(o={name:"layoutBreadcrumbSeting",computed:{getThemeConfig:function(){return this.$store.state.themeConfig.themeConfig}},data:function(){return{contentPosotion:"center"}},created:function(){var t=this;s.a.set("frequency",1),this.bus.$on("layoutMobileResize",(function(e){if(t.$store.state.themeConfig.themeConfig.layout===e.layout)return!1;t.$store.state.themeConfig.themeConfig.layout=e.layout,t.$store.state.themeConfig.themeConfig.isDrawer=!1,t.$store.state.themeConfig.themeConfig.isCollapse=!1})),this.setLocalTheme(this.$store.state.themeConfig.themeConfig.themeStyle)},mounted:function(){this.initLayoutConfig()},methods:{onColorPickerChange:function(){for(var t=1;t<=9;t++)document.documentElement.style.setProperty("--prev-color-primary-light-".concat(t),"".concat(function t(){return{hexToRgb:function(t){var e="";if(!/^#?[0-9A-Fa-f]{6}$/.test(t))return r.Message.warning("输入错误的hex"),"";e=(t=t.replace("#","")).match(/../g);for(var a=0;a<3;a++)e[a]=parseInt(e[a],16);return e},rgbToHex:function(t,e,a){var n=/^\d{1,3}$/;if(!n.test(t)||!n.test(e)||!n.test(a))return r.Message.warning("输入错误的rgb颜色值"),"";for(var c=[t.toString(16),e.toString(16),a.toString(16)],i=0;i<3;i++)1==c[i].length&&(c[i]="0".concat(c[i]));return"#".concat(c.join(""))},getDarkColor:function(e,a){if(!/^#?[0-9A-Fa-f]{6}$/.test(e))return r.Message.warning("输入错误的hex颜色值"),"";for(var n=t().hexToRgb(e),c=0;c<3;c++)n[c]=Math.floor(n[c]*(1-a));return t().rgbToHex(n[0],n[1],n[2])},getLightColor:function(e,a){if(!/^#?[0-9A-Fa-f]{6}$/.test(e))return r.Message.warning("输入错误的hex颜色值"),"";for(var n=t().hexToRgb(e),c=0;c<3;c++)n[c]=Math.floor((255-n[c])*a+n[c]);return t().rgbToHex(n[0],n[1],n[2])}}}().getLightColor(this.getThemeConfig.primary,t/10)));this.setLocalThemeConfig()},setLocalTheme:function(t){var e,a=this,n=m[t];for(e in n["--prev-border-color-lighter"]="#ebeef5",["classic"].includes(this.getThemeConfig.layout)?(n["--prev-bg-topBar"]="#282c34",n["--prev-bg-topBarColor"]="#fff",n["--prev-bg-menuBarColor"]="#515a6e",n["--prev-bg-menu-hover-ba-color"]="#e5eeff","theme-1"==t?(n["--prev-bg-menuBar"]="#fff",n["--prev-border-color-lighter"]="#e5eeff",n["--prev-MenuActiveColor"]="#0256FF"):"theme-3"==t?(n["--prev-bg-menuBar"]="#fff",n["--prev-border-color-lighter"]="#282c34",n["--prev-MenuActiveColor"]="#41b584"):"theme-5"==t?(n["--prev-bg-menuBar"]="#fff",n["--prev-border-color-lighter"]="#282c34",n["--prev-MenuActiveColor"]="#6954f0"):"theme-7"==t?(n["--prev-bg-menuBar"]="#fff",n["--prev-border-color-lighter"]="#282c34",n["--prev-MenuActiveColor"]="#f34d37"):(n["--prev-border-color-lighter"]="#ebeef5",n["--prev-bg-topBar"]="#fff",n["--prev-bg-topBarColor"]="#515a6e",n["--prev-bg-columnsMenuActiveColor"]="#515a6e")):["transverse"].includes(this.getThemeConfig.layout)?(n["--prev-bg-topBar"]="#282c34",n["--prev-bg-topBarColor"]="#fff",n["--prev-bg-menuBarColor"]="#fff",n["--prev-MenuActiveColor"]="#fff","theme-1"==t?(n["--prev-bg-menu-hover-ba-color"]="#0256FF",n["--prev-bg-menuBar"]="#282c34",n["--prev-border-color-lighter"]="#282c34"):"theme-3"==t?(n["--prev-bg-menu-hover-ba-color"]="#41b584",n["--prev-bg-menuBar"]="#282c34",n["--prev-border-color-lighter"]="#282c34"):"theme-5"==t?(n["--prev-bg-menu-hover-ba-color"]="#6954f0",n["--prev-bg-menuBar"]="#282c34",n["--prev-border-color-lighter"]="#282c34"):"theme-7"==t?(n["--prev-bg-menu-hover-ba-color"]="#f34d37",n["--prev-bg-menuBar"]="#282c34",n["--prev-border-color-lighter"]="#282c34"):(n["--prev-border-color-lighter"]="#ebeef5",n["--prev-bg-topBar"]="#fff",n["--prev-bg-topBarColor"]="#515a6e",n["--prev-bg-menuBarColor"]="#515a6e",n["--prev-MenuActiveColor"]="#515a6e")):"columns"===this.getThemeConfig.layout?(n["--prev-bg-topBar"]="#fff",n["--prev-bg-topBarColor"]="#515a6e",n["--prev-bg-menuBar"]="#fff",n["--prev-bg-menuBarColor"]="#303133",n["--prev-border-color-lighter"]="#ebeef5","theme-1"==t?(n["--prev-bg-menu-hover-ba-color"]="#e5eeff",n["--prev-color-primary"]="#0256FF",n["--prev-MenuActiveColor"]="#0256FF"):"theme-3"==t?(n["--prev-bg-menu-hover-ba-color"]="#ecf8f3",n["--prev-color-primary"]="#41b584",n["--prev-MenuActiveColor"]="#41b584"):"theme-5"==t?(n["--prev-bg-menu-hover-ba-color"]="#f0eefe",n["--prev-color-primary"]="#6954f0",n["--prev-MenuActiveColor"]="#6954f0"):"theme-7"==t&&(n["--prev-bg-menu-hover-ba-color"]="#feedeb",n["--prev-color-primary"]="#f34d37",n["--prev-MenuActiveColor"]="#f34d37")):"theme-1"==t?(n["--prev-bg-menuBar"]="#282c34",n["--prev-color-primary"]="#0256FF",n["--prev-bg-topBarColor"]="#282c34",n["--prev-bg-topBar"]="#fff",n["--prev-bg-menuBarColor"]="#fff",n["--prev-MenuActiveColor"]="#fff",n["--prev-bg-menu-hover-ba-color"]="#0256FF"):"theme-3"==t?(n["--prev-bg-menuBar"]="#282c34",n["--prev-color-primary"]="#41b584",n["--prev-bg-topBar"]="#fff",n["--prev-bg-topBarColor"]="#282c34",n["--prev-bg-menuBarColor"]="#fff",n["--prev-MenuActiveColor"]="#fff",n["--prev-bg-menu-hover-ba-color"]="#41b584"):"theme-5"==t?(n["--prev-bg-menuBar"]="#282c34",n["--prev-bg-topBarColor"]="#282c34",n["--prev-color-primary"]="#6954f0",n["--prev-bg-topBar"]="#fff",n["--prev-bg-menuBarColor"]="#fff",n["--prev-MenuActiveColor"]="#fff",n["--prev-bg-menu-hover-ba-color"]="#6954f0"):"theme-7"==t&&(n["--prev-bg-menuBar"]="#282c34",n["--prev-bg-topBar"]="#fff",n["--prev-bg-topBarColor"]="#282c34",n["--prev-color-primary"]="#f34d37",n["--prev-bg-menuBarColor"]="#fff",n["--prev-MenuActiveColor"]="#fff",n["--prev-bg-menu-hover-ba-color"]="#f34d37"),["theme-1","theme-2"].includes(t)?this.$store.state.themeConfig.themeConfig.primary="#0256FF":["theme-3","theme-4"].includes(t)?this.$store.state.themeConfig.themeConfig.primary="#41a584":["theme-5","theme-6"].includes(t)?this.$store.state.themeConfig.themeConfig.primary="#6954f0":["theme-7","theme-8"].includes(t)?this.$store.state.themeConfig.themeConfig.primary="#f34d37":this.$store.state.themeConfig.themeConfig.primary="#0256FF",n)document.documentElement.style.setProperty(e,n[e]);this.$nextTick((function(t){a.onColorPickerChange()}))},onMenuBgColorChange:function(){this.getThemeConfig.menuBgColor&&(document.documentElement.style.setProperty("--prev-bg-menuBar",this.getThemeConfig.menuBgColor),this.setLocalThemeConfig())},onAddDarkChange:function(){var t=document.documentElement;this.getThemeConfig.isIsDark?t.setAttribute("data-theme","dark"):t.setAttribute("data-theme",""),this.setLocalThemeConfig()},initLayoutConfig:function(){var t=this;window.addEventListener("load",(function(){t.onColorPickerChange(),t.$store.state.themeConfig.themeConfig.isGrayscale&&t.onAddFilterChange("grayscale"),t.$store.state.themeConfig.themeConfig.isInvert&&t.onAddFilterChange("invert"),t.$store.state.themeConfig.themeConfig.isIsDark&&t.onAddDarkChange(),s.a.get("themeConfigPrev")&&(t.$i18n.locale=s.a.get("themeConfigPrev").globalI18n)}))},setLocalThemeConfig:function(){s.a.remove("themeConfigPrev"),s.a.set("themeConfigPrev",this.$store.state.themeConfig.themeConfig),this.setLocalThemeConfigStyle()},setLocalThemeConfigStyle:function(){s.a.set("themeConfigStyle",document.documentElement.style.cssText)},openDrawer:function(){this.$store.state.themeConfig.themeConfig.isDrawer=!0},onDrawerClose:function(){this.$store.state.themeConfig.themeConfig.isDrawer=!1,this.setLocalThemeConfig()},onAddFilterChange:function(t){"grayscale"===t?this.$store.state.themeConfig.themeConfig.isGrayscale&&(this.$store.state.themeConfig.themeConfig.isInvert=!1):this.$store.state.themeConfig.themeConfig.isInvert&&(this.$store.state.themeConfig.themeConfig.isGrayscale=!1),t="grayscale"===t?"grayscale(".concat(this.$store.state.themeConfig.themeConfig.isGrayscale?1:0,")"):"invert(".concat(this.$store.state.themeConfig.themeConfig.isInvert?"80%":"0%",")"),document.body.setAttribute("style","filter: ".concat(t,";")),this.setLocalThemeConfig()},onSetLayout:function(t){if(s.a.set("oldLayout",t),this.$store.state.themeConfig.themeConfig.layout===t)return!1;["classic","transverse"].includes(t)?this.$store.state.themeConfig.themeConfig.isTagsview=!1:this.$store.state.themeConfig.themeConfig.isTagsview=!0,this.$store.state.themeConfig.themeConfig.layout=t,this.$store.state.themeConfig.themeConfig.isDrawer=!1,this.$store.state.themeConfig.themeConfig.columnsAsideStyle="columns-card",this.setLocalTheme(this.$store.state.themeConfig.themeConfig.themeStyle)},onBgColorPickerChange:function(t,e){document.documentElement.style.setProperty("--prev-bg-".concat(t),e),this.setLocalThemeConfigStyle()},onCopyConfigClick:function(){var t=this,e=(this.$store.state.themeConfig.themeConfig.isDrawer=!1,new l.a(".copy-config-btn",{text:function(){return JSON.stringify(t.$store.state.themeConfig.themeConfig)}}));e.on("success",(function(){t.$message.success("配置复制成功"),t.isDrawer=!1,e.destroy()})),e.on("error",(function(){t.$message.error("配置复制失败")}))},onResetConfigClick:function(){s.a.clear(),window.location.reload(),s.a.set("version",d.version)}}},a("e4d4"),a("7165"),a("2877")),p=(o=Object(f.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"layout-breadcrumb-seting"},[e("el-drawer",{attrs:{title:"主题编辑",visible:t.getThemeConfig.isDrawer,direction:"rtl","destroy-on-close":"",size:"320px"},on:{"update:visible":function(e){return t.$set(t.getThemeConfig,"isDrawer",e)},close:t.onDrawerClose}},[e("el-scrollbar",{staticClass:"layout-breadcrumb-seting-bar el-main"},[e("el-divider",{attrs:{"content-position":t.contentPosotion}},[t._v(t._s(t.$t("message.layout.sixTitle")))]),e("div",{staticClass:"layout-drawer-content-flex"},[e("div",{staticClass:"layout-drawer-content-item",class:{"drawer-layout-active":"defaults"===t.getThemeConfig.layout},on:{click:function(e){return t.onSetLayout("defaults")}}},[e("section",{staticClass:"el-container el-circular"},[e("aside",{staticClass:"el-aside w10 mr5",staticStyle:{width:"17px"}}),e("section",{staticClass:"el-container is-vertical"},[e("header",{staticClass:"el-header mb5",staticStyle:{height:"10px"}}),e("main",{staticClass:"el-main"})])])]),e("div",{staticClass:"layout-drawer-content-item",class:{"drawer-layout-active":"columns"===t.getThemeConfig.layout},on:{click:function(e){return t.onSetLayout("columns")}}},[e("section",{staticClass:"el-container el-circular"},[e("aside",{staticClass:"el-aside mr5",staticStyle:{width:"10px"}}),e("aside",{staticClass:"el-aside-dark mr5",staticStyle:{width:"17px"}}),e("section",{staticClass:"el-container is-vertical"},[e("header",{staticClass:"el-header mb5",staticStyle:{height:"10px"}}),e("main",{staticClass:"el-main"})])])]),e("div",{staticClass:"layout-drawer-content-item",class:{"drawer-layout-active":"classic"===t.getThemeConfig.layout},on:{click:function(e){return t.onSetLayout("classic")}}},[e("section",{staticClass:"el-container is-vertical el-circular"},[e("header",{staticClass:"el-aside mb5",staticStyle:{height:"10px"}}),e("section",{staticClass:"el-container"},[e("aside",{staticClass:"el-aside-dark mr5",staticStyle:{width:"17px"}}),e("section",{staticClass:"el-container is-vertical"},[e("main",{staticClass:"el-main"})])])])]),e("div",{staticClass:"layout-drawer-content-item",class:{"drawer-layout-active":"transverse"===t.getThemeConfig.layout},on:{click:function(e){return t.onSetLayout("transverse")}}},[e("section",{staticClass:"el-container is-vertical el-circular"},[e("header",{staticClass:"el-aside mb5",staticStyle:{height:"10px"}}),e("section",{staticClass:"el-container"},[e("section",{staticClass:"el-container is-vertical"},[e("main",{staticClass:"el-main"})])])])])]),e("el-divider",{attrs:{"content-position":t.contentPosotion}},[t._v(t._s(t.$t("message.layout.threeTitle")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mb10"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.themeStyle")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-select",{staticStyle:{width:"90px"},attrs:{placeholder:"请选择",size:"mini"},on:{change:t.setLocalTheme},model:{value:t.getThemeConfig.themeStyle,callback:function(e){t.$set(t.getThemeConfig,"themeStyle",e)},expression:"getThemeConfig.themeStyle"}},[e("el-option",{attrs:{label:"蓝黑",value:"theme-1"}}),e("el-option",{attrs:{label:"蓝白",value:"theme-2"}}),e("el-option",{attrs:{label:"绿黑",value:"theme-3"}}),e("el-option",{attrs:{label:"绿白",value:"theme-4"}}),e("el-option",{attrs:{label:"紫黑",value:"theme-5"}}),e("el-option",{attrs:{label:"紫白",value:"theme-6"}}),e("el-option",{attrs:{label:"红黑",value:"theme-7"}}),e("el-option",{attrs:{label:"红白",value:"theme-8"}}),"columns"===t.getThemeConfig.layout?e("el-option",{attrs:{label:"渐变",value:"theme-9"}}):t._e()],1)],1)]),"columns"===t.getThemeConfig.layout||"defaults"===t.getThemeConfig.layout?e("div",{staticClass:"layout-breadcrumb-seting-bar-flex"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.threeIsCollapse")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-switch",{attrs:{width:35},on:{change:t.setLocalThemeConfig},model:{value:t.getThemeConfig.isCollapse,callback:function(e){t.$set(t.getThemeConfig,"isCollapse",e)},expression:"getThemeConfig.isCollapse"}})],1)]):t._e(),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mt15"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.threeIsUniqueOpened")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-switch",{attrs:{width:35},on:{change:t.setLocalThemeConfig},model:{value:t.getThemeConfig.isUniqueOpened,callback:function(e){t.$set(t.getThemeConfig,"isUniqueOpened",e)},expression:"getThemeConfig.isUniqueOpened"}})],1)]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mt15"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.threeIsFixedHeader")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-switch",{attrs:{width:35},on:{change:t.setLocalThemeConfig},model:{value:t.getThemeConfig.isFixedHeader,callback:function(e){t.$set(t.getThemeConfig,"isFixedHeader",e)},expression:"getThemeConfig.isFixedHeader"}})],1)]),e("el-divider",{attrs:{"content-position":t.contentPosotion}},[t._v(t._s(t.$t("message.layout.fourTitle")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.fourIsShowLogo")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-switch",{attrs:{width:35},on:{change:t.setLocalThemeConfig},model:{value:t.getThemeConfig.isShowLogo,callback:function(e){t.$set(t.getThemeConfig,"isShowLogo",e)},expression:"getThemeConfig.isShowLogo"}})],1)]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mt15",style:{opacity:"classic"===t.getThemeConfig.layout||"transverse"===t.getThemeConfig.layout?.5:1}},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.fourIsBreadcrumb")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-switch",{attrs:{disabled:"classic"===t.getThemeConfig.layout||"transverse"===t.getThemeConfig.layout,width:35},on:{change:t.setLocalThemeConfig},model:{value:t.getThemeConfig.isBreadcrumb,callback:function(e){t.$set(t.getThemeConfig,"isBreadcrumb",e)},expression:"getThemeConfig.isBreadcrumb"}})],1)]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mt15"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.fourIsBreadcrumbIcon")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-switch",{attrs:{width:35},on:{change:t.setLocalThemeConfig},model:{value:t.getThemeConfig.isBreadcrumbIcon,callback:function(e){t.$set(t.getThemeConfig,"isBreadcrumbIcon",e)},expression:"getThemeConfig.isBreadcrumbIcon"}})],1)]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mt15"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.fourIsTagsview")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-switch",{attrs:{width:35},on:{change:t.setLocalThemeConfig},model:{value:t.getThemeConfig.isTagsview,callback:function(e){t.$set(t.getThemeConfig,"isTagsview",e)},expression:"getThemeConfig.isTagsview"}})],1)]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mt15"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.fourIsFooter")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-switch",{attrs:{width:35},on:{change:t.setLocalThemeConfig},model:{value:t.getThemeConfig.isFooter,callback:function(e){t.$set(t.getThemeConfig,"isFooter",e)},expression:"getThemeConfig.isFooter"}})],1)]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mt15"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.fourIsGrayscale")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-switch",{attrs:{width:35},on:{change:function(e){return t.onAddFilterChange("grayscale")}},model:{value:t.getThemeConfig.isGrayscale,callback:function(e){t.$set(t.getThemeConfig,"isGrayscale",e)},expression:"getThemeConfig.isGrayscale"}})],1)]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mt15"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.fourIsInvert")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-switch",{attrs:{width:35},on:{change:function(e){return t.onAddFilterChange("invert")}},model:{value:t.getThemeConfig.isInvert,callback:function(e){t.$set(t.getThemeConfig,"isInvert",e)},expression:"getThemeConfig.isInvert"}})],1)]),e("el-divider",{attrs:{"content-position":t.contentPosotion}},[t._v(t._s(t.$t("message.layout.fiveTitle")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mt15"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.fiveTagsStyle")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-radio-group",{attrs:{disabled:!t.getThemeConfig.isTagsview,size:"mini"},on:{change:t.setLocalThemeConfig},model:{value:t.getThemeConfig.tagsStyle,callback:function(e){t.$set(t.getThemeConfig,"tagsStyle",e)},expression:"getThemeConfig.tagsStyle"}},[e("el-radio-button",{attrs:{label:"tags-style-one"}},[t._v("卡片")]),e("el-radio-button",{attrs:{label:"tags-style-four"}},[t._v("灵动")]),e("el-radio-button",{attrs:{label:"tags-style-five"}},[t._v("圆滑")])],1)],1)]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mt15"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.fiveAnimation")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-radio-group",{attrs:{size:"mini"},on:{input:t.setLocalThemeConfig},model:{value:t.getThemeConfig.animation,callback:function(e){t.$set(t.getThemeConfig,"animation",e)},expression:"getThemeConfig.animation"}},[e("el-radio-button",{attrs:{label:"slide-left"}},[t._v("左滑")]),e("el-radio-button",{attrs:{label:"opacitys"}},[t._v("透明")]),e("el-radio-button",{attrs:{label:"slide-right"}},[t._v("右滑")]),e("el-radio-button",{attrs:{label:"no-transition"}},[t._v("无")])],1)],1)]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mt15",class:{mb28:"columns"!==t.getThemeConfig.layout&&"classic"!==t.getThemeConfig.layout}},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.fiveColumnsAsideStyle")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-radio-group",{attrs:{size:"mini"},on:{input:t.setLocalThemeConfig},model:{value:t.getThemeConfig.columnsAsideStyle,callback:function(e){t.$set(t.getThemeConfig,"columnsAsideStyle",e)},expression:"getThemeConfig.columnsAsideStyle"}},[e("el-radio-button",{attrs:{label:"columns-round"}},[t._v("圆角")]),e("el-radio-button",{attrs:{label:"columns-card"}},[t._v("卡片")])],1)],1)]),"columns"===t.getThemeConfig.layout||"classic"===t.getThemeConfig.layout?e("div",{staticClass:"layout-breadcrumb-seting-bar-flex mt15 mb28"},[e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-label"},[t._v(t._s(t.$t("message.layout.fiveColumnsAsideLayout")))]),e("div",{staticClass:"layout-breadcrumb-seting-bar-flex-value"},[e("el-radio-group",{attrs:{size:"mini"},on:{input:t.setLocalThemeConfig},model:{value:t.getThemeConfig.columnsAsideLayout,callback:function(e){t.$set(t.getThemeConfig,"columnsAsideLayout",e)},expression:"getThemeConfig.columnsAsideLayout"}},[e("el-radio-button",{attrs:{label:"columns-horizontal"}},[t._v("水平")]),e("el-radio-button",{attrs:{label:"columns-vertical"}},[t._v("垂直")])],1)],1)]):t._e()],1)],1)],1)}),[],!1,null,"6446cb1a",null).exports,a("14d9"),a("d708")),g={data:function(){return{isUpgrade:!1,version:d.version,isLoading:!1,btnTxt:""}},computed:{getThemeConfig:function(){return this.$store.state.themeConfig.themeConfig}},methods:{onCancel:function(){this.isUpgrade=!1},onUpgrade:function(){var t=this;this.isLoading=!0,this.btnTxt=this.$t("message.upgrade.btnTwoLoading"),setTimeout((function(){s.a.clear(),s.b.clear(),s.a.set("version",t.version),t.$router.push({path:"".concat(p.a.routePre,"/login")})}),2e3)},delayShow:function(){var t=this;setTimeout((function(){t.btnTxt=t.$t("message.upgrade.btnTwo")}),1e3),setTimeout((function(){t.isUpgrade=!0}),2e3)}},mounted:function(){this.delayShow()}},b=(o=(a("3044"),{name:"app",components:{Setings:o,Upgrade:Object(f.a)(g,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"upgrade-dialog"},[e("el-dialog",{attrs:{visible:t.isUpgrade,width:"470px","destroy-on-close":"","show-close":!0,"close-on-click-modal":!1,"close-on-press-escape":!1},on:{"update:visible":function(e){t.isUpgrade=e}}},[e("div",{staticClass:"upgrade-title"},[e("div",{staticClass:"upgrade-title-warp"},[e("span",{staticClass:"upgrade-title-warp-txt"},[t._v(t._s(t.$t("message.upgrade.title")))]),e("span",{staticClass:"upgrade-title-warp-version"},[t._v("v"+t._s(t.version))])])]),e("div",{staticClass:"upgrade-content"},[t._v("\n "+t._s(t.getThemeConfig.globalTitle)+" "+t._s(t.$t("message.upgrade.msg"))+"\n "),e("div",{staticClass:"mt5"},[e("el-link",{staticClass:"font12",attrs:{type:"primary",href:"xx",target:"_black"}},[t._v(" CHANGELOG.md ")])],1),e("div",{staticClass:"upgrade-content-desc mt5"},[t._v(t._s(t.$t("message.upgrade.desc")))])]),e("div",{staticClass:"upgrade-btn"},[e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],attrs:{round:"",size:"small"},on:{click:t.onCancel}},[t._v(t._s(t.$t("message.upgrade.btnOne")))]),e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],attrs:{type:"primary",round:"",size:"small",loading:t.isLoading},on:{click:t.onUpgrade}},[t._v(t._s(t.btnTxt))])],1)])],1)}),[],!1,null,"1580cd92",null).exports},provide:function(){return{reload:this.reload}},data:function(){return{isVersion:!1}},methods:Object(i.a)(Object(i.a)({},Object(e.c)("media",["setDevice"])),{},{handleWindowResize:function(){this.handleMatchMedia()},handleMatchMedia:function(){var t=window.matchMedia;t("(max-width: 600px)").matches?(document.documentElement.clientWidth||window.innerWidth,document.documentElement.style.fontSize="calc(100vw/7.5)",this.setDevice("Mobile")):t("(max-width: 992px)").matches?this.setDevice("Tablet"):this.setDevice("Desktop")},reload:function(){var t=this;this.isRouterAlive=!1,this.$nextTick((function(){t.isRouterAlive=!0}))},openSetingsDrawer:function(){var t=this;this.bus.$on("openSetingsDrawer",(function(){t.$refs.setingsRef.openDrawer()}))},getLayoutThemeConfig:function(){s.a.get("themeConfigPrev")?(this.$store.dispatch("themeConfig/setThemeConfig",s.a.get("themeConfigPrev")),document.documentElement.style.cssText=s.a.get("themeConfigStyle")):s.a.set("themeConfigPrev",this.$store.state.themeConfig.themeConfig)},getVersion:function(){this.isVersion=!1,this.$route.path!=="".concat(p.a.routePre,"/login")&&"/"!==this.$route.path&&(s.a.get("version")&&s.a.get("version")!==d.version||!s.a.get("version"))&&(this.isVersion=!0)}}),mounted:function(){this.handleMatchMedia(),this.openSetingsDrawer(),this.getLayoutThemeConfig(),this.$nextTick((function(t){}))},destroyed:function(){this.bus.$off("openSetingsDrawer")}}),a("9bad"),a("d88b"),Object(f.a)(o,(function(){var t=this._self._c;return t("div",{attrs:{id:"app"}},[t("router-view"),t("Setings",{ref:"setingsRef"})],1)}),[],!1,null,null,null).exports),v=(g=a("a18c"),a("4360")),A=(e=a("a925"),o=a("f0d9"),o=a.n(o),a("b2d6")),y=(A=a.n(A),a("c87b")),k=(y=a.n(y),o=(c.default.use(e.a),{"zh-cn":Object(i.a)(Object(i.a)({},o.a),{},{message:Object(i.a)(Object(i.a)(Object(i.a)({},{router:{home:"首页",system:"系统设置",systemMenu:"菜单管理",systemUser:"用户管理",limits:"权限管理",limitsFrontEnd:"前端控制",limitsFrontEndPage:"页面权限",limitsFrontEndBtn:"按钮权限",limitsBackEnd:"后端控制",limitsBackEndEndPage:"页面权限",menu:"菜单嵌套",menu1:"菜单1",menu11:"菜单11",menu12:"菜单12",menu121:"菜单121",menu122:"菜单122",menu13:"菜单13",menu2:"菜单2",funIndex:"功能",funTagsView:"tagsView 操作",funSignCanvas:"在线签名",funCountup:"countup 数字滚动",funEchartsTree:"echartsTree 树图",funSelector:"图标选择器",funWangEditor:"wangEditor 编辑器",funCropper:"cropper 图片裁剪",funMindMap:"G6 思维导图",funQrcode:"qrcode 二维码生成",funEchartsMap:"地理坐标/地图",funPrintJs:"页面打印",funClipboard:"复制剪切",funScreenShort:"web端自定义截屏",pagesIndex:"页面",pagesFiltering:"过滤筛选组件",pagesFilteringDetails:"过滤筛选组件详情",pagesFilteringDetails1:"过滤筛选组件详情111",pagesIocnfont:"iconfont 字体图标",pagesElement:"element 字体图标",pagesAwesome:"awesome 字体图标",pagesCityLinkage:"城市多级联动",pagesFormAdapt:"表单自适应",pagesListAdapt:"列表自适应",pagesWaterfall:"瀑布屏",pagesSteps:"步骤条",chartIndex:"大数据图表",personal:"个人中心",tools:"工具类集合",layoutLinkView:"外链",layoutIfameView:"内嵌 iframe"},staticRoutes:{signIn:"登录",notFound:"找不到此页面",noPower:"没有权限"},user:{title0:"组件大小",title1:"语言切换",title2:"菜单搜索",title3:"布局配置",title4:"消息",title5:"开全屏",title6:"关全屏",title7:"刷新",dropdownDefault:"默认",dropdownMedium:"中等",dropdownSmall:"小型",dropdownMini:"超小",dropdown1:"首页",dropdown2:"个人中心",dropdown3:"404",dropdown4:"401",dropdown5:"退出登录",dropdown6:"个人中心",searchPlaceholder:"菜单搜索:菜单名称、配置名称",newTitle:"通知",newBtn:"全部已读",newGo:"前往通知中心",newDesc:"暂无通知",logOutTitle:"提示",logOutMessage:"此操作将退出登录, 是否继续?",logOutConfirm:"确定",logOutCancel:"取消",logOutExit:"退出中",logOutSuccess:"安全退出成功!"},tagsView:{refresh:"刷新",close:"关闭",closeOther:"关闭其它",closeAll:"全部关闭",fullscreen:"当前页全屏"},notFound:{foundTitle:"地址输入错误,请重新输入地址~",foundMsg:"您可以先检查网址,然后重新输入或给我们反馈问题。",foundBtn:"返回首页"},layout:{configTitle:"布局配置",oneTitle:"全局主题",menuBag:"菜单背景色",twoTitle:"菜单 / 顶栏",twoTopBar:"顶栏背景",twoMenuBar:"菜单背景",twoColumnsMenuBar:"分栏菜单背景",twoTopBarColor:"顶栏默认字体颜色",twoMenuBarColor:"菜单默认字体颜色",twoColumnsMenuBarColor:"分栏菜单默认字体颜色",twoIsTopBarColorGradual:"顶栏背景渐变",twoIsMenuBarColorGradual:"菜单背景渐变",twoIsMenuBarColorHighlight:"菜单字体背景高亮",threeTitle:"界面设置",threeIsCollapse:"菜单水平折叠",threeIsUniqueOpened:"菜单手风琴",threeIsFixedHeader:"固定 Header",threeIsClassicSplitMenu:"经典布局分割菜单",threeIsLockScreen:"开启锁屏",threeLockScreenTime:"自动锁屏(s/秒)",fourTitle:"界面显示",fourIsShowLogo:"侧边栏 Logo",fourIsBreadcrumb:"面包屑",fourIsBreadcrumbIcon:"面包屑图标",fourIsTagsview:"历史菜单",fourIsTagsviewIcon:"历史菜单 图标",fourIsFooter:"Footer",fourIsGrayscale:"灰色模式",fourIsInvert:"色弱模式",fourIsDark:"深色模式",fourIsWartermark:"开启水印",fourWartermarkText:"水印文案",fiveTitle:"其它设置",fiveTagsStyle:"历史菜单风格",themeStyle:"主题",fiveAnimation:"主页面切换动画",fiveColumnsAsideStyle:"菜单高亮风格",fiveColumnsAsideLayout:"顶级菜单风格",sixTitle:"布局切换",sixDefaults:"默认",sixClassic:"经典",sixTransverse:"横向",sixColumns:"分栏",tipText:"点击下方按钮,复制布局配置去 `src/store/modules/themeConfig.js` 中修改。",copyText:"一键复制配置",resetText:"一键恢复默认",copyTextSuccess:"复制成功!",copyTextError:"复制失败!"},upgrade:{title:"新版本升级",msg:"新版本来啦,马上更新尝鲜吧!不用担心,更新很快的哦!",desc:"提示:更新会还原默认配置",btnOne:"残忍拒绝",btnTwo:"马上更新",btnTwoLoading:"更新中"}}),{card:{title1:"我的工作台",title2:"消息通知",title3:"更多",title4:"营销推荐",title5:"更多",title6:"库存作业",title7:"履约情况",title8:"缺货监控",title9:"履约超时预警"}}),{login:{placeholder1:"",placeholder2:"",placeholder3:"",btnText:"登 录",link:{one1:"",one2:""},signInText:"",copyright:{one5:"",two6:""}}})}),en:Object(i.a)(Object(i.a)({},A.a),{},{message:Object(i.a)(Object(i.a)(Object(i.a)({},{router:{home:"home",system:"system",systemMenu:"systemMenu",systemUser:"systemUser",limits:"limits",limitsFrontEnd:"FrontEnd",limitsFrontEndPage:"FrontEndPage",limitsFrontEndBtn:"FrontEndBtn",limitsBackEnd:"BackEnd",limitsBackEndEndPage:"BackEndEndPage",menu:"menu",menu1:"menu1",menu11:"menu11",menu12:"menu12",menu121:"menu121",menu122:"menu122",menu13:"menu13",menu2:"menu2",funIndex:"function",funTagsView:"funTagsView",funSignCanvas:"Online signature",funCountup:"countup",funEchartsTree:"echartsTree",funSelector:"funSelector",funWangEditor:"wangEditor",funCropper:"cropper",funMindMap:"G6 MindMap",funQrcode:"qrcode",funEchartsMap:"EchartsMap",funPrintJs:"PrintJs",funClipboard:"Copy cut",funScreenShort:"screenCapture",pagesIndex:"pages",pagesFiltering:"Filtering",pagesFilteringDetails:"FilteringDetails",pagesFilteringDetails1:"FilteringDetails1",pagesIocnfont:"iconfont icon",pagesElement:"element icon",pagesAwesome:"awesome icon",pagesCityLinkage:"CityLinkage",pagesFormAdapt:"FormAdapt",pagesListAdapt:"ListAdapt",pagesWaterfall:"Waterfall",pagesSteps:"Steps",chartIndex:"chartIndex",personal:"personal",tools:"tools",layoutLinkView:"LinkView",layoutIfameView:"IfameView"},staticRoutes:{signIn:"signIn",notFound:"notFound",noPower:"noPower"},user:{title0:"Component size",title1:"Language switching",title2:"Menu search",title3:"Layout configuration",title4:"news",title5:"Full screen on",title6:"Full screen off",dropdownDefault:"default",dropdownMedium:"medium",dropdownSmall:"small",dropdownMini:"mini",dropdown1:"home page",dropdown2:"Personal Center",dropdown3:"404",dropdown4:"401",dropdown5:"Log out",dropdown6:"Code warehouse",searchPlaceholder:"Menu search: support Chinese, routing path",newTitle:"notice",newBtn:"All read",newGo:"Go to the notification center",newDesc:"No notice",logOutTitle:"Tips",logOutMessage:"This operation will log out. Do you want to continue?",logOutConfirm:"determine",logOutCancel:"cancel",logOutExit:"Exiting",logOutSuccess:"Exit successfully!"},tagsView:{refresh:"refresh",close:"close",closeOther:"closeOther",closeAll:"closeAll",fullscreen:"fullscreen"},notFound:{foundTitle:"Wrong address input, please re-enter the address~",foundMsg:"You can check the web address first, and then re-enter or give us feedback.",foundBtn:"Back to home page"},layout:{configTitle:"Layout configuration",oneTitle:"Global Themes",menuBag:"Menu BG Color",twoTitle:"Menu / top bar",twoTopBar:"Top bar background",twoMenuBar:"Menu background",twoColumnsMenuBar:"Column menu background",twoTopBarColor:"Top bar default font color",twoMenuBarColor:"Menu default font color",twoColumnsMenuBarColor:"Default font color bar menu",twoIsTopBarColorGradual:"Top bar gradient",twoIsMenuBarColorGradual:"Menu gradient",twoIsMenuBarColorHighlight:"Menu font highlight",threeTitle:"Interface settings",threeIsCollapse:"Menu horizontal collapse",threeIsUniqueOpened:"Menu accordion",threeIsFixedHeader:"Fixed header",threeIsClassicSplitMenu:"Classic layout split menu",threeIsLockScreen:"Open the lock screen",threeLockScreenTime:"screen locking(s/s)",fourTitle:"Interface display",fourIsShowLogo:"Sidebar logo",fourIsBreadcrumb:"Open breadcrumb",fourIsBreadcrumbIcon:"Open breadcrumb icon",fourIsTagsview:"Open tagsview",fourIsTagsviewIcon:"Open tagsview Icon",fourIsFooter:"Open footer",fourIsGrayscale:"Grey model",fourIsInvert:"Color weak mode",fourIsDark:"Dark Mode",fourIsWartermark:"Turn on watermark",fourWartermarkText:"Watermark copy",fiveTitle:"Other settings",fiveTagsStyle:"Tagsview style",themeStyle:"Theme",fiveAnimation:"page animation",fiveColumnsAsideStyle:"Column style",fiveColumnsAsideLayout:"Column layout",sixTitle:"Layout switch",sixDefaults:"One",sixClassic:"Two",sixTransverse:"Three",sixColumns:"Four",tipText:"Click the button below to copy the layout configuration to `/src/store/modules/themeConfig.js` It has been modified in.",copyText:"replication configuration",resetText:"restore default",copyTextSuccess:"Copy succeeded!",copyTextError:"Copy failed!"},upgrade:{title:"New version",msg:"The new version is available, please update it now! Dont worry, the update is fast!",desc:"Prompt: Update will restore the default configuration",btnOne:"Cruel refusal",btnTwo:"Update now",btnTwoLoading:"Updating"}}),{card:{title1:"My desk",title2:"Message notification",title3:"more",title4:"Marketing recommendation",title5:"more",title6:"Inventory operations",title7:"Performance",title8:"Out of stock monitoring",title9:"Performance overtime warning"}}),{login:{placeholder1:"",placeholder2:"",placeholder3:"",btnText:"Sign in",link:{one1:"",one2:""},signInText:"welcome back!",copyright:{one5:"",two6:""}}})}),"zh-tw":Object(i.a)(Object(i.a)({},y.a),{},{message:Object(i.a)(Object(i.a)(Object(i.a)({},{router:{home:"首頁",system:"系統設置",systemMenu:"選單管理",systemUser:"用戶管理",limits:"許可權管理",limitsFrontEnd:"前端控制",limitsFrontEndPage:"頁面許可權",limitsFrontEndBtn:"按鈕許可權",limitsBackEnd:"後端控制",limitsBackEndEndPage:"頁面許可權",menu:"選單嵌套",menu1:"選單1",menu11:"選單11",menu12:"選單12",menu121:"選單121",menu122:"選單122",menu13:"選單13",menu2:"選單2",funIndex:"功能",funTagsView:"tagsView 操作",funSignCanvas:"線上簽名",funCountup:"countup 數位滾動",funEchartsTree:"echartsTree 樹圖",funSelector:"圖標選擇器",funWangEditor:"wangEditor 編輯器",funCropper:"cropper 圖片裁剪",funMindMap:"G6 心智圖",funQrcode:"qrcode 二維碼生成",funEchartsMap:"地理座標/地圖",funPrintJs:"頁面列印",funClipboard:"複製剪切",funScreenShort:"自定義截圖",pagesIndex:"頁面",pagesFiltering:"過濾篩選組件",pagesFilteringDetails:"過濾篩選組件詳情",pagesFilteringDetails1:"過濾篩選組件詳情111",pagesIocnfont:"iconfont 字體圖標",pagesElement:"element 字體圖標",pagesAwesome:"awesome 字體圖標",pagesCityLinkage:"都市多級聯動",pagesFormAdapt:"表單自我調整",pagesListAdapt:"清單自我調整",pagesWaterfall:"瀑布屏",pagesSteps:"步驟條",chartIndex:"大資料圖表",personal:"個人中心",tools:"工具類集合",layoutLinkView:"外鏈",layoutIfameView:"内嵌 iframe"},staticRoutes:{signIn:"登入",notFound:"找不到此頁面",noPower:"沒有許可權"},user:{title0:"組件大小",title1:"語言切換",title2:"選單蒐索",title3:"佈局配寘",title4:"消息",title5:"開全屏",title6:"關全屏",title7:"重繪",dropdownDefault:"默認",dropdownMedium:"中等",dropdownSmall:"小型",dropdownMini:"超小",dropdown1:"首頁",dropdown2:"個人中心",dropdown3:"404",dropdown4:"401",dropdown5:"登出",dropdown6:"程式碼倉庫",searchPlaceholder:"選單蒐索:支援中文、路由路徑",newTitle:"通知",newBtn:"全部已讀",newGo:"前往通知中心",newDesc:"暫無通知",logOutTitle:"提示",logOutMessage:"此操作將登出,是否繼續?",logOutConfirm:"確定",logOutCancel:"取消",logOutExit:"退出中",logOutSuccess:"安全退出成功!"},tagsView:{refresh:"重繪",close:"關閉",closeOther:"關閉其它",closeAll:"全部關閉",fullscreen:"當前頁全屏"},notFound:{foundTitle:"地址輸入錯誤,請重新輸入地址~",foundMsg:"您可以先檢查網址,然後重新輸入或給我們迴響問題。",foundBtn:"返回首頁"},layout:{configTitle:"佈局配寘",oneTitle:"全域主題",menuBag:"菜單背景色",twoTitle:"選單 / 頂欄",twoTopBar:"頂欄背景",twoMenuBar:"選單背景",twoColumnsMenuBar:"分欄選單背景",twoTopBarColor:"頂欄默認字體顏色",twoMenuBarColor:"選單默認字體顏色",twoColumnsMenuBarColor:"分欄選單默認字體顏色",twoIsTopBarColorGradual:"頂欄背景漸變",twoIsMenuBarColorGradual:"選單背景漸變",twoIsMenuBarColorHighlight:"選單字體背景高亮",threeTitle:"介面設定",threeIsCollapse:"選單水准折疊",threeIsUniqueOpened:"選單手風琴",threeIsFixedHeader:"固定 Header",threeIsClassicSplitMenu:"經典佈局分割選單",threeIsLockScreen:"開啟鎖屏",threeLockScreenTime:"自動鎖屏(s/秒)",fourTitle:"介面顯示",fourIsShowLogo:"側邊欄 Logo",fourIsBreadcrumb:"開啟 Breadcrumb",fourIsBreadcrumbIcon:"開啟 Breadcrumb 圖標",fourIsTagsview:"開啟 Tagsview",fourIsTagsviewIcon:"開啟 Tagsview 圖標",fourIsFooter:"開啟 Footer",fourIsGrayscale:"灰色模式",fourIsInvert:"色弱模式",fourIsDark:"深色模式",fourIsWartermark:"開啟浮水印",fourWartermarkText:"浮水印文案",fiveTitle:"其它設定",fiveTagsStyle:"Tagsview 風格",themeStyle:"主題",fiveAnimation:"主頁面切換動畫",fiveColumnsAsideStyle:"分欄高亮風格",fiveColumnsAsideLayout:"分欄佈局風格",sixTitle:"佈局切換",sixDefaults:"默認",sixClassic:"經典",sixTransverse:"橫向",sixColumns:"分欄",tipText:"點擊下方按鈕,複製佈局配寘去`src/store/modules/themeConfig.js`中修改。",copyText:"一鍵複製配寘",resetText:"一鍵恢復默認",copyTextSuccess:"複製成功!",copyTextError:"複製失敗!"},upgrade:{title:"新版本陞級",msg:"新版本來啦,馬上更新嘗鮮吧! 不用擔心,更新很快的哦!",desc:"提示:更新會還原默認配寘",btnOne:"殘忍拒絕",btnTwo:"馬上更新",btnTwoLoading:"更新中"}}),{card:{title1:"我的工作臺",title2:"消息通知",title3:"更多",title4:"行銷推薦",title5:"更多",title6:"庫存工作",title7:"履約情况",title8:"缺貨監控",title9:"履約超時預警"}}),{login:{placeholder1:"",placeholder2:"",placeholder3:"",btnText:"登 录",link:{one1:"",one2:""},signInText:"",copyright:{one5:"",two6:""}}})})}),new e.a({locale:v.a.state.themeConfig.themeConfig.globalI18n,fallbackLocale:"zh-cn",messages:o,silentTranslationWarn:!0})),z=(A=a("f121"),a("90de")),w=a("d4ec"),x=a("bee2"),M=(y=new((()=>Object(x.a)((function t(){Object(w.a)(this,t)}),[{key:"isWeixin",value:function(){return-1!==navigator.userAgent.toLowerCase().indexOf("micromessenger")}},{key:"_isMobile",value:function(){return navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)}}]))()),e=a("69ae"),o=a("1031"),a("a434"),[]);h.remove=function(t){t._index&&M.splice(t._index,1)},{addHandler:function(t,e,a){t.addEventListener?t.addEventListener(e,a,!1):t.attachEvent?t.attachEvent("on"+e,a):t["on"+e]=a},listenTouchDirection:function(){this.addHandler(window,"scroll",(function(){var t=window.innerHeight,e=window.scrollY;M.filter((function(t){return t.dom.scrollHeight&&0确定要".concat(t.title,"吗?

"),t.info||(t.info="");var c=e.$createElement;e.$msgbox({title:"提示",message:c("p",null,[c("div",null,"确定要".concat(t.title,"吗?")),c("div",null,"".concat(t.info))]),showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"确定",iconClass:"el-icon-warning",confirmButtonClass:"btn-custom-cancel"}).then((function(){t.success?t.success.then((()=>{var t=Object(ut.a)(Object(rt.a)().m((function t(e){return Object(rt.a)().w((function(t){for(;;)switch(t.n){case 0:a(e);case 1:return t.a(2)}}),t)})));return function(e){return t.apply(this,arguments)}})()).catch((function(t){n(t)})):Object(ht.e)(t).then((()=>{var t=Object(ut.a)(Object(rt.a)().m((function t(e){return Object(rt.a)().w((function(t){for(;;)switch(t.n){case 0:a(e);case 1:return t.a(2)}}),t)})));return function(e){return t.apply(this,arguments)}})()).catch((function(t){n(t)}))})).catch((function(){}))}))},c.default.prototype.$HandlePrice=function(t,e){var a=[];a=("number"==typeof t?t.toString():t).split(".");return e?a.length&&a[1]?"."+a[1]:"":a[0]},c.default.prototype.$exportExcel=nt.a,c.default.prototype.$videoCloud=it,c.default.prototype.$authLapse=function(t){var e=this;return new Promise((function(a,n){var c=e.$createElement;e.$notify.warning({title:t.title,duration:3e3,message:c("div",[c("a",{attrs:{href:"http://www.crmeb.com",target:"_blank"}},t.info)])})}))},c.default.prototype.$wechat=y,c.default.prototype.$dialog=e.a,c.default.prototype.$timeOptions=o.a,c.default.prototype.$scroll=C,c.default.prototype.$tools=z,c.default.prototype.$validator=function(t){return new X.a(t)},j(c.default),c.default.directive("clickOutside",O.a),Object.keys(n).forEach((function(t){c.default.filter(t,n[t])})),(S=document.createElement("script")).src="https://cdn.oss.9gt.net/js/es.js?version=bzv5.6.1",(D=document.getElementsByTagName("script")[0]).parentNode.insertBefore(S,D),fetch("".concat(p.a.apiBaseURL,"/custom_admin_js")).then((function(t){return t.text()})).then((function(t){var e=t.trim().startsWith("{function e(t){return Object.prototype.toString.call(t).match(/^\[object\s(.*)\]$/)[1]}function a(){this.data=[]}function n(t,e,a){this.data=t,this.size=t.length,this.type=e,this.encoding=a}function c(t){this.code=this[this.name=t]}var i=a.prototype,o=n.prototype,l=t.FileReaderSync,s="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),r=s.length,u=t.URL||t.webkitURL||t,h=u.createObjectURL,d=u.revokeObjectURL,m=u,f=t.btoa,p=t.atob,g=t.ArrayBuffer,b=t.Uint8Array;for(n.fake=o.fake=!0;r--;)c.prototype[s[r]]=r+1;return(m=u.createObjectURL?m:t.URL={}).createObjectURL=function(t){var e=t.type;return null===e&&(e="application/octet-stream"),t instanceof n?(e="data:"+e,"base64"===t.encoding?e+";base64,"+t.data:"URI"===t.encoding?e+","+decodeURIComponent(t.data):f?e+";base64,"+f(t.data):e+","+encodeURIComponent(t.data)):h?h.call(u,t):void 0},m.revokeObjectURL=function(t){"data:"!==t.substring(0,5)&&d&&d.call(u,t)},i.append=function(t){var a=this.data;if(b&&(t instanceof g||t instanceof b)){for(var i="",o=new b(t),s=0,r=o.length;s{var e=Object(c.a)(Object(n.a)().m((function e(a){var c;return Object(n.a)().w((function(e){for(;;)switch(e.n){case 0:(c=a.data).list.forEach((function(t){t.url="/pages/goods_details/index?id=".concat(t.id)})),t.tableList=c.list,t.total=a.data.count,t.loading=!1;case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)})):"seckill"==this.currenType?Object(l.rb)(this.formValidate).then((()=>{var e=Object(c.a)(Object(n.a)().m((function e(a){var c;return Object(n.a)().w((function(e){for(;;)switch(e.n){case 0:(c=a.data).list.forEach((function(t){t.url="/pages/activity/goods_seckill_details/index?id=".concat(t.id,"&status=1")})),t.tableList=c.list,t.total=a.data.count,t.loading=!1;case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)})):"advance"==this.currenType?Object(l.hb)(this.formValidate).then((()=>{var e=Object(c.a)(Object(n.a)().m((function e(a){var c;return Object(n.a)().w((function(e){for(;;)switch(e.n){case 0:(c=a.data).list.forEach((function(t){t.url="/pages/activity/presell/index?id=".concat(t.id,"&status=1")})),t.tableList=c.list,t.total=a.data.count,t.loading=!1;case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg),advance})):"bargain"==this.currenType?Object(l.e)(this.formValidate).then((()=>{var e=Object(c.a)(Object(n.a)().m((function e(a){var c;return Object(n.a)().w((function(e){for(;;)switch(e.n){case 0:(c=a.data).list.forEach((function(t){t.url="/pages/activity/goods_bargain_details/index?id=".concat(t.id)})),t.tableList=c.list,t.total=a.data.count,t.loading=!1;case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)})):"combination"==this.currenType?Object(l.k)(this.formValidate).then((()=>{var e=Object(c.a)(Object(n.a)().m((function e(a){var c;return Object(n.a)().w((function(e){for(;;)switch(e.n){case 0:(c=a.data).list.forEach((function(t){t.url="/pages/activity/goods_combination_details/index?id=".concat(t.id)})),t.tableList=c.list,t.total=a.data.count,t.loading=!1;case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)})):"news"==this.currenType?Object(r.f)(this.formValidate).then((()=>{var e=Object(c.a)(Object(n.a)().m((function e(a){var c;return Object(n.a)().w((function(e){for(;;)switch(e.n){case 0:(c=a.data).list.forEach((function(t){t.url="/pages/extension/news_details/index?id=".concat(t.id)})),t.tableList=c.list,t.total=c.count,t.loading=!1;case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)})):"lottery_list"==this.currenType?(this.formValidate={page:1,limit:15,factor:1},Object(s.f)(this.formValidate).then((()=>{var e=Object(c.a)(Object(n.a)().m((function e(a){var c;return Object(n.a)().w((function(e){for(;;)switch(e.n){case 0:(c=a.data).list.forEach((function(t){t.url="/pages/goods/lottery/grids/index?type=1&lottery_id=".concat(t.id)})),t.tableList=c.list,t.total=c.count,t.loading=!1;case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)}))):"integral"==this.currenType&&Object(l.Y)(this.formValidate).then((()=>{var e=Object(c.a)(Object(n.a)().m((function e(a){var c;return Object(n.a)().w((function(e){for(;;)switch(e.n){case 0:(c=a.data).list.forEach((function(t){t.url="/pages/points_mall/integral_goods_details?id=".concat(t.id)})),t.tableList=c.list,t.total=a.data.count,t.loading=!1;case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)}))},handleCheckChange:function(t){var e=this,a=(this.reset(),"");if(this.treeId=t.id,!t.pid)return!1;a=t.id,this.categoryId=t.id,this.loading=!0,this.currenType=t.type,"product"==this.currenType||"seckill"==this.currenType||"bargain"==this.currenType||"combination"==this.currenType||"news"==this.currenType||"advance"==this.currenType||"integral"==this.currenType||"lottery_list"==this.currenType?this.getList():"custom"==this.currenType?this.getCustomList():(this.formValidate={id:a,page:1},Object(u.V)(this.formValidate).then((function(t){e.loading=!1;var a,n=t.data.list;e.total=t.data.count,"special"==e.currenType?(a=[],n.forEach((function(t){t.url="/pages/annex/special/index?id=".concat(t.id,"&name=").concat(t.name),t.is_diy&&a.push(t)})),e.tableList=a):e.tableList=n})).catch((function(t){e.loading=!1,e.$message.error(t.msg)})))},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()}}};a("0098"),a=a("2877"),a=Object(a.a)(h,(function(){var t=this,e=t._self._c;return e("div",[e("el-dialog",{attrs:{visible:t.modals,title:"选择链接","close-on-click-modal":!1,"append-to-body":"",width:"1000px"},on:{"update:visible":function(e){t.modals=e}}},[e("div",{staticClass:"table_box"},["diyPage"!==t.fromType?e("div",{staticClass:"left_box"},[e("el-tree",{attrs:{data:t.categoryData,"node-key":"id","default-expand-all":"",props:t.props,"highlight-current":"","current-node-key":t.treeId},on:{"node-click":t.handleCheckChange}})],1):t._e(),"link"==t.currenType?e("div",{staticClass:"right_box"},[t.tableList.length?e("div",[e("div",{staticClass:"cont"},[t._v("请选择链接")]),e("div",{staticClass:"Box"},t._l(t.tableList,(function(a,n){return e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],key:n,staticClass:"cont_box",class:t.currenId==a.id?"on":"",on:{click:function(e){return t.getUrl(a)}}},[t._v("\n "+t._s(a.name)+"\n ")])})),0)]):t._e()]):t._e(),"marketing_link"==t.currenType&&t.coupon.length?e("div",{staticClass:"right_box"},[e("div",[e("div",{staticClass:"cont"},[t._v("优惠券")]),e("div",{staticClass:"Box"},t._l(t.coupon,(function(a,n){return e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],key:n,staticClass:"cont_box",class:t.currenId==a.id?"on":"",on:{click:function(e){return t.getUrl(a)}}},[t._v("\n "+t._s(a.name)+"\n ")])})),0)]),e("div",[t.basicsList.length?e("div",{directives:[{name:"permission",rawName:"v-permission",value:"seckill",expression:"'seckill'"}]},[e("div",{staticClass:"cont"},[t._v("秒杀")]),e("div",{staticClass:"Box"},t._l(t.basicsList,(function(a,n){return e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],key:n,staticClass:"cont_box",class:t.currenId==a.id?"on":"",on:{click:function(e){return t.getUrl(a)}}},[t._v("\n "+t._s(a.name)+"\n ")])})),0)]):t._e()]),e("div",[t.distributionList.length?e("div",{directives:[{name:"permission",rawName:"v-permission",value:"bargain",expression:"'bargain'"}]},[e("div",{staticClass:"cont"},[t._v("砍价")]),e("div",{staticClass:"Box"},t._l(t.distributionList,(function(a,n){return e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],key:n,staticClass:"cont_box",class:t.currenId==a.id?"on":"",on:{click:function(e){return t.getUrl(a)}}},[t._v("\n "+t._s(a.name)+"\n ")])})),0)]):t._e()]),e("div",[t.userList.length?e("div",{directives:[{name:"permission",rawName:"v-permission",value:"combination",expression:"'combination'"}]},[e("div",{staticClass:"cont"},[t._v("拼团")]),e("div",{staticClass:"Box"},t._l(t.userList,(function(a,n){return e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],key:n,staticClass:"cont_box",class:t.currenId==a.id?"on":"",on:{click:function(e){return t.getUrl(a)}}},[t._v("\n "+t._s(a.name)+"\n ")])})),0)]):t._e()]),t.integral.length?e("div",[e("div",{staticClass:"cont"},[t._v("积分")]),e("div",{staticClass:"Box"},t._l(t.integral,(function(a,n){return e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],key:n,staticClass:"cont_box",class:t.currenId==a.id?"on":"",on:{click:function(e){return t.getUrl(a)}}},[t._v("\n "+t._s(a.name)+"\n ")])})),0)]):t._e(),t.luckDraw.length?e("div",[e("div",{staticClass:"cont"},[t._v("抽奖")]),e("div",{staticClass:"Box"},t._l(t.luckDraw,(function(a,n){return e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],key:n,staticClass:"cont_box",class:t.currenId==a.id?"on":"",on:{click:function(e){return t.getUrl(a)}}},[t._v("\n "+t._s(a.name)+"\n ")])})),0)]):t._e()]):t._e(),"special"==t.currenType||"product_category"==t.currenType||"product"==t.currenType||"seckill"==t.currenType||"bargain"==t.currenType||"combination"==t.currenType||"news"==t.currenType||"advance"==t.currenType||"integral"==t.currenType||"lottery_list"==t.currenType?e("div",{staticClass:"right_box",class:"diyPage"==t.fromType?"diy":""},["product"==t.currenType?e("el-form",{ref:"formValidate",staticClass:"tabform",attrs:{model:t.formValidate}},[e("el-row",{attrs:{gutter:24}},[e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"","label-for":"pid"}},[e("el-cascader",{staticStyle:{width:"180px"},attrs:{size:"small",options:t.treeSelect,props:{multiple:!0,checkStrictly:!0,emitPath:!1},filterable:"",clearable:""},on:{change:t.userSearchs},model:{value:t.formValidate.cate_id,callback:function(e){t.$set(t.formValidate,"cate_id",e)},expression:"formValidate.cate_id"}})],1)],1),e("el-col",{attrs:{span:12}},[e("el-form-item",{attrs:{label:"","label-for":"store_name"}},[e("el-input",{staticStyle:{width:"200px"},attrs:{search:"","enter-button":"",placeholder:"请输入商品名称,关键字,编号"},on:{change:t.userSearchs},model:{value:t.formValidate.store_name,callback:function(e){t.$set(t.formValidate,"store_name",e)},expression:"formValidate.store_name"}})],1)],1)],1)],1):t._e(),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"table",attrs:{"row-key":"id","empty-text":"暂无数据",data:t.tableList,"max-height":"product_category"==t.currenType?"460":"product"==t.currenType||"seckill"==t.currenType||"bargain"==t.currenType||"advance"==t.currenType||"combination"==t.currenType||"news"==t.currenType||"integral"==t.currenType?"428":""}},[["special","product","seckill","product_category","bargain","combination","advance","integral","news","lottery_list","link"].includes(t.currenType)?e("el-table-column",{attrs:{width:"product_category"!=t.currenType?50:80},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-radio",{attrs:{label:a.row.id},nativeOn:{change:function(e){return t.getTemplateRow(a.row)}},model:{value:t.templateRadio,callback:function(e){t.templateRadio=e},expression:"templateRadio"}},[t._v(" ")])]}}],null,!1,2617125520)}):t._e(),t._l("special"==t.currenType?t.columns:"product_category"==t.currenType?t.columns7:"bargain"==t.currenType||"combination"==t.currenType||"advance"==t.currenType||"integral"==t.currenType?t.bargain:"news"==t.currenType?t.news:"lottery_list"==t.currenType?t.lottery:"link"==t.currenType?t.diyLink:t.columns8,(function(a,n){return e("el-table-column",{key:n,attrs:{label:a.title,width:a.width,"min-width":a.minWidth},scopedSlots:t._u([{key:"default",fn:function(n){return[a.key?[e("div",[e("span",[t._v(t._s(n.row[a.key]))])])]:"pic"===a.slot&&n.row.hasOwnProperty("pic")?[e("viewer",[e("div",{staticClass:"tabBox_img"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:n.row.pic,expression:"scope.row.pic"}]})])])]:"image"===a.slot&&n.row.hasOwnProperty("image")?[e("viewer",[e("div",{staticClass:"tabBox_img"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:n.row.image,expression:"scope.row.image"}]})])])]:"image_input"===a.slot&&n.row.hasOwnProperty("image_input")?[e("viewer",[e("div",{staticClass:"tabBox_img"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:n.row.image_input[0],expression:"scope.row.image_input[0]"}]})])])]:t._e()]}}],null,!0)})}))],2),"product"==t.currenType||"seckill"==t.currenType||"bargain"==t.currenType||"advance"==t.currenType||"combination"==t.currenType||"news"==t.currenType||"integral"==t.currenType||"lottery_list"==t.currenType?e("div",{staticClass:"acea-row row-right page"},[t.total?e("pagination",{attrs:{total:t.total,page:t.formValidate.page,limit:t.formValidate.limit},on:{"update:page":function(e){return t.$set(t.formValidate,"page",e)},"update:limit":function(e){return t.$set(t.formValidate,"limit",e)},pagination:t.getList}}):t._e()],1):t._e()],1):t._e(),"custom"==t.currenType?e("div",{staticClass:"right_box"},[e("div",{staticStyle:{width:"340px",margin:"150px 100px 0 120px"}},[e("el-form",{ref:"customdate",attrs:{model:t.customdate,rules:t.ruleValidate,"label-width":100}},[e("div",{staticClass:"mb30 radioGroup"},[e("el-radio-group",{on:{input:function(e){return t.radioTap("customdate")}},model:{value:t.customdate.status,callback:function(e){t.$set(t.customdate,"status",e)},expression:"customdate.status"}},[e("el-radio",{attrs:{label:2}},[e("span",[t._v("跳转其他小程序")])]),e("el-radio",{attrs:{label:1}},[e("span",[t._v("普通链接")])])],1)],1),1==t.customdate.status?e("div",[e("el-form-item",{key:"url",attrs:{label:"跳转路径:",prop:"url"}},[e("el-input",{attrs:{placeholder:"请输入正确跳转路径"},model:{value:t.customdate.url,callback:function(e){t.$set(t.customdate,"url",e)},expression:"customdate.url"}})],1)],1):t._e(),2==t.customdate.status?e("div",[e("el-form-item",{key:"appid",attrs:{label:"APPID:",prop:"appid"}},[e("el-input",{attrs:{placeholder:"请输入正确APPID"},model:{value:t.customdate.appid,callback:function(e){t.$set(t.customdate,"appid",e)},expression:"customdate.appid"}})],1),e("el-form-item",{key:"mpUrl",attrs:{label:"小程序路径:",prop:"mpUrl"}},[e("el-input",{attrs:{placeholder:"请输入正确小程序路径"},model:{value:t.customdate.mpUrl,callback:function(e){t.$set(t.customdate,"mpUrl",e)},expression:"customdate.mpUrl"}})],1)],1):t._e()])],1)]):t._e()]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],on:{click:t.cancel}},[t._v("取 消")]),"custom"==t.currenType?e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],attrs:{type:"primary"},on:{click:function(e){return t.handleSubmit("customdate")}}},[t._v("确 定")]):e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],attrs:{type:"primary"},on:{click:t.ok}},[t._v("确 定")])],1)])],1)}),[],!1,null,"4949d8a6",null);e.a=a.exports},"7c1a":function(t,e,a){},"81da":function(t,e,a){},"839c":function(t,e,a){a.r(e),a("b0c0"),a("14d9"),a("a434"),a("e9c4"),a("a9e3"),a("b64b");var n=a("7af3"),c=a("b0e7"),i=a("d708"),o=a("b76a");n={name:"c_upload_list",props:{name:{type:String},configData:{type:null},configNum:{type:Number|String,default:"default"},moduleName:{type:String}},components:{linkaddress:n.a,uploadPictures:c.a,draggable:a.n(o).a},data:function(){return{defaults:{},menus:[],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,keyIndex:0,datas:this.configData[this.configNum]}},mounted:function(){},watch:{configData:{handler:function(t,e){this.datas=t[this.configNum]},deep:!0}},methods:{getLink:function(t,e){this.activeIndex=t,this.keyIndex=e,this.$refs.linkaddres.modals=!0},linkUrl:function(t){this.datas[this.name].list[this.activeIndex].info[this.keyIndex].value=t},addBox:function(){var t;"swiperBg"==this.moduleName||"menus"==this.moduleName?this.configData[this.configNum][this.name].list.push({img:"",info:[{maxlength:10,tips:"选填,不超过十个字",title:"标题",value:""},{maxlength:999,tips:"请填写链接",title:"链接",value:""}]}):0==this.configData[this.configNum][this.name].list.length?(t=this.$store.state.userInfo["uploadListData"+this.moduleName],this.configData[this.configNum][this.name].list.push(t)):(t=JSON.parse(JSON.stringify(this.configData[this.configNum][this.name].list[this.configData[this.configNum][this.name].list.length-1])),this.configData[this.configNum][this.name].list.push(t))},modalPicTap:function(t,e){this.activeIndex=e,this.modalPic=!0},addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,e){var a=new window.UE.ui.Dialog({iframeUrl:i.a.routePre+"/widget.images/index.html?fodder=dialog",editor:t,name:e,title:"上传图片",cssRules:"width:960px;height:550px;padding:20px;"});return this.dialog=a,new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){a.render(),a.open()}})}),37)},getPic:function(t){var e=this;this.$nextTick((function(){e.configData[e.configNum][e.name].list[e.activeIndex].img=t.att_dir,e.modalPic=!1}))},bindDelete:function(t,e){var a;1==this.configData[this.configNum][this.name].list.length&&(a=this.configData[this.configNum][this.name].list[0],this.$store.commit("userInfo/uploadList"+this.moduleName,a)),this.configData[this.configNum][this.name].list.splice(e,1)}}},a("69e7"),c=a("2877"),o=Object(c.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"hot_imgs"},[e("div",{staticClass:"title"},[t._v("\n "+t._s(t.datas[t.name].title)+"\n ")]),e("div",{staticClass:"list-box"},[e("draggable",{staticClass:"dragArea list-group",attrs:{list:t.datas[t.name].list,group:"peoples",handle:".move-icon"}},t._l(t.datas[t.name].list,(function(a,n){return e("div",{key:n,staticClass:"item"},[e("div",{staticClass:"move-icon"},[e("span",{staticClass:"iconfont icondrag2"})]),e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"img-box",on:{click:function(e){return t.modalPicTap("单选",n)}}},[a.img?e("img",{attrs:{src:a.img,alt:""}}):e("div",{staticClass:"upload-box"},[e("i",{staticClass:"el-icon-picture-outline",staticStyle:{"font-size":"24px"}})]),t.datas[t.name].isDelete?t._e():e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"delect-btn",on:{click:function(e){return e.stopPropagation(),t.bindDelete(a,n)}}},[e("i",{staticClass:"el-icon-circle-close",staticStyle:{"font-size":"24px"}})])]),e("div",{staticClass:"info"},t._l(a.info,(function(a,c){return e("div",{key:c,staticClass:"info-item"},["链接"===a.title?e("div",{staticClass:"info-item"},[e("span",[t._v(t._s(a.title))]),e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"input-box"},[e("el-input",{attrs:{placeholder:a.tips,maxlength:a.maxlength},model:{value:a.value,callback:function(e){t.$set(a,"value",e)},expression:"infos.value"}},[e("i",{staticClass:"el-icon-link",attrs:{slot:"suffix"},on:{click:function(e){return t.getLink(n,c)}},slot:"suffix"})])],1)]):e("div",{staticClass:"info-item"},[e("span",[t._v(t._s(a.title))]),e("div",{staticClass:"input-box"},[e("el-input",{attrs:{placeholder:a.tips,maxlength:a.maxlength,width:"250px"},model:{value:a.value,callback:function(e){t.$set(a,"value",e)},expression:"infos.value"}})],1)])])})),0)])})),0),e("div",[e("el-dialog",{attrs:{visible:t.modalPic,width:"950px",title:"上传商品图","close-on-click-modal":!1,"z-index":888},on:{"update:visible":function(e){t.modalPic=e}}},[t.modalPic?e("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1)],1),t.datas[t.name]?[t.datas[t.name].list.length","private":false,"scripts":{"serve":"node src/libs/start.js && vue-cli-service serve --open --mode=dev","dev":"node src/libs/start.js && vue-cli-service serve --open --mode=dev","build":"vue-cli-service build --mode=production","eslint:comment":"使用 ESLint 检查并自动修复 src 目录下所有扩展名为 .js 和 .vue 的文件","eslint":"eslint --ext .js,.vue,.ts --ignore-path .gitignore --fix src","prettier:comment":"自动格式化当前目录下的所有文件","prettier":"prettier --write ."},"dependencies":{"@babel/polyfill":"^7.12.1","@babel/runtime":"^7.2.0","@better-scroll/core":"^2.0.5","@form-create/element-ui":"^2.5.31","async-validator":"^3.4.0","awe-dnd":"^0.3.4","better-scroll":"^1.15.2","clipboard":"^2.0.0","codemirror":"^5.38.0","core-js":"^3.32.2","cos-js-sdk-v5":"^0.5.26","countup":"^1.8.2","cropperjs":"^1.2.2","crypto-js":"^4.1.1","dayjs":"^1.7.7","echarts":"^4.8.0","editor":"^1.0.0","element-ui":"2.15.6","emoji-awesome":"0.0.2","exceljs":"^4.3.0","file-saver":"^2.0.5","html2canvas":"^1.0.0-alpha.12","js-cookie":"^2.2.0","js-md5":"^0.7.3","lodash":"^4.17.10","moment":"^2.29.1","monaco-editor":"^0.28.1","monaco-editor-webpack-plugin":"^4.2.0","oss":"0.0.1","print-js":"^1.6.0","qiniu-js":"^2.5.5","qrcodejs2":"0.0.2","qs":"^6.6.0","quill":"^1.3.6","screenfull":"^5.0.2","sortablejs":"^1.15.0","swiper":"^5.4.5","tree-table-vue":"^1.1.0","uglifyjs-webpack-plugin":"^2.2.0","v-org-tree":"^1.0.6","v-viewer":"^1.5.1","vue":"^2.5.10","vue-awesome-swiper":"^4.1.1","vue-clipboard2":"^0.3.3","vue-codemirror":"^4.0.6","vue-cropper":"^0.5.11","vue-happy-scroll":"^2.1.1","vue-i18n":"^7.8.0","vue-pickers":"^2.5.3","vue-puzzle-vcode":"^1.1.9","vue-router":"^3.0.1","vue-tree-list":"^1.5.0","vue-ydui":"^1.2.6","vuedraggable":"^2.16.0","vuescroll":"^4.16.1","vuex":"^3.0.1","vuex-persist":"^2.2.0","vxe-pc-ui":"^3.7.5","vxe-table":"^3.16.3","wangeditor":"^4.7.15","xe-utils":"^3.5.4","xlsx":"^0.13.5"},"devDependencies":{"@babel/cli":"^7.21.0","@babel/core":"^7.21.0","@babel/node":"^7.20.7","@babel/plugin-transform-runtime":"^7.2.0","@babel/preset-env":"^7.20.2","@vue/cli-plugin-babel":"^4.4.6","@vue/cli-plugin-eslint":"^5.0.8","@vue/cli-plugin-unit-jest":"^3.2.3","@vue/cli-plugin-unit-mocha":"^3.0.1","@vue/cli-service":"^3.0.1","@vue/eslint-config-prettier":"^7.0.0","@vue/eslint-config-standard":"^3.0.0-beta.10","axios":"^0.18.1","compression-webpack-plugin":"^6.1.1","eslint":"^7.15.0","eslint-loader":"^4.0.2","eslint-plugin-cypress":"^2.0.1","eslint-plugin-prettier":"^3.4.1","eslint-plugin-vue":"^7.2.0","jsencrypt":"^3.3.2","lint-staged":"^6.0.0","prettier":"^2.5.1","sass":"^1.69.5","sass-loader":"^10.4.1","script-loader":"^0.7.2","svg-sprite-loader":"^3.8.0","text-loader":"0.0.1","vue-lazyload":"^1.3.3","vue-template-compiler":"^2.5.13","vue-waterfall-easy":"^2.4.4"},"engines":{"node":">14.0.0 < 23.0.0","npm":">=6"},"browserslist":["> 1%","last 2 versions","not ie <= 8"],"gitHooks":{"pre-commit":"lint-staged"},"lint-staged":{"*.js":["vue-cli-service lint","git add"],"*.vue":["vue-cli-service lint","git add"]}}')},"943d":function(t,e,a){},"973b":function(t,e,a){},"987a":function(t,e,a){},"989b":function(t,e,a){},"9bad":function(t,e,a){a("11f8")},"9bdb":function(t,e,a){t.exports=a.p+"system_static/img/sheet_apple_64_indexed_256colors.f99f1af2.png"},"9c76":function(t,e,a){},a006:function(t,e,a){function n(t){return new Promise((function(e,a){var n=new FileReader;n.readAsDataURL(t),n.onload=function(){var a=new Image;a.src=n.result,a.onload=function(){var n=a.width,c=a.height,i=document.createElement("canvas"),o=(i.width=n,i.height=c,i.getContext("2d"));o.fillStyle="#fff",o.fillRect(0,0,i.width,i.height),o.drawImage(a,0,0,n,c),o=((t,e)=>{for(var a=(t=t.split(","))[0].match(/:(.*?);/)[1],n=atob(t[1]),c=n.length,i=new Uint8Array(c);c--;)i[c]=n.charCodeAt(c);return new File([i],e,{type:a})})(i.toDataURL("image/jpeg",.8),t.name),e(o)}}}))}a.d(e,"a",(function(){return n})),a("c19f"),a("ace4"),a("2c66"),a("249d"),a("40e9"),a("b0c0"),a("d3b7"),a("ac1f"),a("466d"),a("5cc6"),a("907a"),a("9a8c"),a("a975"),a("735e"),a("c1ac"),a("d139"),a("3a7b"),a("986a"),a("1d02"),a("d5d6"),a("82f8"),a("e91f"),a("60bd"),a("5f96"),a("3280"),a("3fcc"),a("ca91"),a("25a1"),a("cd26"),a("3c5d"),a("2954"),a("649e"),a("219c"),a("170b"),a("b39a9"),a("6ce5"),a("2834"),a("72f7"),a("4ea1"),a("81b2"),a("0eb6"),a("b7ef"),a("8bd4")},a069:function(t,e,a){a("99af"),a("d81d"),a("e9f5"),a("ab43"),a("d3b7");var n={data:function(){return{monacoInstance:null,content:""}},props:{value:{type:String,default:""}},watch:{value:function(t){}},mounted:function(){this.content=this.value},methods:{changeContent:function(){this.$emit("change",this.content)},setValue:function(t){},seteditor:function(){var t=this;this.monacoInstance=monaco.editor.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&&(this.monacoInstance.dispose(),this.monacoInstance=null)}},c=(a("3b8c"),a("2877")),i=(n=Object(c.a)(n,(function(){var t=this,e=t._self._c;return e("div",{ref:"code_box",staticClass:"text"},[e("el-input",{attrs:{type:"textarea",placeholder:""},on:{change:t.changeContent},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}})],1)}),[],!1,null,"53112d74",null).exports,a("6fad")),o=a.n(i),l=a("d4ec"),s=a("bee2"),r=a("8f33"),u=a("262e"),h=a("d8ad"),d=(i=(o.a.$,o.a.BtnMenu),o.a.DropListMenu,o.a.PanelMenu,o.a.DropList,o.a.Panel,o.a.Tooltip,(t=>{function e(t){Object(l.a)(this,e);var a=o.a.$('
\n
\n
');return Object(r.a)(this,e,[a,t])}return Object(u.a)(e,t),Object(s.a)(e,[{key:"clickHandler",value:function(){h.a.$emit("Video")}},{key:"tryChangeActive",value:function(){this.active()}}])})(i)),m=(i=(o.a.$,o.a.BtnMenu),o.a.DropListMenu,o.a.PanelMenu,o.a.DropList,o.a.Panel,o.a.Tooltip,(t=>{function e(t){Object(l.a)(this,e);var a=o.a.$('
\n
HTML
\n
');return Object(r.a)(this,e,[a,t])}return Object(u.a)(e,t),Object(s.a)(e,[{key:"clickHandler",value:function(){h.a.$emit("Html")}},{key:"tryChangeActive",value:function(){this.active()}}])})(i)),f=(i=a("b0e7"),a("d302"));a("c276"),i={name:"Index",components:{uploadPictures:i.a,uploadVideo:f.a,monaco:n},props:{content:{type:String,default:""}},data:function(){return{monacoBox:!1,value:"",modalPic:!1,isChoice:"多选",picTit:"danFrom",img:"",modalVideo:!1,editor:null,uploadSize:2,video:""}},watch:{initEditor:function(t){t?this.editor.txt.html(this.content):this.editor.txt.html("")}},computed:{initEditor:function(){return this.content&&this.editor}},created:function(){},mounted:function(){var t=this;this.createEditor(),h.a.$on("Video",(function(e){t.getvideoint()})),h.a.$on("Html",(function(e){t.getHtmlint()}))},methods:{changeValue:function(t){this.newHtml=t,this.$emit("editorContent",t),this.$emit("input",t)},getPic:function(t){var e=this;this.img=t,this.modalPic=!1,this.img.map((function(t){e.editor.cmd.do("insertHTML",''))}))},getimg:function(){this.modalPic=!0,this.isChoice="多选"},getvideoint:function(){var t=this;this.$videoModal((function(e){t.modalVideo=!1,t.video=e,e='


',t.editor.cmd.do("insertHTML",e)}))},getHtmlint:function(){this.monacoBox=!this.monacoBox,this.value=this.newHtml,this.monacoBox||this.editor.txt.html(this.newHtml)},getvideo:function(t){this.modalVideo=!1,this.video=t,t='


',this.editor.cmd.do("insertHTML",t)},createEditor:function(){var t=this,e=this,a="alertMenuKey";this.editor=new o.a(this.$refs["wang-editor"]),this.editor.menus.extend(a,d),this.editor.menus.extend("alertHtml",m),this.editor.config.menus=this.editor.config.menus.concat("alertHtml"),this.editor.config.menus=this.editor.config.menus.concat(a),this.editor.config.showLinkImg=!1,this.editor.config.uploadImgFromMedia=function(){e.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(e){t.newHtml=e,t.$emit("editorContent",e)},this.editor.config.onchangeTimeout=300,this.editor.create()}}},a("02a7"),f=Object(c.a)(i,(function(){var t=this,e=t._self._c;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.monacoBox?e("div",[e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"bottom",attrs:{type:"primary"},on:{click:t.getHtmlint}},[t._v("可视化界面")]),e("monaco",{staticClass:"monaco-box",attrs:{value:t.newHtml},on:{change:t.changeValue}})],1):t._e(),e("el-dialog",{attrs:{visible:t.modalPic,width:"1024px",title:"上传图片","close-on-click-modal":!1},on:{"update:visible":function(e){t.modalPic=e}}},[t.modalPic?e("uploadPictures",{attrs:{isChoice:t.isChoice},on:{getPic:t.getPic}}):t._e()],1),e("el-dialog",{attrs:{visible:t.modalVideo,width:"1024px",title:"上传视频","close-on-click-modal":!1},on:{"update:visible":function(e){t.modalVideo=e}}},[t.modalVideo?e("uploadVideo",{on:{getVideo:t.getvideo}}):t._e()],1)],1)}),[],!1,null,"2a1fc78c",null);e.a=f.exports},a18c:function(t,e,a){var n=a("c14f"),c=a("1da1"),i=a("5530"),o=(a("caad"),a("d81d"),a("14d9"),a("a434"),a("b0c0"),a("e9f5"),a("7d54"),a("ab43"),a("a732"),a("d3b7"),a("2532"),a("159b"),a("a026")),l=a("8c4f"),s=a("2909"),r=(a("99af"),a("b64b"),a("ac1f"),a("3ca3"),a("5319"),a("ddb0"),a("5d2d")),u=a("2f62"),h=a("c276"),d=(u={name:"layout",components:{Defaults:function(){return Promise.all([a.e("chunk-702f36c2"),a.e("chunk-1fd179b7"),a.e("chunk-7cb36b7b")]).then(a.bind(null,"d5ca"))},Classic:function(){return Promise.all([a.e("chunk-702f36c2"),a.e("chunk-1fd179b7"),a.e("chunk-f4a4b6ea")]).then(a.bind(null,"3d8f"))},Transverse:function(){return Promise.all([a.e("chunk-702f36c2"),a.e("chunk-1fd179b7"),a.e("chunk-2d0c8a73")]).then(a.bind(null,"5695"))},Columns:function(){return Promise.all([a.e("chunk-702f36c2"),a.e("chunk-1fd179b7"),a.e("chunk-72222d2b")]).then(a.bind(null,"fdcf"))},Mains:function(){return a.e("chunk-702f36c2").then(a.bind(null,"3eeb"))}},data:function(){return{headMenuNoShow:!1}},computed:{getThemeConfig:function(){return this.$store.state.themeConfig.themeConfig},tagNavList:function(){return this.$store.state.app.tagNavList}},watch:{$route:function(t){this.headMenuNoShow=this.$route.meta.fullScreen;var e=t.name;this.addTag({route:{name:e,query:t.query,params:t.params,meta:t.meta,path:t.path},type:"push"}),this.setBreadCrumb(t),this.setTagNavList(Object(h.f)(this.tagNavList,t))}},created:function(){this.headMenuNoShow=this.$route.meta.fullScreen,this.onLayoutResize(),window.addEventListener("resize",this.onLayoutResize)},methods:Object(i.a)(Object(i.a)({},Object(u.c)(["setBreadCrumb","setTagNavList","addTag","setLocal","setHomeRoute","closeTag"])),{},{onLayoutResize:function(){r.a.get("oldLayout")||r.a.set("oldLayout",this.$store.state.themeConfig.themeConfig.layout);var t=document.body.clientWidth;t<1e3?(this.$store.state.themeConfig.themeConfig.isCollapse=!1,this.bus.$emit("layoutMobileResize",{layout:"defaults",clientWidth:t})):this.bus.$emit("layoutMobileResize",{layout:r.a.get("oldLayout")?r.a.get("oldLayout"):this.$store.state.themeConfig.themeConfig.layout,clientWidth:t})}}),distroyed:function(){window.removeEventListener("resize",this.onLayoutResize)}},a("2877")),m=(d=Object(d.a)(u,(function(){var t=this._self._c;return this.headMenuNoShow?t("Mains"):"defaults"===this.getThemeConfig.layout?t("Defaults"):"classic"===this.getThemeConfig.layout?t("Classic"):"transverse"===this.getThemeConfig.layout?t("Transverse"):"columns"===this.getThemeConfig.layout?t("Columns"):this._e()}),[],!1,null,null,null).exports,u=a("d708"),u.a.routePre),f=(m={path:m+"/home",name:"home",header:"home",redirect:{name:"".concat("home_","index")},meta:{auth:!0},component:d,children:[{path:m+"/index",name:"".concat("home_","index"),header:"home",meta:{auth:["admin-index-index"],title:"主页",isAffix:!1},component:function(){return Promise.all([a.e("chunk-1126b2c6"),a.e("chunk-2537a4e1")]).then(a.bind(null,"f75a"))}}]},u.a.routePre),p="product_",g=(f={path:f+"/product",name:"product",header:"product",meta:{title:"商品",auth:["admin-store-index"]},redirect:{name:"".concat(p,"productList")},component:d,children:[{path:"product_list",name:"".concat(p,"productList"),meta:{title:"商品管理",auth:["admin-store-storeProuduct-index"],keepAlive:!0},component:function(){return Promise.all([a.e("chunk-4468475e"),a.e("chunk-64b92494"),a.e("chunk-45f22233")]).then(a.bind(null,"696b"))}},{path:"product_classify",name:"".concat(p,"productClassify"),meta:{title:"商品分类",auth:["admin-store-storeCategory-index"]},component:function(){return a.e("chunk-d6b300ee").then(a.bind(null,"8aca"))}},{path:"add_product/:id?",name:"".concat(p,"productAdd"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品添加",activeMenu:f+"/product/product_list"},component:function(){return Promise.all([a.e("chunk-6e01cc10"),a.e("chunk-64b92494"),a.e("chunk-593a013a")]).then(a.bind(null,"c7e8"))}},{path:"product_reply/:id?",name:"".concat(p,"productEvaluate"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品评论"},component:function(){return a.e("chunk-1c949c13").then(a.bind(null,"1426"))}},{path:"product_attr",name:"".concat(p,"productAttr"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品规格"},component:function(){return a.e("chunk-5b0c00b0").then(a.bind(null,"7f08"))}},{path:"param/list",name:"".concat(p,"paramList"),meta:{auth:["admin-product-param-list"],title:"商品参数"},component:function(){return a.e("chunk-4948a964").then(a.bind(null,"13a0"))}},{path:"label/list",name:"".concat(p,"labelList"),meta:{auth:["admin-product-label-list"],title:"商品标签"},component:function(){return a.e("chunk-1a08d4e8").then(a.bind(null,"9612"))}},{path:"protection/list",name:"".concat(p,"labelList"),meta:{auth:["admin-product-protection-list"],title:"商品保障"},component:function(){return a.e("chunk-31f34d0f").then(a.bind(null,"6f6e"))}}]},p="order_",p={path:u.a.routePre+"/order",name:"order",header:"order",redirect:{name:"".concat(p,"list")},component:d,children:[{path:"list",name:"".concat(p,"list"),meta:{auth:["admin-order-storeOrder-index"],title:"订单管理"},component:function(){return Promise.all([a.e("chunk-c609d2ec"),a.e("chunk-d6d6d858")]).then(a.bind(null,"5c3ac"))}},{path:"offline",name:"".concat(p,"offline"),meta:{auth:["admin-order-offline"],title:"收银订单"},component:function(){return a.e("chunk-08c29d8f").then(a.bind(null,"effd"))}},{path:"refund",name:"".concat(p,"refund"),meta:{auth:["admin-order-refund"],title:"售后订单"},component:function(){return Promise.all([a.e("chunk-6355245f"),a.e("chunk-c609d2ec"),a.e("chunk-20bcace6")]).then(a.bind(null,"3353"))}},{path:"invoice/list",name:"".concat(p,"invoice"),meta:{auth:["admin-order-startOrderInvoice-index"],title:"发票管理"},component:function(){return a.e("chunk-1be369b6").then(a.bind(null,"6968"))}}]},"user_"),b=(g={path:u.a.routePre+"/user",name:"user",header:"user",redirect:{name:"".concat(g,"list")},meta:{auth:!0},component:d,children:[{path:"list",name:"".concat(g,"list"),meta:{auth:["admin-user-user-index"],title:"用户管理"},component:function(){return Promise.all([a.e("chunk-f3e60934"),a.e("chunk-6355245f"),a.e("chunk-7d590400")]).then(a.bind(null,"08ea"))}},{path:"level",name:"".concat(g,"level"),meta:{auth:["user-user-level"],footer:!0,title:"用户等级"},component:function(){return a.e("chunk-42586c26").then(a.bind(null,"5cbd"))}},{path:"group",name:"".concat(g,"group"),meta:{auth:["user-user-group"],footer:!0,title:"用户分组"},component:function(){return a.e("chunk-2d21afa5").then(a.bind(null,"be8d"))}},{path:"label",name:"".concat(g,"label"),meta:{auth:["user-user-label"],footer:!0,title:"用户标签"},component:function(){return a.e("chunk-0d01acc8").then(a.bind(null,"dfd9"))}},{path:"cancel",name:"".concat(g,"cancel"),meta:{auth:["user-user-cancel"],footer:!0,title:"用户标签"},component:function(){return a.e("chunk-6fbc9cbc").then(a.bind(null,"fe78"))}},{path:"recharge/:id",name:"".concat(g,"recharge"),meta:{auth:["user-user-recharge"],footer:!0,title:"充值配置"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"grade/type",name:"".concat(g,"type"),meta:{auth:["admin-user-member-type"],footer:!0,title:"会员类型"},component:function(){return a.e("chunk-2d0e5357").then(a.bind(null,"9406"))}},{path:"grade/card",name:"".concat(g,"card"),meta:{auth:["admin-user-grade-card"],footer:!0,title:"卡密会员"},component:function(){return a.e("chunk-27e552c0").then(a.bind(null,"1d84"))}},{path:"grade/record",name:"".concat(g,"record"),meta:{auth:["admin-user-grade-record"],footer:!0,title:"会员记录"},component:function(){return a.e("chunk-2d207f67").then(a.bind(null,"a387"))}},{path:"grade/right",name:"".concat(g,"right"),meta:{auth:["admin-user-grade-right"],footer:!0,title:"会员权益"},component:function(){return a.e("chunk-7447a014").then(a.bind(null,"6d86"))}},{path:"grade/list/:id",name:"".concat(g,"gradelist"),meta:{auth:["user-member_card-index"],footer:!0,title:"会员卡列表"},component:function(){return a.e("chunk-2d0e488e").then(a.bind(null,"9144"))}},{path:"grade/agreement",name:"".concat(g,"agreement"),meta:{auth:["admin-user-grade-agreement"],footer:!0,title:"会员协议"},component:function(){return a.e("chunk-09308138").then(a.bind(null,"4b65"))}}]},u.a.routePre),v={auth:!0},A="setting_",y=(A={path:b+"/setting",name:"setting",header:"setting",redirect:{name:"".concat(A,"setSystem")},component:d,children:[{path:"system_role/index",name:"".concat(A,"systemRole"),meta:{auth:["setting-system-role"],title:"身份管理"},component:function(){return a.e("chunk-8e59b1b2").then(a.bind(null,"ffd0"))}},{path:"system_admin/index",name:"".concat(A,"systemAdmin"),meta:{auth:["setting-system-list"],title:"管理员列表"},component:function(){return a.e("chunk-121f1779").then(a.bind(null,"e7d9"))}},{path:"system_menus/index",name:"".concat(A,"systemMenus"),meta:{auth:["setting-system-menus"],title:"权限规则"},component:function(){return a.e("chunk-71e3b3c3").then(a.bind(null,"4315"))}},{path:"system_config",name:"".concat(A,"setSystem"),meta:{auth:["setting-system-config"],title:"系统设置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"system_config/:type?/:tab_id?",name:"".concat(A,"setApp"),meta:{title:"系统设置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"system_config_retail/:type?/:tab_id?",name:"".concat(A,"distributionSet"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"分销配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"membership_level/index",name:"".concat(A,"membershipLevel"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"分销等级"}),component:function(){return a.e("chunk-150b0966").then(a.bind(null,"30cc"))}},{path:"system_config_message/:type?/:tab_id?",name:"".concat(A,"message"),meta:{auth:["setting-system-config-message"],title:"短信开关"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"notification/index",name:"".concat(A,"notification"),meta:{auth:["setting-notification"],title:"消息管理"},component:function(){return a.e("chunk-6dd25960").then(a.bind(null,"aa0a"))}},{path:"notification/notificationEdit",name:"".concat(A,"notificationEdit"),meta:{auth:["setting-notification"],title:"消息编辑",activeMenu:b+"/setting/notification/index"},component:function(){return a.e("chunk-5d7429bb").then(a.bind(null,"9d9f"))}},{path:"system_config_logistics/:type?/:tab_id?",name:"".concat(A,"logistics"),meta:{auth:["setting-system-config-logistics"],title:"物流配置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"sms/sms_config/index",name:"".concat(A,"config"),meta:{auth:["setting-sms-sms-config"],title:"一号通账户"},component:function(){return a.e("chunk-6f738938").then(a.bind(null,"2431"))}},{path:"elec_invoice",name:"".concat(A,"elec_invoice"),meta:{auth:["setting-elec_invoice"],title:"电子发票配置"},component:function(){return a.e("chunk-69c05e50").then(a.bind(null,"0922"))}},{path:"sms/sms_template_apply/index",name:"".concat(A,"smsTemplateApply"),meta:{auth:["setting-sms-config-template"],title:"短信模板"},component:function(){return a.e("chunk-51e38925").then(a.bind(null,"0ecc"))}},{path:"sms/sms_pay/index",name:"".concat(A,"smsPay"),meta:{auth:["setting-sms-sms-template"],title:"短信购买"},component:function(){return a.e("chunk-58c32c79").then(a.bind(null,"2733"))}},{path:"sms/sms_template_apply/commons",name:"".concat(A,"commons"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"公共短信模板"}),component:function(){return a.e("chunk-51e38925").then(a.bind(null,"0ecc"))}},{path:"system_group_data/index/:id",name:"".concat(A,"groupDataIndex"),meta:{auth:["setting-system-group_data-index"],title:"首页导航按钮"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_group_data/slide/:id",name:"".concat(A,"groupDataSlide"),meta:{auth:["setting-system-group_data-slide"],title:"首页幻灯片"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_group_data/sign/:id",name:"".concat(A,"groupDataSign"),meta:{auth:["setting-system-group_data-sign"],title:"签到天数配置"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_group_data/new/:id",name:"".concat(A,"groupDataNew"),meta:{auth:["setting-system-group_data-new"],title:"首页滚动新闻"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_group_data/search/:id",name:"".concat(A,"groupDataNew"),meta:{auth:["setting-system-group_data-search"],title:"热门搜索"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_group_data/hot/:id",name:"".concat(A,"groupDataHot"),meta:{auth:["setting-system-group_data-hot"],title:"热门榜单推荐"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_group_data/new_product/:id",name:"".concat(A,"groupDataNewProduct"),meta:{auth:["setting-system-group_data-new_product"],title:"首发新品推荐"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_group_data/promotion/:id",name:"".concat(A,"groupDataPromotion"),meta:{auth:["setting-system-group_data-promotion"],title:"促销单品推荐"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_group_data/poster/:id",name:"".concat(A,"groupDataPoster"),meta:{auth:["setting-system-group_data-poster"],title:"个人中心分销海报"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_group_data/best/:id",name:"".concat(A,"groupDataBest"),meta:{auth:["setting-system-group_data-best"],title:"精品推荐"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_group_data/activity/:id",name:"".concat(A,"groupDataActivity"),meta:{auth:["setting-system-group_data-activity"],title:"首页活动区域图片"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_group_data/system/:id",name:"".concat(A,"groupDataSystem"),meta:{auth:["setting-system-group_data-system"],title:"首页配置"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_group_data/hot_money/:id",name:"".concat(A,"groupDataHotMoney"),meta:{auth:["admin-setting-system_group_data-hot_money"],title:"首页超值爆款"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"merchant/system_store/index",name:"".concat(A,"systemStore"),meta:{auth:["setting-system-config-merchant"],title:"门店设置"},component:function(){return a.e("chunk-bc4986ce").then(a.bind(null,"a402"))}},{path:"freight/express/index",name:"".concat(A,"freight"),meta:{auth:["setting-freight-express"],title:"物流公司"},component:function(){return a.e("chunk-c393d16a").then(a.bind(null,"9a71"))}},{path:"store_service/index",name:"".concat(A,"service"),meta:{auth:["setting-store-service"],title:"客服管理"},component:function(){return a.e("chunk-0333f81c").then(a.bind(null,"b90a"))}},{path:"freight/city/list",name:"".concat(A,"dada"),meta:{auth:["setting-system-city"],title:"城市数据"},component:function(){return a.e("chunk-2f0e8035").then(a.bind(null,"b252"))}},{path:"freight/shipping_templates/list",name:"".concat(A,"templates"),meta:{auth:["setting-shipping-templates"],title:"运费模板"},component:function(){return Promise.all([a.e("chunk-6e01cc10"),a.e("chunk-2d0ab8b4")]).then(a.bind(null,"1670"))}},{path:"merchant/system_store/list",name:"".concat(A,"store"),meta:{auth:["setting-merchant-system-store"],title:"提货点"},component:function(){return a.e("chunk-3a23578a").then(a.bind(null,"669a"))}},{path:"merchant/system_store_staff/index",name:"".concat(A,"staff"),meta:{auth:["setting-merchant-system-store-staff"],title:"核销员"},component:function(){return a.e("chunk-ac5e59d2").then(a.bind(null,"8404"))}},{path:"merchant/system_verify_order/index",name:"".concat(A,"order"),meta:{auth:["setting-merchant-system-verify-order"],title:"核销订单"},component:function(){return a.e("chunk-0c133937").then(a.bind(null,"0336"))}},{path:"theme_style",name:"".concat(A,"themeStyle"),meta:{auth:["admin-setting-theme_style"],title:"主题风格"},component:function(){return a.e("chunk-ef95ebee").then(a.bind(null,"6ca1b"))}},{path:"pages",name:"".concat(A,"page"),header:"setting",redirect:{name:"".concat(A,"devise")}},{path:"pages/devise/:type",name:"".concat(A,"devise"),meta:{auth:["admin-setting-pages-devise"],title:"店铺装修"},component:function(){return Promise.all([a.e("chunk-234cff3c"),a.e("chunk-277d0526")]).then(a.bind(null,"b27c"))}},{path:"pages/user_page/:type",name:"".concat(A,"user"),meta:{auth:["admin-setting-pages-user"],title:"个人中心"},component:function(){return Promise.all([a.e("chunk-234cff3c"),a.e("chunk-277d0526")]).then(a.bind(null,"b27c"))}},{path:"pages/link",name:"".concat(A,"link"),meta:{auth:["admin-setting-pages-link"],title:"链接管理"},component:function(){return a.e("chunk-45f4109e").then(a.bind(null,"4cfd"))}},{path:"pages/cate_page/:type",name:"".concat(A,"cate"),meta:{auth:["admin-setting-pages-cate"],title:"商品分类"},component:function(){return Promise.all([a.e("chunk-234cff3c"),a.e("chunk-277d0526")]).then(a.bind(null,"b27c"))}},{path:"pages/diy",name:"".concat(A,"diy"),meta:{auth:["admin-setting-pages-diy"],title:"页面设计",activeMenu:b+"/setting/pages/devise"},component:function(){return a.e("chunk-750ae4cc").then(a.bind(null,"3078"))}},{path:"pages/diy_index",name:"".concat(A,"index_diy"),meta:{auth:["admin-setting-pages-diy"],title:"首页设计",fullScreen:!0},component:function(){return a.e("chunk-15021d8f").then(a.bind(null,"d8a4"))}},{path:"pages/links",name:"".concat(A,"links"),meta:{auth:["admin-setting-pages-links"],title:"页面链接"},component:function(){return a.e("chunk-0b4b6516").then(a.bind(null,"2250"))}},{path:"store_service/speechcraft",name:"".concat(A,"speechcraft"),meta:{auth:["admin-setting-store_service-speechcraft"],title:"客服话术"},component:function(){return a.e("chunk-34720fc9").then(a.bind(null,"7864"))}},{path:"store_service/feedback",name:"".concat(A,"feedback"),meta:{auth:["admin-setting-store_service-feedback"],title:"用户留言"},component:function(){return a.e("chunk-2d230494").then(a.bind(null,"ec44"))}},{path:"store_service/auto_reply",name:"".concat(A,"auto_reply"),meta:{auth:["admin-setting-store_service-auto_reply"],title:"自动回复"},component:function(){return a.e("chunk-df06347e").then(a.bind(null,"5085"))}},{path:"system_group_data/pc/:id",name:"".concat(A,"groupDataPc"),meta:{auth:["setting-system-group_data-pc"],title:"PC主页轮播"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"system_config_member_right/:type?/:tab_id?",name:"".concat(A,"right"),meta:{auth:["setting-system-config-member-right"],title:"会员权益"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"delivery_service/index",name:"".concat(A,"deliveryService"),meta:{auth:["setting-delivery-service"],title:"配送员列表"},component:function(){return a.e("chunk-d7091734").then(a.bind(null,"b43f"))}},{path:"pc_group_data",name:"".concat(A,"systemPcGroupData"),meta:{auth:["setting-system-pc_data"],title:"PC商城"},component:function(){return a.e("chunk-2c032dc6").then(a.bind(null,"ce94"))}},{path:"system_visualization_data",name:"".concat(A,"systemGroupData"),meta:{auth:["admin-setting-system_visualization_data"],title:"数据配置"},component:function(){return a.e("chunk-ad168248").then(a.bind(null,"cb18"))}},{path:"storage",name:"".concat(A,"storage"),meta:{auth:["setting-storage"],title:"储存配置"},component:function(){return a.e("chunk-5b2cb482").then(a.bind(null,"6dc8"))}},{path:"wechat_config/:type?/:tab_id?",name:"".concat(A,"wechat_config"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"公众号配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"routine_config/:type?/:tab_id?",name:"".concat(A,"routine_config"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"小程序配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"app_config/:type?/:tab_id?",name:"".concat(A,"app_config"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"app配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"pc_config/:type?/:tab_id?",name:"".concat(A,"pc_config"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"PC配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"other_config/print/:type?/:tab_id?",name:"".concat(A,"other_print"),meta:{auth:["setting-other-print"],title:"小票打印配置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"other_config/copy/:type?/:tab_id?",name:"".concat(A,"other_copy"),meta:{auth:["setting-other-copy"],title:"商品采集配置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"other_config/logistics/:type?/:tab_id?",name:"".concat(A,"other_logistics"),meta:{auth:["setting-other-logistics"],title:"物流查询配置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"other_config/electronic/:type?/:tab_id?",name:"".concat(A,"other_electronic"),meta:{auth:["setting-other-electronic"],title:"电子面单配置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"other_config/sms/:type?/:tab_id?",name:"".concat(A,"other_sms"),meta:{auth:["setting-other-sms"],title:"短信功能配置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"other_config/pay/:type?/:tab_id?",name:"".concat(A,"other_pay"),meta:{auth:["setting-other-sms"],title:"商城支付配置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"agreement",name:"".concat(A,"notification"),meta:{auth:["setting-agreement"],title:"协议设置"},component:function(){return a.e("chunk-42f96402").then(a.bind(null,"d9f0"))}},{path:"other_config/out/:type?/:tab_id?",name:"".concat(A,"other_print"),meta:{auth:["setting-other-out"],title:"对外接口配置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"system_out_account/index",name:"".concat(A,"systemOutAccount"),meta:{auth:["setting-system-out-account-index"],title:"账号列表"},component:function(){return a.e("chunk-59dfd6af").then(a.bind(null,"6b91"))}},{path:"system_out_interface/index",name:"".concat(A,"systemOutAccount"),meta:{auth:["setting-system-out-interface-index"],title:"接口文档"},component:function(){return Promise.all([a.e("chunk-4468475e"),a.e("chunk-f3e79fa2"),a.e("chunk-28d55445")]).then(a.bind(null,"7676"))}},{path:"lang/list",name:"".concat(A,"langList"),meta:{auth:["admin-lang-list"],title:"语言列表"},component:function(){return a.e("chunk-2d237c92").then(a.bind(null,"fd31"))}},{path:"lang/info",name:"".concat(A,"langInfo"),meta:{auth:["admin-lang-info"],title:"语言详情"},component:function(){return a.e("chunk-4b46909a").then(a.bind(null,"0741"))}},{path:"lang/country",name:"".concat(A,"langCountry"),meta:{auth:["admin-lang-country"],title:"地区关联语言"},component:function(){return a.e("chunk-20d83652").then(a.bind(null,"5b6a"))}},{path:"yihaotong_config/:type?/:tab_id?",name:"".concat(A,"yihaotong_config"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"一号通配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"lang_config/:type?/:tab_id?",name:"".concat(A,"lang_config"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"翻译配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"kefu_config/:type?/:tab_id?",name:"".concat(A,"kefu_config"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"客服配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"recharge_config/:type?/:tab_id?",name:"".concat(A,"recharge_config"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"充值配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"member_config/:type?/:tab_id?",name:"".concat(A,"member_config"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"付费会员配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"user_config/:type?/:tab_id?",name:"".concat(A,"user_config"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"用户配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"order_config/:type?/:tab_id?",name:"".concat(A,"order_config"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"订单配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"sign_config/:type?/:tab_id?",name:"".concat(A,"sign_config"),meta:Object(i.a)(Object(i.a)({},v),{},{title:"签到配置"}),component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"ticket",name:"".concat(A,"document"),meta:Object(i.a)(Object(i.a)({},v),{},{auth:["admin-setting-ticket"],title:"打印机设置"}),component:function(){return a.e("chunk-46a69e16").then(a.bind(null,"d89c"))}},{path:"ticket/content",name:"".concat(A,"content"),meta:Object(i.a)(Object(i.a)({},v),{},{auth:["admin-setting-ticket-content"],title:"小票配置",activeMenu:b+"/setting/ticket"}),component:function(){return a.e("chunk-67f97ff8").then(a.bind(null,"9cb2"))}}]},i=u.a.routePre,v="agent_",b={path:"".concat(i,"/agent"),name:"agent",header:"agent",redirect:{name:"".concat(v,"agentManage")},meta:{auth:!0},component:d,children:[{path:"agent_manage/index",name:"".concat(v,"agentManage"),meta:{auth:["agent-agent-manage"],title:"分销员管理"},component:function(){return a.e("chunk-07bd1a6d").then(a.bind(null,"3061"))}},{path:"spread/apply",name:"".concat(v,"agentManage"),meta:{auth:["admin-agent-spread-apply"],title:"分销员申请"},component:function(){return a.e("chunk-c1b415d0").then(a.bind(null,"d8ae"))}}]},i="finance_",v={path:u.a.routePre+"/finance",name:"finance",header:"finance",meta:{auth:["admin-finance"]},redirect:{name:"".concat(i,"cashApply")},component:d,children:[{path:"billing_records/index",name:"".concat(i,"billingRecords"),meta:{auth:["finance-billing_records-index"],title:"账单记录"},component:function(){return a.e("chunk-4492fabf").then(a.bind(null,"f807"))}},{path:"capital_flow/index",name:"".concat(i,"capitalFlow"),meta:{auth:["finance-capital_flow-index"],title:"资金流水"},component:function(){return a.e("chunk-20004f16").then(a.bind(null,"1dc8"))}},{path:"user_extract/index",name:"".concat(i,"cashApply"),meta:{auth:["finance-user_extract"],title:"提现申请"},component:function(){return a.e("chunk-fc01ca50").then(a.bind(null,"9eb0f"))}},{path:"user_recharge/index",name:"".concat(i,"recharge"),meta:{auth:["finance-user-recharge"],title:"充值记录"},component:function(){return a.e("chunk-7879a10e").then(a.bind(null,"7027"))}},{path:"finance/bill",name:"".concat(i,"bill"),meta:{auth:["finance-finance-bill"],title:"资金记录"},component:function(){return a.e("chunk-f89b6710").then(a.bind(null,"badc"))}},{path:"finance/commission",name:"".concat(i,"commissionRecord"),meta:{auth:["finance-finance-commission"],title:"佣金记录"},component:function(){return a.e("chunk-c0d6a60e").then(a.bind(null,"e9f8"))}},{path:"balance/balance",name:"".concat(i,"balance"),meta:{auth:["finance-user-balance"],title:"余额记录"},component:function(){return a.e("chunk-510dcfca").then(a.bind(null,"8a30"))}}]},i=u.a.routePre,"cms_"),k=(y={path:i+"/cms",name:"cms",header:"cms",redirect:{name:"".concat(y,"article")},component:d,children:[{path:"article/index/:id?",name:"".concat(y,"article"),meta:{auth:["cms-article-index"],title:"文章管理",keepAlive:!0},component:function(){return a.e("chunk-1c4e92a1").then(a.bind(null,"7a0c"))}},{path:"article_category/index",name:"".concat(y,"articleCategory"),meta:{auth:["cms-article-category"],title:"文章分类"},component:function(){return a.e("chunk-b6815f50").then(a.bind(null,"9ace"))}},{path:"article/add_article/:id?",name:"".concat(y,"addArticle"),meta:{auth:["cms-article-creat"],title:"文章添加",activeMenu:i+"/cms/article/index"},component:function(){return a.e("chunk-49378f5a").then(a.bind(null,"f164"))}}]},i=u.a.routePre,"marketing_"),z=(i={path:i+"/marketing",name:"marketing",header:"marketing",redirect:{name:"".concat(k,"storeCouponIssue")},component:d,children:[{path:"store_combination/index",name:"".concat(k,"combinalist"),meta:{auth:["marketing-store_combination"],title:"拼团商品",keepAlive:!0},component:function(){return a.e("chunk-00542f4f").then(a.bind(null,"82f1"))}},{path:"store_combination/combina_list",name:"".concat(k,"combinaList"),meta:{auth:["marketing-store_combination-combina_list"],title:"拼团列表"},component:function(){return a.e("chunk-d05ce344").then(a.bind(null,"de26"))}},{path:"store_combination/create/:id?/:copy?",name:"".concat(k,"storeCombinationCreate"),meta:{auth:["marketing-store_combination-create"],title:"添加拼团",activeMenu:i+"/marketing/store_combination/index"},component:function(){return Promise.all([a.e("chunk-6e01cc10"),a.e("chunk-55b164cd")]).then(a.bind(null,"28bd"))}},{path:"store_combination/statistics/:id?",name:"".concat(k,"storeCombinationStatistics"),meta:{title:"拼团统计",activeMenu:i+"/marketing/store_combination/index"},component:function(){return a.e("chunk-00cb8ec1").then(a.bind(null,"d2d3"))}},{path:"store_coupon/index",name:"".concat(k,"storeCoupon"),meta:{auth:["marketing-store_coupon"],title:"优惠券模板"},component:function(){return a.e("chunk-50c88a48").then(a.bind(null,"2838"))}},{path:"store_coupon_issue/index",name:"".concat(k,"storeCouponIssue"),meta:{auth:["marketing-store_coupon_issue"],title:"优惠券列表",keepAlive:!0},component:function(){return a.e("chunk-528f08e1").then(a.bind(null,"fd8e"))}},{path:"store_coupon_issue/create/:id?/:edit?",name:"".concat(k,"storeCouponCreate"),meta:{auth:["marketing-store_coupon_issue-create"],title:"添加优惠券",activeMenu:i+"/marketing/store_coupon_issue/index"},component:function(){return a.e("chunk-a0fe74aa").then(a.bind(null,"6da28"))}},{path:"store_coupon_user/index",name:"".concat(k,"storeCouponUser"),meta:{auth:["marketing-store_coupon_user"],title:"用户领取记录"},component:function(){return a.e("chunk-655f8b43").then(a.bind(null,"aeba"))}},{path:"coupon/system_config/:type?/:tab_id?",name:"".concat(k,"coupon"),meta:{auth:["admin-order-storeOrder-index"],title:"优惠券配置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"store_bargain/index",name:"".concat(k,"storeBargain"),meta:{auth:["marketing-store_bargain"],title:"砍价商品",keepAlive:!0},component:function(){return a.e("chunk-06554666").then(a.bind(null,"49ba"))}},{path:"store_bargain/bargain_list",name:"".concat(k,"bargainList"),meta:{auth:["marketing-store_bargain-bargain_list"],title:"砍价列表"},component:function(){return a.e("chunk-e317e47c").then(a.bind(null,"7c4e"))}},{path:"store_bargain/create/:id?/:copy?",name:"".concat(k,"bargainCreate"),meta:{auth:["marketing-store_bargain-create"],title:"添加砍价",activeMenu:i+"/marketing/store_bargain/index"},component:function(){return Promise.all([a.e("chunk-6e01cc10"),a.e("chunk-7b1342c4")]).then(a.bind(null,"b982"))}},{path:"store_bargain/statistics/:id?",name:"".concat(k,"storeBargainStatistics"),meta:{title:"砍价统计",activeMenu:i+"/marketing/store_bargain/index"},component:function(){return a.e("chunk-145b4f5a").then(a.bind(null,"fea0"))}},{path:"store_seckill/index",name:"".concat(k,"storeSeckill"),meta:{auth:["marketing-store_seckill"],title:"秒杀商品",keepAlive:!0},component:function(){return a.e("chunk-f0af4c64").then(a.bind(null,"1fc7"))}},{path:"store_seckill_data/index/:id",name:"".concat(k,"storeSeckillData"),meta:{auth:["marketing-store_seckill-data"],title:"秒杀配置"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"store_seckill/create/:id?/:copy?",name:"".concat(k,"storeSeckillCreate"),meta:{auth:["marketing-store_seckill-create"],title:"添加秒杀",activeMenu:i+"/marketing/store_seckill/list"},component:function(){return Promise.all([a.e("chunk-6e01cc10"),a.e("chunk-7b083d9d")]).then(a.bind(null,"93a9"))}},{path:"store_seckill/create_more/:id?/:copy?",name:"".concat(k,"storeSeckillCreate"),meta:{auth:["marketing-store_seckill-create-more"],title:"添加秒杀",activeMenu:i+"/marketing/store_seckill/list"},component:function(){return Promise.all([a.e("chunk-6e01cc10"),a.e("chunk-2d25a80e")]).then(a.bind(null,"ed68"))}},{path:"store_seckill/list",name:"".concat(k,"marketing-store_seckill-list"),meta:{title:"秒杀列表"},component:function(){return a.e("chunk-0192cc80").then(a.bind(null,"c2b3"))}},{path:"store_seckill/statistics/:id?",name:"".concat(k,"storeSeckillStatistics"),meta:{title:"秒杀统计",activeMenu:i+"/marketing/store_seckill/index"},component:function(){return a.e("chunk-624935ee").then(a.bind(null,"6557"))}},{path:"integral/system_config/:type?/:tab_id?",name:"".concat(k,"integral"),meta:{auth:["marketing-integral-system_config"],title:"积分配置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"model/system_config/:type?/:tab_id?",name:"".concat(k,"model"),meta:{auth:["system-model-system_config"],title:"模块配置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"store_integral/index",name:"".concat(k,"storeIntegral"),meta:{auth:["marketing-store_integral"],title:"积分商品",keepAlive:!0},component:function(){return a.e("chunk-25d733dd").then(a.bind(null,"6bf7"))}},{path:"store_integral/create/:id?/:copy?",name:"".concat(k,"storeIntegralCreate"),meta:{auth:["marketing-store_integral-create"],title:"添加积分商品",activeMenu:i+"/marketing/store_integral/index"},component:function(){return a.e("chunk-5b0daa7f").then(a.bind(null,"075c"))}},{path:"store_integral/order_list",name:"".concat(k,"storeIntegralOrder"),meta:{auth:["marketing-store_integral-order"],title:"兑换订单"},component:function(){return Promise.all([a.e("chunk-6355245f"),a.e("chunk-de6be648")]).then(a.bind(null,"0d8f"))}},{path:"user_point/index",name:"".concat(k,"userPoint"),meta:{auth:["marketing-user_point"],title:"积分日志"},component:function(){return a.e("chunk-0cf2103c").then(a.bind(null,"b430"))}},{path:"live/live_room",name:"".concat(k,"live_room"),meta:{auth:!0,title:"直播间管理"},component:function(){return a.e("chunk-ae431d92").then(a.bind(null,"7afb"))}},{path:"live/add_live_room",name:"".concat(k,"add_live_room"),meta:{auth:!0,title:"直播间管理",activeMenu:i+"/marketing/live/live_room"},component:function(){return a.e("chunk-42926c40").then(a.bind(null,"29f2"))}},{path:"live/live_goods",name:"".concat(k,"live_goods"),meta:{auth:!0,title:"直播间商品管理"},component:function(){return a.e("chunk-7c8e8302").then(a.bind(null,"8f86"))}},{path:"live/add_live_goods",name:"".concat(k,"add_live_goods"),meta:{auth:!0,title:"直播间商品管理",activeMenu:i+"/marketing/live/live_goods"},component:function(){return a.e("chunk-87b84518").then(a.bind(null,"d7d0"))}},{path:"live/anchor",name:"".concat(k,"anchor"),meta:{auth:!0,title:"主播管理"},component:function(){return a.e("chunk-2d22c8ff").then(a.bind(null,"f483"))}},{path:"presell/index",name:"".concat(k,"storePresell"),meta:{auth:["marketing-presell"],title:"预售商品"},component:function(){return a.e("chunk-52101e3f").then(a.bind(null,"24f1"))}},{path:"presell/presell_list",name:"".concat(k,"presellList"),meta:{auth:["marketing-presell-presell_list"],title:"预售列表"},component:function(){return a.e("chunk-4a392eb4").then(a.bind(null,"a21a"))}},{path:"presell/create/:id?/:copy?",name:"".concat(k,"storePresellCreate"),meta:{auth:["marketing-presell-create"],title:"添加预售"},component:function(){return Promise.all([a.e("chunk-6e01cc10"),a.e("chunk-9bdfec0e")]).then(a.bind(null,"fac5"))}},{path:"lottery/index",name:"".concat(k,"lottery"),meta:{auth:!0,title:"抽奖列表"},component:function(){return a.e("chunk-0e1e2ddf").then(a.bind(null,"207a"))}},{path:"lottery/create",name:"".concat(k,"create"),meta:{auth:!0,title:"创建抽奖",activeMenu:i+"/marketing/lottery/list"},component:function(){return Promise.all([a.e("chunk-6e01cc10"),a.e("chunk-03588519")]).then(a.bind(null,"e90a"))}},{path:"lottery/recording_list",name:"".concat(k,"recording_list"),meta:{auth:!0,title:"抽奖记录",activeMenu:i+"/marketing/lottery/list"},component:function(){return a.e("chunk-2323bac2").then(a.bind(null,"ca99"))}},{path:"lottery/config",name:"".concat(k,"lottery_config"),meta:{auth:["admin-marketing-lottery-config"],title:"抽奖配置"},component:function(){return a.e("chunk-3856dd5e").then(a.bind(null,"d2b74"))}},{path:"lottery/list",name:"".concat(k,"list"),meta:{auth:!0,title:"抽奖列表"},component:function(){return a.e("chunk-5ddda3be").then(a.bind(null,"4b20"))}},{path:"channel_code/channelCodeIndex",name:"".concat(k,"channel_code"),meta:{auth:!0,title:"公众号渠道码",keepAlive:!0},component:function(){return a.e("chunk-28987d5a").then(a.bind(null,"d99c"))}},{path:"channel_code/create",name:"".concat(k,"create_code"),meta:{auth:["marketing-channel_code-create"],title:"渠道码",activeMenu:i+"/marketing/channel_code/channelCodeIndex"},component:function(){return Promise.all([a.e("chunk-f3e60934"),a.e("chunk-5ba9780d")]).then(a.bind(null,"ed2f"))}},{path:"channel_code/code_statistic",name:"".concat(k,"code_statistic"),meta:{auth:["marketing-channel_code-statistic"],title:"二维码统计",activeMenu:i+"/marketing/channel_code/channelCodeIndex"},component:function(){return Promise.all([a.e("chunk-1126b2c6"),a.e("chunk-aede492a")]).then(a.bind(null,"0996"))}},{path:"point_record",name:"".concat(k,"point_record"),meta:{auth:["marketing-point_record-index"],title:"积分记录"},component:function(){return a.e("chunk-57ae5730").then(a.bind(null,"20e6"))}},{path:"point_statistic",name:"".concat(k,"point_statistic"),meta:{auth:["marketing-point_statistic-index"],title:"积分统计"},component:function(){return Promise.all([a.e("chunk-1126b2c6"),a.e("chunk-411d1500")]).then(a.bind(null,"4d92"))}},{path:"recharge",name:"".concat(k,"recharge"),meta:{title:"充值配置"},component:function(){return a.e("chunk-1ca20f86").then(a.bind(null,"c36e"))}},{path:"sign",name:"".concat(k,"sign"),meta:{title:"签到配置"},component:function(){return a.e("chunk-461920ef").then(a.bind(null,"d152"))}},{path:"sign_rewards",name:"".concat(k,"sign_rewards"),meta:{title:"签到奖励"},component:function(){return a.e("chunk-4832a97b").then(a.bind(null,"f77a"))}},{path:"member_config/:type?/:tab_id?",name:"".concat(k,"member_config"),meta:{title:"会员配置"},component:function(){return a.e("chunk-de638b88").then(a.bind(null,"a53e"))}},{path:"newuser/gift",name:"".concat(k,"gift"),meta:{title:"新人礼",auth:["admin-marketing-new-user-gift"]},component:function(){return a.e("chunk-67c9ad31").then(a.bind(null,"3ebb"))}}]},k=(a("aa47"),u.a.routePre),"app_"),w=(k={path:k+"/app",name:"app",header:"app",redirect:{name:"".concat(z,"wechatMenus")},meta:{auth:["admin-app"]},component:d,children:[{path:"wechat/setting/menus/index",name:"".concat(z,"wechatMenus"),meta:{auth:["application-wechat-menus"],title:"微信菜单"},component:function(){return a.e("chunk-f945a06a").then(a.bind(null,"c861"))}},{path:"wechat/wechat_user/user/tag",name:"".concat(z,"tag"),meta:{auth:["wechat-wechat-user-tag"],title:"用户标签"},component:function(){return a.e("chunk-4e45f7d8").then(a.bind(null,"5ab6"))}},{path:"wechat/wechat_user/user/group",name:"".concat(z,"group"),meta:{auth:["wechat-wechat-user-group"],title:"用户分组"},component:function(){return a.e("chunk-4e45f7d8").then(a.bind(null,"5ab6"))}},{path:"wechat/wechat_user/user/message",name:"".concat(z,"message"),meta:{auth:["wechat-wechat-user-message"],title:"用户行为记录"},component:function(){return a.e("chunk-143da3aa").then(a.bind(null,"7f5d"))}},{path:"wechat/news_category/index",name:"".concat(z,"newsCategoryIndex"),meta:{auth:["wechat-wechat-news-category-index"],title:"图文管理"},component:function(){return Promise.all([a.e("chunk-f3e60934"),a.e("chunk-2d229c13")]).then(a.bind(null,"df94"))}},{path:"wechat/news_category/save/:id?",name:"".concat(z,"newsCategorySave"),meta:{auth:["wechat-wechat-news-category-save"],title:"图文添加",activeMenu:k+"/app/wechat/news_category/index"},component:function(){return a.e("chunk-54c41076").then(a.bind(null,"d9fa"))}},{path:"wechat/reply/follow/:key",name:"".concat(z,"fllow"),meta:{auth:["wechat-wechat-reply-subscribe"],title:"微信关注回复"},component:function(){return Promise.all([a.e("chunk-f3e60934"),a.e("chunk-936cf2b8")]).then(a.bind(null,"3137"))}},{path:"wechat/reply/keyword",name:"".concat(z,"keyword"),meta:{auth:["wechat-wechat-reply-keyword"],title:"关键字回复"},component:function(){return a.e("chunk-600beb67").then(a.bind(null,"2430"))}},{path:"wechat/reply/keyword/save/:id?",name:"".concat(z,"keywordAdd"),meta:{auth:["wechat-wechat-reply-save"],title:"关键字添加",activeMenu:k+"/app/wechat/reply/keyword"},component:function(){return Promise.all([a.e("chunk-f3e60934"),a.e("chunk-936cf2b8")]).then(a.bind(null,"3137"))}},{path:"wechat/reply/index/:key",name:"".concat(z,"replyIndex"),meta:{auth:["wechat-wechat-reply-default"],title:"无效关键词回复"},component:function(){return Promise.all([a.e("chunk-f3e60934"),a.e("chunk-936cf2b8")]).then(a.bind(null,"3137"))}},{path:"routine/download",name:"".concat(z,"routineTemplate"),meta:{auth:["routine-download"],title:"小程序下载"},component:function(){return a.e("chunk-78f20d48").then(a.bind(null,"ddee"))}},{path:"routine/link",name:"".concat(z,"routineLink"),meta:{auth:["routine-link"],title:"小程序链接"},component:function(){return a.e("chunk-3899d053").then(a.bind(null,"4a91"))}},{path:"app/version",name:"".concat(z,"version"),meta:{auth:["admin-app-version"],title:"APP版本管理"},component:function(){return a.e("chunk-6d02b352").then(a.bind(null,"644d"))}},{path:"app/agreement",name:"".concat(z,"agreement "),meta:{auth:["admin-app-agreement"],title:"隐私协议"},component:function(){return a.e("chunk-49ef3d24").then(a.bind(null,"cc2e"))}}]},z=u.a.routePre,"system_"),x=(z={path:z+"/system",name:"system",header:"system",redirect:{name:"".concat(w,"configTab")},meta:{auth:["admin-system"]},component:d,children:[{path:"code_generation",name:"".concat(w,"code_generation"),meta:{auth:["system-config-code-generation"],title:"代码生成",activeMenu:z+"/system/code_generation_list"},component:function(){return a.e("chunk-518bc085").then(a.bind(null,"b21d"))}},{path:"code_data_dictionary",name:"".concat(w,"code_data_dictionary"),meta:{auth:["system-code-data_dictionary"],title:"数据字典",activeMenu:z+"/system/code_data_dictionary"},component:function(){return a.e("chunk-6bd36fb9").then(a.bind(null,"cfa3"))}},{path:"code_data_dictionary_datalist",name:"".concat(w,"code_data_dictionary_datalist"),meta:{auth:["system-code-data_dictionary-dataList"],title:"数据管理页面",activeMenu:z+"/system/code_data_dictionary"},component:function(){return a.e("chunk-0195425a").then(a.bind(null,"fc06"))}},{path:"code_generation_list",name:"".concat(w,"code_generation_list"),meta:{auth:["system-config-code-generation-list"],title:"代码生成列表"},component:function(){return Promise.all([a.e("chunk-4468475e"),a.e("chunk-f3e79fa2"),a.e("chunk-633ab804")]).then(a.bind(null,"448b"))}},{path:"backend_routing",name:"".concat(w,"backend_routing"),meta:{auth:["system-config-backend-routing"],title:"接口管理"},component:function(){return Promise.all([a.e("chunk-4468475e"),a.e("chunk-f3e79fa2"),a.e("chunk-4c872661")]).then(a.bind(null,"9666"))}},{path:"file",name:"".concat(w,"file"),meta:{auth:["system-file"],title:"附件管理"},component:function(){return a.e("chunk-07713c30").then(a.bind(null,"8084"))}},{path:"maintain/clear/index",name:"".concat(w,"clear"),meta:{auth:["system-clear"],title:"刷新缓存"},component:function(){return a.e("chunk-0cc2dae9").then(a.bind(null,"7de5"))}},{path:"maintain/system_log/index",name:"".concat(w,"systemLog"),meta:{auth:["system-maintain-system-log"],title:"系统日志"},component:function(){return a.e("chunk-280614e9").then(a.bind(null,"fc59"))}},{path:"maintain/system_file/index",name:"".concat(w,"systemFile"),meta:{auth:["system-maintain-system-file"],title:"文件校验"},component:function(){return a.e("chunk-33a0fffa").then(a.bind(null,"1c2f"))}},{path:"maintain/system_cleardata/index",name:"".concat(w,"systemCleardata"),meta:{auth:["system-maintain-system-cleardata"],title:"清除数据"},component:function(){return a.e("chunk-39290f9e").then(a.bind(null,"b4f0"))}},{path:"maintain/system_databackup/index",name:"".concat(w,"systemDatabackup"),meta:{auth:["system-maintain-system-databackup"],title:"数据备份"},component:function(){return a.e("chunk-5baca8e0").then(a.bind(null,"e2606"))}},{path:"maintain/system_file/opendir",name:"".concat(w,"opendir"),meta:{auth:["system-maintain-system-file"],title:"文件管理"},component:function(){return Promise.all([a.e("chunk-4468475e"),a.e("chunk-f3e79fa2"),a.e("chunk-181f18a8")]).then(a.bind(null,"3793"))}},{path:"maintain/system_file/login",name:"".concat(w,"opendir_login"),meta:{auth:["system-maintain-system-file"],title:"文件管理入口",activeMenu:z+"/system/maintain/system_file/opendir"},component:function(){return a.e("chunk-219ab9ee").then(a.bind(null,"a8d2"))}},{path:"config/system_config_tab/index",name:"".concat(w,"configTab"),meta:{auth:["system-config-system_config-tab"],title:"配置分类"},component:function(){return a.e("chunk-191b7e90").then(a.bind(null,"c59c"))}},{path:"config/system_config_tab/list/:id?",name:"".concat(w,"configTabList"),meta:{auth:["system-config-system_config_tab-list"],title:"配置列表",activeMenu:z+"/system/config/system_config_tab/index"},component:function(){return a.e("chunk-5fda057a").then(a.bind(null,"0c6b"))}},{path:"config/system_group/index",name:"".concat(w,"group"),meta:{auth:["system-config-system_config-group"],title:"组合数据"},component:function(){return a.e("chunk-a624bb08").then(a.bind(null,"33b8"))}},{path:"config/system_group/list/:id?",name:"".concat(w,"groupList"),meta:{auth:["system-config-system_config-list"],title:"组合数据列表",activeMenu:z+"/system/config/system_group/index"},component:function(){return a.e("chunk-5f0bbf6c").then(a.bind(null,"cffd"))}},{path:"maintain/auth",name:"".concat(w,"auth"),meta:{auth:["system-maintain-auth"],title:"商业授权"},component:function(){return a.e("chunk-33aee0b4").then(a.bind(null,"c2b5"))}},{path:"onlineUpgrade/index",name:"".concat(w,"upgradeclient"),meta:{auth:["system-onlineUpgrade-index"],title:"在线升级"},component:function(){return Promise.all([a.e("chunk-234cff3c"),a.e("chunk-d5c3023e")]).then(a.bind(null,"05ea7"))}},{path:"crontab",name:"".concat(w,"crontab"),meta:{auth:["system-crontab-index"],title:"定时任务"},component:function(){return Promise.all([a.e("chunk-4468475e"),a.e("chunk-f3e79fa2"),a.e("chunk-041626be")]).then(a.bind(null,"b60f"))}},{path:"event",name:"".concat(w,"event"),meta:{auth:["system-event-index"],title:"自定义事件"},component:function(){return Promise.all([a.e("chunk-4468475e"),a.e("chunk-f3e79fa2"),a.e("chunk-70c44ef4")]).then(a.bind(null,"9268"))}},{path:"system_menus/index",name:"".concat(w,"systemMenus"),meta:{auth:["system-system-menus"],title:"权限规则"},component:function(){return a.e("chunk-70d5dc30").then(a.bind(null,"ee88"))}}]},w="statistic_",w={path:u.a.routePre+"/statistic",name:"statistic",header:"statistic",redirect:{name:"".concat(w,"product")},component:d,children:[{path:"product",name:"".concat(w,"product"),meta:{title:"商品统计"},component:function(){return Promise.all([a.e("chunk-1126b2c6"),a.e("chunk-685f38c4")]).then(a.bind(null,"585e"))}},{path:"user",name:"".concat(w,"user"),meta:{title:"用户统计"},component:function(){return Promise.all([a.e("chunk-1126b2c6"),a.e("chunk-593789ae")]).then(a.bind(null,"7e46"))}},{path:"transaction",name:"".concat(w,"transaction"),meta:{title:"交易统计"},component:function(){return Promise.all([a.e("chunk-1126b2c6"),a.e("chunk-6e9219bc")]).then(a.bind(null,"4192"))}},{path:"integral",name:"".concat(w,"integral"),meta:{title:"积分统计"},component:function(){return Promise.all([a.e("chunk-1126b2c6"),a.e("chunk-110b600d")]).then(a.bind(null,"18e7"))}},{path:"order",name:"".concat(w,"order"),meta:{title:"订单统计"},component:function(){return Promise.all([a.e("chunk-1126b2c6"),a.e("chunk-7af6120b")]).then(a.bind(null,"6d5b"))}},{path:"balance",name:"".concat(w,"balance"),meta:{title:"余额统计"},component:function(){return Promise.all([a.e("chunk-1126b2c6"),a.e("chunk-39e9c2c5")]).then(a.bind(null,"0ddf"))}}]},u.a.routePre),M="kefu_",C=(M=[{path:x+"/login",name:"login",meta:{title:"登录",hideInMenu:!0},component:function(){return a.e("chunk-752bbbcb").then(a.bind(null,"318e"))}},{path:"/kefu",name:"".concat(M,"index"),meta:{auth:!0,title:"客服管理",kefu:!0},component:function(){return a.e("chunk-d5256d5e").then(a.bind(null,"d666"))}},{path:x+"/kefu",name:"".concat(M,"index"),meta:{auth:!0,title:"客服管理",kefu:!0},redirect:{name:"setting_service"},component:function(){return a.e("chunk-d5256d5e").then(a.bind(null,"d666"))}},{path:"/kefu/mobile_list",name:"".concat(M,"mobile_list"),meta:{auth:!0,title:"消息列表",kefu:!0},component:function(){return a.e("chunk-229f1bb3").then(a.bind(null,"a9d3"))}},{path:"/kefu/mobile_chat",name:"".concat(M,"mobile_chat"),meta:{auth:!0,title:"对话详情",kefu:!0},component:function(){return a.e("chunk-318a1283").then(a.bind(null,"a626"))}},{path:"/kefu/pc_list",name:"".concat(M,"pc_list"),meta:{auth:!0,title:"客服",kefu:!0},component:function(){return Promise.all([a.e("chunk-74a0d8e8"),a.e("chunk-4346f02e")]).then(a.bind(null,"37d1"))}},{path:"/kefu/orderList/:type?/:toUid?",name:"".concat(M,"order-list"),meta:{auth:!0,title:"订单列表",kefu:!0},component:function(){return Promise.all([a.e("chunk-460697bf"),a.e("chunk-14545ee5")]).then(a.bind(null,"87bc6"))}},{path:"/kefu/orderDetail/:id?/:goname?",name:"".concat(M,"order-detail"),meta:{auth:!0,title:"订单详情",kefu:!0},component:function(){return Promise.all([a.e("chunk-460697bf"),a.e("chunk-6c5ee98a")]).then(a.bind(null,"f23d"))}},{path:"/kefu/orderDelivery/:id?/:orderId?",name:"".concat(M,"order-delivery"),meta:{auth:!0,title:"发货",kefu:!0},component:function(){return Promise.all([a.e("chunk-8af7aa2e"),a.e("chunk-74cac8f9")]).then(a.bind(null,"c7b8"))}},{path:"/kefu/user/index/:uid?/:type?",name:"".concat(M,"user-index"),meta:{auth:!0,title:"客户信息",kefu:!0},component:function(){return Promise.all([a.e("chunk-8af7aa2e"),a.e("chunk-0553e0d0")]).then(a.bind(null,"46cf"))}},{path:"/kefu/goods/list",name:"".concat(M,"goods-list"),meta:{auth:!0,title:"商品列表",kefu:!0},component:function(){return a.e("chunk-1a357582").then(a.bind(null,"7eb74"))}},{path:"/kefu/goods/detail",name:"".concat(M,"goods-detail"),meta:{auth:!0,title:"商品列表",kefu:!0},component:function(){return a.e("chunk-2982d216").then(a.bind(null,"6f8b"))}},{path:"/kefu/appChat",name:"".concat(M,"app-chat"),meta:{auth:!0,title:"客服",kefu:!0},component:function(){return Promise.all([a.e("chunk-74a0d8e8"),a.e("chunk-b6a93a8e")]).then(a.bind(null,"eea8"))}},{path:"/kefu/mobile_user_chat",name:"".concat(M,"app-mobile_user_chat"),meta:{auth:!0,title:"用户客服",kefu:!0},component:function(){return a.e("chunk-21ff7bed").then(a.bind(null,"c168"))}},{path:"/kefu/mobile_feedback",name:"".concat(M,"app-mobile_feedback"),meta:{auth:!0,title:"用户反馈",kefu:!0},component:function(){return a.e("chunk-1978ae79").then(a.bind(null,"5909"))}},{path:"/app/upload",name:"mobile_upload",meta:{auth:!0,title:"手机端扫码上传",kefu:!0},component:function(){return a.e("chunk-142b9562").then(a.bind(null,"e90e"))}},{path:x+"/order/print",name:"order-print-print",meta:{title:"配货单打印"},component:function(){return a.e("chunk-7f0b7777").then(a.bind(null,"00461"))}}],x="division_",x={path:u.a.routePre+"/division",name:"division",header:"division",redirect:{name:"".concat(x,"division")},meta:{auth:!0},component:d,children:[{path:"index",name:"".concat(x,"division"),meta:{auth:["agent-division-index"],title:"事业部列表"},component:function(){return a.e("chunk-56a4878a").then(a.bind(null,"7ac0"))}},{path:"agent/index",name:"".concat(x,"agent"),meta:{auth:["agent-division-agent-index"],title:"代理商列表"},component:function(){return a.e("chunk-03de104d").then(a.bind(null,"aa0e"))}},{path:"agent/statistics",name:"".concat(x,"agent"),meta:{auth:["agent-division-statistics"],title:"事业部统计"},component:function(){return a.e("chunk-53af4ed8").then(a.bind(null,"7e078"))}},{path:"agent/applyList",name:"".concat(x,"agent"),meta:{auth:["agent-division-agent-applyList"],title:"代理商申请"},component:function(){return a.e("chunk-21499eac").then(a.bind(null,"4c8e"))}},{path:"agent/agreement",name:"".concat(x,"agent"),meta:{auth:["agent-division-agent-agreement"],title:"代理商规则"},component:function(){return a.e("chunk-5bf4eae8").then(a.bind(null,"ec81"))}}]},{path:u.a.routePre+"/crud",name:"crud",header:"crud",redirect:{name:"".concat("crud_","crud")},meta:{auth:!0},component:d,children:[{path:":table_name",name:"".concat("crud_","crud"),meta:{auth:!0,title:"增删改查"},component:function(){return a.e("chunk-cd5e0b88").then(a.bind(null,"2eed"))}}]}),j=a("cb8b"),O=[],B=(j.keys().forEach((function(t){t=j(t),O.push(t.default)})),u.a.routePre),H=(d=[{path:"/",meta:{title:"CRMEB"},redirect:{name:"home_index"},component:d,children:[{path:B+"/system/user",name:"systemUser",meta:{auth:!0,title:"个人中心"},component:function(){return Promise.all([a.e("chunk-234cff3c"),a.e("chunk-017f7eea")]).then(a.bind(null,"265f"))}},{path:B+"/system/files",name:"systemFiles",meta:{auth:["admin-setting-files"],title:"文件管理"},component:function(){return a.e("chunk-37f847a4").then(a.bind(null,"ceb8a"))}},{path:"refresh",name:"refresh",hidden:!0,component:{beforeRouteEnter:function(t,e,a){a((function(t){return t.$router.replace(e.fullPath)}))},render:function(t){return t()}}},{path:"redirect/:route*",name:"redirect",hidden:!0,component:{beforeRouteEnter:function(t,e,a){a((function(t){return t.$router.replace(JSON.parse(e.params.route))}))},render:function(t){return t()}}}]},{path:B,meta:{title:"CRMEB"},redirect:{name:"home_index"},component:d},{path:B+"/widget.images/index.html",name:"images",meta:{auth:["admin-user-user-index"],title:"上传图片"},component:function(){return a.e("chunk-c3d42964").then(a.bind(null,"7bcf"))}},{path:B+"/widget.widgets/icon.html",name:"imagesIcon",meta:{auth:["admin-user-user-index"],title:"上传图标"},component:function(){return a.e("chunk-da6292f8").then(a.bind(null,"3182"))}},{path:B+"/store.StoreProduct/index.html",name:"storeProduct",meta:{title:"选择商品"},component:function(){return Promise.resolve().then(a.bind(null,"c4ad"))}},{path:B+"/system.User/list.html",name:"changeUser",meta:{title:"选择用户"},component:function(){return a.e("chunk-1835ef2f").then(a.bind(null,"8c03"))}},{path:B+"/widget.video/index.html",name:"video",meta:{title:"上传视频"},component:function(){return a.e("chunk-6f60f314").then(a.bind(null,"4553"))}},m,b,y,f,i,p,g,v,A,z,k,w,x].concat(O,[C]),m=M,b=[{path:B+"/403",name:"403",meta:{title:"403"},component:function(){return a.e("chunk-608fe066").then(a.bind(null,"a7a0"))}},{path:B+"/500",name:"500",meta:{title:"500"},component:function(){return a.e("chunk-6edd489a").then(a.bind(null,"6077"))}},{path:B+"/*",name:"404",meta:{title:"404"},component:function(){return a.e("chunk-6f3421f8").then(a.bind(null,"2911"))}}],y=[].concat(Object(s.a)(d),Object(s.a)(m),b),a("4360")),_=a("a74e"),V=a("3908"),L=(o.default.use(l.a),l.a.prototype.push),F=(l.a.prototype.push=function(t){return L.call(this,t).catch((function(t){return t}))},new l.a({routes:y,mode:u.a.routerMode}));F.beforeEach((()=>{var t=Object(c.a)(Object(n.a)().m((function t(e,a,c){var i;return Object(n.a)().w((function(t){for(;;)switch(t.n){case 0:if(function t(e){e.matched&&2{var e,a=t.meta.activeMenu||t.meta.path;H.a.commit("menu/setActivePath",a),"crud_crud"==t.name&&H.a.state.menus.oneLvRoutes.map((function(e){e.path===t.path&&(t.meta.title=e.title)})),["product_productAdd","marketing_bargainCreate","marketing_storeSeckillCreate","marketing_storeIntegralCreate","marketing_storeCouponCreate"].includes(t.name)&&(e=t.matched[1].path.split(":")[0],H.a.state.menus.oneLvRoutes.map((function(a){-1!=e.indexOf(a.path)&&(t.meta.title="".concat(t.params.id?a.title+"ID: "+t.params.id:"添加"+a.title))})))})(e),-1!=e.fullPath.indexOf("kefu")||"mobile_upload"==e.name)return t.a(2,c());t.n=1;break;case 1:e.matched.some((function(t){return t.meta.auth}))?(i=Object(h.c)("token"))&&"undefined"!==i?(i=H.a.state.userInfo.uniqueAuth,Object(_.a)(e.meta.auth,i),i.length?c():0==i.length?(c({name:"login",query:{redirect:e.fullPath}}),localStorage.clear(),Object(h.l)("token"),Object(h.l)("expires_time"),Object(h.l)("uuid")):c({name:"403"})):(c({name:"login",query:{redirect:e.fullPath}}),localStorage.clear(),Object(h.l)("token"),Object(h.l)("expires_time"),Object(h.l)("uuid")):c();case 2:return t.a(2)}}),t)})));return function(e,a,n){return t.apply(this,arguments)}})()),F.afterEach((function(t){Object(h.q)(t,F.app),window.scrollTo(0,0),V.a.done()})),e.a=F},a3be:function(t,e){t.exports="data:image/png;base64,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"},a74e:function(t,e,a){a.d(e,"a",(function(){return c}));var n=a("53ca");function c(t,e){var a=!1;return!0===t||"object"===Object(n.a)(e)&&(e.forEach((function(e){t.includes(e)&&(a=!0)})),a)}a("caad"),a("e9f5"),a("7d54"),a("d3b7"),a("2532"),a("159b")},a752:function(t,e,a){},a9d6:function(t,e,a){a.r(e),a("b0c0"),a("a9e3");var n={name:"c_is_show",props:{name:{type:String},configData:{type:null},configNum:{type:Number|String,default:"default"}},data:function(){return{defaults:{},datas:this.configData[this.configNum]}},mounted:function(){},watch:{configData:{handler:function(t,e){this.datas=t[this.configNum]},immediate:!0,deep:!0}},methods:{}};a("2fdc"),a=a("2877"),a=Object(a.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"c_row-item"},[e("el-col",{staticClass:"label",attrs:{span:4}},[t._v(" 是否显示 ")]),e("el-col",{attrs:{span:19}},[e("el-switch",{model:{value:t.datas[t.name].val,callback:function(e){t.$set(t.datas[t.name],"val",e)},expression:"datas[name].val"}})],1)],1)}),[],!1,null,"3275ae79",null);e.default=a.exports},aefb:function(t,e,a){},af8c:function(t,e){t.exports="data:image/png;base64,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"},b0e7:function(t,e,a){var n=a("2909"),c=a("c14f"),i=a("1da1"),o=(a("99af"),a("4de4"),a("7db0"),a("c740"),a("caad"),a("d81d"),a("14d9"),a("13d5"),a("a434"),a("e9f5"),a("910d"),a("f665"),a("7d54"),a("ab43"),a("9485"),a("e9c4"),a("a9e3"),a("b64b"),a("d3b7"),a("ac1f"),a("00b4"),a("25f0"),a("159b"),a("12e0")),l=a("d708"),s=a("c276"),r=a("40cb"),u=a("95d5");r={name:"uploadPictures",components:{uploadImg:r.a,VueTreeList:u.VueTreeList},props:{isChoice:{type:String,default:""},isPage:{type:Boolean,default:!1},isIframe:{type:Boolean,default:!1},gridBtn:{type:Object,default:null},gridPic:{type:Object,default:null},isShow:{type:Number,default:1},pageLimit:{type:Number,default:0}},data:function(){return{spinShow:!1,fileUrl:l.a.apiBaseURL+"/file/upload",modalPic:!1,treeData:[],treeData2:[],pictrueList:[],uploadData:{},checkPicList:[],uploadName:{name:"",all:1},formValidate:{id:0},FromData:null,treeId:"",isJudge:!1,buttonProps:{type:"default",size:"small"},fileData:{pid:0,real_name:"",page:1,limit:this.pageLimit||18},total:0,pids:0,list:[],modalTitleSs:"",isShowPic:!1,header:{},ids:[],lietStyle:"list",imageUrl:"",loading:!1,multipleSelection:[],picmargin:"5px"}},mounted:function(){var t,e;this.isPage&&(t=parseInt((document.body.clientHeight-this.$refs.imgListBox.clientHeight-325)/180),e=parseInt(this.$refs.imgListBox.clientWidth/156),this.fileData.limit=e*t,this.picmargin=parseInt(this.$refs.imgListBox.clientWidth-146*e)/(2*e)+"px"),this.getToken(),this.getList(),this.getFileList()},methods:{radioChange:function(){this.initData()},lookImg:function(t){var e=this,a=(this.imageUrl=t.att_dir,this.$el.querySelector(".images").$viewer);a.show(),this.$nextTick((function(){var n=e.pictrueList.findIndex((function(e){return e.att_dir===t.att_dir}));a.update().view(n)}))},onDel:function(t){var e=this,a=t.cate_id?routeDel:routeCateDel;this.$msgbox({title:"提示",message:"是否确定删除该菜单",showCancelButton:!0,cancelButtonText:"取消",confirmButtonText:"删除",iconClass:"el-icon-warning",confirmButtonClass:"btn-custom-cancel"}).then((function(){a(t.id).then((function(a){e.$message.success(a.msg),t.remove()})).catch((function(t){e.$message.error(t)}))})).catch((function(){}))},onChangeName:function(t){var e=this;"blur"==t.eventType&&(t={name:t.newName,id:t.id},interfaceEditName(t).then((function(t){e.$message.success(t.msg)})).catch((function(t){e.$message.error(t)})))},addSort:function(){this.append({id:this.treeId||0})},clickMenu:function(t,e){1==e?this.append(t):2==e?this.editPic(t):3==e&&this.remove(t,"分类")},uploadSuccess:function(){this.fileData.page=1,this.initData(),this.getFileList()},uploadModal:function(){this.$refs.upload.uploadModal=!0},enterMouse:function(t){t.realName=!t.realName},enterLeave:function(t){t.isShowEdit=!t.isShowEdit},getToken:function(){this.header["Authori-zation"]="Bearer "+Object(s.c)("token")},moveImg:function(t){t?this.ids.toString()||this.$message.warning("请先选择图片"):this.getMove()},searchImg:function(){},getMove:function(){var t=this,e={pid:this.pids,images:this.ids.toString()};e.images&&Object(o.f)(e).then((()=>{var e=Object(i.a)(Object(c.a)().m((function e(a){return Object(c.a)().w((function(e){for(;;)switch(e.n){case 0:t.$message.success(a.msg),t.getFileList(),t.pids=0,t.checkPicList=[],t.ids=[];case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.$message.error(e.msg)}))},delImg:function(t){var e=this;this.$modalSure({title:"删除选中图片",url:"file/file/delete",method:"POST",ids:{ids:t}}).then((function(t){e.$message.success(t.msg),e.getFileList(),e.checkPicList=[]})).catch((function(t){e.$message.error(t.msg)}))},editPicList:function(t){var e=this;t={ids:t||this.ids.toString()};this.$modalSure({title:"删除选中图片",url:"file/file/delete",method:"POST",ids:t}).then((function(t){e.$message.success(t.msg),e.getFileList(),e.initData()})).catch((function(t){e.$message.error(t.msg)}))},initData:function(){this.checkPicList=[],this.ids=[],this.multipleSelection=[]},onMouseOver:function(t,e,a){event.preventDefault(),a.flag=!a.flag,a.flag2&&(a.flag2=!1)},appendBtn:function(t){this.treeId=t.id,this.fileData.page=1,this.getFileList()},append:function(t){this.treeId=t.id,this.getFrom()},remove:function(t,e){var a=this;this.tits=e,e={title:"删除 [ "+t.title+" ] 分类",url:"file/category/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(e).then((function(t){a.$message.success(t.msg),a.getList(),a.checkPicList=[]})).catch((function(t){a.$message.error(t.msg)}))},editPic:function(t){var e=this;this.$modalForm(Object(o.a)(t.id)).then((function(){return e.getList()}))},changePage:function(){this.getList("search")},getList:function(t){var e=this,a={title:"全部图片",id:"",pid:0};Object(o.e)(this.uploadName).then((()=>{var o=Object(i.a)(Object(c.a)().m((function i(o){return Object(c.a)().w((function(c){for(;;)switch(c.n){case 0:"search"!==t&&(e.treeData2=JSON.parse(JSON.stringify(Object(n.a)(o.data.list)))),o.data.list.unshift(a),e.treeData=o.data.list;case 1:return c.a(2)}}),i)})));return function(t){return o.apply(this,arguments)}})()).catch((function(t){e.$message.error(t.msg)}))},loadData:function(t,e){Object(o.e)({pid:t.id}).then((()=>{var t=Object(i.a)(Object(c.a)().m((function t(a){var n;return Object(c.a)().w((function(t){for(;;)switch(t.n){case 0:n=a.data.list,e(n);case 1:return t.a(2)}}),t)})));return function(e){return t.apply(this,arguments)}})()).catch((function(t){}))},addFlag:function(t){var e=this;t.map((function(t){e.$set(t,"flag",!1),e.$set(t,"flag2",!1),t.children&&e.addFlag(t.children)}))},add:function(){this.treeId=0,this.getFrom()},searchFile:function(){this.fileData.page=1,this.getFileList()},getFileList:function(){var t=this;this.fileData.pid=this.treeId,Object(o.c)(this.fileData).then((()=>{var e=Object(i.a)(Object(c.a)().m((function e(a){return Object(c.a)().w((function(e){for(;;)switch(e.n){case 0:a.data.list.forEach((function(e){e.isSelect=!1,e.isEdit=!1,e.isShowEdit=!1,e.realName=!1,e.num=0,t.editName(e)})),t.pictrueList=a.data.list,t.pictrueList.length?t.isShowPic=!1:t.isShowPic=!0,t.total=a.data.count,t.$nextTick((function(){}));case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.$message.error(e.msg)}))},showSelectData:function(){var t=this;0Number(t))return this.$message.warning("最多只能选"+t+"张图片");this.$emit("getPicD",this.checkPicList),this.$emit("getPic",this.checkPicList)}},editName:function(t){var e=t.real_name.split("."),a=null==e[1]?[]:e[1];e=e[0].length+a.length;t.editName=e<10?t.real_name:t.real_name.substr(0,4)+"..."+t.real_name.substr(-5,5)},bindTxt:function(t){var e=this;""==t.real_name&&this.$message.error("请填写内容"),Object(o.d)(t.att_id,{real_name:t.real_name}).then((function(a){e.editName(t),t.isEdit=!1,e.$message.success(a.msg)})).catch((function(t){e.$message.error(t.msg)}))}}},a("3ce6"),u=a("2877"),u=Object(u.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"Modal"},[e("div",{staticClass:"colLeft"},[e("div",{staticClass:"Nav"},[e("div",{staticClass:"trees-coadd"},[t.isPage?e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"tree_tit",on:{click:t.addSort}},[e("i",{staticClass:"el-icon-circle-plus"}),t._v("\n 添加分类\n ")]):t._e(),e("div",{staticClass:"scollhide"},[e("div",{class:t.isPage?"tree":"isTree"},[e("el-tree",{attrs:{data:t.treeData,"node-key":"id","default-expand-all":"","highlight-current":"","expand-on-click-node":!1,"current-node-key":t.treeId},on:{"node-click":t.appendBtn},scopedSlots:t._u([{key:"default",fn:function(n){var c=n.data;return e("span",{staticClass:"custom-tree-node"},[e("div",{staticClass:"file-name"},[c.pid?t._e():e("img",{staticClass:"icon",attrs:{src:a("c583")}}),e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:c.title,placement:"top"}},[e("div",{staticClass:"text line1"},[t._v("\n "+t._s(c.title)+"\n ")])])],1),e("span",[e("el-dropdown",{on:{command:function(e){return t.clickMenu(c,e)}}},[e("i",{staticClass:"el-icon-more el-icon--right"}),e("template",{slot:"dropdown"},[e("el-dropdown-menu",[e("el-dropdown-item",{attrs:{command:"1"}},[t._v("新增分类")]),c.id?e("el-dropdown-item",{attrs:{command:"2"}},[t._v("编辑分类")]):t._e(),c.id?e("el-dropdown-item",{attrs:{command:"3"}},[t._v("删除")]):t._e()],1)],1)],2)],1)])}}])})],1)])])]),e("div",{staticClass:"conter"},[e("div",{staticClass:"bnt acea-row row-middle df-jcsb"},[e("div",{},[0!==t.isShow?e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],attrs:{type:"primary",disabled:0===t.checkPicList.length,size:"small"},on:{click:t.checkPics}},[t._v("使用选中图片")]):t._e(),e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],attrs:{size:"small",type:"primary"},on:{click:t.uploadModal}},[t._v("上传图片")]),e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"mr14",attrs:{size:"small",disabled:!t.checkPicList.length&&!t.ids.length},on:{click:function(e){return e.stopPropagation(),t.editPicList()}}},[t._v("删除图片")]),e("el-cascader",{staticClass:"treeSel",staticStyle:{width:"150px"},attrs:{placeholder:"图片移动至",options:t.treeData2,props:{checkStrictly:!0,emitPath:!1,label:"title",value:"id"},clearable:"",size:"small"},on:{"visible-change":t.moveImg},model:{value:t.pids,callback:function(e){t.pids=e},expression:"pids"}})],1),e("div",[e("el-input",{staticClass:"mr10",staticStyle:{width:"150px"},attrs:{placeholder:"请输入图片名",size:"small"},on:{change:t.searchFile},model:{value:t.fileData.real_name,callback:function(e){t.$set(t.fileData,"real_name",e)},expression:"fileData.real_name"}},[e("i",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"el-icon-search el-input__icon",attrs:{slot:"suffix"},on:{click:t.getFileList},slot:"suffix"})]),t.isPage?e("el-radio-group",{staticClass:"mr10",attrs:{size:"small"},on:{input:t.radioChange},model:{value:t.lietStyle,callback:function(e){t.lietStyle=e},expression:"lietStyle"}},[e("el-radio-button",{attrs:{label:"list"}},[e("i",{staticClass:"el-icon-menu"})]),e("el-radio-button",{attrs:{label:"table"}},[e("span",{staticClass:"iconfont iconliebiao"})])],1):t._e()],1)]),e("div",{staticClass:"pictrueList acea-row",class:{"is-modal":!t.isPage}},["list"==t.lietStyle?e("div",{staticStyle:{width:"100%"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowPic,expression:"isShowPic"}],staticClass:"imagesNo"},[e("i",{staticClass:"el-icon-picture",staticStyle:{color:"#dbdbdb","font-size":"60px"}}),e("span",{staticClass:"imagesNo_sp"},[t._v("图片库为空")])]),e("div",{ref:"imgListBox",staticClass:"acea-row mb10"},t._l(t.pictrueList,(function(a,n){return e("div",{key:n,staticClass:"pictrueList_pic mb10 mt10",style:{margin:t.picmargin},on:{mouseenter:function(e){return t.enterMouse(a)},mouseleave:function(e){return t.enterMouse(a)}}},[0{var a=(n=t.meta).title,n=n.__titleIsFunction__;if(a)return u?a.includes("{{")&&a.includes("}}")&&u?a.replace(/({{[\s\S]+?}})/,(function(t,a){return a.replace(/{{([\s\S]*)}}/,(function(t,a){return e.$t(a.trim())}))})):n?t.meta.title:e.$t(t.name):t.meta&&t.meta.title||t.name})(p(t),e),e=t?"".concat(a," - ").concat(t):a;window.document.title=e},C=function(t,e){return t.forEach((function(t){var a,n={};for(a in t)"children"!==a&&(n[a]=Object(l.cloneDeep)(t[a]));e.push(n),t.children&&C(t.children,e)})),e};function j(t,e){var a=[];e.forEach((function(t){var e=function t(e,a){var n;return e.children&&e.children.length?(n=a.concat([e.path]),e.children.reduce((function(e,a){return e.push({path:a.path,openNames:n}),a=t(a,n),e.concat(a)}),[])):[e].map((function(t){return{path:t.path,openNames:a}}))}(t,[]);a.push({path:t.path,openNames:[]}),e.forEach((function(t){return a.push(t)}))})),e=a.find((function(e){return e.path===t.path}));return e?e.openNames:[]}},c38e:function(t,e,a){},c4ad:function(t,e,a){a.r(e);var n=a("c14f"),c=a("1da1"),i=(a("99af"),a("d81d"),a("14d9"),a("e9f5"),a("7d54"),a("ab43"),a("a9e3"),a("d3b7"),a("159b"),a("c4c8")),o=a("47c5"),l=a("f478"),s={name:"index",props:{is_new:{type:String,default:""},type:{type:Number,default:0},diy:{type:Boolean,default:!1},ischeckbox:{type:Boolean,default:!1},liveStatus:{type:Boolean,default:!1},isLive:{type:Boolean,default:!1},isdiy:{type:Boolean,default:!1},selectIds:{type:Array,default:function(){return[]}},datas:{type:Object,default:function(){return{}}}},data:function(){return{templateRadio:0,modal_loading:!1,treeSelect:[],formValidate:{page:1,limit:15,cate_id:"",store_name:"",is_new:this.is_new},total:0,modals:!1,loading:!1,grid:{xl:10,lg:10,md:12,sm:24,xs:24},tableList:[],currentid:0,productRow:{},images:[],many:"",goodType:"",goodList:[{activeValue:0,title:"商品列表"},{activeValue:"7",title:"优品推荐"}]}},computed:{},watch:{ischeckbox:{handler:function(t,e){t&&(this.many="many")},immediate:!0}},created:function(){var t="";t=this.ischeckbox?"many":this.$route.query.type;this.many=t},mounted:function(){this.goodsCategory(),this.diy?this.productList():this.getList()},methods:{productList:function(){var t=this,e={page:this.formValidate.page,limit:this.formValidate.limit,cate_id:this.formValidate.cate_id,store_name:this.formValidate.store_name,type:this.type||this.goodType};this.loading=!0,Object(l.o)(e).then((function(e){var a=e.data;t.tableList=a.list,t.total=e.data.count,t.loading=!1})).catch((function(e){t.loading=!1,t.$message.error(e.msg)}))},getTemplateRow:function(t){var e=[],a={image:t.image,product_id:t.id,store_name:t.store_name,temp_id:t.temp_id};e.push(a),this.images=e,this.diyVal=t,this.$emit("getProductId",t)},changeCheckbox:function(t){var e=[];t.forEach((function(t){t={image:t.image,product_id:t.id,store_name:t.store_name,temp_id:t.temp_id},e.push(t)})),this.images=e,this.diyVal=t,this.$emit("getProductDiy",t)},goodsCategory:function(){var t=this;Object(i.d)(1).then((function(e){t.treeSelect=e.data})).catch((function(e){t.$message.error(e.msg)}))},pageChange:function(){this.diy?this.productList():this.getList()},getList:function(){var t=this;this.loading=!0,this.liveStatus?Object(o.e)({is_show:"1",status:"1",live_id:this.datas.id,kerword:this.formValidate.store_name,page:this.formValidate.page,limit:this.formValidate.limit}).then((()=>{var e=Object(c.a)(Object(n.a)().m((function e(a){var c;return Object(n.a)().w((function(e){for(;;)switch(e.n){case 0:(c=a.data).list.forEach((function(t){t.image=t.cover_img})),t.selectIds.length&&t.selectIds.map((function(e){c.list.map((function(a){a.id==e&&t.$refs.table.toggleRowSelection(a)}))})),t.$nextTick((function(e){t.tableList=c.list,t.total=a.data.count,t.loading=!1}));case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)})):(this.isLive&&(this.formValidate.is_live=1),Object(i.e)(this.formValidate).then((()=>{var e=Object(c.a)(Object(n.a)().m((function e(a){var c;return Object(n.a)().w((function(e){for(;;)switch(e.n){case 0:c=a.data,t.tableList=c.list,t.total=a.data.count,t.loading=!1,t.$nextTick((function(){var e;t.selectIds.length&&(e=[],t.selectIds.map((function(a){c.list.map((function(n){n.id==a&&(t.$refs.table.toggleRowSelection(n,!0),e.push(n))}))})),t.changeCheckbox(e))}));case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)})))},ok:function(){var t;0{var e=Object(o.a)(Object(i.a)().m((function e(a){return Object(i.a)().w((function(e){for(;;)switch(e.n){case 0:t.$message.success(a.msg),t.getFileList(),t.pids=0,t.checkPicList=[],t.ids=[];case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.$message.error(e.msg)}))},delImg:function(t){var e=this;this.$modalSure({title:"删除选中视频",url:"file/file/delete",method:"POST",ids:{ids:t}}).then((function(t){e.$message.success(t.msg),e.getFileList(),e.checkPicList=[]})).catch((function(t){e.$message.error(t.msg)}))},editPicList:function(t){var e=this;t={ids:t||this.ids.toString()};this.$modalSure({title:"删除选中视频",url:"file/file/delete",method:"POST",ids:t}).then((function(t){e.$message.success(t.msg),e.getFileList(),e.initData()})).catch((function(t){e.$message.error(t.msg)}))},initData:function(){this.checkPicList=[],this.ids=[],this.multipleSelection=[]},onMouseOver:function(t,e,a){event.preventDefault(),a.flag=!a.flag,a.flag2&&(a.flag2=!1)},appendBtn:function(t){this.treeId=t.id,this.fileData.page=1,this.getFileList()},append:function(t){this.treeId=t.id,this.getFrom()},remove:function(t,e){var a=this;this.tits=e,e={title:"删除 [ "+t.title+" ] 分类",url:"file/category/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(e).then((function(t){a.$message.success(t.msg),a.getList(),a.checkPicList=[]})).catch((function(t){a.$message.error(t.msg)}))},editPic:function(t){var e=this;this.$modalForm(Object(l.a)(t.id)).then((function(){return e.getList()}))},changePage:function(){this.getList("search")},getList:function(t){var e=this,a={title:"全部视频",id:"",pid:0};Object(l.e)(this.uploadName).then((()=>{var n=Object(o.a)(Object(i.a)().m((function n(o){return Object(i.a)().w((function(n){for(;;)switch(n.n){case 0:"search"!==t&&(e.treeData2=JSON.parse(JSON.stringify(Object(c.a)(o.data.list)))),o.data.list.unshift(a),e.treeData=o.data.list;case 1:return n.a(2)}}),n)})));return function(t){return n.apply(this,arguments)}})()).catch((function(t){e.$message.error(t.msg)}))},loadData:function(t,e){Object(l.e)({pid:t.id}).then((()=>{var t=Object(o.a)(Object(i.a)().m((function t(a){var n;return Object(i.a)().w((function(t){for(;;)switch(t.n){case 0:n=a.data.list,e(n);case 1:return t.a(2)}}),t)})));return function(e){return t.apply(this,arguments)}})()).catch((function(t){}))},addFlag:function(t){var e=this;t.map((function(t){e.$set(t,"flag",!1),e.$set(t,"flag2",!1),t.children&&e.addFlag(t.children)}))},add:function(){this.treeId=0,this.getFrom()},searchFile:function(){this.fileData.page=1,this.getFileList()},getFileList:function(){var t=this;this.fileData.pid=this.treeId,Object(l.c)(this.fileData).then((()=>{var e=Object(o.a)(Object(i.a)().m((function e(a){return Object(i.a)().w((function(e){for(;;)switch(e.n){case 0:a.data.list.forEach((function(e){e.isSelect=!1,e.isEdit=!1,e.isShowEdit=!1,e.realName=!1,e.num=0,t.editName(e)})),t.pictrueList=a.data.list,t.pictrueList.length?t.isShowPic=!1:t.isShowPic=!0,t.total=a.data.count,t.$nextTick((function(){}));case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.$message.error(e.msg)}))},showSelectData:function(){var t=this;0Number(t))return this.$message.warning("最多只能选"+t+"张视频");this.$emit("getPicD",this.checkPicList),this.$emit("getVideo",this.checkPicList)}})),"editName",(function(t){var e=t.real_name.split("."),a=null==e[1]?[]:e[1];e=e[0].length+a.length;t.editName=e<10?t.real_name:t.real_name.substr(0,4)+"..."+t.real_name.substr(-5,5)})),"bindTxt",(function(t){var e=this;""==t.real_name&&this.$message.error("请填写内容"),Object(l.d)(t.att_id,{real_name:t.real_name}).then((function(a){e.editName(t),t.isEdit=!1,e.$message.success(a.msg)})).catch((function(t){e.$message.error(t.msg)}))}))},a("33ae"),m=a("2877"),n=Object(m.a)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"Modal"},[e("div",{staticClass:"colLeft"},[e("div",{staticClass:"Nav"},[e("div",{staticClass:"trees-coadd"},[t.isPage?e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"tree_tit",on:{click:t.addSort}},[e("i",{staticClass:"el-icon-circle-plus"}),t._v("\n 添加分类\n ")]):t._e(),e("div",{staticClass:"scollhide"},[e("div",{class:t.isPage?"tree":"isTree"},[e("el-tree",{attrs:{data:t.treeData,"node-key":"id","default-expand-all":"","highlight-current":"","expand-on-click-node":!1,"current-node-key":t.treeId},on:{"node-click":t.appendBtn},scopedSlots:t._u([{key:"default",fn:function(n){var c=n.data;return e("span",{staticClass:"custom-tree-node"},[e("div",{staticClass:"file-name"},[c.pid?t._e():e("img",{staticClass:"icon",attrs:{src:a("c583")}}),e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:c.title,placement:"top"}},[e("div",{staticClass:"text line1"},[t._v("\n "+t._s(c.title)+"\n ")])])],1),e("span",[e("el-dropdown",{on:{command:function(e){return t.clickMenu(c,e)}}},[e("i",{staticClass:"el-icon-more el-icon--right"}),e("template",{slot:"dropdown"},[e("el-dropdown-menu",[e("el-dropdown-item",{attrs:{command:"1"}},[t._v("新增分类")]),c.id?e("el-dropdown-item",{attrs:{command:"2"}},[t._v("编辑分类")]):t._e(),c.id?e("el-dropdown-item",{attrs:{command:"3"}},[t._v("删除")]):t._e()],1)],1)],2)],1)])}}])})],1)])])]),e("div",{staticClass:"conter"},[e("div",{staticClass:"bnt acea-row row-middle df-jcsb"},[e("div",{},[0!==t.isShow?e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"mr14",attrs:{type:"primary",disabled:0===t.checkPicList.length,size:"small"},on:{click:t.checkPics}},[t._v("使用选中视频")]):t._e(),"1"!==t.upload_type?e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"mr14",attrs:{type:"primary",size:"small"},on:{click:t.zh_uploadFile}},[t._v("上传视频")]):t._e(),"1"===t.upload_type?e("el-upload",{staticStyle:{display:"inline-block"},attrs:{"show-file-list":!1,action:t.fileUrl,"before-upload":t.videoSaveToUrl,data:t.uploadData,headers:t.header,multiple:!0,accept:".mp4"}},[e("el-button",{staticClass:"mr14",attrs:{size:"small",type:"primary"}},[t._v("上传视频")])],1):t._e(),e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"mr14",attrs:{size:"small",disabled:!t.checkPicList.length&&!t.ids.length},on:{click:function(e){return e.stopPropagation(),t.editPicList()}}},[t._v("删除视频")]),e("el-cascader",{staticClass:"treeSel",staticStyle:{width:"150px"},attrs:{placeholder:"视频移动至",options:t.treeData2,props:{checkStrictly:!0,emitPath:!1,label:"title",value:"id"},clearable:"",size:"small"},on:{"visible-change":t.moveImg},model:{value:t.pids,callback:function(e){t.pids=e},expression:"pids"}})],1),e("div",[e("el-input",{staticClass:"mr14",staticStyle:{width:"150px"},attrs:{placeholder:"请输入视频名",size:"small"},on:{change:t.searchFile},model:{value:t.fileData.real_name,callback:function(e){t.$set(t.fileData,"real_name",e)},expression:"fileData.real_name"}},[e("i",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"el-icon-search el-input__icon",attrs:{slot:"suffix"},on:{click:t.getFileList},slot:"suffix"})]),t.isPage?e("el-radio-group",{staticClass:"mr10",attrs:{size:"small"},on:{input:t.radioChange},model:{value:t.lietStyle,callback:function(e){t.lietStyle=e},expression:"lietStyle"}},[e("el-radio-button",{attrs:{label:"list"}},[e("i",{staticClass:"el-icon-menu"})]),e("el-radio-button",{attrs:{label:"table"}},[e("span",{staticClass:"iconfont iconliebiao"})])],1):t._e()],1)]),e("div",{staticClass:"pictrueList acea-row",class:{"is-modal":!t.isPage}},["list"==t.lietStyle?e("div",{staticStyle:{width:"100%"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowPic,expression:"isShowPic"}],staticClass:"imagesNo"},[e("i",{staticClass:"el-icon-picture",staticStyle:{color:"#dbdbdb","font-size":"60px"}}),e("span",{staticClass:"imagesNo_sp"},[t._v("视频库为空")])]),e("div",{ref:"imgListBox",staticClass:"acea-row mb10"},t._l(t.pictrueList,(function(a,n){return e("div",{key:n,staticClass:"pictrueList_pic mb10 mt10",style:{margin:t.picmargin},on:{mouseenter:function(e){return t.enterMouse(a)},mouseleave:function(e){return t.enterMouse(a)}}},[0.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}")}catch(s){console}}a=function(){var t,e,a,n=document.createElement("div");n.innerHTML=l._iconfont_svg_string_1945396,(n=n.getElementsByTagName("svg")[0])&&(n.setAttribute("aria-hidden","true"),n.style.position="absolute",n.style.width=0,n.style.height=0,n.style.overflow="hidden",(t=document.body).firstChild?(e=n,(a=t.firstChild).parentNode.insertBefore(e,a)):t.appendChild(n))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(a,0):(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),a()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(c=a,i=l.document,o=!1,function e(){try{i.documentElement.doScroll("left")}catch(t){return void setTimeout(e,50)}u()}(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,u())})}function u(){o||(o=!0,c())}},e4d4:function(t,e,a){a("9c76")},e553:function(t,e,a){a.r(e),a("4de4"),a("14d9"),a("a434"),a("e9f5"),a("910d"),a("4ec9"),a("a9e3"),a("d3b7"),a("3ca3"),a("ddb0");var n=a("b76a"),c=(n=a.n(n),a("c4ad")),i=(a("b0c0"),a("c14f")),o=a("1da1"),l=a("f478"),s={name:"index",props:{},data:function(){return{formValidate:{pid:0,name:""},treeSelect:[],loading:!1,grid:{xl:10,lg:10,md:12,sm:24,xs:24},tableList:[],currentid:0,productRow:{},columns:[{type:"selection",width:60,align:"center"},{title:"商品ID",key:"id"},{title:"图片",slot:"image"},{title:"商品分类",key:"cate_name",minWidth:150}],images:[]}},computed:{},created:function(){},mounted:function(){this.goodsCategory(),this.getList()},methods:{selectionGood:function(t){this.$emit("getProductDiy",t)},goodsCategory:function(){var t=this;Object(l.j)().then((function(e){t.treeSelect=e.data})).catch((function(e){t.$message.error(e.msg)}))},getList:function(){var t=this;this.loading=!0,Object(l.j)(this.formValidate).then((()=>{var e=Object(o.a)(Object(i.a)().m((function e(a){return Object(i.a)().w((function(e){for(;;)switch(e.n){case 0:t.tableList=a.data,t.loading=!1;case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)}))},userSearchs:function(){this.getList()}}},r=(a("b1cf"),a("2877"));s=Object(r.a)(s,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"goodList"},[e("el-form",{ref:"formValidate",staticClass:"tabform",attrs:{model:t.formValidate,"label-width":"120px","label-position":"right"}},[e("el-row",{attrs:{gutter:24}},[e("el-col",t._b({},"el-col",t.grid,!1),[e("el-form-item",{attrs:{label:"商品分类:","label-for":"pid"}},[e("el-select",{staticStyle:{width:"230px"},attrs:{clearable:""},on:{change:t.userSearchs},model:{value:t.formValidate.pid,callback:function(e){t.$set(t.formValidate,"pid",e)},expression:"formValidate.pid"}},t._l(t.treeSelect,(function(t){return e("el-option",{key:t.id,attrs:{value:t.id,label:t.cate_name}})})),1)],1)],1),e("el-col",t._b({},"el-col",t.grid,!1),[e("el-form-item",{attrs:{label:"商品搜索:","label-for":"store_name"}},[e("el-input",{staticStyle:{width:"80%"},attrs:{search:"","enter-button":"",placeholder:"请输入商品分类,id"},on:{"on-search":t.userSearchs},model:{value:t.formValidate.name,callback:function(e){t.$set(t.formValidate,"name",e)},expression:"formValidate.name"}})],1)],1)],1)],1),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"table",attrs:{"empty-text":"暂无数据","max-height":"400",data:t.tableList},on:{select:t.selectionGood}},[e("el-table-column",{attrs:{type:"selection",width:"55"}}),e("el-table-column",{attrs:{label:"商品ID",width:"80"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.id))])]}}])}),e("el-table-column",{attrs:{label:"图片","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(t){return[e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.row.pic,expression:"scope.row.pic"}]})])]}}])}),e("el-table-column",{attrs:{label:"商品分类","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.cate_name))])]}}])})],1)],1)}),[],!1,null,"2b0d9ba4",null).exports,c={name:"c_goods",props:{name:{type:String},configData:{type:null},configNum:{type:Number|String,default:"default"}},components:{goodsList:c.default,sortList:s,draggable:n.a},watch:{configData:{handler:function(t,e){this.defaults=t[this.configNum];var a=t[this.configNum].titleInfo?t[this.configNum].titleInfo.type:0;switch(this.type=t[this.configNum].selectConfig.type||a||0,this.type){case 0:this.titles="商品列表";break;case 1:this.titles="分类列表";break;case 8:this.titles="砍价列表";break;case 2:this.titles="秒杀列表";break;case 3:this.titles="拼团列表"}},immediate:!0,deep:!0}},data:function(){return{modals:!1,goodsList:[],tempGoods:[],defaults:{},type:"",is_new:"",loading:!0,titles:""}},created:function(){this.defaults=this.configData[this.configNum],this.is_new=this.configData[this.configNum].is_new},methods:{getProductDiy:function(t){this.tempGoods=t,this.loading=!1},cancel:function(){this.tempGoods=[]},unique:function(t){var e=new Map;return t.filter((function(t){return!e.has(t.id)&&e.set(t.id,1)}))},ok:function(){if(!this.tempGoods.length)return this.$message.warning("请先选择商品");var t=this.defaults.goodsList.list;t.push.apply(t,this.tempGoods),t=this.unique(t);this.defaults.goodsList.list=t,this.modals=!1},bindDelete:function(t){this.defaults.goodsList.list.splice(t,1)}}},a("5ef3"),s=Object(r.a)(c,(function(){var t=this,e=t._self._c;return t.defaults.goodsList?e("div",{staticClass:"goods-box"},[e("div",{staticClass:"wrapper"},[e("draggable",{staticClass:"dragArea list-group",attrs:{list:t.defaults.goodsList.list,group:"peoples"}},[t._l(t.defaults.goodsList.list,(function(a,n){return e("div",{directives:[{name:"show",rawName:"v-show",value:t.defaults.goodsList.list.length,expression:"defaults.goodsList.list.length"}],key:n,staticClass:"item"},[e("img",{attrs:{src:1==t.type?a.pic:a.image,alt:""}}),e("span",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"iconfont icondel_1",on:{click:function(e){return e.stopPropagation(),t.bindDelete(n)}}})])})),e("div",{directives:[{name:"db-click",rawName:"v-db-click"}],staticClass:"add-item item",on:{click:function(e){t.modals=!0}}},[e("span",{staticClass:"iconfont iconaddto"})])],2)],1),e("el-dialog",{staticClass:"paymentFooter",class:t.type?"":"middleTop",attrs:{visible:t.modals,title:t.titles,width:"900px"},on:{"update:visible":function(e){t.modals=e}}},[t.modals&&1==t.type?e("sort-list",{ref:"goodslist",on:{getProductDiy:t.getProductDiy}}):t._e(),t.modals&&1!=t.type?e("goods-list",{ref:"goodslist",attrs:{ischeckbox:!0,type:t.type,is_new:t.is_new,diy:!0},on:{getProductDiy:t.getProductDiy}}):t._e(),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],on:{click:t.cancel}},[t._v("取 消")]),e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],attrs:{type:"primary"},on:{click:t.ok}},[t._v("确 定")])],1)],1)],1):t._e()}),[],!1,null,"d1376eb4",null);e.default=s.exports},ea81:function(t,e,a){},ed08:function(t,e,a){a.d(e,"c",(function(){return c})),a.d(e,"e",(function(){return i})),a.d(e,"d",(function(){return o})),a.d(e,"b",(function(){return l})),a.d(e,"f",(function(){return s})),a.d(e,"a",(function(){return r})),a("fb6a"),a("4e82"),a("b0c0"),a("e9f5"),a("7d54"),a("d3b7"),a("159b"),a("ddb0");var n=a("5c96");function c(t){return t=t.name.substring(t.name.lastIndexOf(".")),t=-1<[".jpg",".png",".jpeg",".JPG",".PNG",".JPEG",".gif",".GIF",".webp",".WEBP"].indexOf(t),t||n.Message.error("上传图片格式不对"),t}function i(t){return t=t.name.substring(t.name.lastIndexOf(".")),t=-1<[".mp3",".MP3"].indexOf(t),t||n.Message.error("上传音频格式不对"),t}function o(t){return t=t.name.substring(t.name.lastIndexOf(".")),t=-1<[".mp4",".MP4"].indexOf(t),t||n.Message.error("上传文件必须为mp4格式视频"),t}function l(t){return t=t.name.substring(t.name.lastIndexOf(".")),t=-1<[".doc",".DOC",".docx",".xls",".xlsx"].indexOf(t),t||n.Message.error("上传文件格式不对"),t}function s(t){return t=t.name.substring(t.name.lastIndexOf(".")),t=-1<[".xls",".xlsx"].indexOf(t),t||n.Message.error("上传文件格式不对"),t}function r(t,e){if(t.length!==e.length)return!1;for(var a=t.slice().sort(),n=e.slice().sort(),c=0;c