tabbar多次点击消失
发布于 6 年前 作者 wei87 2201 次浏览 来自 问答
  • 当前 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 回复

什么版本的工具呢?

我也遇到这样的问题

1.02.1904090 版本 另外有个问题 小程序表单提交 name值一样的情况下 怎么提交数据 我加括号并没有数据获取到 

回到顶部