|
|
|
@ -30,6 +30,8 @@ |
|
|
|
uni.setStorageSync('userType','1') |
|
|
|
|
|
|
|
let userType = uni.getStorageSync('userType') |
|
|
|
this.userType = userType |
|
|
|
|
|
|
|
let tabBerIndex = uni.getStorageSync('tabBerIndex') |
|
|
|
if(tabBerIndex){ |
|
|
|
this.tabBerIndex = String(tabBerIndex) |
|
|
|
@ -43,7 +45,7 @@ |
|
|
|
this.tabBar = [ |
|
|
|
{ |
|
|
|
text: "首页", |
|
|
|
urlPath:'/pages/student/index/index',//自定义页面跳转路径 |
|
|
|
urlPath:'/pages/coach/home/index',//自定义页面跳转路径 |
|
|
|
iconPath: "/static/images/tabbar/home.png", |
|
|
|
selectedIconPath: "/static/images/tabbar/home_selected.png" |
|
|
|
}, |
|
|
|
|