//直接跳转
<router-link :to="/path"></router-link>
带参数跳转
//带参
<view @click="pathTo"></view>
//js
pathTo(){
this.$router.push({
path:'/path',
query:{
id: 1,
value: "100"
}
})
}
//页面接收
created(){
let id =this.$route.query.id;
let value = this.$route.query.value;
console.log(id, value)
}