小程序与h5页面之间跳转?

小程序 文章 2021-03-26 17:22 425 0 全屏看文

AI助手支持GPT4.0

小程序与h5页面之间跳转?Jump between applet and h5 page?

小程序与h5页面之间跳转?

需求是 小程序A页 -> 内嵌H5 ,进入h5页面后,如果用户点击左上角的返回按钮,或者手势返回,要返回到另一个h5页面,有什么解决办法么??

The requirement is that the app page a is embedded with H5. After entering the H5 page, if the user clicks the return button in the upper left corner or makes a gesture to return, what is the solution to return to another H5 page??

回答:

聪:

我怎么在内嵌的h5页面中获取到toobar返回按钮的事件呢? 我要点击这个返回按钮的时候跳转


brave:

你打开A,然后跳转B的时候用 wx.miniProgram.navigateTo 这样点左上角(手势)返回,就还是A

聪:我怎么在内嵌的h5页面中获取到toobar返回按钮的事件呢? 我要点击这个返回按钮的时候跳转
一只大狼狗:

另一个H5也内嵌

聪:我怎么在内嵌的h5页面中获取到toobar返回按钮的事件呢? 我要点击这个返回按钮的时候跳转

-EOF-

AI助手支持GPT4.0