Problems encountered in the actual combat of vue mobile terminal

recently, I have been learning to use vue to build a small mobile project, in which vue-router; is used. What is the component structure of clicking the navigation button at the bottom and then jumping to a different page, but the bottom navigation will not disappear? I probably know to use the bottom navigation as a common component, but what do I need to do for the specific click jump and icon background switch? Have you ever done a project case or video that is very similar to this situation? Help~

; just like the red box in the picture, would you please write this bottom navigation component at the beginning of the project? Or write the specific page you navigated to first? And then assemble it into the bottom navigation assembly? (I have not done this kind of exercise before, and the great gods who have similar projects seek advice ~)

Mar.11,2021

navigation and details page are independent of each other. As for which one is not so important, the navigation we do is a temporary requirement, , so whoever develops it first is the same.


similar items
sidebar navigation, source code and documentation can be compared with


< router-view > is at the same level as the bottom navigation below, such as this navigation implementation


just write at the same level. Generally speaking, it is recommended that you first write the route at the bottom of nav and then continue to write the page < router-link to= "> < / router-link > < router-view < / router-view > and then

.
Menu