11wqe1 3 days ago
parent
commit
c65164a6a4

+ 12 - 2
src/components/pages/studentManageNew/component/table.vue

@@ -3,13 +3,13 @@
     <div class="topbox">
       <template>
         <div class="topbox_area" v-if="boxType == 0">
+          <span>学生列表</span>
           <span v-if="!ClaEditvisible">{{ activeinfo.name }}</span>
           <input v-if="ClaEditvisible" ref="claEditInput" class="claInp" type="text" 
             placeholder="请输入班级名称..."
             v-model.trim="ClaEditInfo.name" 
             @blur="confirmClaEdit"
             @keyup.enter="confirmClaEdit">
-          <span>学生列表</span>
           <el-tooltip content="编辑" placement="top">
             <img
               :src="editBtnHovered || ClaEditvisible ? eidl : eidh"
@@ -772,7 +772,7 @@ export default {
     editCla(row) {
       this.ClaEditvisible = !this.ClaEditvisible;
       this.ClaEditInfo = JSON.parse(JSON.stringify(row));
-      this.ClaEditInfo.name = '';
+      // this.ClaEditInfo.name = '';
       if (this.ClaEditvisible) {
         this.$nextTick(() => {
           this.$refs.claEditInput.focus();
@@ -1813,6 +1813,16 @@ export default {
   flex-direction: column;
   background: #fff;
 }
+.tabList >>> .el-table{
+  background: #E7EAF0;
+}
+.tabList >>> .el-table__body-wrapper{
+  border-radius: 8px;
+}
+/* 针对整个表格添加圆角 */
+/* .tabList >>> .el-table__body tbody tr:first-child td:first-child {
+  border-radius: 8px 8px 0 0;
+} */
 .tableList >>> .has-gutter .gutter {
   background: #e7eaf0 !important;
 }

+ 6 - 4
src/components/pages/studentManageNew/index.vue

@@ -37,7 +37,7 @@
               :key="k.id"
               :title="k.name"
             >
-              <el-menu-item :index="k.id" @click="handleClick(k.id, 0,k)">
+              <el-menu-item :index="k.id" style="font-weight: normal;" @click="handleClick(k.id, 0,k)">
                 <span>{{ k.name }}</span>
                 <span>({{ k.pnum }}人)</span>
               </el-menu-item>
@@ -345,6 +345,7 @@ export default {
   gap: 15px;
   width: 100%;
   height: 100%;
+  font-family: PingFang SC, PingFang SC;
 }
 .rigbox {
   background: #fff;
@@ -386,15 +387,13 @@ export default {
 .rigbox >>> .el-menu {
   border: none;
 }
-.rigbox >>> .el-menu {
-  border: none;
-}
 .rigbox >>> .el-menu-item-group__title {
   display: none;
 }
 .rigbox >>> .el-menu li {
   padding: 0 !important;
   font-weight: 600;
+  margin-top: 5px;
   font-family: PingFang SC, PingFang SC !important;
   /* color: rgba(0,0,0,0.9) !important; */
 }
@@ -417,6 +416,9 @@ export default {
   align-items: center;
   justify-content: space-between;
 }
+.rigbox >>> .el-submenu__title:hover{
+  border-radius: 5px;
+}
 .rigbox >>> .grade-submenu-arrow {
   width: 12px;
   height: 12px;