123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <template>
- <div class='td-container'>
- <h2>
- 武汉小学乐团
- <div class="term">第一学期</div>
- <div class="term active">第一学期</div>
- </h2>
- <div class="td-core">
- <p class='msg'>乐团状态:开团中</p>
- <!-- navMenu -->
- <el-tabs v-model="activeName"
- type="card"
- @tab-click="handleClick">
- <el-tab-pane label="基本信息"
- name="1">
- </el-tab-pane>
- <el-tab-pane label="老师列表"
- name="2">
- <teacherList />
- </el-tab-pane>
- <el-tab-pane label="学员列表"
- name="3">
- <studentList />
- </el-tab-pane>
- <el-tab-pane label="班级详情"
- name="4">
- <classList />
- </el-tab-pane>
- <el-tab-pane label="课表详情"
- name="5">
- </el-tab-pane>
- <el-tab-pane label="基本信息"
- name="6">
- <courseList />
- </el-tab-pane>
- <el-tab-pane label="课酬调整"
- name="7">
- </el-tab-pane>
- </el-tabs>
- <!-- <div class="contentWrap">
- <keep-alive>
- <transition name="fade"
- mode="out-in">
- <studentList v-if="activeName == 3" />
- <teacherList v-if="activeName == 2" />
- <courseList v-if="activeName == 4" />
- <classList v-if="activeName == 5" />
- </transition>
- </keep-alive>
- </div> -->
- </div>
- </div>
- </template>
- <script>
- import studentList from '@/views/teamDetail/components/studentList'
- import teacherList from '@/views/teamDetail/components/teacherList'
- import courseList from '@/views/teamDetail/components/courseList'
- import classList from '@/views/teamDetail/components/classList'
- export default {
- data () {
- return {
- activeName: '2',
- }
- },
- methods: {
- handleClick (val) {
- this.activeIndex = val;
- }
- },
- components: {
- studentList,
- teacherList,
- courseList,
- classList
- }
- }
- </script>
- <style lang="scss" scoped>
- .td-container {
- box-sizing: border-box;
- background-color: #fff;
- padding: 18px 95px 55px 60px;
- h2 {
- height: 48px;
- line-height: 48px;
- position: relative;
- padding-left: 30px;
- margin-bottom: 30px;
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
- }
- .td-core {
- background-color: #fff;
- min-height: calc(100vh - 160px);
- padding: 0 40px;
- .msg {
- text-align: right;
- }
- }
- .term {
- height: 32px;
- line-height: 32px;
- border-radius: 24px;
- width: 100px;
- color: #14928a;
- border: 1px solid rgba(20, 146, 138, 1);
- font-size: 14px;
- text-align: center;
- margin-right: 12px;
- &:nth-child(1) {
- margin-left: 47px;
- }
- }
- .term.active {
- color: #fff;
- background-color: #14928a;
- }
- }
- </style>
- <style >
- .el-tabs__item.is-active {
- color: #14928a;
- font-size: 14px;
- font-weight: 600;
- }
- .el-tabs__item:hover {
- color: #14928a;
- font-size: 14px;
- font-weight: 600;
- }
- </style>
|