头部变化是在js里写的,比如这个代码是webview创建选项卡的示例https://github.com/dcloudio/mui/blob/master/examples/hello-mui/examples/tab-webview-main.html第80行是改变顶部导航标题,你可以把切换顶部导航的逻辑写这里