diff --git a/api/knowledge.js b/api/knowledge.js index d22c493..29e6966 100644 --- a/api/knowledge.js +++ b/api/knowledge.js @@ -118,7 +118,7 @@ export function enterCourse(data) { * 课程扫码签到 */ export function signCourse(data) { - return request.get("/user/signCourse?courseId="+data); + return request.get("/lession/signCourse?lessionId="+data); } /** diff --git a/api/user.js b/api/user.js index 1d48d61..14d3f27 100644 --- a/api/user.js +++ b/api/user.js @@ -1,5 +1,16 @@ import request from '@/utils/request' + +/** + * 获取我参与的课程和学习榜 + */ +export function myLession(data) { + return request.get('/user/myLession', data, { + // return request.get("/citys", data, { + login: true, + }) +} + /** * 省市区 */ diff --git a/config/index.js b/config/index.js index a4fc5ee..260ea95 100644 --- a/config/index.js +++ b/config/index.js @@ -1,7 +1,7 @@ // export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api'; // export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api' -// export const VUE_APP_API_URL = 'http://192.168.0.112:8088/api' -// export const VUE_APP_API_URL = 'http://192.168.0.111:8088/api' +// export const VUE_APP_API_URL = 'http://10.11.32.109:8088/api' +// export const VUE_APP_API_URL = 'http://10.11.32.103:8088/api/' export const VUE_APP_API_URL = 'https://www.cyjyyjy.com/api' // export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api'; // export const VUE_APP_API_URL = 'https://thapi.xinxintuan.co/api' diff --git a/pages.json b/pages.json index 3f73251..ceb3f5d 100644 --- a/pages.json +++ b/pages.json @@ -11,6 +11,12 @@ "style": { "navigationBarTitleText": "微信授权" } + }, + { + "path": "pages/authorization/agreementPage", + "style": { + "navigationBarTitleText": "用户协议" + } }, // { // "path": "pages/user/Login/index", diff --git a/pages/authorization/agreementPage.vue b/pages/authorization/agreementPage.vue new file mode 100644 index 0000000..cae7c7e --- /dev/null +++ b/pages/authorization/agreementPage.vue @@ -0,0 +1,162 @@ + + + + + diff --git a/pages/course/detail.vue b/pages/course/detail.vue index fd4ef20..bd515ac 100644 --- a/pages/course/detail.vue +++ b/pages/course/detail.vue @@ -3,13 +3,8 @@ - + - @@ -19,7 +14,7 @@ {{detail.categoryName}} - {{detail.flag[0]}} + @@ -38,8 +33,8 @@ - {{item.name}} - 禪易能量高级讲师 + {{item.realName}} + {{item.introduction}} @@ -91,7 +86,6 @@ 课程安排 - {{item}} @@ -113,11 +107,7 @@ {{item.courseStartTime.split(' ')[0]}}-{{item.courseEndTime.split(' ')[0]}} {{item.coursePlace}} - - - 去报名 @@ -128,7 +118,7 @@ - 座位号:{{detail.seat}} + @@ -138,14 +128,15 @@ - 报名已截止 请关注下期 + 报名已截止 请关注下期 立即观看 查看回放 - 未签到 - 未签到 + 报名成功,待签到 + 已签到 等待确认 联系服务老师 + 审核未通过 联系服务老师