1.子组件定义好click事件:
@click="childBack"
然后将该点击事件弹出去
childBack(){
var that=this;
that.$emit('backToNext');
},
2.在父组件接受该事件
@backToNext="backToNext",然后写父组件的click时间就可以了
backToNext(){
var that=this;
uni.navigateBack({
delta:1
})
},