From 660e8aa35263bd3910afc20b846c07f766ca3ca0 Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Thu, 17 Apr 2025 17:26:23 +0800 Subject: [PATCH] =?UTF-8?q?refactor(pages):=20=E5=B0=86=E6=88=91=E7=9A=84?= =?UTF-8?q?=E8=80=83=E5=8B=A4=E9=A1=B5=E9=9D=A2=E6=94=B9=E4=B8=BA=E5=85=AC?= =?UTF-8?q?=E5=85=B1=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -将 my_attendance 页面从 coach 和 market 模块中移出- 在 common 目录下创建新的 my_attendance 页面 - 更新相关页面中的跳转路径 - 在 pages.json 中添加新的页面配置 --- pages.json | 18 +- pages/coach/my/index.vue | 2 +- pages/common/my_attendance.vue | 497 +++++++++++++++++++++++++++++++++ pages/market/my/index.vue | 2 +- 4 files changed, 508 insertions(+), 11 deletions(-) create mode 100644 pages/common/my_attendance.vue diff --git a/pages.json b/pages.json index 43de999..97ce8c6 100644 --- a/pages.json +++ b/pages.json @@ -203,6 +203,15 @@ "navigationBarTextStyle": "white" } }, + { + "path": "pages/common/my_attendance", + "style": { + "navigationBarTitleText": "我的考勤", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, @@ -345,15 +354,6 @@ "navigationBarTextStyle": "white" } }, - { - "path": "pages/coach/my/my_attendance", - "style": { - "navigationBarTitleText": "我的考勤", - "navigationStyle": "default", - "navigationBarBackgroundColor": "#292929", - "navigationBarTextStyle": "white" - } - }, { "path": "pages/coach/my/info", "style": { diff --git a/pages/coach/my/index.vue b/pages/coach/my/index.vue index 7e27e28..8bfc83f 100644 --- a/pages/coach/my/index.vue +++ b/pages/coach/my/index.vue @@ -187,7 +187,7 @@ export default { //跳转页面-我的考勤 openViewMyAttendance(){ uni.navigateTo({ - url: '/pages/coach/my/my_attendance' + url: '/pages/common/my_attendance' }) }, } diff --git a/pages/common/my_attendance.vue b/pages/common/my_attendance.vue new file mode 100644 index 0000000..84511c4 --- /dev/null +++ b/pages/common/my_attendance.vue @@ -0,0 +1,497 @@ + + + + + + \ No newline at end of file diff --git a/pages/market/my/index.vue b/pages/market/my/index.vue index 9c088d2..aaf2d9a 100644 --- a/pages/market/my/index.vue +++ b/pages/market/my/index.vue @@ -214,7 +214,7 @@ export default { //跳转页面-我的考勤 openViewMyAttendance(){ uni.navigateTo({ - url: '/pages/coach/my/my_attendance' + url: '/pages/common/my_attendance' }) },