diff --git a/pages.json b/pages.json index aa0e6e7..a715702 100644 --- a/pages.json +++ b/pages.json @@ -382,7 +382,15 @@ "navigationBarTextStyle": "black" } }, - + { + "path": "pages/coach/my/teaching_management", + "style": { + "navigationBarTitleText": "教研管理列表", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, diff --git a/pages/coach/home/index.vue b/pages/coach/home/index.vue index 94e45b1..799bc30 100644 --- a/pages/coach/home/index.vue +++ b/pages/coach/home/index.vue @@ -174,7 +174,7 @@ export default { }, onLoad() {}, onShow() { - this.init()//初始化 + //this.init()//初始化 }, methods: { diff --git a/pages/coach/my/index.vue b/pages/coach/my/index.vue index 8bfc83f..d3e86f7 100644 --- a/pages/coach/my/index.vue +++ b/pages/coach/my/index.vue @@ -84,7 +84,11 @@ 我的消息 - + + + 教研管理 + + @@ -122,7 +126,7 @@ export default { onLoad() { }, onShow() { - this.init(); + // this.init(); }, methods: { async init(){ @@ -162,6 +166,13 @@ export default { url: '/pages/coach/my/schooling_statistics' }) }, + + //打开教研管理 + teachingResearchManagement(){ + uni.navigateTo({ + url: '/pages/coach/my/teaching_management' + }) + }, //打开意见反馈 openViewFeedback(){ diff --git a/pages/coach/my/teaching_management.vue b/pages/coach/my/teaching_management.vue new file mode 100644 index 0000000..d707d9b --- /dev/null +++ b/pages/coach/my/teaching_management.vue @@ -0,0 +1,107 @@ + + + + + diff --git a/pages/student/login/login.vue b/pages/student/login/login.vue index 1b4880a..fef06cf 100644 --- a/pages/student/login/login.vue +++ b/pages/student/login/login.vue @@ -42,13 +42,13 @@ export default { data() { return { password: true, - user: '15148228108', //账户 - password1: '123123', //密码 + user: '15374889135', //账户 + password1: '15374889135', //密码 loginType:'',//登陆类型|1=教练,2=销售,3=学员 } }, onLoad(options) { - this.loginType = options.loginType ?? '2'//登陆类型|1=教练,2=销售,3=学员 + this.loginType = options.loginType ?? '1'//登陆类型|1=教练,2=销售,3=学员 // uni.hideHomeButton() // console.log(uni.getStorageSync('um_id')) },