From bea45d22e793a649aed75f6697b870c62ec82544 Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Thu, 13 Mar 2025 10:00:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(coach):=20=E6=B7=BB=E5=8A=A0=E5=AD=A6?= =?UTF-8?q?=E7=94=9F=E4=BD=93=E6=B5=8B=E6=95=B0=E6=8D=AE=E5=92=8C=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A=E4=BB=BB=E5=8A=A1=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增物理测试报告和作业任务详情页面组件 - 在 pages.json 中添加新页面的配置项 - 优化学生信息页面,添加体测和作业相关功能 --- pages.json | 18 +++ pages/coach/student/info.vue | 32 +++-- pages/coach/student/physical_examination.vue | 127 +++++++++++++++++++ pages/coach/student/work_details.vue | 68 ++++++++++ 4 files changed, 236 insertions(+), 9 deletions(-) create mode 100644 pages/coach/student/physical_examination.vue create mode 100644 pages/coach/student/work_details.vue diff --git a/pages.json b/pages.json index 1efb958..b83e131 100644 --- a/pages.json +++ b/pages.json @@ -141,6 +141,24 @@ "navigationBarBackgroundColor": "#29d3b4", "navigationBarTextStyle": "white" } + }, + { + "path": "pages/coach/student/work_details", + "style": { + "navigationBarTitleText": "作业任务", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/coach/student/physical_examination", + "style": { + "navigationBarTitleText": "体测数据", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } } diff --git a/pages/coach/student/info.vue b/pages/coach/student/info.vue index 2563100..4f41690 100644 --- a/pages/coach/student/info.vue +++ b/pages/coach/student/info.vue @@ -77,7 +77,7 @@ - + 篮球少儿课 上课时间:2020.05.30 15:30 - 17:30 @@ -87,7 +87,7 @@ 作业未提交 - + 篮球少儿课 上课时间:2020.05.30 15:30 - 17:30 @@ -97,7 +97,7 @@ 作业未提交 - + 篮球少儿课 上课时间:2020.05.30 15:30 - 17:30 @@ -107,7 +107,7 @@ 作业未提交 - + 篮球少儿课 上课时间:2020.05.30 15:30 - 17:30 @@ -124,35 +124,35 @@ - + 综合评分:96 打败了99%学员 测试时间:2020.05.30 - + 综合评分:96 打败了99%学员 测试时间:2020.05.30 - + 综合评分:96 打败了99%学员 测试时间:2020.05.30 - + 综合评分:96 打败了99%学员 测试时间:2020.05.30 - + 综合评分:96 打败了99%学员 @@ -209,6 +209,20 @@ export default { url: '/pages/coach/student/info' }) }, + + //打开体测报告 + openViewPhysicalExamination(item){ + uni.navigateTo({ + url: '/pages/coach/student/physical_examination' + }) + }, + + //打开作业任务 + opebViewWorkDetails(item){ + uni.navigateTo({ + url: '/pages/coach/student/work_details' + }) + }, } } diff --git a/pages/coach/student/physical_examination.vue b/pages/coach/student/physical_examination.vue new file mode 100644 index 0000000..270c1e1 --- /dev/null +++ b/pages/coach/student/physical_examination.vue @@ -0,0 +1,127 @@ + + + + + + \ No newline at end of file diff --git a/pages/coach/student/work_details.vue b/pages/coach/student/work_details.vue new file mode 100644 index 0000000..2071fbe --- /dev/null +++ b/pages/coach/student/work_details.vue @@ -0,0 +1,68 @@ + + + + +