After Mini Program shared it, others clicked on it, how to get back to the home page?

for example, the details page, after sharing, other people open, can only see this page, I did not find a useful way to set API back to a route. You have to write it on the page?

Feb.26,2021

can be shared with parameters! The parameters can be obtained, and then judged, and those that can be hidden are hidden. Since there is such a need.


forward

default path is the current page. You can set path to modify the target open page


after sharing, the page will be dead when you open it. The link after sharing cannot be modified.


you put a floating button on the sharing page and click to go back to the home page.


it can be designed this way, but it feels like it needs a big change.
shared links are all days home page path+ sharing page as a parameter.

if you enter the home page and have the sharing page as a parameter, skip to the sharing parameter

form the home page-> the shared route can jump back to the home page


entry into Mini Program will correspond to scene value , and ok


corresponding to a jump path on the specified page.

give an idea, for example, if you share the details page, you set the link you share as the home page, bring your details page, ID, home page, onLoad to get id, jump to the details page if there is no, normal operation.

you can try this and come in and feel

after sharing.
Menu