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 @@
+
+
+
+
+
+
+
+ 最近课程
+
+
+
+
+
+
+
+
+ 课程:{{ v.course_name }}
+ 时间:{{ v.course_date }} {{ v.time_slot }}
+
+ 地点:{{ v.address }}
+
+
+
+
+ 已签到学生({{ v.sign_count }}/{{ v.students_count }})
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+ 应到学生({{ v.students_count }})
+
+ 查看
+
+
+
+
+
+ 待开始
+
+
+ 待上课
+
+
+ 上课中
+
+
+
+
+
+
+ 暂无课程数据
+
+
+
+
+
+
+
+ 作业批改
+ 全部
+
+
+
+
+
+
+
+ 班级:{{v.class_name}}
+ 时间:{{v.create_time}}
+ 课程:{{v.course_name}}
+
+
+
+
+ 待批改
+
+
+
+
+
+
+ 暂无作业数据
+
+
+
+
+
+
+
+ 我的服务
+ 全部
+
+
+
+
+
+
+ {{item.service_name}}
+ {{item.description}}
+ 创建时间:{{item.created_at}}
+
+
+ {{item.status === 1 ? '进行中' : '已结束'}}
+
+
+
+
+
+
+ 暂无服务数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 即将到期
+
+
+
+ {{item.name}}
+ 课程截止时间:{{item.end_date}}
+
+
+
+
+ {{
+ (item.use_total_hours + item.use_gift_hours)
+ }}节
+ 已上课时
+
+
+ {{
+ (item.total_hours + item.gift_hours) - (item.use_total_hours + item.use_gift_hours)
+ }}节
+ 剩余课时
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+ 答对{{success}},答错{{error}}
+
+
+ 总共得分{{num}}
+
+
+ 返回列表
+
+
+
+
+
+
+
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 @@
+
+
+
+
+
+
+ {{index + 1}}
+ {{item.question_content}}?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item_option.option}}. {{item_option.option_content}}
+
+
+
+
+
+
+
+
+
+
+
+
+ 上一题
+ 下一题
+
+
+ 提交试卷
+
+
+
+
+
+
+
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 @@
+
+
+
+
+
+
+
+
+
+ 修改头像
+
+
+
+
+
+
+ 姓名 *
+
+
+
+
+
+
+
+
+ 账号
+
+
+
+
+
+
+
+
+ 部门
+
+
+
+ {{formData.department_name_str || '暂无'}}
+
+
+
+
+
+ 等级
+
+
+
+
+
+
+
+
+
+
+ 性别 *
+
+
+
+
+
+
+
+
+
+ 生日 *
+
+
+
+
+
+
+
+
+
+ 邮箱 *
+
+
+
+
+
+
+
+
+ 手机 *
+
+
+
+
+
+
+
+
+ 微信
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+ {{ selectedMonth || '选择月份' }}
+ >
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+ 基础工资:
+ ¥{{ formatMoney(item.base_salary) }}
+
+
+ 出勤工资:
+ ¥{{ formatMoney(item.work_salary) }}
+
+
+ 应发工资:
+ ¥{{ formatMoney(item.gross_salary) }}
+
+
+ 实发工资:
+ ¥{{ formatMoney(item.net_salary) }}
+
+
+
+
+
+
+
+
+
+
+ 暂无工资数据
+
+
+
+
+ 加载中...
+
+
+
+
+
+
+
+
+
+
+ 基础信息
+
+ 工资月份:
+ {{ formatMonth(salaryDetail.salary_month) }}
+
+
+ 基础工资:
+ ¥{{ formatMoney(salaryDetail.base_salary) }}
+
+
+ 满勤天数:
+ {{ salaryDetail.full_attendance_days }}天
+
+
+ 出勤天数:
+ {{ salaryDetail.attendance }}天
+
+
+
+
+ 收入明细
+
+ 出勤工资:
+ ¥{{ formatMoney(salaryDetail.work_salary) }}
+
+
+ 管理绩效:
+ ¥{{ formatMoney(salaryDetail.mgr_performance) }}
+
+
+ 销售提成:
+ ¥{{ formatMoney(salaryDetail.performance_bonus) }}
+
+
+ 其他补贴:
+ ¥{{ formatMoney(salaryDetail.other_subsidies) }}
+
+
+
+
+ 扣除明细
+
+ 其他扣款:
+ -¥{{ formatMoney(salaryDetail.deductions) }}
+
+
+ 社保:
+ -¥{{ formatMoney(salaryDetail.social_security) }}
+
+
+ 个税:
+ -¥{{ formatMoney(salaryDetail.individual_income_tax) }}
+
+
+
+
+ 工资汇总
+
+ 应发工资:
+ ¥{{ formatMoney(salaryDetail.gross_salary) }}
+
+
+ 实发工资:
+ ¥{{ formatMoney(salaryDetail.net_salary) }}
+
+
+
+
+ 备注
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+ {{v.month_date}}
+
+
+
+ {{v.ysks}}
+ 月授课数/节
+
+
+ {{v.zsbj}}
+ 总授班级/个
+
+
+ {{v.yfzxy}}
+ 月负责学员/名
+
+
+
+ 月到课率{{v.ydkl}}%
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ {{item.title}}
+ {{getTableType(item.table_type)}}
+
+
+
+ {{item.create_time}}
+ 去考试
+
+
+ 加载中...
+ 没有更多数据了
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+ 1.验证旧密码
+ 2.设置新密码
+
+
+
+
+
+ 为保障您的账号安全,修改密码前请填写原密码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上一步
+
+
+ 下一步
+
+ 提交
+
+
+
+
+ 忘记原密码
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+ {{ selectedCourse ? selectedCourse.course_name : '请选择课程' }}
+
+
+
+
+
+
+
+
+ {{ selectedClass ? selectedClass.class_name : '请选择班级(可选)' }}
+
+
+
+
+
+
+
+
+ {{ selectedCoach ? selectedCoach.name : '请选择教练' }}
+
+
+
+
+
+
+
+
+ {{ selectedVenue ? selectedVenue.venue_name : '请选择场地' }}
+
+
+
+
+
+
+
+
+ {{ formData.course_date || '请选择日期' }}
+
+
+
+
+
+
+
+
+ {{ formData.time_slot || '请选择时间段' }}
+
+
+
+
+
+
+
+
+ {{ formData.available_capacity || '0' }}
+ (根据场地自动设置)
+
+
+
+
+
+
+
+
+
+
+
+ 创建课程安排
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+ 加载中...
+
+
+
+
+ 当前课程信息
+
+
+ 课程名称:
+ {{ scheduleInfo.course_name }}
+
+
+ 上课日期:
+ {{ scheduleInfo.course_date }}
+
+
+ 上课时间:
+ {{ scheduleInfo.time_slot }}
+
+
+ 授课教练:
+ {{ scheduleInfo.coach_name }}
+
+
+ 上课场地:
+ {{ scheduleInfo.venue_name }}
+
+
+
+ 调整后信息
+
+
+
+
+
+ {{ selectedCoach ? selectedCoach.name : scheduleInfo.coach_name }}
+
+
+
+
+
+
+
+
+
+ {{ selectedVenue ? selectedVenue.venue_name : scheduleInfo.venue_name }}
+
+
+
+
+
+
+
+
+
+ {{ formData.course_date || scheduleInfo.course_date }}
+
+
+
+
+
+
+
+
+
+ {{ formData.time_slot || scheduleInfo.time_slot }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确认调整
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formatDateRange() }}
+
+
+
+
+
+
+
+
+ 共 {{ totalCourses }} 节课,未点名 {{ unnamedCourses }} 节课
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ timeSlot.time }}
+
+
+
+
+
+
+ {{ teacher.name }}
+
+
+
+
+
+
+ {{ venue.name }}
+
+
+
+
+
+
+ {{ cls.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ course.courseName }}
+ {{ course.students }}
+ {{ course.teacher }}
+ {{ course.campus_name ? course.campus_name + ' ' : '' }}{{ course.venue }}
+ {{ course.status }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ course.courseName }}
+ {{ course.time }}
+ {{ course.students }}
+ {{ course.campus_name ? course.campus_name + ' ' : '' }}{{ course.venue }}
+ {{ course.status }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ course.courseName }}
+ {{ course.time }}
+ {{ course.teacher }}
+ {{ course.campus_name ? course.campus_name + ' ' : '' }}{{ course.venue }}
+ {{ course.status }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ course.courseName }}
+ {{ course.time }}
+ {{ course.teacher }}
+ {{ course.campus_name ? course.campus_name + ' ' : '' }}{{ course.venue }}
+ {{ course.status }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 时间范围
+
+
+ {{ option.label }}
+
+
+
+
+
+
+ 授课老师
+
+
+ {{ teacher.name }}
+
+
+
+
+
+
+ 选择场地
+
+
+ {{ venue.name }}
+
+
+
+
+
+
+ 上课场地
+
+
+ {{ venue.name }}
+
+
+
+
+
+
+ 班级
+
+
+ {{ cls.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+ {{ scheduleInfo.course_name }}
+ {{ scheduleInfo.course_date }} {{ scheduleInfo.time_slot }}
+
+
+ 授课教练:
+ {{ scheduleInfo.coach_name }}
+
+
+ 上课场地:
+ {{ scheduleInfo.venue_name }}
+
+
+ 学员人数:
+ {{ studentList.length }}人
+
+
+
+
+
+
+
+
+
+
+ 暂无学员数据
+
+
+
+
+
+
+
+
+
+
+ {{ student.name }}
+ {{ student.phone_number || '无联系电话' }}
+
+
+
+
+
+ 已到
+
+
+ 请假
+
+
+ 未到
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交点名
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+ {{$util.formatToDateTime(surveyInfo.created_at,'Y-m-d')}}
+
+
+
+
+
+
+ {{surveyInfo.calculateChildHealthScore}}
+ 综合评分
+
+
+
+
+ 身高 (CM)
+ {{(surveyInfo.height)}}
+
+
+ 体重 (KG)
+ {{surveyInfo.weight}}
+
+
+
+
+
+
+
+
+
+
+
+ {{surveyInfo.created_at}}体测报告{{index}}
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+ 搜索学员...
+
+
+
+
+ 暂无学员数据
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+ 所属校区:
+ {{item.campus}}
+
+
+ 剩余课程:
+ {{ getRemainingCourses(item) }}节
+
+
+ 到期时间:
+ {{item.end_date}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ {{infoData.title}}
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 请仔细阅读合同内容,确认无误后进行签订
+ 合同已签订完成,您可以查看或下载合同文件
+
+
+
+
+
+ 基本信息
+
+
+ 合同名称
+ {{contractData.contract_name}}
+
+
+ 合同类型
+ {{contractData.contract_type}}
+
+
+ 合同状态
+ {{contractData.contract_status}}
+
+
+ 创建时间
+ {{formatDate(contractData.created_at)}}
+
+
+ 签订时间
+ {{formatDate(contractData.sign_time)}}
+
+
+ 备注
+ {{contractData.remarks}}
+
+
+
+
+
+
+ 合同模板
+
+
+
+
+
+ {{getTemplateName()}}
+ 点击预览合同模板
+
+
+
+
+
+
+
+
+
+ 签名文件
+
+
+
+ 点击查看完整签名
+
+
+
+
+
+
+ 操作历史
+
+
+
+
+ 合同创建
+ {{formatDate(contractData.created_at)}}
+
+
+
+
+
+ 合同签订
+ {{formatDate(contractData.sign_time)}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+ 清除签名
+
+
+
+
+
+
+ {{contractName}}
+ 请在下方签名区域进行手写签名
+
+
+
+
+
+
+ 请在此区域签名
+ 支持手指或触控笔签名
+
+
+
+
+
+
+
+
+ ✍️
+ 请在此处签名
+
+
+
+
+
+
+ 笔迹颜色:
+
+
+
+
+
+
+
+ 笔迹粗细:
+
+
+
+
+
+
+
+
+
+
+
+ 签名预览
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂无签名
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ 全部
+
+
+ 待签订
+
+
+ 已签订
+
+
+
+
+
+
+
+
+
+
+ 📄
+ 暂无合同数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 合同类型:
+ {{contract.contract_type}}
+
+
+ 创建时间:
+ {{formatDate(contract.created_at)}}
+
+
+ 签订时间:
+ {{formatDate(contract.sign_time)}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+ {{v.created_at}}
+
+
+
+
+ {{v.content}}
+
+
+
+
+
+
+
+
+
+
+
+ {{v.content}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 相册
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 普通考勤
+
+ {{v.status_name}}
+
+
+ 校区:{{v.campus_id_name || ''}}
+
+
+ 备注:{{v.remarks || ''}}
+
+
+
+
+ 开始时间:{{ v.attendance_date }} {{ v.check_in_time || '' }}
+ 结束时间:{{ v.attendance_date }} {{ v.check_out_time || '' }}
+
+
+
+
+ 开始时间:{{ v.attendance_date }} {{v.leave_start_time || ''}}
+ 结束时间:{{ v.attendance_date }} {{v.leave_end_time || ''}}
+
+
+
+
+ 签退
+
+
+
+
+
+
+
+
+
+
+
+ 普通考勤
+
+ {{v.status_name}}
+
+
+ 校区:{{v.campus_id_name || ''}}
+
+
+ 备注:{{v.remarks || ''}}
+
+
+
+
+ 开始时间:{{ v.attendance_date }} {{ v.check_in_time || '' }}
+ 结束时间:{{ v.attendance_date }} {{ v.check_out_time || '' }}
+
+
+
+
+ 开始时间:{{ v.attendance_date }} {{v.leave_start_time || ''}}
+ 结束时间:{{ v.attendance_date }} {{v.leave_end_time || ''}}
+
+
+
+
+ 签退
+
+
+
+
+
+
+
+
+
+
+ 普通考勤
+
+ {{v.status_name}}
+
+
+ 校区:{{v.campus_id_name || ''}}
+
+
+ 备注:{{v.remarks || ''}}
+
+
+
+
+ 开始时间:{{ v.attendance_date }} {{ v.check_in_time || '' }}
+ 结束时间:{{ v.attendance_date }} {{ v.check_out_time || '' }}
+
+
+
+
+ 开始时间:{{ v.attendance_date }} {{v.leave_start_time || ''}}
+ 结束时间:{{ v.attendance_date }} {{v.leave_end_time || ''}}
+
+
+
+
+ 签退
+
+
+
+
+
+
+
+
+
+
+ 打卡
+
+
+ 请假
+
+
+ 签退
+
+
+
+
+
+
+ {{signIn_title}}
+ {{signIn_content}}
+
+
+
+
+
+
+ {{ (formData.attendance_date) ? formData.attendance_date : '点击选择' }}
+
+
+
+
+
+
+
+
+
+ {{ (formData.leave_time) ? formData.leave_time : '点击选择' }}
+
+
+
+
+
+
+
+
+
+
+ {{ (formData.campus_id) ? formData.campus_id_name : '点击选择' }}
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确定
+
+
+
+
+
+
+
+
+
+
+
+ 详情
+
+
+ 考勤状态:
+ {{info_data.status_name}}
+
+
+ 考勤日期:
+
+ {{info_data.attendance_date}}
+ {{info_data.check_in_time}}
+ -
+ {{info_data.check_out_time || ''}}
+
+ (未签退)
+
+
+
+ 校区名称:
+ {{info_data.campus_id_name || ''}}
+
+
+ 备注:
+ {{info_data.remarks || ''}}
+
+
+ 地图:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{v.name}}
+
+
+ {{v.count >= 99 ? '99':v.count}}
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+ 新员工信息填写
+
+
+
+
+
+
+
+ 1
+ 基本信息
+
+
+
+ 2
+ 详细信息
+
+
+
+ 3
+ 确认提交
+
+
+
+
+
+
+
+
+ 基本信息
+
+
+
+ 头像
+
+
+
+
+ 点击上传头像
+
+
+
+
+
+
+ 姓名
+
+
+
+
+
+ 性别
+
+
+
+
+
+
+
+
+ 出生日期
+
+
+ {{formData.birthday || '请选择出生日期'}}
+
+
+
+
+
+
+ 手机号码
+
+
+
+
+
+ 邮箱
+
+
+
+
+
+ 微信号
+
+
+
+
+
+ 职位类型
+
+
+
+
+
+
+
+
+ 入职时间
+
+
+ {{formData.join_time || '请选择入职时间'}}
+
+
+
+
+
+
+
+ 详细信息
+
+
+
+ 民族
+
+
+
+
+
+ 年龄
+
+
+
+
+
+ 政治面貌
+
+
+ {{detailData.politics || '请选择政治面貌'}}
+
+
+
+
+
+
+ 毕业院校
+
+
+
+
+
+ 学历
+
+
+ {{detailData.education || '请选择学历'}}
+
+
+
+
+
+
+ 专业
+
+
+
+
+
+ 毕业日期
+
+
+ {{detailData.graduation_date || '请选择毕业日期'}}
+
+
+
+
+
+
+ 籍贯
+
+
+
+
+
+ 户口所在地
+
+
+
+
+
+ 户口性质
+
+
+ {{detailData.household_type || '请选择户口性质'}}
+
+
+
+
+
+
+ 户籍地址
+
+
+
+
+
+ 现居地址
+
+
+
+
+
+ 紧急联系人
+
+
+
+
+
+ 紧急联系电话
+
+
+
+
+
+ 婚姻状况
+
+
+ {{detailData.marital_status || '请选择婚姻状况'}}
+
+
+
+
+
+
+ 银行卡号
+
+
+
+
+
+ 开户银行
+
+
+
+
+
+ 备注
+
+
+
+
+
+
+ 确认信息
+
+
+ 基本信息
+
+ 姓名:
+ {{formData.name}}
+
+
+ 性别:
+ {{formData.gender === 1 ? '男' : '女'}}
+
+
+ 手机:
+ {{formData.phone}}
+
+
+ 职位:
+ {{formData.account_type === 'teacher' ? '教师' : '市场'}}
+
+
+
+
+ 详细信息
+
+ 学历:
+ {{detailData.education}}
+
+
+ 毕业院校:
+ {{detailData.university}}
+
+
+ 紧急联系人:
+ {{detailData.emergency_contact}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+ 个人中心
+
+
+
+
+
+ {{ item.title }}
+ {{ item.desc }}
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+ ←
+
+ 个人资料
+
+ 保存
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 📷
+ 点击更换头像
+
+
+
+
+
+
+
+
+
+ 基本信息
+
+
+
+ 姓名
+
+ {{ formData.name || '未填写' }}
+
+
+
+
+ 性别
+
+
+ {{ getDisplayText(genderOptions, formData.gender) || '请选择性别' }}
+
+
+ {{ getDisplayText(genderOptions, formData.gender) || '未填写' }}
+
+
+
+
+ 生日
+
+
+ {{ formData.birthday || '请选择生日' }}
+
+
+ {{ formData.birthday || '未填写' }}
+
+
+
+
+ 电话
+
+ {{ formData.phone || '未填写' }}
+
+
+
+
+ 邮箱
+
+ {{ formData.email || '未填写' }}
+
+
+
+
+ 微信号
+
+ {{ formData.wx || '未填写' }}
+
+
+
+
+ 学历
+
+
+ {{ getDisplayText(educationOptions, formData.education) || '请选择学历' }}
+
+
+ {{ getDisplayText(educationOptions, formData.education) || '未填写' }}
+
+
+
+
+ 家庭住址
+
+ {{ formData.address || '未填写' }}
+
+
+
+
+ 祖籍
+
+ {{ formData.native_place || '未填写' }}
+
+
+
+
+ 个人简介
+
+ {{ formData.profile || '未填写' }}
+
+
+
+
+ 应急联系人电话
+
+ {{ formData.emergency_contact_phone || '未填写' }}
+
+
+
+
+
+ 身份证信息
+
+
+
+ 身份证正面
+
+
+
+
+ 📷
+ 点击上传身份证正面
+
+
+
+
+ 未上传
+
+
+
+
+
+
+ 身份证反面
+
+
+
+
+ 📷
+ 点击上传身份证反面
+
+
+
+
+ 未上传
+
+
+
+
+
+
+
+ 详细信息
+
+
+
+ 花名
+
+ {{ formData.info.name || '未填写' }}
+
+
+
+
+ 门店
+
+ {{ formData.info.store || '未填写' }}
+
+
+
+
+ 民族
+
+
+ {{ getDisplayText(ethnicityOptions, formData.info.ethnicity) || '请选择民族' }}
+
+
+ {{ getDisplayText(ethnicityOptions, formData.info.ethnicity) || '未填写' }}
+
+
+
+
+ 年龄
+
+ {{ formData.info.age || '未填写' }}
+
+
+
+
+ 司龄
+ {{ formData.info.tenure || '未计算' }}
+
+
+
+
+ 转正时间
+ {{ formData.info.regular_date || '未填写' }}
+
+
+
+
+ 是否转正
+ {{ getDisplayText(booleanOptions, formData.info.is_regular) || '未填写' }}
+
+
+
+
+ 政治面貌
+
+
+ {{ getDisplayText(politicsOptions, formData.info.politics) || '请选择政治面貌' }}
+
+
+ {{ getDisplayText(politicsOptions, formData.info.politics) || '未填写' }}
+
+
+
+
+ 毕业院校
+
+ {{ formData.info.university || '未填写' }}
+
+
+
+
+ 专业
+
+ {{ formData.info.major || '未填写' }}
+
+
+
+
+ 毕业时间
+
+
+ {{ formData.info.graduation_date || '请选择毕业时间' }}
+
+
+ {{ formData.info.graduation_date || '未填写' }}
+
+
+
+
+ 婚姻状况
+
+
+ {{ getDisplayText(maritalStatusOptions, formData.info.marital_status) || '请选择婚姻状况' }}
+
+
+ {{ getDisplayText(maritalStatusOptions, formData.info.marital_status) || '未填写' }}
+
+
+
+
+ 银行卡号
+
+ {{ formData.info.bank_card || '未填写' }}
+
+
+
+
+ 开户行
+
+ {{ formData.info.bank_name || '未填写' }}
+
+
+
+
+ 备注
+
+ {{ formData.info.remark || '未填写' }}
+
+
+
+
+
+
+
+
+
+
diff --git a/uniapp/pages-common/sys_msg_list.vue b/uniapp/pages-common/sys_msg_list.vue
new file mode 100644
index 00000000..5a1708ba
--- /dev/null
+++ b/uniapp/pages-common/sys_msg_list.vue
@@ -0,0 +1,225 @@
+
+
+
+
+
+
+
+ {{v.title}}
+
+
+
+
+
+
+
+
+ {{v.show_time}}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uniapp/pages-market/clue/add_clues.vue b/uniapp/pages-market/clue/add_clues.vue
new file mode 100644
index 00000000..45f425de
--- /dev/null
+++ b/uniapp/pages-market/clue/add_clues.vue
@@ -0,0 +1,2123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查重
+
+
+
+
+
+
+ 基础信息
+
+ 快速填写
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ (formData.campus) ? picker_config.campus.text : '点击选择' }}
+
+
+
+
+
+
+
+
+
+ {{ (formData.source) ? picker_config.source.text : '点击选择' }}
+
+
+
+
+
+
+
+
+ {{ (formData.source_channel) ? picker_config.source_channel.text : '点击选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ resource.name }}
+ {{ resource.phone_number }}
+
+ ✓
+
+
+
+
+
+
+ {{ selectedReferralResource.name }}
+ {{ selectedReferralResource.phone_number }}
+
+ ✕
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.birthday ? formData.birthday : '请选择生日' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ (formData.decision_maker) ? picker_config.decision_maker.text : '点击选择' }}
+
+
+
+
+
+
+
+ {{ (formData.initial_intent) ? picker_config.initial_intent.text : '点击选择' }}
+
+
+
+
+
+
+
+ {{ (formData.status) ? picker_config.status.text : '点击选择' }}
+
+
+
+
+
+
+
+
+ 下一步
+
+
+
+
+
+
+
+
+ 六要素信息
+
+
+
+
+
+ {{ (formData.purchasing_power) ? picker_config.purchasing_power.text : '点击选择' }}
+
+
+
+
+
+
+
+ {{ (formData.cognitive_idea) ? picker_config.cognitive_idea.text : '点击选择' }}
+
+
+
+
+
+
+
+ {{ (formData.optional_class_time) ? formData.optional_class_time : '点击选择' }}
+
+
+
+
+
+
+
+ {{ (formData.promised_visit_time) ? formData.promised_visit_time : '点击选择' }}
+
+
+
+
+
+
+
+ {{ (formData.distance) ? picker_config.distance.text : '点击选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查重结果
+
+
+
+
+
+
+
+
+
+ 暂无重复客户
+
+
+
+
+
+ 检测到手机号重复,是否为现有用户添加新学员?
+
+ 确认添加学员
+
+
+
+
+
+
+ {{v.name}}
+
+
+
+ 首选联系人:{{v.decision_maker}}
+
+
+
+
+ 联系电话:{{v.phone_number || ''}}
+
+
+
+
+
+ {{ $util.formatToDateTime((v.updated_at || ''), 'm-d H:i') }} 跟进
+
+
+
+
+
+
+
+ 意向:{{ v.initial_intent_name || '' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 请粘贴包含客户信息的文本,支持格式:
+ 姓名:张三,电话:13800138000,校区:测试校区
+
+
+
+
+ 取消
+ 解析并填写
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+ {{ item.week }}
+ {{ item.day }}
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 时间:{{ course.course_date || '未设置' }}
+ 校区:{{ course.campus_name || '未设置' }}
+ 教室:{{ course.venue ? course.venue.venue_name : '未设置' }}
+ 课程:{{ course.course ? course.course.course_name : '未设置' }}
+ 人数:{{ course.available_capacity || 0 }}
+ 安排情况:{{ course.student ? course.student.length : 0 }}/{{course.max_students ? course.max_students : '不限'}}
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+ 课程安排详情
+
+ 日期:{{ schedule_info.course_date }}
+ 课程名称:{{ schedule_info.course_name }}
+ 课程时间:{{ schedule_info.time_slot }}
+ 主教练:{{ schedule_info.coach_name || '待安排' }}
+ 场地信息:{{ schedule_info.venue_name }}
+
+
+
+
+
+ 正式学员
+
+
+
+ 待续费
+ {{ stu.name && stu.name.charAt(0) }}
+
+ {{ stu.name }}
+ 年龄:{{ stu.age || '未知' }}岁
+ 课程状态:{{ stu.courseStatus }}
+ 上课情况:{{ stu.course_progress.used }}/{{ stu.course_progress.total }}节
+ 到期时间:{{ stu.student_course_info.end_date || '未设置' }}
+
+
+
+
+
+
+ +
+
+
+ 空位
+ 点击添加学员
+
+
+
+
+
+
+
+ 等待位
+
+
+
+ {{ stu.name && stu.name.charAt(0) }}
+
+ {{ stu.name }}
+ 年龄:{{ stu.age || '未知' }}岁
+ 课程状态:{{ stu.courseStatus }}
+ 上课情况:{{ stu.course_progress.used }}/{{ stu.course_progress.total }}节 ({{ stu.course_progress.percentage }}%)
+ 到期时间:{{ stu.expiryDate || '未设置' }}
+
+
+
+
+
+
+ +
+
+
+ 等待位
+ 点击添加学员
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 客户选择
+
+
+
+
+
+
+ {{ student.name ? student.name.charAt(0) : '?' }}
+
+
+ {{ student.name }}
+ 正式学员
+
+ {{ student.phone }}
+
+
+ ✓
+
+
+
+
+
+
+
+ 选中学员
+
+ {{ (presetStudent && presetStudent.name) ? presetStudent.name.charAt(0) : '?' }}
+
+ {{ (presetStudent && presetStudent.name) || '未知学员' }}
+ {{ (presetStudent && presetStudent.phone) || '未知手机号' }}
+
+
+
+
+
+
+ 课程安排
+
+
+
+
+
+
+
+
+ 备注
+
+
+
+
+
+
+
+
+
+
+
+
+ 请假原因
+
+
+
+
+ 取消
+ 提交
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ action.icon }}
+
+ {{ action.text }}
+
+
+
+
+
+ 👤
+ 暂无学生信息
+
+ 添加第一个学生
+
+
+
+
+
+
+
+
+ 📚
+ 暂无课程信息
+
+
+
+
+
+
+ 📞
+ 暂无通话记录
+
+
+
+
+
+
+
+
+
+ 📊
+ 暂无体测记录
+
+
+
+
+
+
+
+ 📚
+ 暂无学习计划
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 📊
+ 暂无体测记录
+ 点击下方"新增"按钮添加体测记录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 订单号:
+ {{ qrCodePaymentData.order.order_no }}
+
+
+ 支付金额:
+ ¥{{ qrCodePaymentData.order.total_amount }}
+
+
+
+
+
+
+ 二维码加载中...
+ 请使用微信扫码完成支付
+
+
+
+
+ 取消支付
+ 发送二维码给客户
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+ {{ row.channel }}
+ {{ expanded[rIdx] ? '▲' : '▼' }}
+
+
+
+
+ {{ col.label }}
+ ?
+
+ {{ row[col.key] || '-' }}
+
+
+
+ {{ expanded[rIdx] ? '收起' : '展开全部' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+ 基础信息
+
+ 查看修改记录
+
+
+
+
+
+
+
+ {{ formData.campus ? picker_config.campus.text : '点击选择' }}
+
+
+
+
+
+
+
+ {{ formData.source ? picker_config.source.text : '点击选择' }}
+
+
+
+
+
+
+
+ {{ formData.source_channel ? picker_config.source_channel.text : '点击选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 男
+
+
+
+
+
+ 女
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 是
+
+
+
+
+
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 六要素信息
+
+ 查看修改记录
+
+
+
+
+
+
+
+ {{ formData.purchasing_power ? picker_config.purchasing_power.text : '点击选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.cognitive_idea ? picker_config.cognitive_idea.text : '点击选择' }}
+
+
+
+
+
+
+
+ {{ formData.optional_class_time ? formData.optional_class_time : '点击选择' }}
+
+
+
+
+
+
+
+ {{ formData.promised_visit_time ? formData.promised_visit_time : '点击选择' }}
+
+
+
+
+
+
+
+ {{ formData.distance ? picker_config.distance.text : '点击选择' }}
+
+
+
+
+
+
+
+ {{ formData.decision_maker ? picker_config.decision_maker.text : '点击选择' }}
+
+
+
+
+
+
+
+
+
+
+
+ 是
+
+
+
+
+
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 跟进与面咨
+
+
+
+
+ {{ formData.first_visit_time ? formData.first_visit_time : '点击选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.second_visit_time ? formData.second_visit_time : '点击选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 报名
+
+
+
+
+
+ 未报名
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 请粘贴包含客户信息的文本,支持格式:
+ 姓名:张三,电话:13800138000,校区:测试校区
+
+
+
+
+ 取消
+ 解析并填写
+
+
+
+
+
+
+ 保存
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{v.modification_time}}
+
+
+ 修改人:{{v.staff_id_name}} 修改了如下内容
+
+
+
+
+
+ | 字段名称 |
+ 原数据 |
+ 新数据 |
+
+
+
+
+
+
+ | {{ row.field_name_zh }} |
+ {{ row.old_value }} |
+ {{ row.new_value }} |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{v.modification_time}}
+
+
+ 修改人:{{v.staff_id_name}} 修改了如下内容
+
+
+
+
+
+ | 字段名称 |
+ 原数据 |
+ 新数据 |
+
+
+
+
+
+
+ | {{ row.field_name_zh }} |
+ {{ row.old_value }} |
+ {{ row.new_value }} |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+ 校区/用户名/手机号/时间范围
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+ {{ v.customerResource.name }}
+ {{ v.customerResource.phone_number }}
+
+
+ 所属校区:{{ v.customerResource.campus_name }}
+
+
+ 来源:{{ v.customerResource.source }}
+
+
+ 来源渠道:{{ v.customerResource.source_channel }}
+
+
+
+
+
+ {{ v.customerResource.order_status || '未开单' }}
+
+
+
+
+ 一访{{ v.customerResource.first_visit_status || '未到' }}
+
+
+ 二访{{ v.customerResource.second_visit_status || '未到' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 校区/用户名/手机号/时间范围
+
+ 搜索
+
+
+
+
+ 批量操作
+ 取消
+
+ ✓
+ 全选
+
+
+
+
+ 批量分配 ({{ selectedItems.length }})
+
+
+
+
+
+
+
+
+
+
+ ✓
+
+
+
+
+
+ {{v.customerResource.name}}
+
+
+
+ 决策人:{{v.customerResource.name}} {{v.customerResource.decision_maker}}
+
+
+ 分配给:{{v.shared_by_name}}
+
+
+
+
+ 分配
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 筛选
+
+
+
+
+
+ 校区筛选
+
+
+
+
+
+
+
+
+
+ 时间筛选
+
+
+
+
+
+
+
+
+ 姓名筛选
+
+
+
+
+
+
+
+
+ 电话筛选
+
+
+
+
+
+
+
+
+ 搜索
+ 关闭
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+ 市场数据统计
+
+
+
+
+
+ 统计时间:
+
+ {{currentDate}}
+
+
+
+
+
+
+ 市场人员资源量统计
+
+
+
+
+ {{item.name}}
+ {{item.weekCount}}
+ {{item.monthCount}}
+ {{item.yearCount}}
+
+
+
+
+
+
+
+ {{currentMonth}}月 - 年度校区人员资源渠道量
+
+
+
+
+ {{channel.name}}
+
+ {{channel[school.id] || 0}}
+
+ {{channel.total}}
+
+
+
+
+
+
+
+ {{currentMonth}}月 - 年度市场人员资源渠道统计
+
+
+
+
+ {{channel.name}}
+
+ {{staff['channel'][channel.value] || 0}}
+
+ {{channel.total}}
+
+
+
+
+
+
+
+
+
+
+
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 @@
+
+
+
+
+
+
+
+ {{currentDate}}
+
+
+
+
+
+
+
+ 本月提成
+ ¥{{totalCommission}}
+
+
+
+
+ 续费提成
+
+
+
+
+ {{item.time}}
+ {{item.expireCount}}
+ {{item.renewCount}}
+ {{item.renewRate}}%
+ ¥{{item.commission}}
+
+
+
+
+
+
+
+ 新招课包
+
+
+
+
+ {{newPackageCount}}
+ ¥{{newPackageCommission}}
+ ¥{{newPackageTotal}}
+
+
+
+
+
+
+
+ 私教课包
+
+
+
+
+ {{privatePackageCount}}
+ ¥{{privatePackageCommission}}
+
+
+
+
+
+
+
+ 时间卡
+
+
+
+
+ {{timeCardCount}}
+ {{timeCardAmount}}
+ ¥{{timeCardCommission}}
+
+
+
+
+
+
+
+ 其他提成
+
+
+
+
+ {{item.project}}
+ ¥{{item.amount}}
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+ 校区数据
+
+
+
+
+
+
+
+ 选择校区:
+
+ 请选择校区
+
+
+
+
+
+
+
+
+
+
+
+ 部门数量
+ --
+
+
+
+
+
+
+
+
+ 员工总数
+ --
+
+
+
+
+
+
+
+
+ 客户总数
+ --
+
+
+
+
+
+
+
+
+ 校区业绩
+ --
+
+
+
+
+
+
+ 部门业绩对比
+
+
+
+ 销售部
+ ¥120000
+
+
+
+
+ 80%
+
+
+
+
+ 市场部
+ ¥100000
+
+
+
+
+ 67%
+
+
+
+
+ 运营部
+ ¥80000
+
+
+
+
+ 53%
+
+
+
+
+ 客服部
+ ¥60000
+
+
+
+
+ 40%
+
+
+
+
+
+
+ 月度趋势
+
+
+
+ 图表功能待开发
+
+
+
+
+
+
+ 数据分析
+
+
+
+
+
+ 校区对比
+
+
+
+
+
+
+ 部门分析
+
+
+
+
+
+
+ 趋势分析
+
+
+
+
+
+
+ 详细报表
+
+
+
+
+
+
+ 功能说明
+
+ 这里将显示校区的各项数据统计,包括部门数量、员工总数、客户数量、校区业绩等。
+ 具体功能待后续开发实现。
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+ 部门数据
+
+
+
+
+
+
+
+ 选择部门:
+
+ 请选择部门
+
+
+
+
+
+
+
+
+
+
+
+ 部门人数
+ --
+
+
+
+
+
+
+
+
+ 总客户数
+ --
+
+
+
+
+
+
+
+
+ 部门业绩
+ --
+
+
+
+
+
+
+
+
+ 完成率
+ --
+
+
+
+
+
+
+ 部门排行榜
+
+
+ 1
+
+ 张三
+ 业绩:¥50000
+
+
+
+
+
+
+
+ 2
+
+ 李四
+ 业绩:¥45000
+
+
+
+
+
+
+
+ 3
+
+ 王五
+ 业绩:¥40000
+
+
+
+
+
+
+
+
+
+
+ 数据分析
+
+
+
+
+
+ 业绩对比
+
+
+
+
+
+
+ 人员分布
+
+
+
+
+
+
+ 趋势分析
+
+
+
+
+
+
+ 详细报表
+
+
+
+
+
+
+ 功能说明
+
+ 这里将显示部门的各项数据统计,包括部门人员、客户数量、销售业绩、排行榜等。
+ 具体功能待后续开发实现。
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+ 我的
+
+
+
+
+
+
+
+
+ {{userInfo.name}}
+
+
+
+
+
+
+
+
+
+ 校区:
+ {{v.campus_id_name || ''}}
+
+
+
+ 部门:
+ {{v.dept_name_str || ''}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 报销记录
+
+
+
+
+
+
+ 我的考勤
+
+
+
+
+
+
+ 课程安排
+
+
+
+
+
+
+ 我的消息
+
+
+
+
+
+
+ 我的合同
+
+
+
+
+
+
+ 我的数据
+
+
+
+
+
+
+ 部门数据
+
+
+
+
+
+
+ 校区数据
+
+
+
+
+
+
+ 设置
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+ 修改头像
+
+
+
+
+
+
+ 姓名 *
+
+
+
+
+
+
+
+
+ 账号
+
+
+
+
+
+
+
+
+ 部门
+
+
+
+ {{formData.department_name_str || '暂无'}}
+
+
+
+
+
+ 等级
+
+
+
+
+
+
+
+
+
+
+ 性别 *
+
+
+
+
+
+
+
+
+
+ 生日 *
+
+
+
+
+
+
+
+
+
+ 邮箱 *
+
+
+
+
+
+
+
+
+ 手机 *
+
+
+
+
+
+
+
+
+ 微信
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{v.name}}
+ 课程截止时间:{{v.end_time}}
+
+
+
+
+ {{v.have_study_time}}
+ 已上课时
+
+
+ {{v.end_study_time ? v.end_study_time:0}}
+ 剩余课时
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+ 1.验证旧密码
+ 2.设置新密码
+
+
+
+
+
+ 为保障您的账号安全,修改密码前请填写原密码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上一步
+
+
+ 下一步
+
+ 提交
+
+
+
+
+ 忘记原密码
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ 报销金额
+
+
+
+
+ 报销描述
+
+
+
+
+ 发票/收据
+
+
+
+ {{ getFileName(form.receipt_url) }}
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uniapp/pages-market/reimbursement/detail.vue b/uniapp/pages-market/reimbursement/detail.vue
new file mode 100644
index 00000000..62f14af5
--- /dev/null
+++ b/uniapp/pages-market/reimbursement/detail.vue
@@ -0,0 +1,136 @@
+
+
+
+
+
+ 报销金额
+ ¥{{ detail.amount }}
+
+
+ 报销描述
+ {{ detail.description }}
+
+
+ 发票/收据
+
+
+ {{ detail.receipt_url }}
+ 无附件
+
+
+
+ 状态
+ {{ statusMap[detail.status] || detail.status }}
+
+
+ 创建时间
+ {{ detail.created_at }}
+
+
+ 修改时间
+ {{ detail.updated_at }}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uniapp/pages-market/reimbursement/list.vue b/uniapp/pages-market/reimbursement/list.vue
new file mode 100644
index 00000000..f5eb4d60
--- /dev/null
+++ b/uniapp/pages-market/reimbursement/list.vue
@@ -0,0 +1,144 @@
+
+
+
+ 暂无报销记录
+
+
+ 金额:
+ ¥{{ item.amount }}
+
+
+ 描述:
+ {{ item.description }}
+
+
+ 发票/收据:
+
+
+ 无附件
+
+
+
+ 状态:
+ {{ statusMap[item.status] || item.status }}
+
+
+ 创建时间:
+ {{ item.created_at }}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/uniapp/pages-optimized.json b/uniapp/pages-optimized.json
new file mode 100644
index 00000000..f90a702e
--- /dev/null
+++ b/uniapp/pages-optimized.json
@@ -0,0 +1,590 @@
+{
+ "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"
+ }
+ }
+ ],
+ "subPackages": [
+ {
+ "root": "pages-student",
+ "name": "student",
+ "pages": [
+ {
+ "path": "profile/index",
+ "style": {
+ "navigationBarTitleText": "个人信息管理",
+ "navigationStyle": "custom",
+ "navigationBarBackgroundColor": "#29d3b4",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "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"
+ }
+ }
+ ]
+ },
+ {
+ "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": "student/student_list",
+ "style": {
+ "navigationBarTitleText": "我的学员",
+ "navigationBarBackgroundColor": "#29d3b4",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "my/teaching_management",
+ "style": {
+ "navigationBarTitleText": "教研管理列表",
+ "navigationStyle": "default",
+ "navigationBarBackgroundColor": "#171717",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "my/gotake_exam",
+ "style": {
+ "navigationBarTitleText": "考试",
+ "navigationStyle": "default",
+ "navigationBarBackgroundColor": "#171717",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "my/exam_results",
+ "style": {
+ "navigationBarTitleText": "考试结果",
+ "navigationStyle": "default",
+ "navigationBarBackgroundColor": "#fff",
+ "navigationBarTextStyle": "black"
+ }
+ },
+ {
+ "path": "my/salary",
+ "style": {
+ "navigationBarTitleText": "我的工资",
+ "navigationStyle": "default",
+ "navigationBarBackgroundColor": "#29d3b4",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "schedule/schedule_table",
+ "style": {
+ "navigationBarTitleText": "课程安排",
+ "navigationBarBackgroundColor": "#292929",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "schedule/add_schedule",
+ "style": {
+ "navigationBarTitleText": "添加课程安排",
+ "navigationBarBackgroundColor": "#292929",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "schedule/adjust_course",
+ "style": {
+ "navigationBarTitleText": "调整课程安排",
+ "navigationBarBackgroundColor": "#292929",
+ "navigationBarTextStyle": "white"
+ }
+ },
+ {
+ "path": "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": "black",
+ "navigationBarTitleText": "智慧教务",
+ "navigationBarBackgroundColor": "#F8F8F8",
+ "backgroundColor": "#F8F8F8"
+ },
+ "tabBar": {
+ "color": "#7A7E83",
+ "selectedColor": "#3cc51f",
+ "borderStyle": "black",
+ "backgroundColor": "#ffffff",
+ "list": [
+ {
+ "pagePath": "pages/student/home/index",
+ "iconPath": "static/icon-img/home.png",
+ "selectedIconPath": "static/icon-img/home-active.png",
+ "text": "首页"
+ },
+ {
+ "pagePath": "pages-student/profile/index",
+ "iconPath": "static/icon-img/profile.png",
+ "selectedIconPath": "static/icon-img/profile-active.png",
+ "text": "我的"
+ }
+ ]
+ },
+ "condition": {
+ "current": 0,
+ "list": []
+ }
+}
diff --git a/uniapp/pages-student/child/add.vue b/uniapp/pages-student/child/add.vue
new file mode 100644
index 00000000..cc91443a
--- /dev/null
+++ b/uniapp/pages-student/child/add.vue
@@ -0,0 +1,501 @@
+
+
+
+
+
+
+
+
+
+ 添加孩子
+
+
+
+
+
+
+
+ 孩子基本信息
+
+
+
+ 头像
+
+
+ 点击选择头像
+
+
+
+
+
+ 姓名
+
+
+
+
+
+ 性别
+
+
+
+ 男孩
+
+
+
+ 女孩
+
+
+
+
+
+
+ 出生日期
+
+
+ {{ formData.birthday || '请选择出生日期' }}
+
+
+
+
+
+
+ 紧急联系人
+
+
+
+
+
+ 联系电话
+
+
+
+
+
+ 备注
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ ‹
+
+ 合同管理
+
+
+
+
+
+ {{ studentInfo.name }}
+
+ 有效合同:{{ contractStats.active_contracts }}个
+ 剩余课时:{{ contractStats.remaining_hours }}节
+
+
+
+
+
+
+
+ {{ tab.text }}
+ {{ tab.count }}
+
+
+
+
+
+
+
+ 加载中...
+
+
+
+ 📋
+ 暂无合同
+ 签署合同后会在这里显示
+
+
+
+
+
+
+
+
+
+ 课程类型:
+ {{ contract.course_type }}
+
+
+ 总课时:
+ {{ contract.total_hours }}节
+
+
+ 剩余课时:
+ {{ contract.remaining_hours }}节
+
+
+ 合同金额:
+ ¥{{ contract.total_amount }}
+
+
+
+
+
+ 签署日期:
+ {{ formatDate(contract.sign_date) }}
+
+
+ 生效日期:
+ {{ formatDate(contract.start_date) }}
+
+
+ 到期日期:
+ {{ formatDate(contract.end_date) }}
+
+
+
+
+
+
+ 课时使用进度
+ {{ getProgressPercent(contract) }}%
+
+
+
+
+
+
+
+
+ 查看详情
+
+
+
+ 续约
+
+
+
+ 签署合同
+
+
+
+
+
+
+
+
+
+ {{ loadingMore ? '加载中...' : '加载更多' }}
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ ‹
+
+ 课程预约
+
+
+
+
+
+ {{ studentInfo.name }}
+
+ 剩余课时:{{ studentInfo.remaining_courses || 0 }}节
+ 可预约:{{ availableBookings }}节
+
+
+
+
+
+
+
+
+
+ {{ date.weekday }}
+ {{ date.day }}
+
+
+
+
+
+
+
+ 可预约时段
+
+
+ 加载中...
+
+
+
+ 📅
+ 当日暂无可预约时段
+ 请选择其他日期
+
+
+
+
+
+ {{ slot.start_time }} - {{ slot.end_time }}
+ {{ slot.duration }}分钟
+
+
+
+ 教练:{{ slot.coach_name }}
+ {{ slot.course_type }}
+ {{ slot.venue_name }}
+
+
+
+ 可预约
+ 已预约
+ 已满员
+ 已结束
+
+
+
+
+
+
+
+ 我的预约
+
+
+ 暂无预约
+
+
+
+
+
+
+
+
+ 时间:
+ {{ booking.start_time }} - {{ booking.end_time }}
+
+
+ 教练:
+ {{ booking.coach_name }}
+
+
+ 课程:
+ {{ booking.course_type }}
+
+
+ 场地:
+ {{ booking.venue_name }}
+
+
+
+
+
+ 取消预约
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ ‹
+
+ 知识库
+
+
+ 🔍
+
+
+
+
+
+
+ {{ studentInfo.name }}
+
+ 总文章:{{ knowledgeStats.total_articles }}篇
+ 已收藏:{{ knowledgeStats.favorites }}篇
+
+
+
+
+
+
+
+ {{ category.icon }}
+ {{ category.text }}
+ {{ category.count }}
+
+
+
+
+
+
+
+ 推荐阅读
+ ⭐
+
+
+
+
+
+
+
+ {{ article.title }}
+ {{ article.summary }}
+
+ {{ article.read_count }}次阅读
+ {{ formatDate(article.publish_time) }}
+
+
+
+
+
+
+
+
+
+ 加载中...
+
+
+
+ 📚
+ 暂无相关文章
+ 更多精彩内容敬请期待
+
+
+
+
+
+
+ {{ getCategoryText(article.category) }}
+
+
+ {{ formatDate(article.publish_time) }}
+
+
+ {{ article.is_favorite ? '❤️' : '🤍' }}
+
+
+
+
+
+
+
+ {{ article.title }}
+ {{ article.summary }}
+
+
+ #{{ tag }}
+
+
+
+
+
+
+
+
+
+
+
+ 👁️
+ {{ article.read_count }}
+ 👍
+ {{ article.like_count }}
+
+
+ 已读
+
+
+
+
+
+
+
+
+
+ {{ loadingMore ? '加载中...' : '加载更多' }}
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ ‹
+
+ 消息管理
+
+
+ 全部已读
+
+
+
+
+
+
+ {{ studentInfo.name }}
+
+ 未读消息:{{ unreadCount }}条
+ 总消息:{{ messagesList.length }}条
+
+
+
+
+
+
+
+ {{ tab.text }}
+ {{ tab.count }}
+
+
+
+
+
+
+
+ 加载中...
+
+
+
+ 💬
+ 暂无消息
+ 新消息会在这里显示
+
+
+
+
+
+
+
+ {{ message.title }}
+ {{ message.content | truncate(50) }}
+
+
+
+ 来自:{{ message.sender_name }}
+
+
+
+
+
+
+
+
+ {{ loadingMore ? '加载中...' : '加载更多' }}
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ 暂无更多数据
+
+
+
+
+
+ {{v.name}}
+ 课程使用日期:{{v.usage_date}}
+
+
+
+ {{v.usage_date}}课时
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 姓名:{{v.name}}
+ 电话:{{v.phone}}
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ 智卓燕
+ 哥哥
+
+
+ 5课时
+
+
+
+
+ 智卓燕
+ 哥哥
+
+
+ 5课时
+
+
+
+
+ 智卓燕
+ 哥哥
+
+
+ 5课时
+
+
+
+
+ 智卓燕
+ 哥哥
+
+
+ 5课时
+
+
+
+
+ 智卓燕
+ 哥哥
+
+
+ 5课时
+
+
+
+
+ 智卓燕
+ 哥哥
+
+
+ 5课时
+
+
+
+
+ 智卓燕
+ 哥哥
+
+
+ 5课时
+
+
+
+
+ 智卓燕
+ 哥哥
+
+
+ 5课时
+
+
+
+
+ 智卓燕
+ 哥哥
+
+
+ 5课时
+
+
+
+
+ 智卓燕
+ 哥哥
+
+
+ 5课时
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+ 1.验证原密码
+ 2.设置新密码
+
+
+
+
+
+ 为保障您的账号安全,修改密码前请填写原密码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 下一步
+ 提交
+
+ 忘记原密码
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ ‹
+
+ 订单管理
+
+
+
+
+
+ {{ studentInfo.name }}
+
+ 总订单:{{ orderStats.total_orders || 0 }}个
+ 待付款:{{ orderStats.pending_payment || 0 }}个
+
+
+
+
+
+
+
+ {{ tab.text }}
+ {{ tab.count }}
+
+
+
+
+
+
+
+ 加载中...
+
+
+
+ 📋
+ 暂无订单
+ 完成购买后订单会在这里显示
+
+
+
+
+
+
+
+
+ {{ order.product_name }}
+ {{ order.product_specs }}
+
+ 数量:{{ order.quantity }}
+ {{ formatDate(order.create_time) }}
+
+
+
+
+ 订单金额
+ ¥{{ order.total_amount }}
+
+
+
+
+
+ 立即付款
+
+
+
+ 取消订单
+
+
+
+ 查看详情
+
+
+
+ 查看退款
+
+
+
+
+
+
+
+
+
+ {{ loadingMore ? '加载中...' : '加载更多' }}
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+ ‹
+
+ 体测数据
+
+
+
+
+
+
+
+
+
+
+ {{ studentInfo.name }}
+
+ {{ studentInfo.gender_text }}
+ {{ studentInfo.age }}岁
+
+
+
+
+
+
+ {{ physicalTestList.length }}
+ 测试次数
+
+
+ {{ latestTest.height }}cm
+ 最新身高
+
+
+ {{ latestTest.weight }}kg
+ 最新体重
+
+
+
+
+
+
+ 加载中...
+
+
+
+ 📊
+ 暂无体测数据
+ 完成体测后数据会在这里显示
+
+
+
+
+
+
+
+
+
+ 身高
+ {{ test.height || '-' }}cm
+
+
+ 体重
+ {{ test.weight || '-' }}kg
+
+
+
+
+
+ 体测报告
+
+
+
+
+
+
+ 体测报告{{ index + 1 }}
+ 点击预览
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ ‹
+
+ 个人信息管理
+
+
+
+
+
+
+
+
+ ✎
+
+
+ {{ studentInfo.name || '学员姓名' }}
+
+ {{ studentInfo.gender_text }}
+ {{ studentInfo.ageText }}岁
+
+
+
+
+
+ 基本信息
+
+
+ 姓名
+
+
+
+
+ 性别
+
+
+
+
+
+
+
+ 生日
+
+
+
+
+
+
+
+
+ 年龄
+
+
+
+
+
+
+ 体测信息
+
+
+ 身高 (cm)
+
+
+
+
+ 体重 (kg)
+
+
+
+
+ 体测日期
+
+
+
+
+
+
+ 紧急联系人
+
+
+ 联系人姓名
+
+
+
+
+ 联系电话
+
+
+
+
+ 备注信息
+
+
+
+
+
+
+
+ {{ saving ? '保存中...' : '保存信息' }}
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+ ‹
+
+ 课程安排
+
+
+ 今天
+
+
+
+
+
+
+ {{ studentInfo.name }}
+
+ 本周课程:{{ weeklyStats.total_courses }}节
+ 已完成:{{ weeklyStats.completed_courses }}节
+
+
+
+
+
+
+
+
+
+ {{ day.weekday }}
+ {{ day.day }}
+
+
+
+
+
+
+
+
+ 加载中...
+
+
+
+ 📅
+ 当日暂无课程安排
+ 选择其他日期查看课程
+
+
+
+
+
+ {{ course.start_time }}
+ {{ course.duration }}分钟
+
+
+
+ {{ course.course_name }}
+
+
+ 教练:
+ {{ course.coach_name }}
+
+
+ 场地:
+ {{ course.venue_name }}
+
+
+
+
+
+
+ {{ getStatusText(course.status) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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'
})
},