From a51bdbf76c39101c84db5e475e33540daf87d4d9 Mon Sep 17 00:00:00 2001 From: LLL <15374889135@163.com> Date: Sun, 18 May 2025 17:37:05 +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 --- api/apiRoute.js | 23 +++- pages.json | 10 +- pages/coach/my/teaching_management.vue | 132 +++++++++----------- pages/coach/my/teaching_management_info.vue | 60 +++++++++ 4 files changed, 151 insertions(+), 74 deletions(-) create mode 100644 pages/coach/my/teaching_management_info.vue diff --git a/api/apiRoute.js b/api/apiRoute.js index 497e388..cb9a13c 100644 --- a/api/apiRoute.js +++ b/api/apiRoute.js @@ -73,8 +73,27 @@ export default { - - + //教研管理文章列表 + teachingResearchList(data = {}) { + let url = '/teachingResearch/list' + return http.get(url, data).then(res => { + return res; + }) + }, + //教研管理文章详情 + teachingResearchInfo(id) { + let url = '/teachingResearch/info/' + id + return http.get(url).then(res => { + return res; + }) + }, + //获取能看的教研管理类型 + teachingResearchLookType(data = {}) { + let url = '/teachingResearch/lookType' + return http.get(url, data).then(res => { + return res; + }) + }, //↑↑↑↑↑↑↑↑↑↑↑↑-----教练接口相关-----↑↑↑↑↑↑↑↑↑↑↑↑ diff --git a/pages.json b/pages.json index a715702..eca5ef5 100644 --- a/pages.json +++ b/pages.json @@ -391,7 +391,15 @@ "navigationBarTextStyle": "black" } }, - + { + "path": "pages/coach/my/teaching_management_info", + "style": { + "navigationBarTitleText": "文章详情", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } + }, diff --git a/pages/coach/my/teaching_management.vue b/pages/coach/my/teaching_management.vue index d707d9b..9eed149 100644 --- a/pages/coach/my/teaching_management.vue +++ b/pages/coach/my/teaching_management.vue @@ -1,88 +1,74 @@ @@ -100,8 +86,12 @@ } .color_style{ font-size: 30rpx; + font-weight: bold; } .color_type_style{ - font-size: 26rpx; + font-size: 22rpx; + } + .color_date_style{ + font-size: 22rpx; } diff --git a/pages/coach/my/teaching_management_info.vue b/pages/coach/my/teaching_management_info.vue new file mode 100644 index 0000000..a236bc5 --- /dev/null +++ b/pages/coach/my/teaching_management_info.vue @@ -0,0 +1,60 @@ + + + + +