From 9e1297c8ced9b31986cb886c96c7ed938c89d430 Mon Sep 17 00:00:00 2001 From: zeyan <258785420@qq.com> Date: Fri, 1 Aug 2025 09:48:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=8C=85=E8=BF=81=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uniapp/App.vue | 3 + uniapp/common/config.js | 16 +- uniapp/components/schedule/ScheduleDetail.vue | 3 +- uniapp/pages-coach/coach/home/index.vue | 755 ++++++ uniapp/pages-coach/coach/my/due_soon.vue | 227 ++ uniapp/pages-coach/coach/my/exam_results.vue | 47 + uniapp/pages-coach/coach/my/gotake_exam.vue | 185 ++ uniapp/pages-coach/coach/my/info.vue | 505 ++++ uniapp/pages-coach/coach/my/salary.vue | 546 +++++ .../coach/my/schooling_statistics.vue | 241 ++ uniapp/pages-coach/coach/my/set_up.vue | 58 + .../coach/my/teaching_management.vue | 247 ++ uniapp/pages-coach/coach/my/update_pass.vue | 229 ++ .../coach/schedule/add_schedule.vue | 682 ++++++ .../coach/schedule/adjust_course.vue | 583 +++++ .../coach/schedule/schedule_table.vue | 1767 ++++++++++++++ uniapp/pages-coach/coach/schedule/sign_in.vue | 521 ++++ .../coach/student/physical_examination.vue | 282 +++ .../coach/student/student_list.vue | 728 ++++++ uniapp/pages-common/article_info.vue | 129 + .../pages-common/contract/contract_detail.vue | 707 ++++++ .../pages-common/contract/contract_sign.vue | 733 ++++++ uniapp/pages-common/contract/my_contract.vue | 411 ++++ uniapp/pages-common/feedback.vue | 235 ++ uniapp/pages-common/im_chat_info.vue | 600 +++++ uniapp/pages-common/my_attendance.vue | 1129 +++++++++ uniapp/pages-common/my_message.vue | 374 +++ .../pages-common/personnel/add_personnel.vue | 899 +++++++ uniapp/pages-common/privacy_agreement.vue | 111 + uniapp/pages-common/profile/index.vue | 259 ++ uniapp/pages-common/profile/personal_info.vue | 1282 ++++++++++ uniapp/pages-common/sys_msg_list.vue | 225 ++ uniapp/pages-market/clue/add_clues.vue | 2123 +++++++++++++++++ .../pages-market/clue/class_arrangement.vue | 631 +++++ .../clue/class_arrangement_detail.vue | 1292 ++++++++++ uniapp/pages-market/clue/clue_info.less | 431 ++++ uniapp/pages-market/clue/clue_info.vue | 1470 ++++++++++++ uniapp/pages-market/clue/clue_table.vue | 164 ++ uniapp/pages-market/clue/edit_clues.vue | 1806 ++++++++++++++ uniapp/pages-market/clue/edit_clues_log.vue | 365 +++ uniapp/pages-market/clue/index.vue | 1760 ++++++++++++++ uniapp/pages-market/data/statistics.vue | 343 +++ uniapp/pages-market/index/index.vue | 427 ++++ uniapp/pages-market/my/campus_data.vue | 495 ++++ uniapp/pages-market/my/dept_data.vue | 445 ++++ uniapp/pages-market/my/index.vue | 523 ++++ uniapp/pages-market/my/info.vue | 505 ++++ uniapp/pages-market/my/my_data.vue | 292 +++ uniapp/pages-market/my/set_up.vue | 105 + uniapp/pages-market/my/signed_client_list.vue | 275 +++ uniapp/pages-market/my/update_pass.vue | 229 ++ uniapp/pages-market/reimbursement/add.vue | 272 +++ uniapp/pages-market/reimbursement/detail.vue | 136 ++ uniapp/pages-market/reimbursement/list.vue | 144 ++ uniapp/pages-optimized.json | 590 +++++ uniapp/pages-student/child/add.vue | 501 ++++ uniapp/pages-student/contracts/index.vue | 988 ++++++++ uniapp/pages-student/course-booking/index.vue | 1023 ++++++++ uniapp/pages-student/knowledge/index.vue | 1304 ++++++++++ uniapp/pages-student/messages/index.vue | 887 +++++++ .../pages-student/my/lesson_consumption.vue | 195 ++ uniapp/pages-student/my/my_coach.vue | 211 ++ uniapp/pages-student/my/my_members.vue | 158 ++ uniapp/pages-student/my/personal_data.vue | 421 ++++ uniapp/pages-student/my/set_up.vue | 57 + uniapp/pages-student/my/update_pass.vue | 125 + uniapp/pages-student/orders/index.vue | 1024 ++++++++ uniapp/pages-student/physical-test/index.vue | 823 +++++++ uniapp/pages-student/profile/index.vue | 605 +++++ uniapp/pages-student/schedule/index.vue | 933 ++++++++ uniapp/pages-student/settings/index.vue | 254 ++ uniapp/pages.json | 1134 ++++----- uniapp/pages.json.backup | 601 +++++ uniapp/pages/coach/home/index.vue | 32 +- uniapp/pages/coach/my/due_soon.vue | 8 +- uniapp/pages/coach/my/exam_results.vue | 4 +- uniapp/pages/coach/my/gotake_exam.vue | 4 +- .../pages/coach/my/schooling_statistics.vue | 4 +- uniapp/pages/coach/my/set_up.vue | 8 +- uniapp/pages/coach/my/teaching_management.vue | 8 +- uniapp/pages/coach/my/update_pass.vue | 4 +- .../pages/coach/schedule/schedule_table.vue | 16 +- uniapp/pages/coach/student/student_list.vue | 2 +- .../pages/common/contract/contract_detail.vue | 2 +- uniapp/pages/common/contract/my_contract.vue | 4 +- uniapp/pages/common/home/index.vue | 39 +- uniapp/pages/common/my_message.vue | 8 +- uniapp/pages/common/profile/index.vue | 12 +- uniapp/pages/common/sys_msg_list.vue | 4 +- uniapp/pages/contract/detail.vue | 4 +- uniapp/pages/contract/fill.vue | 2 +- uniapp/pages/contract/list.vue | 2 +- uniapp/pages/market/clue/add_clues.vue | 12 +- .../pages/market/clue/class_arrangement.vue | 4 +- uniapp/pages/market/clue/clue_info.vue | 8 +- uniapp/pages/market/clue/edit_clues.vue | 4 +- uniapp/pages/market/clue/index.vue | 8 +- uniapp/pages/market/my/index.vue | 64 +- uniapp/pages/market/my/set_up.vue | 8 +- uniapp/pages/market/my/signed_client_list.vue | 4 +- uniapp/pages/market/my/update_pass.vue | 4 +- uniapp/pages/market/reimbursement/list.vue | 8 +- uniapp/pages/student/home/index.vue | 20 +- uniapp/pages/student/knowledge/index.vue | 2 +- uniapp/pages/student/login/login.vue | 7 +- uniapp/pages/student/my/set_up.vue | 8 +- uniapp/pages/student/my/update_pass.vue | 2 +- uniapp/pages/student/orders/index.vue | 2 +- uniapp/pages/student/settings/index.vue | 8 +- uniapp/pages/student/timetable/info.vue | 4 +- 110 files changed, 40426 insertions(+), 704 deletions(-) create mode 100644 uniapp/pages-coach/coach/home/index.vue create mode 100644 uniapp/pages-coach/coach/my/due_soon.vue create mode 100644 uniapp/pages-coach/coach/my/exam_results.vue create mode 100644 uniapp/pages-coach/coach/my/gotake_exam.vue create mode 100644 uniapp/pages-coach/coach/my/info.vue create mode 100644 uniapp/pages-coach/coach/my/salary.vue create mode 100644 uniapp/pages-coach/coach/my/schooling_statistics.vue create mode 100644 uniapp/pages-coach/coach/my/set_up.vue create mode 100644 uniapp/pages-coach/coach/my/teaching_management.vue create mode 100644 uniapp/pages-coach/coach/my/update_pass.vue create mode 100644 uniapp/pages-coach/coach/schedule/add_schedule.vue create mode 100644 uniapp/pages-coach/coach/schedule/adjust_course.vue create mode 100644 uniapp/pages-coach/coach/schedule/schedule_table.vue create mode 100644 uniapp/pages-coach/coach/schedule/sign_in.vue create mode 100644 uniapp/pages-coach/coach/student/physical_examination.vue create mode 100644 uniapp/pages-coach/coach/student/student_list.vue create mode 100644 uniapp/pages-common/article_info.vue create mode 100644 uniapp/pages-common/contract/contract_detail.vue create mode 100644 uniapp/pages-common/contract/contract_sign.vue create mode 100644 uniapp/pages-common/contract/my_contract.vue create mode 100644 uniapp/pages-common/feedback.vue create mode 100644 uniapp/pages-common/im_chat_info.vue create mode 100644 uniapp/pages-common/my_attendance.vue create mode 100644 uniapp/pages-common/my_message.vue create mode 100644 uniapp/pages-common/personnel/add_personnel.vue create mode 100644 uniapp/pages-common/privacy_agreement.vue create mode 100644 uniapp/pages-common/profile/index.vue create mode 100644 uniapp/pages-common/profile/personal_info.vue create mode 100644 uniapp/pages-common/sys_msg_list.vue create mode 100644 uniapp/pages-market/clue/add_clues.vue create mode 100644 uniapp/pages-market/clue/class_arrangement.vue create mode 100644 uniapp/pages-market/clue/class_arrangement_detail.vue create mode 100644 uniapp/pages-market/clue/clue_info.less create mode 100644 uniapp/pages-market/clue/clue_info.vue create mode 100644 uniapp/pages-market/clue/clue_table.vue create mode 100644 uniapp/pages-market/clue/edit_clues.vue create mode 100644 uniapp/pages-market/clue/edit_clues_log.vue create mode 100644 uniapp/pages-market/clue/index.vue create mode 100644 uniapp/pages-market/data/statistics.vue create mode 100644 uniapp/pages-market/index/index.vue create mode 100644 uniapp/pages-market/my/campus_data.vue create mode 100644 uniapp/pages-market/my/dept_data.vue create mode 100644 uniapp/pages-market/my/index.vue create mode 100644 uniapp/pages-market/my/info.vue create mode 100644 uniapp/pages-market/my/my_data.vue create mode 100644 uniapp/pages-market/my/set_up.vue create mode 100644 uniapp/pages-market/my/signed_client_list.vue create mode 100644 uniapp/pages-market/my/update_pass.vue create mode 100644 uniapp/pages-market/reimbursement/add.vue create mode 100644 uniapp/pages-market/reimbursement/detail.vue create mode 100644 uniapp/pages-market/reimbursement/list.vue create mode 100644 uniapp/pages-optimized.json create mode 100644 uniapp/pages-student/child/add.vue create mode 100644 uniapp/pages-student/contracts/index.vue create mode 100644 uniapp/pages-student/course-booking/index.vue create mode 100644 uniapp/pages-student/knowledge/index.vue create mode 100644 uniapp/pages-student/messages/index.vue create mode 100644 uniapp/pages-student/my/lesson_consumption.vue create mode 100644 uniapp/pages-student/my/my_coach.vue create mode 100644 uniapp/pages-student/my/my_members.vue create mode 100644 uniapp/pages-student/my/personal_data.vue create mode 100644 uniapp/pages-student/my/set_up.vue create mode 100644 uniapp/pages-student/my/update_pass.vue create mode 100644 uniapp/pages-student/orders/index.vue create mode 100644 uniapp/pages-student/physical-test/index.vue create mode 100644 uniapp/pages-student/profile/index.vue create mode 100644 uniapp/pages-student/schedule/index.vue create mode 100644 uniapp/pages-student/settings/index.vue create mode 100644 uniapp/pages.json.backup diff --git a/uniapp/App.vue b/uniapp/App.vue index a4d5a79f..27a1b37b 100644 --- a/uniapp/App.vue +++ b/uniapp/App.vue @@ -45,4 +45,7 @@ // 样式文件已迁移到后端,如需使用请通过网络请求获取 @import '@/static/styles/app.scss'; @import "@/uni.scss"; + + // 引入FirstUI主题样式 + @import "@/components/firstui/fui-theme/fui-theme.css"; \ No newline at end of file diff --git a/uniapp/common/config.js b/uniapp/common/config.js index 7c54f5db..2459f37b 100644 --- a/uniapp/common/config.js +++ b/uniapp/common/config.js @@ -1,11 +1,15 @@ // 环境变量配置 -const env = process.env.VUE_APP_ENV || 'development' -const isMockEnabled = process.env.VUE_APP_MOCK_ENABLED === 'true' || false // 默认禁用Mock优先模式,仅作为回退 -const isDebug = process.env.VUE_APP_DEBUG === 'true' || true // 默认启用调试模式 - +// const env = 'development' +const env = 'prod' +const isMockEnabled = false // 默认禁用Mock优先模式,仅作为回退 +const isDebug = false // 默认启用调试模式 +const devurl = 'http://localhost:20080/api' +const devimgurl = 'http://localhost:20080' +const produrl = 'https://api.hnhbty.cn/api' +const prodimgurl = 'https://api.hnhbty.cn' // API配置 - 支持环境变量 -const Api_url = process.env.VUE_APP_API_URL || 'http://localhost:20080/api' -const img_domian = process.env.VUE_APP_IMG_DOMAIN || 'http://localhost:20080/' +const Api_url = env === 'development' ? devurl : produrl +const img_domian = env === 'development' ? devimgurl : prodimgurl // 备用API地址 const Api_url_B = 'https://zhifuguanli.zeyan.wang/api/hygl' diff --git a/uniapp/components/schedule/ScheduleDetail.vue b/uniapp/components/schedule/ScheduleDetail.vue index 5ab8bc30..7b96fba9 100644 --- a/uniapp/components/schedule/ScheduleDetail.vue +++ b/uniapp/components/schedule/ScheduleDetail.vue @@ -467,7 +467,8 @@ // 处理安排学员按钮点击 handleArrangeStudent() { // 跳转到课程安排详情页面进行学员管理 - const url = `/pages/market/clue/class_arrangement_detail?schedule_id=${this.scheduleId}`; + const url = `/pages-market/clue/class_arrangement_detail?schedule_id=${this.scheduleId}`; + console.log('跳转到学员管理页面:', url); uni.navigateTo({ url: url, success: () => { diff --git a/uniapp/pages-coach/coach/home/index.vue b/uniapp/pages-coach/coach/home/index.vue new file mode 100644 index 00000000..5d0928b1 --- /dev/null +++ b/uniapp/pages-coach/coach/home/index.vue @@ -0,0 +1,755 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-coach/coach/my/due_soon.vue b/uniapp/pages-coach/coach/my/due_soon.vue new file mode 100644 index 00000000..c000f40c --- /dev/null +++ b/uniapp/pages-coach/coach/my/due_soon.vue @@ -0,0 +1,227 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-coach/coach/my/exam_results.vue b/uniapp/pages-coach/coach/my/exam_results.vue new file mode 100644 index 00000000..2511e835 --- /dev/null +++ b/uniapp/pages-coach/coach/my/exam_results.vue @@ -0,0 +1,47 @@ + + + + + diff --git a/uniapp/pages-coach/coach/my/gotake_exam.vue b/uniapp/pages-coach/coach/my/gotake_exam.vue new file mode 100644 index 00000000..e45302b4 --- /dev/null +++ b/uniapp/pages-coach/coach/my/gotake_exam.vue @@ -0,0 +1,185 @@ + + + + diff --git a/uniapp/pages-coach/coach/my/info.vue b/uniapp/pages-coach/coach/my/info.vue new file mode 100644 index 00000000..fefbe9c5 --- /dev/null +++ b/uniapp/pages-coach/coach/my/info.vue @@ -0,0 +1,505 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-coach/coach/my/salary.vue b/uniapp/pages-coach/coach/my/salary.vue new file mode 100644 index 00000000..a96d65c7 --- /dev/null +++ b/uniapp/pages-coach/coach/my/salary.vue @@ -0,0 +1,546 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-coach/coach/my/schooling_statistics.vue b/uniapp/pages-coach/coach/my/schooling_statistics.vue new file mode 100644 index 00000000..56112586 --- /dev/null +++ b/uniapp/pages-coach/coach/my/schooling_statistics.vue @@ -0,0 +1,241 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-coach/coach/my/set_up.vue b/uniapp/pages-coach/coach/my/set_up.vue new file mode 100644 index 00000000..cf4281ac --- /dev/null +++ b/uniapp/pages-coach/coach/my/set_up.vue @@ -0,0 +1,58 @@ + + + + + + diff --git a/uniapp/pages-coach/coach/my/teaching_management.vue b/uniapp/pages-coach/coach/my/teaching_management.vue new file mode 100644 index 00000000..2b00e69b --- /dev/null +++ b/uniapp/pages-coach/coach/my/teaching_management.vue @@ -0,0 +1,247 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-coach/coach/my/update_pass.vue b/uniapp/pages-coach/coach/my/update_pass.vue new file mode 100644 index 00000000..af5d9aa4 --- /dev/null +++ b/uniapp/pages-coach/coach/my/update_pass.vue @@ -0,0 +1,229 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-coach/coach/schedule/add_schedule.vue b/uniapp/pages-coach/coach/schedule/add_schedule.vue new file mode 100644 index 00000000..6cbcab91 --- /dev/null +++ b/uniapp/pages-coach/coach/schedule/add_schedule.vue @@ -0,0 +1,682 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-coach/coach/schedule/adjust_course.vue b/uniapp/pages-coach/coach/schedule/adjust_course.vue new file mode 100644 index 00000000..8516d61f --- /dev/null +++ b/uniapp/pages-coach/coach/schedule/adjust_course.vue @@ -0,0 +1,583 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-coach/coach/schedule/schedule_table.vue b/uniapp/pages-coach/coach/schedule/schedule_table.vue new file mode 100644 index 00000000..ed2d736f --- /dev/null +++ b/uniapp/pages-coach/coach/schedule/schedule_table.vue @@ -0,0 +1,1767 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-coach/coach/schedule/sign_in.vue b/uniapp/pages-coach/coach/schedule/sign_in.vue new file mode 100644 index 00000000..91b1b1e1 --- /dev/null +++ b/uniapp/pages-coach/coach/schedule/sign_in.vue @@ -0,0 +1,521 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-coach/coach/student/physical_examination.vue b/uniapp/pages-coach/coach/student/physical_examination.vue new file mode 100644 index 00000000..84a847e6 --- /dev/null +++ b/uniapp/pages-coach/coach/student/physical_examination.vue @@ -0,0 +1,282 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-coach/coach/student/student_list.vue b/uniapp/pages-coach/coach/student/student_list.vue new file mode 100644 index 00000000..121413d8 --- /dev/null +++ b/uniapp/pages-coach/coach/student/student_list.vue @@ -0,0 +1,728 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-common/article_info.vue b/uniapp/pages-common/article_info.vue new file mode 100644 index 00000000..e3490423 --- /dev/null +++ b/uniapp/pages-common/article_info.vue @@ -0,0 +1,129 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-common/contract/contract_detail.vue b/uniapp/pages-common/contract/contract_detail.vue new file mode 100644 index 00000000..641b8e90 --- /dev/null +++ b/uniapp/pages-common/contract/contract_detail.vue @@ -0,0 +1,707 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-common/contract/contract_sign.vue b/uniapp/pages-common/contract/contract_sign.vue new file mode 100644 index 00000000..5e6538f9 --- /dev/null +++ b/uniapp/pages-common/contract/contract_sign.vue @@ -0,0 +1,733 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-common/contract/my_contract.vue b/uniapp/pages-common/contract/my_contract.vue new file mode 100644 index 00000000..8ab22be3 --- /dev/null +++ b/uniapp/pages-common/contract/my_contract.vue @@ -0,0 +1,411 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-common/feedback.vue b/uniapp/pages-common/feedback.vue new file mode 100644 index 00000000..706463ab --- /dev/null +++ b/uniapp/pages-common/feedback.vue @@ -0,0 +1,235 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-common/im_chat_info.vue b/uniapp/pages-common/im_chat_info.vue new file mode 100644 index 00000000..52b77a95 --- /dev/null +++ b/uniapp/pages-common/im_chat_info.vue @@ -0,0 +1,600 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-common/my_attendance.vue b/uniapp/pages-common/my_attendance.vue new file mode 100644 index 00000000..5931a091 --- /dev/null +++ b/uniapp/pages-common/my_attendance.vue @@ -0,0 +1,1129 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-common/my_message.vue b/uniapp/pages-common/my_message.vue new file mode 100644 index 00000000..913552ac --- /dev/null +++ b/uniapp/pages-common/my_message.vue @@ -0,0 +1,374 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-common/personnel/add_personnel.vue b/uniapp/pages-common/personnel/add_personnel.vue new file mode 100644 index 00000000..b75955a8 --- /dev/null +++ b/uniapp/pages-common/personnel/add_personnel.vue @@ -0,0 +1,899 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-common/privacy_agreement.vue b/uniapp/pages-common/privacy_agreement.vue new file mode 100644 index 00000000..bc93f6d8 --- /dev/null +++ b/uniapp/pages-common/privacy_agreement.vue @@ -0,0 +1,111 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-common/profile/index.vue b/uniapp/pages-common/profile/index.vue new file mode 100644 index 00000000..1c3b381a --- /dev/null +++ b/uniapp/pages-common/profile/index.vue @@ -0,0 +1,259 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-common/profile/personal_info.vue b/uniapp/pages-common/profile/personal_info.vue new file mode 100644 index 00000000..de42fd79 --- /dev/null +++ b/uniapp/pages-common/profile/personal_info.vue @@ -0,0 +1,1282 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/clue/class_arrangement.vue b/uniapp/pages-market/clue/class_arrangement.vue new file mode 100644 index 00000000..871dcc6f --- /dev/null +++ b/uniapp/pages-market/clue/class_arrangement.vue @@ -0,0 +1,631 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/clue/class_arrangement_detail.vue b/uniapp/pages-market/clue/class_arrangement_detail.vue new file mode 100644 index 00000000..692a9315 --- /dev/null +++ b/uniapp/pages-market/clue/class_arrangement_detail.vue @@ -0,0 +1,1292 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/clue/clue_info.less b/uniapp/pages-market/clue/clue_info.less new file mode 100644 index 00000000..ce333c24 --- /dev/null +++ b/uniapp/pages-market/clue/clue_info.less @@ -0,0 +1,431 @@ +// 客户详情页样式文件 +.assemble { + background-color: #292929; + min-height: 100vh; +} + +.content { + padding: 20rpx; +} + +.tab-switcher-container { + margin: 20rpx 0; +} + +// 学生信息区域 +.student-section { + margin-top: 20rpx; + + .section-header { + display: flex; + align-items: center; + justify-content: space-between; + padding: 20rpx; + + .section-title { + font-size: 32rpx; + font-weight: bold; + color: #fff; + } + + .add-student-btn { + display: flex; + align-items: center; + background: #29d3b4; + color: #fff; + border-radius: 20rpx; + padding: 12rpx 20rpx; + font-size: 24rpx; + + .add-icon { + margin-right: 8rpx; + font-weight: bold; + font-size: 20rpx; + } + + &:active { + background: #1ea08e; + transform: scale(0.95); + } + } + } + + .student-cards { + width: 100%; + min-height: 600rpx; + + .student-swiper { + width: 100%; + height: 560rpx; + + .student-swiper-content { + display: flex; + flex-direction: column; + height: 580rpx; + padding: 20rpx; + box-sizing: border-box; + background-color: #434544; + border-radius: 16rpx; + margin: 0 10rpx; + color: #fff; + } + } + } +} + +.popup-footer { + display: flex; + padding: 30rpx 40rpx; + padding-bottom: calc(30rpx + env(safe-area-inset-bottom)); + border-top: 1px solid #333; + gap: 30rpx; + flex-shrink: 0; /* 确保底部按钮区域不被压缩 */ + background: #1a1a1a; /* 确保背景色一致 */ + + .popup-footer-btns { + display: flex; + justify-content: space-between; + + .footer-btn { + flex: 1; + height: 88rpx; + display: flex; + width: 45%; + align-items: center; + justify-content: center; + border-radius: 12rpx; + font-size: 32rpx; + font-weight: 500; + + &.cancel-btn { + background: #cccccc; + } + + &.confirm-btn { + background: linear-gradient(45deg, #29D3B4, #1DB584); + color: #ffffff; + } + } + } + +} + +// 课程、通话、体测记录等区域 +.course-section, .call-section, .fitness-section, .study-plan-section { + background-color: #434544; + border-radius: 16rpx; + margin: 20rpx 0; + + .section-header { + display: flex; + align-items: center; + justify-content: space-between; + padding: 20rpx; + + .context-title { + font-size: 28rpx; + font-weight: bold; + color: #fff; + } + + .add-record-btn { + display: flex; + align-items: center; + background: #29d3b4; + color: #fff; + border-radius: 20rpx; + padding: 12rpx 20rpx; + font-size: 24rpx; + + .add-icon { + margin-right: 8rpx; + font-weight: bold; + } + + &:active { + background: #1ea08e; + transform: scale(0.95); + } + } + } +} + +// 操作按钮区域 - 独立于Swiper外部 +.student-section .action-buttons-section { + display: flex; + gap: 8rpx; + margin-top: 15rpx; + padding: 15rpx; + flex-wrap: nowrap; + height: 100rpx; + box-sizing: border-box; + overflow-x: auto; + overflow-y: hidden; + -webkit-overflow-scrolling: touch; + background-color: #434544; + border-radius: 16rpx; + margin: 15rpx 0; + + &::-webkit-scrollbar { + display: none; + } + + .action-item { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + background: rgba(255, 255, 255, 0.05); + border: 1px solid rgba(41, 211, 180, 0.3); + border-radius: 8rpx; + padding: 12rpx 8rpx; + min-width: 90rpx; + flex-shrink: 0; + transition: all 0.3s ease; + + .action-icon { + font-size: 24rpx; + margin-bottom: 5rpx; + line-height: 1; + } + + .action-text { + font-size: 18rpx; + color: #fff; + text-align: center; + line-height: 1.2; + word-break: break-all; + } + + &:active { + background: rgba(41, 211, 180, 0.2); + border-color: #29d3b4; + transform: scale(0.95); + + .action-text { + color: #29d3b4; + } + } + } +} + +// 通用空状态样式 +.empty-state { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 60rpx 20rpx; + min-height: 200rpx; + + .empty-icon { + font-size: 60rpx; + opacity: 0.6; + margin-bottom: 20rpx; + } + + .empty-text { + color: #ccc; + font-size: 28rpx; + margin-bottom: 20rpx; + } + + .empty-add-btn { + background: #29d3b4; + color: #fff; + padding: 12rpx 24rpx; + border-radius: 20rpx; + font-size: 24rpx; + transition: all 0.3s ease; + + &:active { + background: #1ea08e; + transform: scale(0.95); + } + } +} + +// 备注弹窗样式 +.remark-dialog { + width: 600rpx; + padding: 30rpx; + background: #fff; + border-radius: 16rpx; + + textarea { + width: 100%; + height: 200rpx; + padding: 20rpx; + border: 2rpx solid #e9ecef; + border-radius: 12rpx; + font-size: 28rpx; + color: #333; + background-color: #fff; + box-sizing: border-box; + resize: none; + + &::placeholder { + color: #999; + } + + &:focus { + border-color: #29d3b4; + outline: none; + box-shadow: 0 0 0 2rpx rgba(41, 211, 180, 0.1); + } + } + + .dialog-btns { + display: flex; + gap: 20rpx; + margin-top: 30rpx; + + .btn { + flex: 1; + padding: 20rpx; + border-radius: 8rpx; + font-size: 28rpx; + text-align: center; + + &.cancel { + background: #f8f9fa; + color: #666; + border: 2rpx solid #e9ecef; + } + + &.confirm { + background: #29d3b4; + color: #fff; + } + } + } +} + +// 二维码支付弹窗样式 +.qrcode-payment-modal { + width: 600rpx; + background: #fff; + border-radius: 20rpx; + overflow: hidden; + + .modal-header { + display: flex; + align-items: center; + justify-content: space-between; + padding: 40rpx 40rpx 20rpx; + border-bottom: 1px solid #f0f0f0; + + .modal-title { + font-size: 36rpx; + font-weight: 600; + color: #333; + } + + .close-btn { + width: 60rpx; + height: 60rpx; + display: flex; + align-items: center; + justify-content: center; + border-radius: 50%; + background: #f5f5f5; + color: #666; + font-size: 32rpx; + + &:active { + background: #e5e5e5; + transform: scale(0.95); + } + } + } + + .order-info { + padding: 30rpx 40rpx; + + .info-row { + display: flex; + align-items: center; + margin-bottom: 20rpx; + + .label { + font-size: 28rpx; + color: #666; + margin-right: 20rpx; + } + + .value { + font-size: 28rpx; + color: #333; + flex: 1; + } + + .amount { + font-size: 32rpx; + color: #ff4757; + font-weight: 600; + flex: 1; + } + } + } + + .qrcode-container { + display: flex; + flex-direction: column; + align-items: center; + padding: 40rpx; + background: #fafafa; + + .qrcode-image { + width: 300rpx; + height: 300rpx; + border: 1px solid #e5e5e5; + border-radius: 12rpx; + background: #fff; + margin-bottom: 20rpx; + } + + .qrcode-tip { + font-size: 24rpx; + color: #666; + text-align: center; + line-height: 1.4; + } + } + + .modal-buttons { + display: flex; + padding: 30rpx 40rpx 40rpx; + gap: 20rpx; + + .btn { + flex: 1; + height: 80rpx; + display: flex; + align-items: center; + justify-content: center; + border-radius: 40rpx; + font-size: 28rpx; + font-weight: 500; + + &.secondary { + background: #f5f5f5; + color: #666; + + &:active { + background: #e5e5e5; + transform: scale(0.98); + } + } + + &.primary { + background: #29d3b4; + color: #fff; + + &:active { + background: #1ea08e; + transform: scale(0.98); + } + } + } + } +} \ No newline at end of file diff --git a/uniapp/pages-market/clue/clue_info.vue b/uniapp/pages-market/clue/clue_info.vue new file mode 100644 index 00000000..21e0060c --- /dev/null +++ b/uniapp/pages-market/clue/clue_info.vue @@ -0,0 +1,1470 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/clue/clue_table.vue b/uniapp/pages-market/clue/clue_table.vue new file mode 100644 index 00000000..46f36e54 --- /dev/null +++ b/uniapp/pages-market/clue/clue_table.vue @@ -0,0 +1,164 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/clue/edit_clues.vue b/uniapp/pages-market/clue/edit_clues.vue new file mode 100644 index 00000000..725949d5 --- /dev/null +++ b/uniapp/pages-market/clue/edit_clues.vue @@ -0,0 +1,1806 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/clue/edit_clues_log.vue b/uniapp/pages-market/clue/edit_clues_log.vue new file mode 100644 index 00000000..7340b68f --- /dev/null +++ b/uniapp/pages-market/clue/edit_clues_log.vue @@ -0,0 +1,365 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/clue/index.vue b/uniapp/pages-market/clue/index.vue new file mode 100644 index 00000000..fb85a40d --- /dev/null +++ b/uniapp/pages-market/clue/index.vue @@ -0,0 +1,1760 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/data/statistics.vue b/uniapp/pages-market/data/statistics.vue new file mode 100644 index 00000000..4767e7b1 --- /dev/null +++ b/uniapp/pages-market/data/statistics.vue @@ -0,0 +1,343 @@ + + + + + + diff --git a/uniapp/pages-market/index/index.vue b/uniapp/pages-market/index/index.vue new file mode 100644 index 00000000..0b355e81 --- /dev/null +++ b/uniapp/pages-market/index/index.vue @@ -0,0 +1,427 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/my/campus_data.vue b/uniapp/pages-market/my/campus_data.vue new file mode 100644 index 00000000..bba0c6e3 --- /dev/null +++ b/uniapp/pages-market/my/campus_data.vue @@ -0,0 +1,495 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/my/dept_data.vue b/uniapp/pages-market/my/dept_data.vue new file mode 100644 index 00000000..fdda74bc --- /dev/null +++ b/uniapp/pages-market/my/dept_data.vue @@ -0,0 +1,445 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/my/index.vue b/uniapp/pages-market/my/index.vue new file mode 100644 index 00000000..b18d5915 --- /dev/null +++ b/uniapp/pages-market/my/index.vue @@ -0,0 +1,523 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/my/info.vue b/uniapp/pages-market/my/info.vue new file mode 100644 index 00000000..fefbe9c5 --- /dev/null +++ b/uniapp/pages-market/my/info.vue @@ -0,0 +1,505 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/my/my_data.vue b/uniapp/pages-market/my/my_data.vue new file mode 100644 index 00000000..cefe0c5e --- /dev/null +++ b/uniapp/pages-market/my/my_data.vue @@ -0,0 +1,292 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/my/set_up.vue b/uniapp/pages-market/my/set_up.vue new file mode 100644 index 00000000..9e17258b --- /dev/null +++ b/uniapp/pages-market/my/set_up.vue @@ -0,0 +1,105 @@ + + + + + + diff --git a/uniapp/pages-market/my/signed_client_list.vue b/uniapp/pages-market/my/signed_client_list.vue new file mode 100644 index 00000000..d5525f1b --- /dev/null +++ b/uniapp/pages-market/my/signed_client_list.vue @@ -0,0 +1,275 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/my/update_pass.vue b/uniapp/pages-market/my/update_pass.vue new file mode 100644 index 00000000..c82fc34b --- /dev/null +++ b/uniapp/pages-market/my/update_pass.vue @@ -0,0 +1,229 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-market/reimbursement/add.vue b/uniapp/pages-market/reimbursement/add.vue new file mode 100644 index 00000000..6b330df9 --- /dev/null +++ b/uniapp/pages-market/reimbursement/add.vue @@ -0,0 +1,272 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/contracts/index.vue b/uniapp/pages-student/contracts/index.vue new file mode 100644 index 00000000..1c9e12a6 --- /dev/null +++ b/uniapp/pages-student/contracts/index.vue @@ -0,0 +1,988 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/course-booking/index.vue b/uniapp/pages-student/course-booking/index.vue new file mode 100644 index 00000000..3b4f14f0 --- /dev/null +++ b/uniapp/pages-student/course-booking/index.vue @@ -0,0 +1,1023 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/knowledge/index.vue b/uniapp/pages-student/knowledge/index.vue new file mode 100644 index 00000000..7017a579 --- /dev/null +++ b/uniapp/pages-student/knowledge/index.vue @@ -0,0 +1,1304 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/messages/index.vue b/uniapp/pages-student/messages/index.vue new file mode 100644 index 00000000..12a59240 --- /dev/null +++ b/uniapp/pages-student/messages/index.vue @@ -0,0 +1,887 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/my/lesson_consumption.vue b/uniapp/pages-student/my/lesson_consumption.vue new file mode 100644 index 00000000..f48aa9bd --- /dev/null +++ b/uniapp/pages-student/my/lesson_consumption.vue @@ -0,0 +1,195 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/my/my_coach.vue b/uniapp/pages-student/my/my_coach.vue new file mode 100644 index 00000000..aedc37f3 --- /dev/null +++ b/uniapp/pages-student/my/my_coach.vue @@ -0,0 +1,211 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/my/my_members.vue b/uniapp/pages-student/my/my_members.vue new file mode 100644 index 00000000..3fb54b8d --- /dev/null +++ b/uniapp/pages-student/my/my_members.vue @@ -0,0 +1,158 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/my/personal_data.vue b/uniapp/pages-student/my/personal_data.vue new file mode 100644 index 00000000..a525d0c6 --- /dev/null +++ b/uniapp/pages-student/my/personal_data.vue @@ -0,0 +1,421 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/my/set_up.vue b/uniapp/pages-student/my/set_up.vue new file mode 100644 index 00000000..e0e185af --- /dev/null +++ b/uniapp/pages-student/my/set_up.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/uniapp/pages-student/my/update_pass.vue b/uniapp/pages-student/my/update_pass.vue new file mode 100644 index 00000000..3530ef77 --- /dev/null +++ b/uniapp/pages-student/my/update_pass.vue @@ -0,0 +1,125 @@ + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/orders/index.vue b/uniapp/pages-student/orders/index.vue new file mode 100644 index 00000000..2bc57377 --- /dev/null +++ b/uniapp/pages-student/orders/index.vue @@ -0,0 +1,1024 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/physical-test/index.vue b/uniapp/pages-student/physical-test/index.vue new file mode 100644 index 00000000..4739ed85 --- /dev/null +++ b/uniapp/pages-student/physical-test/index.vue @@ -0,0 +1,823 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/profile/index.vue b/uniapp/pages-student/profile/index.vue new file mode 100644 index 00000000..0945b5f5 --- /dev/null +++ b/uniapp/pages-student/profile/index.vue @@ -0,0 +1,605 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/schedule/index.vue b/uniapp/pages-student/schedule/index.vue new file mode 100644 index 00000000..f48dffab --- /dev/null +++ b/uniapp/pages-student/schedule/index.vue @@ -0,0 +1,933 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages-student/settings/index.vue b/uniapp/pages-student/settings/index.vue new file mode 100644 index 00000000..e7466034 --- /dev/null +++ b/uniapp/pages-student/settings/index.vue @@ -0,0 +1,254 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages.json b/uniapp/pages.json index 7df5fd66..383cb3a9 100644 --- a/uniapp/pages.json +++ b/uniapp/pages.json @@ -1,4 +1,10 @@ { + "easycom": { + "autoscan": true, + "custom": { + "^fui-(.*)": "@/components/firstui/fui-$1/fui-$1.vue" + } + }, "pages": [ { "path": "pages/student/login/login", @@ -18,474 +24,6 @@ "navigationBarTextStyle": "white" } }, - { - "path": "pages/student/my/set_up", - "style": { - "navigationBarTitleText": "设置", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#29D3B4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/student/my/update_pass", - "style": { - "navigationBarTitleText": "修改密码", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#fff", - "navigationBarTextStyle": "black" - } - }, - - { - "path": "pages/student/my/personal_data", - "style": { - "navigationBarTitleText": "个人资料", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#333333", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/student/profile/index", - "style": { - "navigationBarTitleText": "个人信息管理", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/student/physical-test/index", - "style": { - "navigationBarTitleText": "体测数据", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/student/schedule/index", - "style": { - "navigationBarTitleText": "课程安排", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/student/course-booking/index", - "style": { - "navigationBarTitleText": "课程预约", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/student/orders/index", - "style": { - "navigationBarTitleText": "订单管理", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/student/contracts/index", - "style": { - "navigationBarTitleText": "合同管理", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/student/knowledge/index", - "style": { - "navigationBarTitleText": "知识库", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/student/messages/index", - "style": { - "navigationBarTitleText": "消息管理", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/student/settings/index", - "style": { - "navigationBarTitleText": "系统设置", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/student/child/add", - "style": { - "navigationBarTitleText": "添加孩子", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/common/privacy_agreement", - "style": { - "navigationBarTitleText": "隐私协议", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#fff", - "navigationBarTextStyle": "black" - } - }, - { - "path": "pages/common/my_message", - "style": { - "navigationBarTitleText": "我的消息", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/common/im_chat_info", - "style": { - "navigationBarTitleText": "消息", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/common/sys_msg_list", - "style": { - "navigationBarTitleText": "系统消息", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/common/article_info", - "style": { - "navigationBarTitleText": "文章详情", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/common/feedback", - "style": { - "navigationBarTitleText": "意见反馈", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/common/my_attendance", - "style": { - "navigationBarTitleText": "我的考勤", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/common/personnel/add_personnel", - "style": { - "navigationBarTitleText": "新员工信息填写", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#fff", - "navigationBarTextStyle": "black" - } - }, - { - "path": "pages/common/contract/my_contract", - "style": { - "navigationBarTitleText": "我的合同", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white", - "enablePullDownRefresh": true - } - }, - { - "path": "pages/common/contract/contract_detail", - "style": { - "navigationBarTitleText": "合同详情", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/coach/student/student_list", - "style": { - "navigationBarTitleText": "我的学员", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - - { - "path": "pages/coach/my/teaching_management", - "style": { - "navigationBarTitleText": "教研管理列表", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#171717", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/coach/my/gotake_exam", - "style": { - "navigationBarTitleText": "考试", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#171717", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/coach/my/exam_results", - "style": { - "navigationBarTitleText": "考试结果", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#fff", - "navigationBarTextStyle": "black" - } - }, - { - "path": "pages/coach/my/salary", - "style": { - "navigationBarTitleText": "我的工资", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/clue/add_clues", - "style": { - "navigationBarTitleText": "添加客户", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#fff", - "navigationBarTextStyle": "black" - } - }, - { - "path": "pages/market/clue/edit_clues", - "style": { - "navigationBarTitleText": "编辑客户", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#fff", - "navigationBarTextStyle": "black" - } - }, - { - "path": "pages/market/clue/edit_clues_log", - "style": { - "navigationBarTitleText": "修改记录", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#fff", - "navigationBarTextStyle": "black" - } - }, - { - "path": "pages/market/clue/clue_info", - "style": { - "navigationBarTitleText": "客户详情", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "black" - } - }, - { - "path": "pages/market/clue/index", - "style": { - "navigationBarTitleText": "线索", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/index/index", - "style": { - "navigationBarTitleText": "销售数据" - } - }, - { - "path": "pages/market/my/index", - "style": { - "navigationBarTitleText": "我的", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#fff", - "navigationBarTextStyle": "black" - } - }, - { - "path": "pages/market/my/signed_client_list", - "style": { - "navigationBarTitleText": "已签客户", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/my/info", - "style": { - "navigationBarTitleText": "个人资料", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/my/set_up", - "style": { - "navigationBarTitleText": "设置", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/my/update_pass", - "style": { - "navigationBarTitleText": "修改密码", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#fff", - "navigationBarTextStyle": "black" - } - }, - { - "path": "pages/market/my/my_data", - "style": { - "navigationBarTitleText": "我的数据", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/my/dept_data", - "style": { - "navigationBarTitleText": "部门数据", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/my/campus_data", - "style": { - "navigationBarTitleText": "校区数据", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#29d3b4", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/clue/class_arrangement", - "style": { - "navigationBarTitleText": "课程安排", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#232323", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/clue/class_arrangement_detail", - "style": { - "navigationBarTitleText": "课程安排详情", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#232323", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/reimbursement/list", - "style": { - "navigationBarTitleText": "报销列表", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/reimbursement/add", - "style": { - "navigationBarTitleText": "新增报销", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/reimbursement/detail", - "style": { - "navigationBarTitleText": "报销详情", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/data/statistics", - "style": { - "navigationBarTitleText": "市场数据统计", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/coach/schedule/schedule_table", - "style": { - "navigationBarTitleText": "课程安排", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/coach/schedule/add_schedule", - "style": { - "navigationBarTitleText": "添加课程安排", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/coach/schedule/adjust_course", - "style": { - "navigationBarTitleText": "调整课程安排", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/coach/schedule/sign_in", - "style": { - "navigationBarTitleText": "课程点名", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/market/clue/clue_table", - "style": { - "navigationBarTitleText": "数据统计", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, { "path": "pages/common/home/index", "style": { @@ -496,97 +34,625 @@ } }, { - "path": "pages/common/profile/index", + "path": "pages/student/profile/index", "style": { "navigationBarTitleText": "我的", "navigationStyle": "custom", - "navigationBarBackgroundColor": "#181A20", + "navigationBarBackgroundColor": "#29d3b4", "navigationBarTextStyle": "white" } } -, - { - "path": "pages/common/profile/personal_info", - "style": { - "navigationBarTitleText": "个人资料", - "navigationStyle": "custom", - "navigationBarBackgroundColor": "#181A20", - "navigationBarTextStyle": "white" + ], + "subPackages": [ + { + "root": "pages-student", + "name": "student", + "pages": [ + { + "path": "physical-test/index", + "style": { + "navigationBarTitleText": "体测数据", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "schedule/index", + "style": { + "navigationBarTitleText": "课程安排", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "course-booking/index", + "style": { + "navigationBarTitleText": "课程预约", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "orders/index", + "style": { + "navigationBarTitleText": "订单管理", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "contracts/index", + "style": { + "navigationBarTitleText": "合同管理", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "knowledge/index", + "style": { + "navigationBarTitleText": "知识库", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "messages/index", + "style": { + "navigationBarTitleText": "消息管理", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "settings/index", + "style": { + "navigationBarTitleText": "系统设置", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "child/add", + "style": { + "navigationBarTitleText": "添加孩子", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "my/set_up", + "style": { + "navigationBarTitleText": "设置", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29D3B4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "my/update_pass", + "style": { + "navigationBarTitleText": "修改密码", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "my/personal_data", + "style": { + "navigationBarTitleText": "个人资料", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#333333", + "navigationBarTextStyle": "white" + } } - } -, - { - "path": "pages/contract/list", - "style": { - "navigationBarTitleText": "我的合同", - "navigationBarBackgroundColor": "#181A20", - "navigationBarTextStyle": "white", - "backgroundColor": "#181A20" - } - }, - { - "path": "pages/contract/fill", - "style": { - "navigationBarTitleText": "填写信息", - "navigationBarBackgroundColor": "#181A20", - "navigationBarTextStyle": "white", - "backgroundColor": "#181A20" - } - }, - { - "path": "pages/contract/detail", - "style": { - "navigationBarTitleText": "合同详情", - "navigationBarBackgroundColor": "#181A20", - "navigationBarTextStyle": "white", - "backgroundColor": "#181A20" - } - }, - { - "path": "pages/common/contract/contract_sign", - "style": { - "navigationBarTitleText": "电子签名", - "navigationBarBackgroundColor": "#181A20", - "navigationBarTextStyle": "white", - "backgroundColor": "#181A20" - } + ] + }, + { + "root": "pages-market", + "name": "market", + "pages": [ + { + "path": "clue/index", + "style": { + "navigationBarTitleText": "线索", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "clue/add_clues", + "style": { + "navigationBarTitleText": "添加客户", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "clue/edit_clues", + "style": { + "navigationBarTitleText": "编辑客户", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "clue/edit_clues_log", + "style": { + "navigationBarTitleText": "修改记录", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "clue/clue_info", + "style": { + "navigationBarTitleText": "客户详情", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "black" + } + }, + { + "path": "clue/class_arrangement", + "style": { + "navigationBarTitleText": "课程安排", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#232323", + "navigationBarTextStyle": "white" + } + }, + { + "path": "clue/class_arrangement_detail", + "style": { + "navigationBarTitleText": "课程安排详情", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#232323", + "navigationBarTextStyle": "white" + } + }, + { + "path": "clue/clue_table", + "style": { + "navigationBarTitleText": "数据统计", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "index/index", + "style": { + "navigationBarTitleText": "销售数据" + } + }, + { + "path": "my/index", + "style": { + "navigationBarTitleText": "我的", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "my/signed_client_list", + "style": { + "navigationBarTitleText": "已签客户", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "my/info", + "style": { + "navigationBarTitleText": "个人资料", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "my/set_up", + "style": { + "navigationBarTitleText": "设置", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "my/update_pass", + "style": { + "navigationBarTitleText": "修改密码", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "my/my_data", + "style": { + "navigationBarTitleText": "我的数据", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "my/dept_data", + "style": { + "navigationBarTitleText": "部门数据", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "my/campus_data", + "style": { + "navigationBarTitleText": "校区数据", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "reimbursement/list", + "style": { + "navigationBarTitleText": "报销列表", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "reimbursement/add", + "style": { + "navigationBarTitleText": "新增报销", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "reimbursement/detail", + "style": { + "navigationBarTitleText": "报销详情", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "data/statistics", + "style": { + "navigationBarTitleText": "市场数据统计", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + } + ] + }, + { + "root": "pages-coach", + "name": "coach", + "pages": [ + { + "path": "coach/home/index", + "style": { + "navigationBarTitleText": "首页", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#181A20", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/student/student_list", + "style": { + "navigationBarTitleText": "我的学员", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/student/physical_examination", + "style": { + "navigationBarTitleText": "体检管理", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/my/teaching_management", + "style": { + "navigationBarTitleText": "教研管理列表", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#171717", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/my/gotake_exam", + "style": { + "navigationBarTitleText": "考试", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#171717", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/my/exam_results", + "style": { + "navigationBarTitleText": "考试结果", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "coach/my/salary", + "style": { + "navigationBarTitleText": "我的工资", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/my/info", + "style": { + "navigationBarTitleText": "个人资料", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#171717", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/my/set_up", + "style": { + "navigationBarTitleText": "设置", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#171717", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/my/update_pass", + "style": { + "navigationBarTitleText": "修改密码", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "coach/my/due_soon", + "style": { + "navigationBarTitleText": "即将到期", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#171717", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/my/schooling_statistics", + "style": { + "navigationBarTitleText": "教学统计", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#171717", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/schedule/schedule_table", + "style": { + "navigationBarTitleText": "课程安排", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/schedule/add_schedule", + "style": { + "navigationBarTitleText": "添加课程安排", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/schedule/adjust_course", + "style": { + "navigationBarTitleText": "调整课程安排", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "coach/schedule/sign_in", + "style": { + "navigationBarTitleText": "课程点名", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + } + ] + }, + { + "root": "pages-common", + "name": "common", + "pages": [ + { + "path": "privacy_agreement", + "style": { + "navigationBarTitleText": "隐私协议", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "my_message", + "style": { + "navigationBarTitleText": "我的消息", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "im_chat_info", + "style": { + "navigationBarTitleText": "消息", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "sys_msg_list", + "style": { + "navigationBarTitleText": "系统消息", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "article_info", + "style": { + "navigationBarTitleText": "文章详情", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "feedback", + "style": { + "navigationBarTitleText": "意见反馈", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "my_attendance", + "style": { + "navigationBarTitleText": "我的考勤", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "personnel/add_personnel", + "style": { + "navigationBarTitleText": "新员工信息填写", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "contract/my_contract", + "style": { + "navigationBarTitleText": "我的合同", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": true + } + }, + { + "path": "contract/contract_detail", + "style": { + "navigationBarTitleText": "合同详情", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "contract/contract_sign", + "style": { + "navigationBarTitleText": "电子签名", + "navigationBarBackgroundColor": "#181A20", + "navigationBarTextStyle": "white", + "backgroundColor": "#181A20" + } + }, + { + "path": "profile/index", + "style": { + "navigationBarTitleText": "我的", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#181A20", + "navigationBarTextStyle": "white" + } + }, + { + "path": "profile/personal_info", + "style": { + "navigationBarTitleText": "个人资料", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#181A20", + "navigationBarTextStyle": "white" + } + } + ] } - ], + "preloadRule": { + "pages/student/home/index": { + "network": "all", + "packages": ["student"] + }, + "pages/common/home/index": { + "network": "all", + "packages": ["market", "coach", "common"] + } + }, "globalStyle": { - "navigationBarTextStyle": "white", - "navigationBarTitleText": "", - "navigationBarBackgroundColor": "#181A20", - "backgroundColor": "#FDFDFD", - "enablePullDownRefresh": true + "navigationBarTextStyle": "black", + "navigationBarTitleText": "智慧教务", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8" }, "tabBar": { "color": "#7A7E83", - "selectedColor": "#29d3b4", + "selectedColor": "#3cc51f", "borderStyle": "black", - "backgroundColor": "#1a1a1a", + "backgroundColor": "#ffffff", "list": [ { - "pagePath": "pages/common/home/index", + "pagePath": "pages/student/home/index", "iconPath": "static/icon-img/home.png", "selectedIconPath": "static/icon-img/home-active.png", "text": "首页" }, { - "pagePath": "pages/common/profile/index", + "pagePath": "pages/student/profile/index", "iconPath": "static/icon-img/profile.png", "selectedIconPath": "static/icon-img/profile-active.png", "text": "我的" } ] }, - "easycom": { - "autoscan": true, - "custom": { - "fui-(.*)": "@/components/firstui/fui-$1/fui-$1.vue", - "uni-icons": "@/uni_modules/uni-icons/components/uni-icons/uni-icons.vue", - "uni-calendar": "@/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue", - "uni-file-picker": "@/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue" - } + "condition": { + "current": 0, + "list": [] } -} \ No newline at end of file +} diff --git a/uniapp/pages.json.backup b/uniapp/pages.json.backup new file mode 100644 index 00000000..ccbd7d7a --- /dev/null +++ b/uniapp/pages.json.backup @@ -0,0 +1,601 @@ +{ + "pages": [ + { + "path": "pages/student/login/login", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/student/home/index", + "style": { + "navigationBarTitleText": "首页", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/common/home/index", + "style": { + "navigationBarTitleText": "首页", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#181A20", + "navigationBarTextStyle": "white" + } + } + { + "path": "pages/student/my/set_up", + "style": { + "navigationBarTitleText": "设置", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29D3B4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/student/my/update_pass", + "style": { + "navigationBarTitleText": "修改密码", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + + { + "path": "pages/student/my/personal_data", + "style": { + "navigationBarTitleText": "个人资料", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#333333", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/student/profile/index", + "style": { + "navigationBarTitleText": "个人信息管理", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/student/physical-test/index", + "style": { + "navigationBarTitleText": "体测数据", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/student/schedule/index", + "style": { + "navigationBarTitleText": "课程安排", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/student/course-booking/index", + "style": { + "navigationBarTitleText": "课程预约", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/student/orders/index", + "style": { + "navigationBarTitleText": "订单管理", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/student/contracts/index", + "style": { + "navigationBarTitleText": "合同管理", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/student/knowledge/index", + "style": { + "navigationBarTitleText": "知识库", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/student/messages/index", + "style": { + "navigationBarTitleText": "消息管理", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/student/settings/index", + "style": { + "navigationBarTitleText": "系统设置", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/student/child/add", + "style": { + "navigationBarTitleText": "添加孩子", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/common/privacy_agreement", + "style": { + "navigationBarTitleText": "隐私协议", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "pages/common/my_message", + "style": { + "navigationBarTitleText": "我的消息", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/common/im_chat_info", + "style": { + "navigationBarTitleText": "消息", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/common/sys_msg_list", + "style": { + "navigationBarTitleText": "系统消息", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/common/article_info", + "style": { + "navigationBarTitleText": "文章详情", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/common/feedback", + "style": { + "navigationBarTitleText": "意见反馈", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/common/my_attendance", + "style": { + "navigationBarTitleText": "我的考勤", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/common/personnel/add_personnel", + "style": { + "navigationBarTitleText": "新员工信息填写", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "pages/common/contract/my_contract", + "style": { + "navigationBarTitleText": "我的合同", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": true + } + }, + { + "path": "pages/common/contract/contract_detail", + "style": { + "navigationBarTitleText": "合同详情", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/coach/student/student_list", + "style": { + "navigationBarTitleText": "我的学员", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + + { + "path": "pages/coach/my/teaching_management", + "style": { + "navigationBarTitleText": "教研管理列表", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#171717", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/coach/my/gotake_exam", + "style": { + "navigationBarTitleText": "考试", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#171717", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/coach/my/exam_results", + "style": { + "navigationBarTitleText": "考试结果", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "pages/coach/my/salary", + "style": { + "navigationBarTitleText": "我的工资", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/clue/add_clues", + "style": { + "navigationBarTitleText": "添加客户", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "pages/market/clue/edit_clues", + "style": { + "navigationBarTitleText": "编辑客户", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "pages/market/clue/edit_clues_log", + "style": { + "navigationBarTitleText": "修改记录", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "pages/market/clue/clue_info", + "style": { + "navigationBarTitleText": "客户详情", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "black" + } + }, + { + "path": "pages/market/clue/index", + "style": { + "navigationBarTitleText": "线索", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/index/index", + "style": { + "navigationBarTitleText": "销售数据" + } + }, + { + "path": "pages/market/my/index", + "style": { + "navigationBarTitleText": "我的", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "pages/market/my/signed_client_list", + "style": { + "navigationBarTitleText": "已签客户", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/my/info", + "style": { + "navigationBarTitleText": "个人资料", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/my/set_up", + "style": { + "navigationBarTitleText": "设置", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/my/update_pass", + "style": { + "navigationBarTitleText": "修改密码", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, + { + "path": "pages/market/my/my_data", + "style": { + "navigationBarTitleText": "我的数据", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/my/dept_data", + "style": { + "navigationBarTitleText": "部门数据", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/my/campus_data", + "style": { + "navigationBarTitleText": "校区数据", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#29d3b4", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/clue/class_arrangement", + "style": { + "navigationBarTitleText": "课程安排", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#232323", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/clue/class_arrangement_detail", + "style": { + "navigationBarTitleText": "课程安排详情", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#232323", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/reimbursement/list", + "style": { + "navigationBarTitleText": "报销列表", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/reimbursement/add", + "style": { + "navigationBarTitleText": "新增报销", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/reimbursement/detail", + "style": { + "navigationBarTitleText": "报销详情", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/data/statistics", + "style": { + "navigationBarTitleText": "市场数据统计", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/coach/schedule/schedule_table", + "style": { + "navigationBarTitleText": "课程安排", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/coach/schedule/add_schedule", + "style": { + "navigationBarTitleText": "添加课程安排", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/coach/schedule/adjust_course", + "style": { + "navigationBarTitleText": "调整课程安排", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/coach/schedule/sign_in", + "style": { + "navigationBarTitleText": "课程点名", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/clue/clue_table", + "style": { + "navigationBarTitleText": "数据统计", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/common/home/index", + "style": { + "navigationBarTitleText": "首页", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#181A20", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/common/profile/index", + "style": { + "navigationBarTitleText": "我的", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#181A20", + "navigationBarTextStyle": "white" + } + } +, + { + "path": "pages/common/profile/personal_info", + "style": { + "navigationBarTitleText": "个人资料", + "navigationStyle": "custom", + "navigationBarBackgroundColor": "#181A20", + "navigationBarTextStyle": "white" + } + } +, + { + "path": "pages/contract/list", + "style": { + "navigationBarTitleText": "我的合同", + "navigationBarBackgroundColor": "#181A20", + "navigationBarTextStyle": "white", + "backgroundColor": "#181A20" + } + }, + { + "path": "pages/contract/fill", + "style": { + "navigationBarTitleText": "填写信息", + "navigationBarBackgroundColor": "#181A20", + "navigationBarTextStyle": "white", + "backgroundColor": "#181A20" + } + }, + { + "path": "pages/contract/detail", + "style": { + "navigationBarTitleText": "合同详情", + "navigationBarBackgroundColor": "#181A20", + "navigationBarTextStyle": "white", + "backgroundColor": "#181A20" + } + }, + { + "path": "pages/common/contract/contract_sign", + "style": { + "navigationBarTitleText": "电子签名", + "navigationBarBackgroundColor": "#181A20", + "navigationBarTextStyle": "white", + "backgroundColor": "#181A20" + } + } + + ], + "globalStyle": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "", + "navigationBarBackgroundColor": "#181A20", + "backgroundColor": "#FDFDFD", + "enablePullDownRefresh": true + }, + "tabBar": { + "color": "#7A7E83", + "selectedColor": "#29d3b4", + "borderStyle": "black", + "backgroundColor": "#1a1a1a", + "list": [ + { + "pagePath": "pages/common/home/index", + "iconPath": "static/icon-img/home.png", + "selectedIconPath": "static/icon-img/home-active.png", + "text": "首页" + }, + { + "pagePath": "pages/common/profile/index", + "iconPath": "static/icon-img/profile.png", + "selectedIconPath": "static/icon-img/profile-active.png", + "text": "我的" + } + ] + }, + "easycom": { + "autoscan": true, + "custom": { + "fui-(.*)": "@/components/firstui/fui-$1/fui-$1.vue", + "uni-icons": "@/uni_modules/uni-icons/components/uni-icons/uni-icons.vue", + "uni-calendar": "@/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue", + "uni-file-picker": "@/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue" + } + } +} \ No newline at end of file diff --git a/uniapp/pages/coach/home/index.vue b/uniapp/pages/coach/home/index.vue index 45cb70bb..5d0928b1 100644 --- a/uniapp/pages/coach/home/index.vue +++ b/uniapp/pages/coach/home/index.vue @@ -250,60 +250,60 @@ export default { //打开-发布作业页 openObjAddView(){ - this.$navigateTo({ - url: '/pages/coach/job/add' + uni.navigateTo({ + url: '/pages-coach/coach/job/add' }) }, //打开作业列表页 openObjListView(){ - this.$navigateTo({ - url: '/pages/coach/job/list' + uni.navigateTo({ + url: '/pages-coach/coach/job/list' }) }, //跳转页面-课程详情 openViewCourseInfoList(item){ let id = item.id - this.$navigateTo({ - url: `/pages/coach/course/info_list?id=${id}` + uni.navigateTo({ + url: `/pages-coach/coach/course/info_list?id=${id}` }) }, //跳转页面-作业详情 openViewWorkDetails(item){ let id = item.id - this.$navigateTo({ - url: `/pages/coach/student/work_details?id=${id}` + uni.navigateTo({ + url: `/pages-coach/coach/student/work_details?id=${id}` }) }, // 打开服务列表页面 openServiceListView() { - this.$navigateTo({ - url: '/pages/coach/my/service_list' + uni.navigateTo({ + url: '/pages-coach/coach/my/service_list' }) }, // 查看服务详情 viewServiceDetail(item) { let id = item.id - this.$navigateTo({ - url: `/pages/coach/my/service_detail?id=${id}` + uni.navigateTo({ + url: `/pages-coach/coach/my/service_detail?id=${id}` }) }, // 跳转到我的学员列表页面 goToStudentList() { - this.$navigateTo({ - url: '/pages/coach/student/student_list' + uni.navigateTo({ + url: '/pages-coach/coach/student/student_list' }) }, // 跳转到班级列表页面 goToClassList() { - this.$navigateTo({ - url: '/pages/coach/class/list' + uni.navigateTo({ + url: '/pages-coach/coach/class/list' }) }, diff --git a/uniapp/pages/coach/my/due_soon.vue b/uniapp/pages/coach/my/due_soon.vue index 0f394228..c000f40c 100644 --- a/uniapp/pages/coach/my/due_soon.vue +++ b/uniapp/pages/coach/my/due_soon.vue @@ -81,14 +81,14 @@ }, //打开课程详情 openViewCourseInfo(item) { - this.$navigateTo({ - url: '/pages/coach/course/info' + uni.navigateTo({ + url: '/pages-coach/coach/course/info' }) }, //打开学员详情页 openViewStudentInfo(item) { - this.$navigateTo({ - url: '/pages/coach/student/info' + uni.navigateTo({ + url: '/pages-coach/coach/student/info' }) }, } diff --git a/uniapp/pages/coach/my/exam_results.vue b/uniapp/pages/coach/my/exam_results.vue index 12b757ff..2511e835 100644 --- a/uniapp/pages/coach/my/exam_results.vue +++ b/uniapp/pages/coach/my/exam_results.vue @@ -34,8 +34,8 @@ }, methods: { back() { - this.$navigateTo({ - url: '/pages/coach/my/teaching_management' + uni.navigateTo({ + url: '/pages-coach/coach/my/teaching_management' }) } } diff --git a/uniapp/pages/coach/my/gotake_exam.vue b/uniapp/pages/coach/my/gotake_exam.vue index c8f9bff6..e45302b4 100644 --- a/uniapp/pages/coach/my/gotake_exam.vue +++ b/uniapp/pages/coach/my/gotake_exam.vue @@ -105,8 +105,8 @@ }) const res = await apiRoute.submitTestPaper({optionList: this.optionList,testPaperId: this.testPaperId, id: this.zid}); if(res.code === 1) { - this.$navigateTo({ - url: '/pages/coach/my/exam_results?error=' + res.data.error + '&success=' + res.data.success + '&num=' + res.data.num + uni.navigateTo({ + url: '/pages-coach/coach/my/exam_results?error=' + res.data.error + '&success=' + res.data.success + '&num=' + res.data.num }) } else { uni.showToast({ diff --git a/uniapp/pages/coach/my/schooling_statistics.vue b/uniapp/pages/coach/my/schooling_statistics.vue index 60a75d6f..56112586 100644 --- a/uniapp/pages/coach/my/schooling_statistics.vue +++ b/uniapp/pages/coach/my/schooling_statistics.vue @@ -141,8 +141,8 @@ export default { //打开课时详情页 openViewCourseInfo(item){ - this.$navigateTo({ - url: '/pages/coach/course/info' + uni.navigateTo({ + url: '/pages-coach/coach/course/info' }) }, } diff --git a/uniapp/pages/coach/my/set_up.vue b/uniapp/pages/coach/my/set_up.vue index 40ee02dd..cf4281ac 100644 --- a/uniapp/pages/coach/my/set_up.vue +++ b/uniapp/pages/coach/my/set_up.vue @@ -27,13 +27,13 @@ }, privacy_agreement(type){ - this.$navigateTo({ - url: '/pages/common/privacy_agreement?type='+type + uni.navigateTo({ + url: '/pages-common/privacy_agreement?type='+type }) }, update_pass(){ - this.$navigateTo({ - url: '/pages/coach/my/update_pass' + uni.navigateTo({ + url: '/pages-coach/coach/my/update_pass' }) } } diff --git a/uniapp/pages/coach/my/teaching_management.vue b/uniapp/pages/coach/my/teaching_management.vue index 63f4c568..2b00e69b 100644 --- a/uniapp/pages/coach/my/teaching_management.vue +++ b/uniapp/pages/coach/my/teaching_management.vue @@ -104,8 +104,8 @@ return this.tableTypeName[text] }, info(id) { - this.$navigateTo({ - url: '/pages/coach/my/teaching_management_info?id=' + id + uni.navigateTo({ + url: '/pages-coach/coach/my/teaching_management_info?id=' + id }) }, onReachBottom() { @@ -127,8 +127,8 @@ }) }, goTake(id,zid) { - this.$navigateTo({ - url: '/pages/coach/my/gotake_exam?id=' + id + '&zid=' + zid + uni.navigateTo({ + url: '/pages-coach/coach/my/gotake_exam?id=' + id + '&zid=' + zid }) } } diff --git a/uniapp/pages/coach/my/update_pass.vue b/uniapp/pages/coach/my/update_pass.vue index 9329dc01..af5d9aa4 100644 --- a/uniapp/pages/coach/my/update_pass.vue +++ b/uniapp/pages/coach/my/update_pass.vue @@ -123,7 +123,7 @@ import apiRoute from '@/api/apiRoute.js'; }, //忘记密码 forgot() { - this.$navigateTo({ + uni.navigateTo({ url: '/pages/student/login/forgot' }) }, @@ -180,7 +180,7 @@ import apiRoute from '@/api/apiRoute.js'; //跳转页面-个人中心 //关闭当前页跳转新页面 uni.redirectTo({ - url: `/pages/coach/my/index` + url: `/pages-coach/coach/my/index` }) }, 1000) }, diff --git a/uniapp/pages/coach/schedule/schedule_table.vue b/uniapp/pages/coach/schedule/schedule_table.vue index ddc5fa67..ed2d736f 100644 --- a/uniapp/pages/coach/schedule/schedule_table.vue +++ b/uniapp/pages/coach/schedule/schedule_table.vue @@ -1266,7 +1266,7 @@ export default { // 打开添加课程表单 openAddCourseForm(timeSlot, date, teacherId = null, venueId = null, classId = null) { - let url = `/pages/coach/schedule/add_schedule?date=${date.date}`; + let url = `/pages-coach/coach/schedule/add_schedule?date=${date.date}`; // 根据不同模式添加参数 if (timeSlot && timeSlot.time) { @@ -1286,14 +1286,14 @@ export default { } // 打开添加课程安排页面 - this.$navigateTo({ url }); + uni.navigateTo({ url }); }, // 添加课程 addCourse() { // 跳转到添加课程页面 - this.$navigateTo({ - url: '/pages/coach/schedule/add_schedule', + uni.navigateTo({ + url: '/pages-coach/coach/schedule/add_schedule', }) }, @@ -1306,22 +1306,22 @@ export default { // 处理编辑课程事件 handleEditCourse(data) { - this.$navigateTo({ - url: `/pages/coach/schedule/adjust_course?id=${data.scheduleId}`, + uni.navigateTo({ + url: `/pages-coach/coach/schedule/adjust_course?id=${data.scheduleId}`, }) }, // 处理新增课程事件 handleAddNewCourse(data) { const { date, timeSlot } = data; - let url = `/pages/coach/schedule/add_schedule?date=${date}`; + let url = `/pages-coach/coach/schedule/add_schedule?date=${date}`; if (timeSlot) { const [startTime] = timeSlot.split('-'); url += `&time=${startTime}&time_slot=${timeSlot}`; } - this.$navigateTo({ url }); + uni.navigateTo({ url }); }, // 处理学员点名事件 diff --git a/uniapp/pages/coach/student/student_list.vue b/uniapp/pages/coach/student/student_list.vue index 3b451d19..56cbef9d 100644 --- a/uniapp/pages/coach/student/student_list.vue +++ b/uniapp/pages/coach/student/student_list.vue @@ -212,7 +212,7 @@ } }, goToDetail(student) { - this.$navigateToPage(`/pages/market/clue/clue_info`, { + this.$navigateToPage(`/pages-market/clue/clue_info`, { resource_sharing_id: student.resource_sharing_id }); }, diff --git a/uniapp/pages/common/contract/contract_detail.vue b/uniapp/pages/common/contract/contract_detail.vue index 361e770a..641b8e90 100644 --- a/uniapp/pages/common/contract/contract_detail.vue +++ b/uniapp/pages/common/contract/contract_detail.vue @@ -209,7 +209,7 @@ export default { // 前往签名页面 goToSign() { uni.navigateTo({ - url: `/pages/common/contract/contract_sign?id=${this.contractId}&contractName=${encodeURIComponent(this.contractData.contract_name)}` + url: `/pages-common/contract/contract_sign?id=${this.contractId}&contractName=${encodeURIComponent(this.contractData.contract_name)}` }) }, diff --git a/uniapp/pages/common/contract/my_contract.vue b/uniapp/pages/common/contract/my_contract.vue index 016c9e82..8ab22be3 100644 --- a/uniapp/pages/common/contract/my_contract.vue +++ b/uniapp/pages/common/contract/my_contract.vue @@ -194,14 +194,14 @@ export default { // 前往合同详情 goToDetail(contract) { uni.navigateTo({ - url: `/pages/common/contract/contract_detail?id=${contract.id}` + url: `/pages-common/contract/contract_detail?id=${contract.id}` }) }, // 前往签名页面 goToSign(contract) { uni.navigateTo({ - url: `/pages/common/contract/contract_sign?id=${contract.id}&contractName=${encodeURIComponent(contract.contract_name)}` + url: `/pages-common/contract/contract_sign?id=${contract.id}&contractName=${encodeURIComponent(contract.contract_name)}` }) }, diff --git a/uniapp/pages/common/home/index.vue b/uniapp/pages/common/home/index.vue index 74faebaa..7a0aebb1 100644 --- a/uniapp/pages/common/home/index.vue +++ b/uniapp/pages/common/home/index.vue @@ -49,57 +49,62 @@ { title: '客户资源', icon: 'person-filled', - path: '/pages/market/clue/index' + path: '/pages-market/clue/index' }, { title: '添加资源', icon: 'plus-filled', - path: '/pages/market/clue/add_clues' + path: '/pages-market/clue/add_clues' }, { title: '课程安排', icon: 'calendar-filled', - path: '/pages/market/clue/class_arrangement' + path: '/pages-market/clue/class_arrangement' }, { title: '课程查询', icon: 'search', - path: '/pages/coach/schedule/schedule_table' + path: '/pages-coach/coach/schedule/schedule_table' }, { title: '学员管理', icon: 'contact-filled', - path: '/pages/coach/student/student_list' + path: '/pages-coach/coach/student/student_list' }, { title: '我的数据', icon: 'bars', - path: '/pages/market/my/my_data' + path: '/pages-market/my/my_data' }, { title: '部门数据', icon: 'staff', - path: '/pages/market/my/dept_data' + path: '/pages-market/my/dept_data' }, { title: '校区数据', icon: 'location-filled', - path: '/pages/market/my/campus_data' + path: '/pages-market/my/campus_data' }, { title: '我的消息', icon: 'chat-filled', - path: '/pages/common/my_message' + path: '/pages-common/my_message' }, { title: '报销管理', icon: 'wallet-filled', - path: '/pages/market/reimbursement/list' + path: '/pages-market/reimbursement/list' }, { title: '资料库', icon: 'folder-add-filled', - path: '/pages/coach/my/teaching_management' + path: '/pages-coach/coach/my/teaching_management' + }, + { + title: '系统设置', + icon: 'gear-filled', + path: '/pages-common/profile/index' } ] } @@ -116,8 +121,16 @@ } }, handleGridClick(item) { - this.$navigateTo({ - url: item.path + console.log('点击功能按钮:', item.title, item.path); + uni.navigateTo({ + url: item.path, + fail: (err) => { + console.error('页面跳转失败:', err); + uni.showToast({ + title: '页面跳转失败', + icon: 'none' + }); + } }); } } diff --git a/uniapp/pages/common/my_message.vue b/uniapp/pages/common/my_message.vue index 6bb9b21c..913552ac 100644 --- a/uniapp/pages/common/my_message.vue +++ b/uniapp/pages/common/my_message.vue @@ -244,8 +244,8 @@ export default { //跳转页面-系统消息列表 openViewSysMsgList(e){ let hair_staff_id = e.hair_staff_id//发信人id - this.$navigateTo({ - url: `/pages/common/sys_msg_list?hair_staff_id=${hair_staff_id}` + uni.navigateTo({ + url: `/pages-common/sys_msg_list?hair_staff_id=${hair_staff_id}` }) }, @@ -267,8 +267,8 @@ export default { to_id = e.personnel_id } - this.$navigateTo({ - url: `/pages/common/im_chat_info?from_id=${from_id}&to_id=${to_id}` + uni.navigateTo({ + url: `/pages-common/im_chat_info?from_id=${from_id}&to_id=${to_id}` }) } diff --git a/uniapp/pages/common/profile/index.vue b/uniapp/pages/common/profile/index.vue index 4ec6d52e..51c0f855 100644 --- a/uniapp/pages/common/profile/index.vue +++ b/uniapp/pages/common/profile/index.vue @@ -57,7 +57,7 @@ title: '我的合同', icon: 'compose', desc: '查看签署合同', - path: '/pages/contract/list' + path: '/pages-common/contract/list' }, { title: '我的工资', @@ -68,12 +68,12 @@ { title: '我的考勤', icon: 'calendar', - path: '/pages/common/my_attendance' + path: '/pages-common/my_attendance' }, { title: '系统设置', icon: 'settings', - path: '/pages/market/my/set_up' + path: '/pages-market/my/set_up' } ] } @@ -105,7 +105,7 @@ } } else if (item.path) { // 页面跳转 - this.$navigateTo({ + uni.navigateTo({ url: item.path }); } @@ -113,13 +113,13 @@ viewPersonalProfile() { // 跳转到个人资料页面 uni.navigateTo({ - url: '/pages/common/profile/personal_info' + url: '/pages-common/profile/personal_info' }); }, viewSalaryInfo() { // 跳转到工资页面 uni.navigateTo({ - url: '/pages/coach/my/salary' + url: '/pages-coach/coach/my/salary' }); } } diff --git a/uniapp/pages/common/sys_msg_list.vue b/uniapp/pages/common/sys_msg_list.vue index 69052709..5a1708ba 100644 --- a/uniapp/pages/common/sys_msg_list.vue +++ b/uniapp/pages/common/sys_msg_list.vue @@ -134,8 +134,8 @@ export default { openViewArticleInfo(item) { let id = item.id let redirect = item.redirect//重定向地址 - this.$navigateTo({ - url: `/pages/common/article_info?id=${id}` + uni.navigateTo({ + url: `/pages-common/article_info?id=${id}` }) }, diff --git a/uniapp/pages/contract/detail.vue b/uniapp/pages/contract/detail.vue index 998ad532..425b01c6 100644 --- a/uniapp/pages/contract/detail.vue +++ b/uniapp/pages/contract/detail.vue @@ -163,13 +163,13 @@ export default { goToFill() { uni.navigateTo({ - url: `/pages/contract/fill?id=${this.contractId}` + url: `/pages-common/contract/fill?id=${this.contractId}` }) }, goToSign() { uni.navigateTo({ - url: `/pages/common/contract/contract_sign?id=${this.contractId}&contractName=${encodeURIComponent(this.contractInfo.contract_name)}` + url: `/pages-common/contract/contract_sign?id=${this.contractId}&contractName=${encodeURIComponent(this.contractInfo.contract_name)}` }) }, diff --git a/uniapp/pages/contract/fill.vue b/uniapp/pages/contract/fill.vue index c16f5ad0..402c26f0 100644 --- a/uniapp/pages/contract/fill.vue +++ b/uniapp/pages/contract/fill.vue @@ -176,7 +176,7 @@ export default { setTimeout(() => { uni.navigateTo({ - url: `/pages/common/contract/contract_sign?id=${this.contractId}&contractName=${encodeURIComponent('合同签署')}` + url: `/pages-common/contract/contract_sign?id=${this.contractId}&contractName=${encodeURIComponent('合同签署')}` }) }, 1500) } catch (error) { diff --git a/uniapp/pages/contract/list.vue b/uniapp/pages/contract/list.vue index 40aaec8f..0abdb616 100644 --- a/uniapp/pages/contract/list.vue +++ b/uniapp/pages/contract/list.vue @@ -179,7 +179,7 @@ export default { goToDetail(contract) { uni.navigateTo({ - url: `/pages/contract/detail?id=${contract.id}` + url: `/pages-common/contract/detail?id=${contract.id}` }) }, diff --git a/uniapp/pages/market/clue/add_clues.vue b/uniapp/pages/market/clue/add_clues.vue index 692a7674..45f425de 100644 --- a/uniapp/pages/market/clue/add_clues.vue +++ b/uniapp/pages/market/clue/add_clues.vue @@ -1202,8 +1202,8 @@ export default { return; } - this.$navigateTo({ - url: `/pages/market/clue/clue_info?resource_sharing_id=${resource_sharing_id}` + uni.navigateTo({ + url: `/pages-market/clue/clue_info?resource_sharing_id=${resource_sharing_id}` }) }, @@ -1211,8 +1211,8 @@ export default { openViewMyMessage(item) { let from_id = this.userInfo.id//发送者的id let to_id = item.customerResource.id//接收者ID - this.$navigateTo({ - url: `/pages/common/im_chat_info?from_id=${from_id}&to_id=${to_id}` + uni.navigateTo({ + url: `/pages-common/im_chat_info?from_id=${from_id}&to_id=${to_id}` }) }, @@ -1340,7 +1340,7 @@ export default { this.showDuplicateCheck = false setTimeout(() => { uni.redirectTo({ - url: `/pages/market/clue/index` + url: `/pages-market/clue/index` }) }, 1000) @@ -1726,7 +1726,7 @@ export default { //跳转页面-线索列表 //关闭当前页跳转新页面 uni.redirectTo({ - url: `/pages/market/clue/index` + url: `/pages-market/clue/index` }) }, 1000) }, diff --git a/uniapp/pages/market/clue/class_arrangement.vue b/uniapp/pages/market/clue/class_arrangement.vue index 7a211e02..42946130 100644 --- a/uniapp/pages/market/clue/class_arrangement.vue +++ b/uniapp/pages/market/clue/class_arrangement.vue @@ -177,8 +177,8 @@ // 跳转到课程详情页 const resourceId = this.resource_id || ''; const studentId = this.student_id || ''; - this.$navigateTo({ - url: '/pages/market/clue/class_arrangement_detail?schedule_id=' + course.id + '&resource_id=' + resourceId + '&student_id=' + studentId + uni.navigateTo({ + url: '/pages-market/clue/class_arrangement_detail?schedule_id=' + course.id + '&resource_id=' + resourceId + '&student_id=' + studentId }); }, onCalendarConfirm(e) { diff --git a/uniapp/pages/market/clue/clue_info.vue b/uniapp/pages/market/clue/clue_info.vue index b8274d20..21e0060c 100644 --- a/uniapp/pages/market/clue/clue_info.vue +++ b/uniapp/pages/market/clue/clue_info.vue @@ -560,7 +560,7 @@ export default { switch (action.key) { case 'course_arrangement': - this.$navigateToPage(`/pages/market/clue/class_arrangement`, { + this.$navigateToPage(`/pages-market/clue/class_arrangement`, { resource_id: this.clientInfo.id, student_id: student.id }) @@ -615,7 +615,7 @@ export default { uni.showToast({ title: '课程信息不完整', icon: 'none' }) return } - this.$navigateToPage(`/pages/market/course/course_detail`, { + this.$navigateToPage(`/pages-market/course/course_detail`, { id: course.id, resource_id: this.clientInfo.resource_id }) @@ -628,11 +628,11 @@ export default { if (tabId === 3) await this.getListCallUp() if (tabId === 4) await this.getFitnessRecords() if (tabId === 6) { - this.$navigateToPage(`/pages/market/clue/edit_clues_log`, { + this.$navigateToPage(`/pages-market/clue/edit_clues_log`, { resource_id: this.clientInfo.resource_id }) } - if (tabId === 7) this.$navigateToPage(`/pages/market/clue/edit_clues`, { + if (tabId === 7) this.$navigateToPage(`/pages-market/clue/edit_clues`, { resource_sharing_id: this.clientInfo.id }) }, diff --git a/uniapp/pages/market/clue/edit_clues.vue b/uniapp/pages/market/clue/edit_clues.vue index 48954639..725949d5 100644 --- a/uniapp/pages/market/clue/edit_clues.vue +++ b/uniapp/pages/market/clue/edit_clues.vue @@ -1101,7 +1101,7 @@ } uni.navigateTo({ - url: `/pages/market/clue/edit_clues_log?customer_resource_id=${this.resource_sharing_id}` + url: `/pages-market/clue/edit_clues_log?customer_resource_id=${this.resource_sharing_id}` }); }, @@ -1383,7 +1383,7 @@ //跳转页面-客户详情列表 //关闭当前页跳转新页面 uni.redirectTo({ - url: `/pages/market/clue/clue_info?resource_sharing_id=${this.resource_sharing_id}` + url: `/pages-market/clue/clue_info?resource_sharing_id=${this.resource_sharing_id}` }) }, 1000) }, diff --git a/uniapp/pages/market/clue/index.vue b/uniapp/pages/market/clue/index.vue index d91f1c48..461e320a 100644 --- a/uniapp/pages/market/clue/index.vue +++ b/uniapp/pages/market/clue/index.vue @@ -719,8 +719,8 @@ openViewMyMessage(item) { let from_id = this.userInfo.id //发送者的id let to_id = item.customerResource.id //接收者ID - this.$navigateTo({ - url: `/pages/common/im_chat_info?from_id=${from_id}&to_id=${to_id}` + uni.navigateTo({ + url: `/pages-common/im_chat_info?from_id=${from_id}&to_id=${to_id}` }) }, @@ -764,8 +764,8 @@ //客户详情 clue_info(item) { let resource_sharing_id = item.id ///共享资源表id - this.$navigateTo({ - url: `/pages/market/clue/clue_info?resource_sharing_id=${resource_sharing_id}` + uni.navigateTo({ + url: `/pages-market/clue/clue_info?resource_sharing_id=${resource_sharing_id}` }) }, diff --git a/uniapp/pages/market/my/index.vue b/uniapp/pages/market/my/index.vue index 6bdc4cea..b18d5915 100644 --- a/uniapp/pages/market/my/index.vue +++ b/uniapp/pages/market/my/index.vue @@ -190,114 +190,114 @@ export default { //打开到课率统计 openViewArrivalStatistics(){ - this.$navigateTo({ - url: '/pages/market/my/arrival_statistics' + uni.navigateTo({ + url: '/pages-market/my/arrival_statistics' }) }, //打开即将到期 openViewDueSoon(){ - this.$navigateTo({ - url: '/pages/market/my/due_soon' + uni.navigateTo({ + url: '/pages-market/my/due_soon' }) }, //打开授课统计 openViewSchoolingStatistics(){ - this.$navigateTo({ - url: '/pages/market/my/schooling_statistics' + uni.navigateTo({ + url: '/pages-market/my/schooling_statistics' }) }, //打开意见反馈 openViewFeedback(){ - this.$navigateTo({ - url: '/pages/common/feedback' + uni.navigateTo({ + url: '/pages-common/feedback' }) }, //打开个人资料 openViewMyInfo(){ - this.$navigateTo({ - url: '/pages/market/my/info' + uni.navigateTo({ + url: '/pages-market/my/info' }) }, //跳转页面-已签客户 openViewSignedClientList(){ - this.$navigateTo({ - url: '/pages/market/my/signed_client_list' + uni.navigateTo({ + url: '/pages-market/my/signed_client_list' }) }, //跳转页面-我的考勤 openViewMyAttendance(){ - this.$navigateTo({ - url: '/pages/common/my_attendance' + uni.navigateTo({ + url: '/pages-common/my_attendance' }) }, //打开企业信息 openViewFirmInfo(){ - this.$navigateTo({ - url: '/pages/market/my/firm_info' + uni.navigateTo({ + url: '/pages-market/my/firm_info' }) }, //打开设置 openViewSetUp(){ - this.$navigateTo({ - url: '/pages/market/my/set_up' + uni.navigateTo({ + url: '/pages-market/my/set_up' }) }, //跳转页面-我的消息 openViewMyMessage(){ - this.$navigateTo({ - url: '/pages/common/my_message' + uni.navigateTo({ + url: '/pages-common/my_message' }) }, //跳转页面-报销记录 openViewReimbursementList(){ - this.$navigateTo({ - url: '/pages/market/reimbursement/list' + uni.navigateTo({ + url: '/pages-market/reimbursement/list' }) }, goCourseSchedule(){ - this.$navigateTo({ - url: '/pages/coach/schedule/schedule_table' + uni.navigateTo({ + url: '/pages-coach/coach/schedule/schedule_table' }) }, my_contract(){ - this.$navigateTo({ - url: '/pages/common/contract/my_contract' + uni.navigateTo({ + url: '/pages-common/contract/my_contract' }) }, //打开我的数据 openMyData(){ - this.$navigateTo({ - url: '/pages/market/my/my_data' + uni.navigateTo({ + url: '/pages-market/my/my_data' }) }, //打开部门数据 openDeptData(){ - this.$navigateTo({ - url: '/pages/market/my/dept_data' + uni.navigateTo({ + url: '/pages-market/my/dept_data' }) }, //打开校区数据 openCampusData(){ - this.$navigateTo({ - url: '/pages/market/my/campus_data' + uni.navigateTo({ + url: '/pages-market/my/campus_data' }) }, } diff --git a/uniapp/pages/market/my/set_up.vue b/uniapp/pages/market/my/set_up.vue index fca6bf56..9e17258b 100644 --- a/uniapp/pages/market/my/set_up.vue +++ b/uniapp/pages/market/my/set_up.vue @@ -27,13 +27,13 @@ }, privacy_agreement(type){ - this.$navigateTo({ - url: '/pages/common/privacy_agreement?type='+type + uni.navigateTo({ + url: '/pages-common/privacy_agreement?type='+type }) }, update_pass(){ - this.$navigateTo({ - url: '/pages/market/my/update_pass' + uni.navigateTo({ + url: '/pages-market/my/update_pass' }) }, diff --git a/uniapp/pages/market/my/signed_client_list.vue b/uniapp/pages/market/my/signed_client_list.vue index c342372e..d5525f1b 100644 --- a/uniapp/pages/market/my/signed_client_list.vue +++ b/uniapp/pages/market/my/signed_client_list.vue @@ -147,8 +147,8 @@ export default { //打开学员详情页 openViewStudentInfo(item){ let students_id= item.id - this.$navigateTo({ - url: `/pages/coach/student/info?students_id=${students_id}` + uni.navigateTo({ + url: `/pages-coach/coach/student/info?students_id=${students_id}` }) }, } diff --git a/uniapp/pages/market/my/update_pass.vue b/uniapp/pages/market/my/update_pass.vue index 77cc555d..c82fc34b 100644 --- a/uniapp/pages/market/my/update_pass.vue +++ b/uniapp/pages/market/my/update_pass.vue @@ -123,7 +123,7 @@ import apiRoute from '@/api/apiRoute.js'; }, //忘记密码 forgot() { - this.$navigateTo({ + uni.navigateTo({ url: '/pages/student/login/forgot' }) }, @@ -180,7 +180,7 @@ import apiRoute from '@/api/apiRoute.js'; //跳转页面-个人中心 //关闭当前页跳转新页面 uni.redirectTo({ - url: `/pages/market/my/index` + url: `/pages-market/my/index` }) }, 1000) }, diff --git a/uniapp/pages/market/reimbursement/list.vue b/uniapp/pages/market/reimbursement/list.vue index a535daf1..f5eb4d60 100644 --- a/uniapp/pages/market/reimbursement/list.vue +++ b/uniapp/pages/market/reimbursement/list.vue @@ -65,18 +65,18 @@ export default { }, goAdd() { - this.$navigateTo({ - url: '/pages/market/reimbursement/add' + uni.navigateTo({ + url: '/pages-market/reimbursement/add' }); }, goDetail(item) { // 待审批状态可编辑,否则只能查看 if (item.status === 'pending') { - this.$navigateToPage(`/pages/market/reimbursement/add`, { + this.$navigateToPage(`/pages-market/reimbursement/add`, { id: item.id }); } else { - this.$navigateToPage(`/pages/market/reimbursement/detail`, { + this.$navigateToPage(`/pages-market/reimbursement/detail`, { id: item.id }); } diff --git a/uniapp/pages/student/home/index.vue b/uniapp/pages/student/home/index.vue index ad6f55d7..f74e9405 100644 --- a/uniapp/pages/student/home/index.vue +++ b/uniapp/pages/student/home/index.vue @@ -350,7 +350,7 @@ const studentId = this.selectedStudent.student_id || this.selectedStudent.id console.log('准备跳转到个人信息管理页面, 学员ID:', studentId) - const url = `/pages/student/profile/index?student_id=${studentId}` + const url = `/pages-student/profile/index?student_id=${studentId}` console.log('跳转URL:', url) uni.navigateTo({ @@ -368,7 +368,7 @@ if (!this.checkStudentSelected()) return const studentId = this.selectedStudent.student_id || this.selectedStudent.id uni.navigateTo({ - url: `/pages/student/physical-test/index?student_id=${studentId}` + url: `/pages-student/physical-test/index?student_id=${studentId}` }) }, @@ -376,7 +376,7 @@ if (!this.checkStudentSelected()) return const studentId = this.selectedStudent.student_id || this.selectedStudent.id uni.navigateTo({ - url: `/pages/student/schedule/index?student_id=${studentId}` + url: `/pages-student/schedule/index?student_id=${studentId}` }) }, @@ -384,7 +384,7 @@ if (!this.checkStudentSelected()) return const studentId = this.selectedStudent.student_id || this.selectedStudent.id uni.navigateTo({ - url: `/pages/student/course-booking/index?student_id=${studentId}` + url: `/pages-student/course-booking/index?student_id=${studentId}` }) }, @@ -392,7 +392,7 @@ if (!this.checkStudentSelected()) return const studentId = this.selectedStudent.student_id || this.selectedStudent.id uni.navigateTo({ - url: `/pages/student/orders/index?student_id=${studentId}` + url: `/pages-student/orders/index?student_id=${studentId}` }) }, @@ -400,7 +400,7 @@ if (!this.checkStudentSelected()) return const studentId = this.selectedStudent.student_id || this.selectedStudent.id uni.navigateTo({ - url: `/pages/student/contracts/index?student_id=${studentId}` + url: `/pages-student/contracts/index?student_id=${studentId}` }) }, @@ -408,7 +408,7 @@ if (!this.checkStudentSelected()) return const studentId = this.selectedStudent.student_id || this.selectedStudent.id uni.navigateTo({ - url: `/pages/student/knowledge/index?student_id=${studentId}` + url: `/pages-student/knowledge/index?student_id=${studentId}` }) }, @@ -416,13 +416,13 @@ if (!this.checkStudentSelected()) return const studentId = this.selectedStudent.student_id || this.selectedStudent.id uni.navigateTo({ - url: `/pages/student/messages/index?student_id=${studentId}` + url: `/pages-student/messages/index?student_id=${studentId}` }) }, navigateToSettings() { uni.navigateTo({ - url: '/pages/student/my/set_up' + url: '/pages-student/my/set_up' }) }, @@ -430,7 +430,7 @@ console.log('跳转到添加孩子页面') this.closeStudentPopup() uni.navigateTo({ - url: '/pages/student/child/add' + url: '/pages-student/child/add' }) }, diff --git a/uniapp/pages/student/knowledge/index.vue b/uniapp/pages/student/knowledge/index.vue index 19018988..7017a579 100644 --- a/uniapp/pages/student/knowledge/index.vue +++ b/uniapp/pages/student/knowledge/index.vue @@ -587,7 +587,7 @@ // 跳转到文章详情页面 uni.navigateTo({ - url: `/pages/student/knowledge/detail?article_id=${article.id}&student_id=${this.studentId}` + url: `/pages-student/knowledge/detail?article_id=${article.id}&student_id=${this.studentId}` }) }, diff --git a/uniapp/pages/student/login/login.vue b/uniapp/pages/student/login/login.vue index 9eded5f4..41f08969 100644 --- a/uniapp/pages/student/login/login.vue +++ b/uniapp/pages/student/login/login.vue @@ -758,7 +758,12 @@ uni.setStorageSync('tabBerIndex', 0) // 检查是否为tabBar页面,使用对应的跳转方法 - if (openPath === '/pages/common/home/index' || openPath === '/pages/common/profile/index') { + const tabBarPages = [ + '/pages/student/home/index', + '/pages/student/profile/index' + ]; + + if (tabBarPages.includes(openPath)) { // tabBar页面使用switchTab uni.switchTab({ url: openPath, diff --git a/uniapp/pages/student/my/set_up.vue b/uniapp/pages/student/my/set_up.vue index 1102d86d..e0e185af 100644 --- a/uniapp/pages/student/my/set_up.vue +++ b/uniapp/pages/student/my/set_up.vue @@ -26,13 +26,13 @@ }, privacy_agreement(type){ - this.$navigateTo({ - url: '/pages/common/privacy_agreement?type='+type + uni.navigateTo({ + url: '/pages-common/privacy_agreement?type='+type }) }, update_pass(){ - this.$navigateTo({ - url: '/pages/student/my/update_pass' + uni.navigateTo({ + url: '/pages-student/my/update_pass' }) } } diff --git a/uniapp/pages/student/my/update_pass.vue b/uniapp/pages/student/my/update_pass.vue index 244132b8..2234fd70 100644 --- a/uniapp/pages/student/my/update_pass.vue +++ b/uniapp/pages/student/my/update_pass.vue @@ -82,7 +82,7 @@ }); }, forgot() { - this.$navigateTo({ + uni.navigateTo({ url: '/pages/student/login/forgot' }) }, diff --git a/uniapp/pages/student/orders/index.vue b/uniapp/pages/student/orders/index.vue index ef124284..4994a602 100644 --- a/uniapp/pages/student/orders/index.vue +++ b/uniapp/pages/student/orders/index.vue @@ -534,7 +534,7 @@ if (res.code === 1) { // 跳转到订单详情页面 uni.navigateTo({ - url: `/pages/student/orders/detail?id=${order.id}` + url: `/pages-student/orders/detail?id=${order.id}` }) } else { // 如果接口失败,显示简单的详情弹窗 diff --git a/uniapp/pages/student/settings/index.vue b/uniapp/pages/student/settings/index.vue index 0f10f269..6b697984 100644 --- a/uniapp/pages/student/settings/index.vue +++ b/uniapp/pages/student/settings/index.vue @@ -84,25 +84,25 @@ navigateToProfile() { uni.navigateTo({ - url: '/pages/common/profile/personal_info' + url: '/pages-common/profile/personal_info' }) }, navigateToPassword() { uni.navigateTo({ - url: '/pages/student/my/update_pass' + url: '/pages-student/my/update_pass' }) }, navigateToAbout() { uni.navigateTo({ - url: '/pages/student/settings/about' + url: '/pages-student/settings/about' }) }, navigateToPrivacy() { uni.navigateTo({ - url: '/pages/common/privacy_agreement' + url: '/pages-common/privacy_agreement' }) }, diff --git a/uniapp/pages/student/timetable/info.vue b/uniapp/pages/student/timetable/info.vue index 15e3cf42..faa78caa 100644 --- a/uniapp/pages/student/timetable/info.vue +++ b/uniapp/pages/student/timetable/info.vue @@ -153,8 +153,8 @@ export default { //打开课时详情页 openViewCourseInfo(item){ - this.$navigateTo({ - url: '/pages/coach/course/info' + uni.navigateTo({ + url: '/pages-coach/coach/course/info' }) },