router
If you have cross-platform requirements, you can use the router object to implement your route navigation.
Introduction
Usage
push
Hash Parameter
If the route configuration for the detail page is /detail/:uid, you can get uid via location.params after navigation.
Query Parameter
You can get the query parameter name via location.query after navigation.
For details on how to get page route parameters, see the location documentation.