Browse Source

refactor(market): 更新我的页面路由和样式

- 修改市场端我的页面中各个功能的路由地址
- 更新设置页面中修改密码功能的路由地址
- 移除我的页面中盒子的边框样式
- 在 pages.json 中添加市场端个人资料、设置和修改密码页面的样式配置
master
liutong 1 year ago
parent
commit
df82bae756
  1. 31
      pages.json
  2. 11
      pages/market/my/index.vue
  3. 2
      pages/market/my/set_up.vue

31
pages.json

@ -324,11 +324,34 @@
"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"
}
}
],

11
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;

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

Loading…
Cancel
Save