问题模块 框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
客户端 微信小程序 Bug Android all all all
场景描述:
1,首页是四个tab,然后第一个tab对应的界面叫做index,如下图

2,然后把这个界面分享出去,分享链接点击跳转到的界面是一个index-share界面,分享代码如下
/**
* 分享
* @param res
* @return
*/
onShareAppMessage: function(res) {
return {
title: this.data.currentProject.project_name,
path: '/pages/index-share/index-share?project_name='+this.data.currentProject.project_name+'&project_id='+this.data.currentProject.project_id,
success: function(res) {},
fail: function(res) {}
}
},
index-share界面如下:样子跟index界面一样;

底部的查看明细可以跳转到其他界面(index-time-list),index-time-list界面如下:

3,点击分享链接打开index-share界面,然后点击顶部菜单的返回首页是正常,但是如果点击查看明细,跳转到其他界面(index-time-list),然后再在index-time-list的顶部菜单点击返回首页就会出现首页的四个tab不见了。
index-time-lis点击返回首页:

看到的首页是这样:

正常的首页是:

底部的四个tab不见了。如果只是单单在index-share界面点击返回首页是,首页显示正常,但是如果是从index-share界面在跳转到其他界面比如(index-time-list界面),然后再在index-time-list界面点击返回首页就会出现首页四个tab不见了。
4,该情况在所有的android手机都会出现,在苹果手机上面是正常的