1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > 微信小程序没登录跳到登录页怎么做_微信小程序手机端如何实现登录页面跳转含有Tabar页

微信小程序没登录跳到登录页怎么做_微信小程序手机端如何实现登录页面跳转含有Tabar页

时间:2020-09-14 02:43:29

相关推荐

微信小程序没登录跳到登录页怎么做_微信小程序手机端如何实现登录页面跳转含有Tabar页

我用navigateTo,实现页面之间的跳转,app.json配置如下

{

“pages”: [

“pages/login/login”,

“pages/index/index”,

“pages/home/home”,

“pages/user/user”

],

“window”: {

“backgroundColor”: “#f4f4f4”,

“backgroundTextStyle”: “light”,

“navigationBarBackgroundColor”: “#0099FF”,

“navigationBarTitleText”: “AA”,

“enablePullDownRefresh”: “true”,

“navigationBarTextStyle”: “white”

},

“tabBar”: {

“selectedColor”: “#0099FF”,

“borderStyle”: “lightgray”,

“backgroundColor”: “white”,

“list”: [

{

“pagePath”: “pages/index/index”,

“iconPath”: “resources/images/index.png”,

“selectedIconPath”: “resources/images/index.png”,

“text”: “首頁”

},

{

“pagePath”: “pages/home/home”,

“iconPath”: “resources/images/home.png”,

“selectedIconPath”: “resources/images/home.png”,

“text”: “主頁”

}]

微信小程序没登录跳到登录页怎么做_微信小程序手机端如何实现登录页面跳转含有Tabar页面...

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。