Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
studyweb_Prototype
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
yujiejie
studyweb_Prototype
Commits
7c6cd020
提交
7c6cd020
authored
8月 21, 2026
作者:
yujiejie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
学生端驳回通知链接一半没有完善
上级
716fbe6c
全部展开
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
18 行增加
和
1 行删除
+18
-1
index.html
index.html
+18
-1
pages-mentor.js
pages-mentor.js
+0
-0
pages-student.js
pages-student.js
+0
-0
没有找到文件。
index.html
浏览文件 @
7c6cd020
...
...
@@ -306,9 +306,18 @@
<div
id=
"studentLayout"
class=
"flex flex-col h-screen"
style=
"display:none"
>
<div
class=
"student-header"
>
<div
class=
"flex items-center gap-3"
><div
class=
"w-8 h-8 rounded-lg bg-gradient-to-br from-indigo-500 to-violet-600 flex items-center justify-center text-white text-xs font-bold"
>
T
</div><span
class=
"font-bold text-sm"
>
实习生训练平台
</span></div>
<div
class=
"flex items-center gap-4"
>
<div
class=
"relative"
id=
"stuNtfMenu"
>
<button
class=
"relative p-1.5 rounded-lg hover:bg-black/5 transition-colors"
onclick=
"toggleStudentNotifications()"
>
<svg
class=
"w-5 h-5 text-gray-500"
data-lucide=
"bell"
></svg>
<span
id=
"stuNtfBadge"
class=
"absolute -top-0.5 -right-0.5 w-4 h-4 bg-red-500 text-white text-[9px] rounded-full items-center justify-center font-medium hidden"
>
0
</span>
</button>
<div
class=
"notif-menu"
id=
"stuNtfList"
onclick=
"event.stopPropagation()"
></div>
</div>
<div
class=
"relative"
id=
"stuAvatarMenu"
><div
class=
"w-8 h-8 rounded-full bg-indigo-100 text-indigo-600 flex items-center justify-center font-bold text-sm cursor-pointer"
onclick=
"toggleMenu('stuAvatarMenu')"
>
张
</div>
<div
class=
"avatar-menu"
><a
onclick=
"switchPage('profile')"
>
个人中心
</a><div
class=
"divider"
></div><a
onclick=
"doLogout()"
style=
"color:#EF4444"
>
退出登录
</a></div></div>
</div>
</div>
<div
class=
"flex-1 overflow-y-auto p-6"
id=
"studentContent"
></div>
</div>
<!-- Other roles top-nav layout -->
...
...
@@ -342,6 +351,8 @@ function renderContent() {
}
// Re-initialize Lucide icons for new content
if
(
window
.
lucide
)
lucide
.
createIcons
();
// 更新学生通知铃铛角标
if
(
typeof
updateStudentNotificationBadge
===
'function'
)
updateStudentNotificationBadge
();
// 初始化雷达图
setTimeout
(
initRadarChart
,
150
);
}
...
...
@@ -501,13 +512,19 @@ var studentState = {
deployPassed
:
false
,
deployReviewStatus
:
'待提交'
,
deployReviewComment
:
''
,
deployReviewScore
:
null
,
// { api, deployment, logs, report, reflection, total }
deployReviewUpdatedAt
:
''
,
// 导师验收提交时间
deployReviewRound
:
1
,
// 导师验收轮次
deployReviewNotifiedAt
:
''
,
// 导师验收通知时间
deployReviewRound
:
1
,
// 当前验收轮次
deployReviewNotifiedAt
:
''
,
// 导师验收通知时间
deployLogName
:
''
,
deployLogContent
:
''
,
deployApiUrl
:
''
,
deployApiPath
:
''
,
deployApiPort
:
''
,
deployRejected
:
false
,
deployReviewComment
:
''
,
notifications
:
[],
// 通知列表(含部署验收通知),未读展示在学生端首页
deployArtifact
:
{
fileName
:
''
,
apiUrl
:
''
,
apiPath
:
''
,
port
:
''
,
modelName
:
''
,
apiKey
:
''
},
deployArtifactSaved
:
false
,
deployArtifactSubmitted
:
false
,
...
...
pages-mentor.js
浏览文件 @
7c6cd020
差异被折叠。
点击展开。
pages-student.js
浏览文件 @
7c6cd020
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论