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' }) },