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