小程序
小游戏
企业微信
微信支付
扫描小程序码分享
How many way to shared in miniprogram to friend without using button component and use open-type = 'shared'.
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
top right corner buttonPage({ onShareAppMessage: function (res) { if (res.from === 'button') { console.log(res.target) } return { title: 'custom title', path: '/page/user?id=123' } } })
top right corner button
Page({
onShareAppMessage: function (res) {
if (res.from === 'button') {
console.log(res.target)
}
return {
title: 'custom title',
path: '/page/user?id=123'
} } })
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
I know that way. But I want to know can I bind action with othor component , view or image etc.
dont support
you can set button opcity:0 on othor component
It work , Thank you very much
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
top right corner button
Page({
onShareAppMessage: function (res) {
if (res.from === 'button') {
console.log(res.target)
}
return {
title: 'custom title',
path: '/page/user?id=123'
} } })
I know that way. But I want to know can I bind action with othor component , view or image etc.
dont support
you can set button opcity:0 on othor component
It work , Thank you very much