- 公众号授权后返回用户头像和昵称,如果用户授权后更新头像和昵称如何获取?
如果用户在授权后更新头像和昵称,使用https://api.weixin.qq.com/sns/userinfo是否可以获得用户修改的头像呢?
2024-01-18 - 用户授权后又更新头像后小程序如何获取到更新?
用户授权后又更新头像后小程序如何获取到更新?
2024-01-18 - 直播拉流播放小窗口在视频页自动关闭?
使用live-player中picture-in-picture-mode时跳转页面有视频播放时,小窗就不见了.会自动关闭. 首页 <live-player id="player" picture-in-picture-mode="{{['push','pop']}}" src="直播地址" mode="RTC" autoplay bindstatechange="statechange" binderror="error" /> 子页 <video src="视频地址" autoplay="{{true}}" /> 我们认为这是错误的. 代码片段,请使用正确的appid以及直播和视频地址.100%复现. https://developers.weixin.qq.com/s/7EeSBdmy7dKp
2023-08-04 - svg下载本地后image无法显示?
https://developers.weixin.qq.com/s/OIs0Zhmt7VJ6 代码片段如上。应该有两个图片。一个是本地链接一个是网络链接。但真机测试只显示出一个图片。 [图片][图片] 原来的贴子没人理了 https://developers.weixin.qq.com/community/develop/doc/000ce439e54d480613ffbdfa451000 希望管理人员关注一下。
2023-06-29 - 小程序下载本地的svg无法显示?
const self = this wx.downloadFile({ url: 'https://web-1251059917.cos.ap-shanghai.myqcloud.com/UC/icons/0627/beifen.svg', //仅为示例,并非真实的资源 success: (res) => { console.log(res) const fs = wx.getFileSystemManager() fs.saveFile({ tempFilePath: res.tempFilePath, success: function (res) { console.log('saveFile', res) self.setData({ 'svg': res.savedFilePath }) } }); } }) 页面中代码本地的地址svg无法显示.如果换成图片就可以显示. <image src="{{svg}}" mode=""/> <image src="https://web-1251059917.cos.ap-shanghai.myqcloud.com/UC/icons/0627/beifen.svg" mode=""/> https://developers.weixin.qq.com/s/OIs0Zhmt7VJ6
2023-06-27