nihao пре 5 година
родитељ
комит
9eda77b32a
1 измењених фајлова са 8 додато и 8 уклоњено
  1. 8 8
      src/layout/class/groupList.vue

+ 8 - 8
src/layout/class/groupList.vue

@@ -5,19 +5,19 @@
         <el-collapse accordion>
         <el-collapse accordion>
           <el-collapse-item>
           <el-collapse-item>
             <template slot="title">
             <template slot="title">
-              <el-col :span="2" class="groupName">{{ index + 1 }}.</el-col>
-              <el-col :span="5" class=""> {{ item.name }} {{ item.students.length }}人</el-col>
-              <el-col :span="4" class="groupName">
+              <el-col :span="2">{{ index + 1 }}.</el-col>
+              <el-col :span="5"> {{ item.name }} {{ item.students.length }}人</el-col>
+              <el-col :span="4">
                 <el-button v-if="item.students.length >= 10" round plain type="danger" size="mini" disabled>已满员</el-button>
                 <el-button v-if="item.students.length >= 10" round plain type="danger" size="mini" disabled>已满员</el-button>
               </el-col>
               </el-col>
-              <el-col :span="1" class="groupName"></el-col>
-              <el-col :span="4" class="groupName">
+              <el-col :span="1"></el-col>
+              <el-col :span="4">
                 <el-button v-if="stuIdAndGroupId.type === '班长' && item.students.length === 0" round type="danger" size="mini" @click="deleteGroup(item.id)"
                 <el-button v-if="stuIdAndGroupId.type === '班长' && item.students.length === 0" round type="danger" size="mini" @click="deleteGroup(item.id)"
                   >删除</el-button
                   >删除</el-button
                 >
                 >
               </el-col>
               </el-col>
-              <el-col :span="1" class="groupName"></el-col>
-              <el-col :span="4" class="groupName">
+              <el-col :span="1"></el-col>
+              <el-col :span="4">
                 <el-button v-if="stuIdAndGroupId.groupId === '' && item.students.length <= 10" round type="success" size="mini" @click="joinGroup(item.id)"
                 <el-button v-if="stuIdAndGroupId.groupId === '' && item.students.length <= 10" round type="success" size="mini" @click="joinGroup(item.id)"
                   >加入</el-button
                   >加入</el-button
                 >
                 >
@@ -25,7 +25,7 @@
               </el-col>
               </el-col>
             </template>
             </template>
             <el-col :span="24" class="list" v-for="(itemStrudent, indexStudent) in item.students" :key="indexStudent">
             <el-col :span="24" class="list" v-for="(itemStrudent, indexStudent) in item.students" :key="indexStudent">
-              <el-col :span="6" class="childName">{{ itemStrudent.stuname }}</el-col>
+              <el-col :span="6">{{ itemStrudent.stuname }}</el-col>
             </el-col>
             </el-col>
           </el-collapse-item>
           </el-collapse-item>
         </el-collapse>
         </el-collapse>