1. <navigator url="../home/home?title=跳转传递的参数" hover-class="navigator-hover">
    2. <button>跳转到新页面</button>
    3. </navigator>
    4. <navigator url="../home/home?title=跳转传递的参数" open-type="redirect" hover-class="other-navigator-hover">
    5. <button>在当前页打开</button>
    6. </navigator>
    7. <navigator url="../home/home" open-type="switchTab" hover-class="other-navigator-hover">
    8. <button>跳转tab页面</button>
    9. </navigator>
    <template>
        <view>
            <text>{{title}}</text>
        </view>
    </template>
    <script>
        export default {
            data() {
                return {
                    title:''
                }
            },
            onLoad(option) {
                this.$data.title = option.title
                console.log(option.title)
            },
            methods: {
            }
        }
    </script>
    

    效果图
    image.png