From 7707ea3eb752ed4243bf1c39816a91696feaeb3e Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Tue, 10 Jun 2025 13:09:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(student):=20=E6=B7=BB=E5=8A=A0=E6=88=91?= =?UTF-8?q?=E7=9A=84=E6=95=99=E7=BB=83=E5=8A=9F=E8=83=BD-=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=88=91=E7=9A=84=E6=95=99=E7=BB=83=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E5=B1=95=E7=A4=BA=E5=AD=A6=E7=94=9F=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E7=9A=84=E6=95=99=E7=BB=83=E5=88=97=E8=A1=A8=20-=20=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=E6=95=99=E7=BB=83=E5=88=97=E8=A1=A8=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=8A=A0=E8=BD=BD=E5=92=8C=E5=B1=95=E7=A4=BA=E9=80=BB?= =?UTF-8?q?=E8=BE=91-=20=E6=B7=BB=E5=8A=A0=E8=B7=B3=E8=BD=AC=E5=88=B0?= =?UTF-8?q?=E6=88=91=E7=9A=84=E6=95=99=E7=BB=83=E9=A1=B5=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=20-=20=E6=9B=B4=E6=96=B0=20API=20=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=EF=BC=8C=E5=A2=9E=E5=8A=A0=E8=8E=B7=E5=8F=96=E5=AD=A6?= =?UTF-8?q?=E7=94=9F=E6=95=99=E7=BB=83=E5=88=97=E8=A1=A8=E7=9A=84=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/apiRoute.js | 7 ++ pages.json | 9 ++ pages/student/login/login.vue | 4 +- pages/student/my/my.vue | 9 +- pages/student/my/my_coach.vue | 211 ++++++++++++++++++++++++++++++++++ 5 files changed, 237 insertions(+), 3 deletions(-) create mode 100644 pages/student/my/my_coach.vue diff --git a/api/apiRoute.js b/api/apiRoute.js index 90fc535..b326865 100644 --- a/api/apiRoute.js +++ b/api/apiRoute.js @@ -538,6 +538,13 @@ export default { return res; }) }, + //学生端-学生课程安排-获取学生排课的全部场地列表 + xy_personCourseScheduleGetMyCoach(data = {}) { + let url = '/xy/personCourseSchedule/getMyCoach' + return http.get(url, data).then(res => { + return res; + }) + }, diff --git a/pages.json b/pages.json index e4795b8..063c1d3 100644 --- a/pages.json +++ b/pages.json @@ -36,6 +36,15 @@ "navigationBarTextStyle": "white" } }, + { + "path": "pages/student/my/my_coach", + "style": { + "navigationBarTitleText": "我的教练", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, { "path": "pages/student/login/forgot", diff --git a/pages/student/login/login.vue b/pages/student/login/login.vue index e803674..84c408c 100644 --- a/pages/student/login/login.vue +++ b/pages/student/login/login.vue @@ -277,8 +277,8 @@ export default { this.password1= '123123' //密码 }else{ //学生端 - this.user= '15335526445' //账户 - this.password1= '123123' //密码 + this.user= '13042409890' //账户 + this.password1= '13042409890' //密码 } }, diff --git a/pages/student/my/my.vue b/pages/student/my/my.vue index 3c65ac9..ce10eae 100644 --- a/pages/student/my/my.vue +++ b/pages/student/my/my.vue @@ -64,7 +64,7 @@ - 我的教练 + 我的教练 @@ -160,6 +160,13 @@ url: `/pages/common/my_message` }) }, + + //跳转页面-我的教练 + openViewMyCoach(){ + uni.navigateTo({ + url: `/pages/student/my/my_coach` + }) + }, } } diff --git a/pages/student/my/my_coach.vue b/pages/student/my/my_coach.vue new file mode 100644 index 0000000..aedc37f --- /dev/null +++ b/pages/student/my/my_coach.vue @@ -0,0 +1,211 @@ + + + + + + \ No newline at end of file