From 090ea271b4f654370a0a9f3a25f0768a1ac7f60d Mon Sep 17 00:00:00 2001 From: LLL <15374889135@163.com> Date: Sun, 18 May 2025 16:21:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 10 ++- pages/coach/home/index.vue | 2 +- pages/coach/my/index.vue | 15 +++- pages/coach/my/teaching_management.vue | 107 +++++++++++++++++++++++++ pages/student/login/login.vue | 6 +- 5 files changed, 133 insertions(+), 7 deletions(-) create mode 100644 pages/coach/my/teaching_management.vue 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 fc467ef..b7a27ad 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')) },