抖音打开和头条打开分享的内容不一致
716 浏览2019年11月19日作者:User7377312943023702054

问题描述:真机分享内容不一致,同样的二维码扫码进入后,抖音的无法获取内容

报错截图、相关bug:

触发转发

按钮组件

<button open-type="share">转发到微头条</button>

设置按钮

点击小程序右上角的「设置—转发」按钮,也会触发小程序的转发。

文档入上图所说,但是两者 并没有触发转发,从右上角点击的有拍抖音选项,使用 button 点击出来的,没有拍抖音选项

复现步骤:

<button plain="true" v-if="isToutiao" style="position:fixed;z-index:9999;bottom:150rpx;right:20rpx" type="primary" open-type="share">
<image style="width:140rpx;height:140rpx;" src="/static/paidouyin.png"></image>
</button>

onShareAppMessage(res) {
if (res.from === "button") {
// 来自页面内分享按钮
console.log(res.target);
}
return {
title: "和我一起来参加活动-" + this.activityInfo.name, // 分享标题
path: "/pages/activityDetail/index?index=" + this.activityInfo.id, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imageUrl: imageFilter(this.activityInfo.cover),
desc: "和我一起来参加活动-" + this.activityInfo.name
};
}

联系方式:18002280102

最后一次编辑于 2019 年 11 月 19 日
1 条评论

相关文章

专题推荐

热门文章

热门问答