diff --git a/frontend/src/assets/styles/roomroot.scss b/frontend/src/assets/styles/roomroot.scss
index de603b39..a73d1537 100644
--- a/frontend/src/assets/styles/roomroot.scss
+++ b/frontend/src/assets/styles/roomroot.scss
@@ -98,6 +98,15 @@
-ms-user-select: none;
user-select: none;
+ // 教学管理系统的列表字段统一居中,避免各业务页面单独声明后出现视觉错位。
+ .el-table__cell,
+ .el-table__cell.is-left,
+ .el-table__cell.is-right,
+ .el-table__cell.is-center,
+ .el-table__cell > .cell {
+ text-align: center;
+ }
+
.el-table__header-wrapper, .el-table__fixed-header-wrapper {
th {
word-break: break-word;
@@ -129,6 +138,17 @@
.el-table__fixed-body-wrapper.is-dragging {
cursor: default;
}
+
+ // 横向滚动条被隐藏后,Element UI 仍会为右侧固定列预留滚动条高度。
+ // 仅在宽表格发生横向溢出时补齐该高度,保证“操作”列与普通数据行底部对齐。
+ &.el-table--scrollable-x .el-table__fixed-right {
+ height: 100% !important; // 组件通过行内样式写入高度,只能在此处覆盖。
+ }
+
+ &.el-table--scrollable-x .el-table__fixed-right .el-table__fixed-body-wrapper {
+ bottom: 0;
+ height: auto !important; // 组件通过行内样式写入高度,只能在此处覆盖。
+ }
}
/* 表格横拖期间锁定整页光标与文本选中:
diff --git a/frontend/src/layout/components/SemesterBar.vue b/frontend/src/layout/components/SemesterBar.vue
index 5f99f3a5..6c69a63a 100644
--- a/frontend/src/layout/components/SemesterBar.vue
+++ b/frontend/src/layout/components/SemesterBar.vue
@@ -247,28 +247,40 @@ export default {
line-height: normal;
}
- ::v-deep .el-input__inner {
- background: rgba(255, 255, 255, 0.12);
- border: 1px solid rgba(255, 255, 255, 0.35);
- color: #fff;
- border-radius: 7px;
- height: 36px;
- padding: 0 12px;
- display: flex;
- align-items: center;
-
- &::placeholder {
- color: rgba(255, 255, 255, 0.7);
- }
- }
-
- ::v-deep .el-input__inner:hover {
- border-color: rgba(255, 255, 255, 0.6);
- }
-
- ::v-deep .el-input__icon {
- color: rgba(255, 255, 255, 0.85);
- }
+ }
+}
+
+
+
diff --git a/frontend/src/views/classHour/plan/index.vue b/frontend/src/views/classHour/plan/index.vue
index 626e0e2e..8fbe7a3a 100644
--- a/frontend/src/views/classHour/plan/index.vue
+++ b/frontend/src/views/classHour/plan/index.vue
@@ -23,7 +23,15 @@
-
+
@@ -55,17 +63,27 @@
{{ fmtValue(row.jxbjgbz) }}
-
+
- 详情
- 修改
- 删除
+
+ 详情
+ 修改
+ 删除
+
-
+
@@ -100,10 +118,12 @@
{{ fmtValue(row.hbxssx) }}
-
+
- 详情
- 修改
+
+ 详情
+ 修改
+
@@ -654,6 +674,13 @@ export default {
// ==================== 2. 数据表格 ====================
.table-card {
+ .table-actions {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ white-space: nowrap;
+ }
+
.pagination {
display: flex;
justify-content: flex-end;