(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["p2"],{2419:function(t,o,n){o=t.exports=n("2350")(!1),o.push([t.i,".content{height:calc(100% - 26px)}",""])},"2c3f":function(t,o,n){"use strict";n("9bf5")},"3ded":function(t,o,n){"use strict";n.r(o);var e=function(){var t=this,o=t.$createElement,n=t._self._c||o;return n("Shell",{attrs:{tab:"home",breadcrumb:t.breadcrumb}},[n("Panel",[n("div",{staticClass:"content"})])],1)},a=[],i=n("9646"),r=n("a020"),s={components:{Shell:i["a"],Panel:r["Panel"]},data:function(){return{breadcrumb:[]}}},c=s,u=(n("2c3f"),n("2877")),l=Object(u["a"])(c,e,a,!1,null,null,null);o["default"]=l.exports},9646:function(t,o,n){"use strict";var e=function(){var t=this,o=t.$createElement,n=t._self._c||o;return n("Page",{attrs:{breadcrumb:t.breadcrumb,background:{dark:"#2b5876, #262a37",light:"#ffffff, #f8f9fa"},logo:t.logo,nav:t.nav,action:t.action},on:{triggerAction:t.triggerAction}},[t._t("default"),n("Footer",{attrs:{copyright:"© "+(t.sumorText.common?t.sumorText.common.brand:"")+" 为您精心呈现",link:t.link}})],2)},a=[],i=n("a020"),r={components:{Page:i["Page"],Footer:i["Footer"]},props:["tab","breadcrumb"],data:function(){return{navList:[{id:"app",to:"/admin/apps",icon:"apps@material",text:"应用管理",mobile:!0},{id:"user",to:"/admin/users",icon:"users@icomoon",text:"用户管理",mobile:!0}],nav:[],action:[],link:[{url:"/term",text:"使用条款"},{url:"/help",text:"帮助"}]}},computed:{token:function(){return horizon.store.state.sumor.token},sumorText:function(){return horizon.store.state.sumor.text},logo:function(){return{icon:"sumor-logo@sumor",text:this.sumorText.common?this.sumorText.common.brand:""}}},methods:{handleClick:function(t){console.log("click",t.key)},update:function(t){if(this.token&&this.token.permission.Backoffice){var o=[];for(var n in this.navList)this.navList[n].active=this.navList[n].id===t,o.push(this.navList[n]);this.nav=o}else this.nav=[]},triggerAction:function(t){console.log(t)}},mounted:function(){this.update(this.tab)},watch:{tab:function(t){this.update(t)},token:function(){this.update(this.tab)}}},s=r,c=n("2877"),u=Object(c["a"])(s,e,a,!1,null,"01b1d311",null);o["a"]=u.exports},"9bf5":function(t,o,n){var e=n("2419");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var a=n("499e").default;a("29f5cbd3",e,!0,{sourceMap:!1,shadowMode:!1})}}]);