使用的div模式tabbar.html,这个demo
但是点击链接进入其他页面后使用后退,页面会刷新,不会停留在上次点击的选项卡。

未梦
- 发布:2017-06-07 10:13
- 更新:2017-06-09 15:12
- 阅读:1682

chender - 与人为善
你点击选项卡的时候,改变当前页面的hash值,然后通过监听hash值的变化,来确定显示哪一个div的内容,界面加载的时候也通过hash值来确定选中哪一个tab页
9***@qq.com
解决没
2018-03-26 15:10