<template>
  <div id="app">
    <div id="nav">
      <nav-bar :navItem="navItem"></nav-bar>
    </div>
    <div id="view">
      <router-view/>
    </div>
  </div>
</template>
<script>
import NavBar from './common/components/NavBar.vue'
export default {
  name: 'App',
  data(){
    return{
      //navBar导航数据
      navItem:[
        {
          routerName: 'ModifyOrgan',
          navTitle:'修改机构信息'
        },{
          routerName: 'OperatorList',
          navTitle:'操作员管理'
        },{
          routerName: 'AddOperator',
          navTitle:'新增操作员'
        },{
          routerName: 'OrganAuthManage',
          navTitle:'机构权限管理'
        }
      ]
    }
  },
  components:{
    NavBar
  }
}
</script>
<style >
html,body{
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  background-color: #151B3B;
  font-family: '思源黑体 Medium';
}
#app {
  /*font-family: Avenir, Helvetica, Arial, sans-serif;*/
  font-family:"Microsoft YaHei";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* text-align: center; */
  color: #2c3e50;
  display: flex;
  width: 100%;
  height: 100%;
}
#nav {
  width: 14.06%;
  min-width: 180px;
  height: 100%;
  min-height: 100%;
}
#view {
  width: 85.94%;
  min-width: 1053px;
  height: 100%;
  background-color: #242B61;
  border-radius: 6px;
  box-sizing: border-box;
  border: 24px solid #151B3B;
  overflow-y: auto; 
}
  /* //滚动条的宽度 */
  ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
  /* //滚动条的滑块 */
 ::-webkit-scrollbar-thumb {
  background-color: #a1a3a9;
  border-radius: 3px;
}
</style>
