As introduced in the official manual of the WeChat applet, the navigator jump page style is divided into two types. One is to jump to a new page with a return button in the upper left corner, and the other is to jump to this page without it. By controlling the redirect attribute
# we demonstrate the above two methods respectively: first look at the renderings
The above effects In the picture, we can see the difference between the two page jumps.
.js code
<view> <navigator url="../other/other" hover-class="changestyle">页面跳转,可以返回</navigator> </view> <view> <navigator url="../other/other" hover-class="changestyle" redirect>页面跳转,无法返回</navigator> </view>
.wxss code
.changestyle{ color: red; }
The above is the detailed content of Introduction to navigator page jump in WeChat applet development. For more information, please follow other related articles on the PHP Chinese website!