From 50591242c75e28f2773d8179456c23f5d9c4ab5d Mon Sep 17 00:00:00 2001
From: liutong <836164388@qq.com>
Date: Wed, 12 Mar 2025 11:51:04 +0800
Subject: [PATCH] =?UTF-8?q?feat(coach):=20=E6=B7=BB=E5=8A=A0=E7=8F=AD?=
=?UTF-8?q?=E7=BA=A7=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E5=B9=B6=E6=9B=B4?=
=?UTF-8?q?=E6=96=B0=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 新增班级列表页面,包含课程筛选、课室筛选功能
- 更新首页发布作业按钮,增加点击事件- 修改导航栏样式,统一为黑色主题
- 更新底部导航栏,将"我的"选项路径修改为班级列表页面
---
components/AQ/AQTabber.vue | 2 +-
pages.json | 17 +-
pages/coach/class/list.vue | 421 +++++++++++++++++++++++++++++++++++++
pages/coach/home/index.vue | 6 +-
4 files changed, 438 insertions(+), 8 deletions(-)
create mode 100644 pages/coach/class/list.vue
diff --git a/components/AQ/AQTabber.vue b/components/AQ/AQTabber.vue
index 4aac156..586909b 100644
--- a/components/AQ/AQTabber.vue
+++ b/components/AQ/AQTabber.vue
@@ -57,7 +57,7 @@
},
{
text: "班级",
- urlPath:'/pages/student/my/my',//自定义页面跳转路径
+ urlPath:'/pages/coach/class/list',//自定义页面跳转路径
iconPath: "/static/images/tabbar/my.png",
selectedIconPath: "/static/images/tabbar/my.png"
},
diff --git a/pages.json b/pages.json
index eca371e..d6c42cc 100644
--- a/pages.json
+++ b/pages.json
@@ -63,8 +63,8 @@
"style": {
"navigationBarTitleText": "发布作业",
"navigationStyle": "default",
- "navigationBarBackgroundColor": "#fff",
- "navigationBarTextStyle": "black"
+ "navigationBarBackgroundColor": "#292929",
+ "navigationBarTextStyle": "white"
}
},
{
@@ -72,8 +72,8 @@
"style": {
"navigationBarTitleText": "全部作业",
"navigationStyle": "default",
- "navigationBarBackgroundColor": "#fff",
- "navigationBarTextStyle": "black"
+ "navigationBarBackgroundColor": "#292929",
+ "navigationBarTextStyle": "white"
}
},
{
@@ -93,6 +93,15 @@
"navigationBarBackgroundColor": "#292929",
"navigationBarTextStyle": "white"
}
+ },
+ {
+ "path": "pages/coach/class/list",
+ "style": {
+ "navigationBarTitleText": "班级",
+ "navigationStyle": "custom",
+ "navigationBarBackgroundColor": "#292929",
+ "navigationBarTextStyle": "white"
+ }
}
],
diff --git a/pages/coach/class/list.vue b/pages/coach/class/list.vue
new file mode 100644
index 0000000..a06aa9f
--- /dev/null
+++ b/pages/coach/class/list.vue
@@ -0,0 +1,421 @@
+
+
+
+
+
+ 班级
+
+
+
+
+
+
+ 周日
+ 14
+
+
+
+ 周一
+ 14
+
+
+
+ 周二
+ 14
+
+
+
+ 周日
+ 今
+
+
+
+ 周一
+ 14
+
+
+
+ 周二
+ 14
+
+
+
+ 周二
+ 14
+
+
+
+
+
+
+
+
+
+ {{course_name}}
+
+
+
+
+
+
+
+
+
+ {{classroom_name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 班级:少年班
+ 时间:2020-05-25 15:30 - 17:30
+ 课室:302室
+
+ 课程:篮球少儿课
+
+
+
+ 上课中
+
+
+
+
+
+ 已签到学生 (15/34)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 详情
+
+
+
+
+
+
+
+ 班级:少年班
+ 时间:2020-05-25 15:30 - 17:30
+ 课室:302室
+
+ 课程:篮球少儿课
+
+
+
+ 上课中
+
+
+
+
+
+ 已签到学生 (15/34)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/coach/home/index.vue b/pages/coach/home/index.vue
index d843c3b..7a12cce 100644
--- a/pages/coach/home/index.vue
+++ b/pages/coach/home/index.vue
@@ -20,8 +20,8 @@
28%
- 发布作业
- 28%
+ 发布作业
+
@@ -208,7 +208,7 @@ export default {
methods: {
//打开-发布作业页
- openObjListView(){
+ openObjAddView(){
uni.navigateTo({
url: '/pages/coach/job/add'
})