From df82bae756f86efc660e30ce96c6ac008730686d Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Fri, 14 Mar 2025 10:45:16 +0800 Subject: [PATCH] =?UTF-8?q?refactor(market):=20=E6=9B=B4=E6=96=B0=E6=88=91?= =?UTF-8?q?=E7=9A=84=E9=A1=B5=E9=9D=A2=E8=B7=AF=E7=94=B1=E5=92=8C=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改市场端我的页面中各个功能的路由地址 - 更新设置页面中修改密码功能的路由地址 - 移除我的页面中盒子的边框样式 - 在 pages.json 中添加市场端个人资料、设置和修改密码页面的样式配置 --- pages.json | 31 +++++++++++++++++++++++++++---- pages/market/my/index.vue | 11 +++++------ pages/market/my/set_up.vue | 2 +- 3 files changed, 33 insertions(+), 11 deletions(-) diff --git a/pages.json b/pages.json index b2dd996..0a0b224 100644 --- a/pages.json +++ b/pages.json @@ -324,13 +324,36 @@ "navigationBarBackgroundColor": "#fff", "navigationBarTextStyle": "black" } + }, + { + "path": "pages/market/my/info", + "style": { + "navigationBarTitleText": "个人资料", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/my/set_up", + "style": { + "navigationBarTitleText": "设置", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/market/my/update_pass", + "style": { + "navigationBarTitleText": "修改密码", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#fff", + "navigationBarTextStyle": "black" + } } - - - - ], "globalStyle": { "navigationBarTextStyle": "white", diff --git a/pages/market/my/index.vue b/pages/market/my/index.vue index 6c015e4..aef340b 100644 --- a/pages/market/my/index.vue +++ b/pages/market/my/index.vue @@ -111,21 +111,21 @@ export default { //打开到课率统计 openViewArrivalStatistics(){ uni.navigateTo({ - url: '/pages/coach/my/arrival_statistics' + url: '/pages/market/my/arrival_statistics' }) }, //打开即将到期 openViewDueSoon(){ uni.navigateTo({ - url: '/pages/coach/my/due_soon' + url: '/pages/market/my/due_soon' }) }, //打开授课统计 openViewSchoolingStatistics(){ uni.navigateTo({ - url: '/pages/coach/my/schooling_statistics' + url: '/pages/market/my/schooling_statistics' }) }, @@ -139,14 +139,14 @@ export default { //打开个人资料 openViewMyInfo(){ uni.navigateTo({ - url: '/pages/coach/my/info' + url: '/pages/market/my/info' }) }, //打开设置 openViewSetUp(){ uni.navigateTo({ - url: '/pages/coach/my/set_up' + url: '/pages/market/my/set_up' }) } } @@ -182,7 +182,6 @@ export default { color: #fff; font-size: 28rpx; .box{ - border: 1px solid red; padding-left: 19rpx; padding-right: 29rpx; display: flex; diff --git a/pages/market/my/set_up.vue b/pages/market/my/set_up.vue index 31e3566..af5d87e 100644 --- a/pages/market/my/set_up.vue +++ b/pages/market/my/set_up.vue @@ -28,7 +28,7 @@ }, update_pass(){ uni.navigateTo({ - url: '/pages/coach/my/update_pass' + url: '/pages/market/my/update_pass' }) } }