收藏
回答

tabbar多次点击消失

框架类型 问题类型 终端类型 微信版本 基础库版本
小程序 Bug 工具 7.0以下 2.6.4

- 当前 Bug 的表现(可附上截图)


- 预期表现


- 复现路径


- 提供一个最简复现 Demo

微信小程序tabBar底部导航 不显示问题解析

{

"pages": [

"pages/login/login",

"pages/index/index",

"pages/join_per/join_per",

"pages/register/register"

],

"permission": {

"scope.userLocation": {

"desc": "你的位置信息将用于获取当地天气信息"

}

},

"window": {

"backgroundTextStyle": "light",

"navigationBarBackgroundColor": "#fff",

"navigationBarTitleText": "xxx",

"navigationBarTextStyle": "black"

},

"tabBar": {

"color": "#ccc",

"selectedColor": "#ed7044",

"borderStyle": "black",

"backgroundColor": "#fff",

"list": [

{

"selectedIconPath": "images/indexicon1-on.png",

"iconPath": "images/indexicon1.png",

"pagePath": "pages/index/index",

"text": "首页"

},

{

"selectedIconPath": "images/indexicon2-on.png",

"iconPath": "images/indexicon2.png",

"pagePath": "pages/discountlist/discountlist",

"text": "优惠"

},

{

"selectedIconPath": "images/indexicon3-on.png",

"iconPath": "images/indexicon3.png",

"pagePath": "pages/community/community",

"text": "社区"

},

{

"selectedIconPath": "images/indexicon4-on.png",

"iconPath": "images/indexicon4.png",

"pagePath": "pages/personal/personal",

"text": "我的"

}

]

},

"sitemapLocation": "sitemap.json"

}


刚进来是一个登录页面  然后登录之后是首页 逻辑判断是是否登录 如果登录则直接进入首页  现在有个问题是 切换到其他页面之后 返回到首页 再次切换到其他页面 大概2次之后 底部的导航则会消失

回答关注问题邀请回答
收藏

3 个回答

登录 后发表内容