body {
  margin: 0;
  padding: 0;
  background-color: #303133;
}

.el-main {
  padding: 0;
  --el-main-padding: 0;
  background-color: #F7F8FE;
}

.el-main iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.body-container {
  position: relative;
  background-color: var(--el-color-white);
  color: var(--el-text-color-primary);
  /* 自适应高度 */
  height: 100vh;
  overflow: hidden;
}

.el-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #303133;
  color: aliceblue;
  height: 70px;
}

.el-header .logo-box {
  width: 160px;
  line-height: 70px;
  text-align: center;
}

.el-header .logo-box a{
  color: var(--el-color-white);
  text-decoration: none;
}

.el-header .navs-bar {
  margin-left: 20px;
  flex-grow: 2;
}

.el-header .avatar-box {
  height: 30px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.el-header .avatar-box .avatar-img {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: inline-block;
}

.el-header .avatar-box span {
  margin-left: 5px;
  cursor: pointer;
  color: var(--el-color-white);
  outline: none;
  display: flex;
  align-items: center;
}

.iframe-container {
  width: 100%;
  height: calc(100% - 70px);
}

.el-aside {
  color: var(--el-text-color-primary);
  background: #393d4a;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: auto;
}

.el-aside .menu-box {
  width: 100%;
  overflow-y:scroll;
  /** 计算高度 */
  height: calc(100% - 45px);
}

/* 滚动条整体样式 */
.el-aside .menu-box::-webkit-scrollbar {
  width: 5px; /* 滚动条宽度 */
  box-sizing: inherit;
}

/* 滚动条轨道样式 */
.el-aside .menu-box::-webkit-scrollbar-track {
  background-color: #373A46; /* 滚动条轨道背景色 */
}

/* 滚动条滑块样式 */
.el-aside .menu-box::-webkit-scrollbar-thumb {
  background-color: #585b63; /* 滚动条滑块背景色 */
  border-radius: 0; /* 滚动条滑块圆角半径 */
}

/* 鼠标悬停在滚动条上时的样式 */
.el-aside .menu-box::-webkit-scrollbar-thumb:hover {
  background-color: #848894; /* 悬停时的滚动条滑块背景色 */
}

.el-aside .el-menu {
  border-right: 0;
}

.el-aside .menu-icon {
  font-size: 20px;
  margin-right: 10px;
}

.el-aside .menu-fold {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-color: #303133;
  color: #000;
  padding: 10px 0;
}

.el-aside .menu-component:not(.el-menu--collapse) {
  width: 200px;
  min-height: 200px;
}

.main-iframe {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: none;
}

.page-enter-active {
  transition: opacity 0.5s ease;
}
.page-leave-active {
  opacity:0;
}

.page-enter-from,
.page-leave-to {
  opacity: 0;
}
