参考下公告: https://developers.weixin.qq.com/community/develop/doc/00028edbe3c58081e7cc834705b801?blockType=1 [图片]
getUserProfile 返回gender一直为0?使用 getUserProfile 获取到的用户信息的无论男女,gender都是0
2021-12-09for(var i=0;i<endData.length;i++){ for(var j=0;j<tempArr2.length;j++){} }
微信小程序双层or循环问题?for(var i=0;i<endData.length;i++){ for(var j=0;i<tempArr2.length;i++){ if(tempArr2[j].title==endData[i].title){ endData[i].qingjia=tempArr2[j].qingjia } } } console.log(endData) 为什么endata.qingjia仅第一个改变了,其他的值不发生变化??
2021-12-09加载图片时,加载这张图片的前一张和后一张,分别添加到scrollview。当滑动到下一张时再加载一张,同时移除当前显示的这一张和它相临的两张之外的图片,并释放。这样做可以有效的释放内存,防止内存溢出。当然相邻的图片也可以先加载缩略图,当滑动到那一张时再加载原图。
多图片展示时小程序闪退或者卡死?一个列表 scroll-view可能会有50多张图片,横向滑动,同时加载时速度过慢,还有可能闪退小程序; 请教各位大佬提供个解决方案
2021-12-08你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
华为手机input框输入一串字符,之后将光标移动到字符的最前面,再输入字符会发生字符重叠[图片]
2021-12-08你好,请具体描述问题,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
wx.onBLECharacteristicValueChange 无响应?代码如下: 在connect函数中调用getBleDeviceMsg写数据后应该要接受设备回复的,可始终都没有回复。 searchBle(){ var pg = this; this.resetStatus(); wx.openBluetoothAdapter({ success:function(res){ console.log('初始化蓝牙成功:',res); pg.startDiscovery(); }, fail:function(res){ console.log('初始化蓝牙失败:', res); pg.setData({ bSearchError:true, errMsg:'蓝牙设备初始化错误' }) } }); }, startDiscovery(){ var pg = this; wx.startBluetoothDevicesDiscovery({ success:function(res){ console.log('start discovery success:',res); wx.onBluetoothDeviceFound(function(res){ console.log('found new devices'); for(var i=0; i<res.devices.length; i++){ console.log(res.devices[i]); console.log(res.devices[i].advertisServiceUUIDs); console.log(res.devices[i].serviceData); } wx.stopBluetoothDevicesDiscovery({ fail:function(res){ console.log('stopBluetoothDevicesDiscovery error:',res); } }); var a = new Uint8Array(res.devices[0].advertisData); console.log(a) if(a[2] == 128){ pg.data.isBind = true; console.log('already binded'); } pg.setData({ deviceFound:res.devices[0], bSearchOne:true, }); wx.onBLEConnectionStateChange(function(res){ pg.setData({ bConnected:res.connected }); console.log('connection state change to:',res.connected); }); }); }, fail:function(res){ console.log('start discovery fail:', res); }, services:['0000A201-0000-1000-8000-00805F9B34FB'] }); this.setData({ bSearching:true }); }, connectBle(){ var that = this; this.data.deviceFound.deviceUUID = "bc83912be7b75198";//假设我已经算出来了 this.data.key4 = this.genKey4() wx.createBLEConnection({ deviceId:that.data.deviceFound.deviceId, success(res){ console.log('连接成功'); that.setData({ bConnected:true }); setTimeout(() => { wx.getBLEDeviceServices({ deviceId: that.data.deviceFound.deviceId, success:function(res){ for(var i=0; i<res.services.length; i++){ console.log('service:',res.services[i]) if (res.services[i].uuid.indexOf("1910") >= 0) { that.data.serviceId = res.services[i].uuid; wx.getBLEDeviceCharacteristics({ deviceId: that.data.deviceFound.deviceId, serviceId: res.services[i].uuid, success:function(res){ console.log('特征值:',res); that.data.writeCharacteristicId = res.characteristics[0].uuid; that.data.notifyCharacteristicId = res.characteristics[1].uuid; wx.notifyBLECharacteristicValueChange({ deviceId: that.data.deviceFound.deviceId, serviceId: that.data.serviceId, characteristicId: that.data.notifyCharacteristicId, state:true, //type:'notification', success:function(res){ console.log('notify set success'); //that.readBle(); wx.onBLECharacteristicValueChange((characteristics) => { console.log("监听到特征值更新:") }); that.getBleDeviceMsg(); }, fail: function(res){ console.log('notify failed : ',res) } }); }, fail:function(res){ console.log('getBLEDeviceCharacteristics error:',res) } }); } } }, fail:function(res){ console.log('get bledeviceservices error:',res); } }) },1000); }, fail(res){ console.log('连接失败'); } }); },
2021-12-08你好,经核实,该域名可正常打开,如有被封禁链接,或分享不可见/禁止分享的链接,请提供具体的链接,点击链接时出现拦截页的微信号、时间,以便我方核实。
yuwenxuexiao.com前几天腾讯云申请的域名 啥也没干 微信里面就打不开了 申诉也不行
2021-12-08你好,经核实域名mysuiyun.com下的链接的内容违反《微信外部链接内容管理规范》,请修改违规内容并修复安全漏洞后,点击停止访问页面中间的“申请恢复访问”按钮自行申诉,工作人员将于三个工作日内处理你的申诉请求,请耐心等待。 具体违规情节:违反了《微信外部链接内容管理规范》第19条,详细规则请参考《微信外部链接内容管理规范》http://weixin.qq.com/cgi-bin/readtemplate?t=weixin_external_links_content_management_specification
mysuiyun.com域名被微信拦截申诉?网站:mysuiyun.com 域名下是什么内容被投诉导致封禁?请官方解答一下
2021-12-08最多显示两行
onShareAppMessage分享页面时,title长度过长会被截取?当title长度过长时,分享的标题会被截取,只能显示两行吗?效果如下。 [图片]
2021-12-08已经修复了,会最近的版本发布
微信JSSDK wx.getLocation返回时间过长?https://developers.weixin.qq.com/community/develop/doc/00004c0f29866088e71d416015b000 请问下这个问题修复好了吗?
2021-12-08[图片]请查看https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.onCopyUrl.html
wx.onCopyUrl is not a function?wx.onCopyUrl is not a function[图片] 开发者版本1.05.2112022
2021-12-08