传参组件页面
<button style="margin-bottom: 20px;" @click="fx"><cover-image src="/static/img/shared.png"></cover-image></button>
fx(){
console.log(1)
this.$emit("fz","true")
},
接收页面
<sharebtns @fz="fz"></sharebtns>
fz(e) {
console.log(e);
this.isShow=e
},