权限组全自定义、月度分独立、绑定邮箱免密与样式统一

1. 权限组:去掉锁定/预置限制,所有组可编辑/删除/分配;管理员新增/编辑可选任意组;管理员列表不再显示锁定徽标
2. 个人查询:月度分独立计算(当月净得分,与基础分无关),总分=基础分+加分-减分
3. 绑定邮箱:发送验证码与确认绑定不再需要密码(解绑仍需密码)
4. 权限组编辑UI:权限项按 学生/操行分/教务/系统管理 分区,支持全选/清空,上限两行布局,弹窗加宽
5. 样式统一:颜色变量化(硬编码色值清零)、check-grid/check-item 统一复选框网格、cell-wrap、subject-status 全局化、success-msg
6. 旧库升级期兼容保留(登录/权限降级、待升级提示)
7. 文档同步更新
This commit is contained in:
canglan committed 2026-09-18 09:56:39 +08:00
1 parent 8cd2c83412
commit ed3189096d
25 files changed
+237 -159

No files matched your search

+76 -1
View File
@@ -1,4 +1,4 @@
/**
/**
* 班级操行分管理系统 - 管理端样式
*
* 开发者: Canglan
@@ -263,3 +263,78 @@
white-space: normal;
word-break: break-word;
}
/* ========== 权限组编辑 ========== */
.perm-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.perm-section {
margin-bottom: 12px;
}
.perm-section-title {
font-size: 12px;
color: var(--color-text-secondary);
border-left: 3px solid var(--color-primary);
padding-left: 6px;
margin-bottom: 6px;
}
.check-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 6px 12px;
}
.form-group .check-item {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 0;
font-weight: normal;
font-size: 13px;
}
.perm-cap-row {
display: flex;
flex-wrap: wrap;
gap: 20px;
align-items: center;
margin-bottom: 8px;
}
@media (max-width: 640px) {
.check-grid {
grid-template-columns: repeat(2, 1fr);
}
}
/* ========== 状态徽标(管理员/科目通用) ========== */
.subject-status {
font-size: 11px;
padding: 2px 8px;
border-radius: 12px;
white-space: nowrap;
}
.subject-status-active {
background: #c6f6d5;
color: #22543d;
}
.subject-status-inactive {
background: #fed7d7;
color: #742a2a;
}
/* 已选学生信息条 */
.selected-info {
padding: 8px 12px;
background: var(--color-hover);
border: 1px solid var(--color-border);
border-radius: 6px;
font-size: 14px;
}
/* 表格长文本单元格 */
.cell-wrap {
max-width: 340px;
white-space: normal;
word-break: break-word;
}