fix:学习页面样式调整

This commit is contained in:
zxj
2025-12-22 18:18:52 +08:00
parent 862085426d
commit d30ef31d7f

View File

@@ -6,7 +6,7 @@
<!-- 顶部横幅与标题 --> <!-- 顶部横幅与标题 -->
<div class="banner"> <div class="banner">
<div class="banner-inner"> <div class="banner-inner">
<div class="title">社招新员工培训及考试</div> <div class="title">{{ projectName }}</div>
<!-- 筛选条 --> <!-- 筛选条 -->
<div class="filters"> <div class="filters">
<div class="filter-group"> <div class="filter-group">
@@ -273,6 +273,7 @@ export default {
total: 0, total: 0,
loading: false, loading: false,
projectId: "", projectId: "",
projectName: "",
studentId: "", studentId: "",
// 列表数据(课程/考试混合) // 列表数据(课程/考试混合)
items: [], items: [],
@@ -312,6 +313,7 @@ export default {
const res = await getSzxygProjectInfo(); const res = await getSzxygProjectInfo();
this.bpmApprovalRequired = res.data.bpmApprovalRequired; this.bpmApprovalRequired = res.data.bpmApprovalRequired;
this.projectId = res.data.id || ""; this.projectId = res.data.id || "";
this.projectName = res.data.name || "";
}, },
async loadList() { async loadList() {
if (!this.studentId || !this.projectId) return; if (!this.studentId || !this.projectId) return;
@@ -470,7 +472,7 @@ export default {
} }
.sidebar { .sidebar {
width: 360px; width: 360px;
margin-top: -70px; margin-top: -80px;
} }
.card { .card {