关于切换tab跳转不同页面 有什么思路?

小程序 文章 2020-07-31 09:21 823 0 全屏看文

AI助手支持GPT4.0

关于切换tab跳转不同页面 有什么思路?

像这种选项卡的话 因为每一个页面的数据量很大 所以我写成了4个page

但是不想点击tabItem的时候去跳转页面 因为会有一个左上角返回按钮 除了这还有什么思路吗?

就好比vue的 roouter-link

For a tab like this, because each page has a large amount of data, I wrote four pages, but I don't want to jump to the page when I click the tabitem, because there will be a return button in the upper left corner. Is there any other idea? It's like Vue's router link

回答:

微喵网络:

1、放在一个page里

2、原生tabbar,放到顶部

-EOF-

AI助手支持GPT4.0