安卓机微信7.0.0版本分享卡片图不显示问题
发布于 4 年前 作者 xiulanxu 14473 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)安卓分享图片用远程路径的话可显示,但本地图片不显示
  • 预期表现 - IOS 7.0.2分享正常,分享图片用的是本地路径
  • 复现路径
  • 提供一个最简复现 Demo

// 分享

onShareAppMessage: function () {

var that = this;

var title = ‘快加入,就差你一个了’;

if (GroupLogId > 0) {

title = ‘【拼单】’ + title;

}

var shareCover = ‘/images/shareCover.jpg’;

return {

desc: ‘’, //安卓显示,苹果不显示

title: title,

path: `/pages/test/test?tId=${tid}`,//&sid=${app.globadData.uid}

imageUrl: shareCover + “?d=” + new Date().valueOf(),

success: function (res) {

//console.log(‘分享到群,shareTicket:’ + res.shareTickets[0])

console.log(‘分享成功!res is:’)

console.log(res)

}

}

},

1 回复

问题未复现。请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部