企业微信内H5网页分享微信好友ios正常安卓自定义标题、图标、未生效

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:09 1845 0 全屏看文

AI助手支持GPT4.0

企业微信内H5网页分享微信好友ios正常安卓自定义标题、图标、未生效
问题类型 API/组件名称 终端类型 微信版本 基础库版本
Bug 'onMenuShareWeibo', 'onMenuShareWechat', 'onMenuShareTimeline', 'onMenuShareAppMessage' 微信安卓客户端 3.0.25.13066 Android5.0.2

ios分享表现:自定义标题、描述、图标均正常展示,如下:

android分享表现:自定义标题、描述、图标无效,如下:

wx.ready(function () { wx.hideMenuItems({ menuList: ['menuItem:copyUrl'] // 要隐藏的菜单项 }); var shareData = { title: '优质供应信息', desc: '聚合*******资源', link: '********', imgUrl: '********', }; wx.onMenuShareAppMessage({ //“分享给朋友”及“分享到QQ” title: shareData.title, // 分享标题 desc: shareData.desc, // 分享描述 link: shareData.link, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: shareData.imgUrl, // 分享图标 success: function () { // 设置成功 } }) wx.onMenuShareWechat({ title: shareData.title, // 分享标题 desc: shareData.desc, // 分享描述 link: shareData.link, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: shareData.imgUrl, // 分享图标 success: function () { // 设置成功 } }) wx.onMenuShareTimeline({ title: shareData.title, // 分享标题 desc: shareData.desc, // 分享描述 link: shareData.link, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: shareData.imgUrl, // 分享图标 success: function () { // 用户确认分享后执行的回调函数 console.log('成功') }, cancel: function () { // 用户取消分享后执行的回调函数 } }) wx.updateAppMessageShareData({ title: shareData.title, // 分享标题 desc: shareData.desc, // 分享描述 link: shareData.link, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: shareData.imgUrl, // 分享图标 success: function () { // 设置成功 } }) wx.updateTimelineShareData({ title: shareData.title, // 分享标题 desc: shareData.desc, // 分享描述 link: shareData.link, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: shareData.imgUrl, // 分享图标 success: function () { // 设置成功 } }) })

Problem type API / component name terminal type wechat version basic library version bug 'onmenushareweibo','onmenusharewechat ','onmenusharetimeline', 'onmenushareappmessage' wechat Android client 3.0.25.13066 Android 5.0.2 IOS sharing performance: custom title, description and icon are displayed normally, as follows: Android sharing performance: custom title, description and icon are invalid, as follows: code fragment wx.ready (function () { wx.hideMenuItems ({ menuList: [' menuItem:copyUrl '] / / the menu item to hide}); Var sharedata = {Title: 'high quality supply information', desc: 'aggregate resources','link','imgurl ','; wx.onMenuShareAppMessage ({/ / "share with friends" and "share to QQ" title: shareData.title , / / share Title desc: shareData.desc , / / share description link: shareData.link , / / share links, which must be consistent with the official account JS security domain corresponding to the current page, imgUrl: shareData.imgUrl , / / sharing icon success: function() {/ / set successfully}}) wx.onMenuShareWechat ({ title: shareData.title , / / share Title desc: shareData.desc , / / share description link: shareData.link , / / share links, which must be consistent with the official account JS security domain corresponding to the current page, imgUrl: shareData.imgUrl , / / sharing icon success: function() {/ / set successfully}}) wx.onMenuShareTimeline ({ title: shareData.title , / / share Title desc: shareData.desc , / / share description link: shareData.link , / / share links, which must be consistent with the official account JS security domain corresponding to the current page, imgUrl: shareData.imgUrl , / / sharing icon success: function() {/ / the callback function executed after the user confirms the sharing console.log ('success')}, cancel: function() {/ / callback function executed after user cancels sharing}}) wx.updateAppMessageShareData ({ title: shareData.title , / / share Title desc: shareData.desc , / / share description link: shareData.link / / share links, which must be consistent with the official account JS security domain corresponding to the current page, imgUrl: shareData.imgUrl , / / sharing icon success: function() {/ / set successfully}}) wx.updateTimelineShareData ({ title: shareData.title , / / share title desc: shareData.desc , / / share description link: shareData.link / / share links, which must be consistent with the official account JS security domain corresponding to the current page, imgUrl: shareData.imgUrl , / / share icon success: function() {/ / set successfully}})})

回答:

企业微信运营专员-千夜:

您好,可以提供下

Corpid:

问题成员手机号:

调用接口:

出现问题时间点(具体到月日时分):

我们排查下

-EOF-

AI助手支持GPT4.0