Compare commits

..

No commits in common. "aaf03eb60d406a01cddaf8061222197509374562" and "8ec93353bccab2551bcbb14101b196fdcf22e6cc" have entirely different histories.

3 changed files with 5 additions and 6 deletions

View File

@ -4,7 +4,6 @@
class="el-menu-vertical-demo" class="el-menu-vertical-demo"
:default-active="activeIndex" :default-active="activeIndex"
@select="handleSelect" @select="handleSelect"
unique-opened
> >
<template v-for="(item,index) in classList" :key="index"> <template v-for="(item,index) in classList" :key="index">
<el-sub-menu :index="`${index}`"> <el-sub-menu :index="`${index}`">

View File

@ -1,5 +1,5 @@
<template> <template>
<el-card style="width: 100%;height: 100%;overflow: auto"> <el-card style="width: 100%;height: 100%">
<!-- <template #header>--> <!-- <template #header>-->
<!-- <div class="card-header" style="text-align: left">--> <!-- <div class="card-header" style="text-align: left">-->
<!-- <el-button type="primary" @click="addGroup">新建分组</el-button>--> <!-- <el-button type="primary" @click="addGroup">新建分组</el-button>-->

View File

@ -2,8 +2,8 @@
<div class="common-layout"> <div class="common-layout">
<el-container> <el-container>
<el-aside style="width: 200px;margin-top: 20px"> <el-aside style="width: 200px;margin-top: 20px">
<el-card style="width: 200px" class="el-card-demo" :style="{'min-height': (viewportHeight - 164) + 'px'}"> <el-card style="width: 200px" class="el-card-demo" :style="{'min-height': (viewportHeight - 120) + 'px'}">
<div :style="{'max-height': (viewportHeight - 164) + 'px','overflow-y': 'auto'}"> <div :style="{'max-height': (viewportHeight - 120) + 'px','overflow-y': 'auto'}">
<Aside :menuItems="menuItems" :classList="classList" @handleSelect="handleSelect"></Aside> <Aside :menuItems="menuItems" :classList="classList" @handleSelect="handleSelect"></Aside>
</div> </div>
<!-- 隐藏操作按钮--> <!-- 隐藏操作按钮-->
@ -19,9 +19,9 @@
</template> </template>
</el-card> </el-card>
</el-aside> </el-aside>
<el-main :style="{'min-height': (viewportHeight - 204) + 'px'}"> <el-main :style="{'min-height': (viewportHeight - 160) + 'px'}">
<!-- <router-view :style="{'height': (viewportHeight - 120) + 'px','overflow-y': 'auto'}" :key="route.path"></router-view>--> <!-- <router-view :style="{'height': (viewportHeight - 120) + 'px','overflow-y': 'auto'}" :key="route.path"></router-view>-->
<div :style="{'height': (viewportHeight - 164) + 'px','overflow-y': 'auto'}"> <div :style="{'height': (viewportHeight - 120) + 'px','overflow-y': 'auto'}">
<!-- 班级概况--> <!-- 班级概况-->
<ClassInfo v-if="currentIndex==0" :classId="classId"></ClassInfo> <ClassInfo v-if="currentIndex==0" :classId="classId"></ClassInfo>
<!-- 学生列表--> <!-- 学生列表-->