diff --git a/src/js/api.js b/src/js/api.js index ce8d4ff..238d32c 100644 --- a/src/js/api.js +++ b/src/js/api.js @@ -1,5 +1,5 @@ -export const ORIGIN = `https://test.ouxuanzhineng.cn`; // 测试 -// export const ORIGIN = `http://kahing.local:9090`; // 本地测试 +// export const ORIGIN = `https://test.ouxuanzhineng.cn`; // 测试 +export const ORIGIN = `http://kahing.local:9090`; // 本地测试 // export const ORIGIN = `https://coach.ouxuanzhineng.cn`; // 正式 export const API = { @@ -10,7 +10,8 @@ export const API = { saveFeedback: `${ORIGIN}/stadium/coach/saveFeedback`, // 小程序-保存教练反馈 - coach_feedback: `${ORIGIN}/upload/file/coach_feedback`, // 上传文件 + coach_feedback: `${ORIGIN}/upload/file/coach_feedback`, // 上传文件 - 教练反馈 + task_publish: `${ORIGIN}/upload/file/task_publish`, // 上传文件 - 布置作业 } @@ -19,9 +20,14 @@ API['course'] = { getClassList: `${ORIGIN}/stadium/coach/getClassList`, // 小程序-班级列表 getCourseStudentList: `${ORIGIN}/stadium/coach/getCourseStudentList`, // 小程序-学员列表 SaveStudentComment: `${ORIGIN}/stadium/coach/SaveStudentComment`, // 小程序-学员点评保存 - courseList: `${ORIGIN}/stadium/coach/courseList`, // 小程序-课程列表 + homeworkList: `${ORIGIN}/stadium/coach/homework/list`, // 小程序-作业列表 + + homeworkAdd: `${ORIGIN}/stadium/coach/homework/add`, // 小程序-布置作业 } +API['approve'] = { + getApproveList: `${ORIGIN}/stadium/coach/getApproveList`, // 小程序-课程列表 +} export default { ORIGIN, API }; diff --git a/src/pages/approve/list/list.vue b/src/pages/approve/list/list.vue index 708dc46..01cca96 100644 --- a/src/pages/approve/list/list.vue +++ b/src/pages/approve/list/list.vue @@ -38,14 +38,13 @@ 羽毛球课程(羽毛球课) - 2020-08-22 10:30 + 2020-08-22 10:30 - + 通过 - 原因: @@ -74,19 +73,46 @@ @@ -113,7 +198,6 @@ export default { height: 200upx; border-radius: 10upx; overflow: hidden; - background-color: springgreen; &:not(:nth-child(3n)){ margin-right: 44upx; } @@ -124,12 +208,10 @@ export default { z-index: 2; width: 40upx; height: 40upx; - background-color: skyblue; } .i-img{ width: 100%; height: 100%; - background-color: yellowgreen; } } .l-add{ @@ -140,7 +222,6 @@ export default { margin: 0 auto 30upx; width: 60upx; height: 60upx; - background-color: slateblue; &::after,&::before{ content: ''; position: absolute;