From 51c891082b89b5dcda91eb5d83106dc3b1360dae Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Thu, 13 Mar 2025 11:41:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(coach):=20=E6=B7=BB=E5=8A=A0=E5=8D=B3?= =?UTF-8?q?=E5=B0=86=E5=88=B0=E6=9C=9F=E9=A1=B5=E9=9D=A2=E5=B9=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=9B=B8=E5=85=B3=E5=AF=BC=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增即将到期页面组件,用于展示即将到期的学员信息 - 在我的页面添加即将到期导航项,点击可跳转到新页面 - 更新全局页面配置,添加即将到期页面的样式设置 --- pages.json | 11 ++ pages/coach/my/due_soon.vue | 316 ++++++++++++++++++++++++++++++++++++ pages/coach/my/index.vue | 9 +- 3 files changed, 335 insertions(+), 1 deletion(-) create mode 100644 pages/coach/my/due_soon.vue diff --git a/pages.json b/pages.json index 98066ff..73f39c4 100644 --- a/pages.json +++ b/pages.json @@ -195,7 +195,18 @@ "navigationBarBackgroundColor": "#292929", "navigationBarTextStyle": "white" } + }, + { + "path": "pages/coach/my/due_soon", + "style": { + "navigationBarTitleText": "即将到期", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } } + + ], "globalStyle": { "navigationBarTextStyle": "white", diff --git a/pages/coach/my/due_soon.vue b/pages/coach/my/due_soon.vue new file mode 100644 index 0000000..2257d18 --- /dev/null +++ b/pages/coach/my/due_soon.vue @@ -0,0 +1,316 @@ + + + + + + \ No newline at end of file diff --git a/pages/coach/my/index.vue b/pages/coach/my/index.vue index 311ffcc..77247c4 100644 --- a/pages/coach/my/index.vue +++ b/pages/coach/my/index.vue @@ -65,7 +65,7 @@ - 即将到期 + 即将到期 @@ -117,6 +117,13 @@ export default { url: '/pages/coach/my/arrival_statistics' }) }, + + //打开即将到期 + openViewDueSoon(){ + uni.navigateTo({ + url: '/pages/coach/my/due_soon' + }) + }, } }