From 2c385d73c639e39ef87e454d60cbf0b916ae1eca Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Thu, 13 Mar 2025 16:52:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(coach):=20=E6=B7=BB=E5=8A=A0=E6=95=99?= =?UTF-8?q?=E7=BB=83=E4=B8=AA=E4=BA=BA=E8=B5=84=E6=96=99=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=B9=B6=E6=9B=B4=E6=96=B0=E6=88=91=E7=9A=84=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 pages/coach/my 目录下新增 info.vue 文件,实现个人资料页面功能 - 更新 pages.json 配置,添加新页面的路由信息 - 在我的页面添加跳转到个人资料页面的事件处理 --- pages.json | 9 ++ pages/coach/my/index.vue | 9 +- pages/coach/my/info.vue | 260 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 277 insertions(+), 1 deletion(-) create mode 100644 pages/coach/my/info.vue diff --git a/pages.json b/pages.json index 1e6c61c..1789d51 100644 --- a/pages.json +++ b/pages.json @@ -239,6 +239,15 @@ "navigationBarBackgroundColor": "#292929", "navigationBarTextStyle": "white" } + }, + { + "path": "pages/coach/my/info", + "style": { + "navigationBarTitleText": "个人资料", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } } diff --git a/pages/coach/my/index.vue b/pages/coach/my/index.vue index b602749..b9b4258 100644 --- a/pages/coach/my/index.vue +++ b/pages/coach/my/index.vue @@ -10,7 +10,7 @@ - + 包子皮 @@ -138,6 +138,13 @@ export default { url: '/pages/common/feedback' }) }, + + //打开个人资料 + openViewMyInfo(){ + uni.navigateTo({ + url: '/pages/coach/my/info' + }) + } } } diff --git a/pages/coach/my/info.vue b/pages/coach/my/info.vue new file mode 100644 index 0000000..d1ab9c6 --- /dev/null +++ b/pages/coach/my/info.vue @@ -0,0 +1,260 @@ + + + + + + \ No newline at end of file