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