(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-49bae238"],{2210:function(t,e,s){t.exports=s.p+"static/img/theme5.9e099bf5.png"},"3b58":function(t,e,s){},4225:function(t,e,s){"use strict";s("3b58")},6659:function(t,e,s){t.exports=s.p+"static/img/theme1.f1b8bd0b.png"},"6a4f":function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"divBox"},[s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"theme_box"},[s("div",{staticClass:"theme_head"},t._l(t.tabList,(function(e,i){return s("div",{key:i,staticClass:"tab_color",class:t.active===i?"active":"",on:{click:function(e){return t.selected(i)}}},[s("div",{staticClass:"color_cont flex align-center"},[s("div",{staticClass:"main_c mr-2",class:e.class},[s("span",{directives:[{name:"show",rawName:"v-show",value:t.active==i,expression:"active == index"}],staticClass:"iconfont iconios-checkmark-circle white"})]),t._v(" "),s("div",[t._v(t._s(e.tit))])])])})),0),t._v(" "),s("div",{staticClass:"theme_content"},t._l(t.imgList,(function(t,e){return s("img",{key:e,attrs:{src:t,alt:""}})})),0),t._v(" "),s("div",{staticClass:"save"},[s("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["platform:system:config:saveuniq"],expression:"['platform:system:config:saveuniq']"}],attrs:{type:"primary"},on:{click:function(e){return t.saveTheme()}}},[t._v("保存")])],1)])])],1)},c=[],a=s("2b9b"),n=s("61f7"),m=s("e350"),o={data:function(){return{active:0,tabList:[{tit:"热情红",class:"bg1"},{tit:"家居橙",class:"bg2"},{tit:"生鲜绿",class:"bg3"},{tit:"海鲜蓝",class:"bg4"},{tit:"女神粉",class:"bg5"}],themeData:[],imgList:[s("6659")],theme1:[s("6659")],theme2:[s("916b")],theme3:[s("c4ca")],theme4:[s("a414")],theme5:[s("2210")]}},mounted:function(){Object(m["a"])(["platform:system:config:getuniq"])&&this.getSet()},methods:{checkPermi:m["a"],selected:function(t){this.active=t,0==t?this.$set(this,"imgList",this.theme1):1==t?this.$set(this,"imgList",this.theme2):2==t?this.$set(this,"imgList",this.theme3):3==t?this.$set(this,"imgList",this.theme4):4==t&&this.$set(this,"imgList",this.theme5)},getSet:function(){var t=this;Object(a["a"])({key:"change_color_config"}).then((function(e){t.active=e-1,1==e?t.$set(t,"imgList",t.theme1):2==e?t.$set(t,"imgList",t.theme2):3==e?t.$set(t,"imgList",t.theme3):4==e?t.$set(t,"imgList",t.theme4):5==e&&t.$set(t,"imgList",t.theme5)}))},saveTheme:Object(n["a"])((function(){var t=this,e={key:"change_color_config",value:this.active+1};Object(a["d"])(e).then((function(e){t.$message.success("编辑成功")}))}))}},h=o,r=(s("4225"),s("2877")),l=Object(r["a"])(h,i,c,!1,null,null,null);e["default"]=l.exports},"916b":function(t,e,s){t.exports=s.p+"static/img/theme2.a58d2e42.png"},a414:function(t,e,s){t.exports=s.p+"static/img/theme4.04818a38.png"},c4ca:function(t,e,s){t.exports=s.p+"static/img/theme3.bb7f2840.png"}}]);