需求是 小程序A页 -> 内嵌H5 ,进入h5页面后,如果用户点击左上角的返回按钮,或者手势返回,要返回到另一个h5页面,有什么解决办法么??
小程序与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??
回答:
你打开A,然后跳转B的时候用 wx.miniProgram.navigateTo 这样点左上角(手势)返回,就还是A
另一个H5也内嵌
原文出处:小程序与h5页面之间跳转?
我怎么在内嵌的h5页面中获取到toobar返回按钮的事件呢? 我要点击这个返回按钮的时候跳转