#app {
  background: #f6f8fa;
  height: 100vh;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 65px;
}

/* 头部 */
#app > header {
  background: #fff;
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  max-width: 1920px;
}

main .tuijian-banner {
  width: 100%;
  max-width: 1920px;
  margin-top: -15px;
}

header .content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .content .left {
  display: flex;
  margin-right: 100px;
  padding: 10px 0;
}

header .content .left .logo img {
  height: 40px;
  margin-right: 10px;
}

header .content .center {
  font-weight: 400;
  font-size: 16px;
  color: var(--secondary-word-color);
  flex: 1;
}

header .content .center .tab {
  display: flex;
}

header .content .center .tab .tab_pane {
  margin-right: 30px;
  cursor: pointer;
  padding: 0 5px;
}

header .content .center .tab .tab_pane.active {
  color: var(--primary-color);
  position: relative;
}

header .content .center .tab .tab_pane.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  left: 0;
  bottom: -20px;
}

header .content .right {
  display: flex;
  align-items: center;
  color: var(--secondary-word-color);
  font-size: 14px;
}

header .content .right .concat {
  margin-right: 30px;
  position: relative;
}

header .content .right .concat::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 24px;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: #f2f3f5;
}

header .content .right .concat img {
  width: 40px;
  height: 40px;
  vertical-align: middle;
}

header .content .user {
  display: flex;
  align-items: center;
}

header .content .user .avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

header .content .user .el-menu {
  border-right: none;
}

header .content .user .el-menu .el-sub-menu .el-menu--inline {
  position: absolute;
  z-index: 999;
  width: 100%;
  right: 0;
  top: 60px;
  border: 1px solid #ccc;
}

header .content .user .el-menu .el-menu-item:hover {
  background: none;
}

.common_banner {
  margin-top: -15px;
  position: relative;
  margin-bottom: 15px;
}

.common_banner .banner_img {
  width: 100%;
}

/* 分页 */
.pagination {
  margin-top: 15px;
  display: flex;
  justify-content: center;
}

/* 底部 */
footer {
  background: #141c27;
  color: #ffffff;
}

footer .content {
  width: 1400px;
  background: #141c27;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

footer .content h4 {
  font-size: 16px;
  margin-bottom: 15px;
}

footer .content p,
footer .content a {
  font-size: 12px;
  margin-bottom: 10px;
  color: #a9acaf;
}

footer .content .right {
  text-align: right;
}

footer .content .right img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

footer .content .right a:not(:last-child) {
  position: relative;
  margin-right: 40px;
}

footer .content .right a:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 10px;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  background: #a9acaf;
}

/* tabbar */

.tabbar {
  display: flex;
  justify-content: space-evenly;
  background: #fff;
  border-top: 1px solid #f1ebeb;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.tabbar .tab_pane {
  padding: 20px 10px;
  cursor: pointer;
}

.tabbar .tab_pane.active {
  color: var(--primary-color);
}

/* 主要内容 */
main {
  flex: 1;
  padding-top: 15px;
  position: relative;
  background: #f6f8fa;
}

.main-loading {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
  z-index: 999999;
}

.main-loading .loading-circle {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container)
  .el-menu-item {
  padding-left: 24px;
}

@media (min-width: 768px) {
  .tabbar {
    display: none;
  }
}

/* 手机端（屏幕宽度≤768px） */
@media (max-width: 768px) {
  #app,
  header,
  main .tuijian-banner,
  header .content,
  footer .content {
    width: 100%;
    min-width: 375px;
  }

  main {
    padding-bottom: 50px;
  }

  .tuijian-banner {
    height: 40px;
    object-fit: cover;
  }

  footer {
    display: none;
  }
}
