幼教产品B2B生态平台小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

36 lines
906 B

export default{
// 监听用户点击右上角菜单的「转发」按钮时触发的事件
onShareAppMessage(e) {
// 设置转发的参数
return {
title: "GPAC",
path: '',
imageUrl: "",
success: function(res) {
if (res.errMsg == 'shareAppMessage:ok') {
console.log("成功", res)
}
},
fail: function(res) {
console.log("失败", res)
}
}
},
// 分享到朋友圈
onShareTimeline:function(res){
return {
title: 'GPAC',
// imageUrl:'/static/image/phone.png',
query:''
}
},
// 收藏
onAddToFavorites:function(res) {
return {
title: 'GPAC',
// imageUrl:'/static/image/phone.png',
query: '',
}
}
}