<el-aside>:侧边栏容器

.el-aside {

  width: 200px;

  background-color: #38383a;

  min-height: calc(100vh - 60px); (60px是el-header的高度)

}

<el-main>:主要区域容器

.el-mian {

  background-color: #eaedf1;

  margin: 0px;

  color: #333;

  text-align: center;

  height: calc(100vh - 60px); (60px是el-header的高度)

}

Logo

一站式 AI 云服务平台

更多推荐