- 为何我在微信红包开发平台能够使用红包在公众号中却不能开通?
为何我在微信红包开发平台能够使用红包在公众号中却不能开通?,显示开通失败或者账号受限,我是个人认证的号
2022-01-21 - 审核不通过:提供的资质文件中,小程序注册主体信息应与信息登记的主体一致,请重新填写主体信息资料?
审核不通过:提供的资质文件中,小程序注册主体信息应与信息登记的主体一致,请重新填写主体信息资料,否则可能不会通过审核。 我们具体需要提供哪些材料请给个回复行吗,
2019-12-04 - 在数组中添加了一个新的元素为渲染是出错?
这在数组中新加入了一个元素,然后不可以渲染[代码]console.log(wx.getStorageSync([代码][代码]'children'[代码][代码]))[代码][代码] [代码][代码]var[代码] [代码]children = wx.getStorageSync([代码][代码]'children'[代码][代码]);[代码][代码] [代码][代码]var[代码] [代码]newChildList = [];[代码][代码] [代码][代码]// 解绑[代码][代码] [代码][代码]if[代码][代码](children.length>=reports.length){[代码][代码] [代码][代码]//对获取到的新学生列表和当前列表进行比对去重[代码][代码] [代码][代码]for[代码] [代码]([代码][代码]var[代码] [代码]i [代码][代码]in[代码] [代码]children) {[代码][代码] [代码][代码]for[代码] [代码]([代码][代码]var[代码] [代码]j [代码][代码]in[代码] [代码]reports) {[代码][代码] [代码][代码]if[代码] [代码](children[i].id == reports[j].id) {[代码][代码] [代码][代码]children[i].avatarUrl = reports[j].avatar_url;[代码][代码] [代码][代码]children[i].name = reports[j].display_name;[代码][代码] [代码][代码]children[i].groupName = reports[j].group.name;[代码][代码] [代码][代码]children[i].centerName = reports[j].center.name;[代码][代码] [代码][代码]newChildList.push(children[i]);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码] [代码][代码]console.log(newChildList)[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]{[代码][代码] [代码][代码]//添加[代码][代码] [代码][代码]//将array转换为可以让其绑定的格式的map[代码][代码] [代码][代码]var[代码] [代码]child_map=reports.map(item=>({[代码][代码] [代码][代码]id: item.id,[代码][代码] [代码][代码]name: item.display_name,[代码][代码] [代码][代码]firstName:[代码][代码]null[代码][代码],[代码][代码] [代码][代码]lastName:[代码][代码]null[代码][代码],[代码][代码] [代码][代码]avatarUrl:item.avatar_url,[代码][代码] [代码][代码]birthday:[代码][代码]null[代码][代码],[代码][代码] [代码][代码]groupName : item.group.name,[代码][代码] [代码][代码]centerName : item.center.name,[代码][代码] [代码][代码]loginResponse:[代码][代码]null[代码][代码],[代码][代码] [代码][代码]age:[代码][代码]null[代码][代码],[代码][代码] [代码][代码]agencyName:[代码][代码]null[代码][代码],[代码][代码] [代码][代码]}))[代码][代码] [代码][代码]// 新的小孩添加到新的列表中[代码][代码] [代码][代码]newChildList.push(child_map)[代码][代码] [代码][代码]console.log(child_map)[代码][代码] [代码][代码]};[代码][代码]//判断当前学生是否还存在[代码][代码] [代码][代码]var[代码] [代码]isExist = [代码][代码]false[代码][代码],[代码][代码] [代码][代码]index;[代码][代码] [代码][代码]// 记录当前child在新的列表中的位置[代码][代码] [代码][代码]for[代码] [代码]([代码][代码]var[代码] [代码]i [代码][代码]in[代码] [代码]newChildList) {[代码][代码] [代码][代码]if[代码] [代码](newChildList[i].id == app.globalData.currentChild.id) {[代码][代码] [代码][代码]index = i;[代码][代码] [代码][代码]isExist = [代码][代码]true[代码][代码];[代码][代码] [代码][代码]}[代码][代码] [代码][代码]};[代码][代码] [代码][代码]//如果当前学生被删除,就取学生列表第一位的学生为当前学生[代码][代码] [代码][代码]if[代码] [代码](!isExist) {[代码][代码] [代码][代码]app.globalData.currentChild = newChildList[0];[代码][代码] [代码][代码]wx.setStorageSync([代码][代码]'currentChild'[代码][代码], newChildList[0]);[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]currentChild: newChildList[0][代码][代码] [代码][代码]})[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]{[代码][代码] [代码][代码]app.globalData.currentChild = newChildList[index];[代码][代码] [代码][代码]console.log(newChildList[index])[代码][代码] [代码][代码]wx.setStorageSync([代码][代码]'currentChild'[代码][代码], newChildList[index]);[代码][代码] [代码][代码]console.log(wx.getStorageSync([代码][代码]'currentChild'[代码][代码]))[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]currentChild: newChildList[index][代码][代码] [代码][代码]})[代码][代码] [代码][代码]}[代码][代码] [代码][代码]wx.setStorageSync([代码][代码]'children'[代码][代码], newChildList);[代码][代码] [代码][代码]app.globalData.children = newChildList;[代码][图片]
2019-11-25 - ios下InneraudioContext无法播放?
[代码]//音频播放[代码] const inneraudioContext = wx.createInnerAudioContext(); // 创建音频播放 let backgroundContext = wx.getBackgroundAudioManager();// 创建获取音频的 [代码] [代码][代码] [代码][代码]audioplay: [代码][代码]function[代码] [代码](e) { [代码][代码] [代码][代码]let that = e.[代码][代码]this[代码][代码]; [代码][代码] [代码][代码]var[代码] [代码]src = e.currentTarget.dataset.audio; [代码][代码] [代码][代码]var[代码] [代码]mediaid = e.currentTarget.dataset.mediaid; [代码][代码]// 音频的ID [代码][代码] [代码][代码]var[代码] [代码]indexid = e.currentTarget.dataset.indexid [代码][代码]// 列表项ID [代码][代码] [代码][代码]var[代码] [代码]media = e.target.dataset.audiomedia; [代码][代码] [代码][代码]console.log(indexid) [代码][代码] [代码] [代码] [代码][代码]inneraudioContext.autoplay = [代码][代码]true[代码][代码]; [代码][代码] [代码][代码]inneraudioContext.src = src; [代码][代码] [代码][代码]var[代码] [代码]res= wx.getSystemInfoSync() [代码][代码] [代码][代码]if[代码][代码](res.platform==[代码][代码]'ios'[代码][代码]){ [代码][代码] [代码][代码]console.log([代码][代码]'ios'[代码][代码]) [代码][代码] [代码][代码]inneraudioContext.obeyMuteSwitch = [代码][代码]false[代码][代码]; [代码][代码] [代码] [代码] [代码][代码]} [代码][代码] [代码] [代码] [代码][代码]setTimeout(() => { [代码][代码] [代码][代码]inneraudioContext.play(); [代码][代码] [代码][代码]inneraudioContext.currentTime [代码][代码] [代码][代码]inneraudioContext.onTimeUpdate(() => { [代码][代码] [代码][代码]console.log(inneraudioContext.duration) [代码][代码]//总时长 [代码][代码] [代码][代码]// this.setData({ [代码][代码] [代码][代码]// // audiotime: inneraudioContext.duration.toFixed(0)+'s', [代码][代码] [代码][代码]// isactive: indexid [代码][代码] [代码][代码]// }) [代码][代码] [代码][代码]console.log([代码][代码]'开始播放!代码'[代码][代码]) [代码][代码] [代码][代码]}) [代码] [代码] [代码][代码]}, 500) [代码][代码] [代码][代码]inneraudioContext.onPlay((res)=>{ [代码][代码] [代码][代码]console.log([代码][代码]'音频播放'[代码][代码]) [代码][代码] [代码][代码]this[代码][代码].setData({ [代码][代码] [代码][代码]isactive: indexid, [代码][代码] [代码][代码]// 通过判断是不是当前的ID 如果是则后对比为true [代码][代码] [代码][代码]}) [代码][代码] [代码][代码]speaking.call([代码][代码]this[代码][代码]) [代码][代码] [代码][代码]}) [代码] [代码] [代码][代码]inneraudioContext.onPause((res) =>{ [代码][代码] [代码][代码]console.log([代码][代码]"pause"[代码][代码]) [代码][代码] [代码][代码]this[代码][代码].setData({ [代码][代码] [代码][代码]isactive:indexid+[代码][代码]"pause" [代码][代码] [代码][代码]}) [代码][代码] [代码][代码]clearInterval([代码][代码]this[代码][代码].timer) [代码][代码] [代码][代码]}) [代码][代码] [代码][代码]inneraudioContext.onEnded((res) => { [代码][代码] [代码][代码]console.log([代码][代码]"音频停止了"[代码][代码]) [代码][代码] [代码][代码]clearInterval([代码][代码]this[代码][代码].timer) [代码][代码] [代码][代码]this[代码][代码].setData({ [代码][代码] [代码][代码]isactive: indexid +[代码][代码]"stop"[代码][代码], [代码][代码] [代码][代码]// index_image:1 [代码][代码] [代码][代码]// audiotime:'' [代码][代码] [代码][代码]}) [代码][代码] [代码] [代码] [代码] [代码] [代码][代码]}) [代码][代码] [代码][代码]inneraudioContext.onError((res) => { [代码][代码] [代码][代码]console.log(res.message) [代码][代码] [代码][代码]console.log(res.errCoder) [代码][代码] [代码][代码]}) [代码] [代码] [代码][代码]clearInterval([代码][代码]this[代码][代码].timer)[代码] [代码] [代码][代码]},[代码] [代码] [代码] [代码]<!-- 语音 --->[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{media.fileType =='aac'}}"[代码] [代码]class[代码][代码]=[代码][代码]"audioView"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]cover-view[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{media.fileType =='aac'}}"[代码] [代码]wx:key[代码][代码]=[代码][代码]"this"[代码] [代码]data-indexid[代码][代码]=[代码][代码]"{{item_id}}"[代码] [代码]data-audiomedia[代码][代码]=[代码][代码]"{{note.media}}"[代码] [代码]data-mediaid[代码][代码]=[代码][代码]"{{media.id}}"[代码] [代码]class[代码][代码]=[代码][代码]"audioclass"[代码] [代码]bindtap[代码][代码]=[代码][代码]"audioplay"[代码] [代码]data-audio[代码][代码]=[代码][代码]"{{media.public_url}}"[代码] [代码]>[代码][代码] [代码][代码]<!--默认状态--->[代码][代码] [代码][代码]<!-- <cover-image class="audioImg" style="" src="{{isactive==item_id?'../../images/audioImgRun.gif':'../../images/audio.png'}}" transform="{{transform}}"></cover-image> -->[代码][代码] [代码][代码]<[代码][代码]cover-image[代码] [代码]class[代码][代码]=[代码][代码]"audioImg"[代码] [代码]style[代码][代码]=[代码][代码]"{{isactive==item_id?'display:none':''}}"[代码] [代码]src[代码][代码]=[代码][代码]"../../images/audio.png"[代码][代码]></[代码][代码]cover-image[代码][代码]>[代码][代码] [代码] [代码] [代码][代码]<[代码][代码]cover-view[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{isactive==item_id}}"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]cover-image[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{index_image==0}}"[代码] [代码]class[代码][代码]=[代码][代码]"audioImg"[代码] [代码]style[代码][代码]=[代码][代码]""[代码] [代码]src[代码][代码]=[代码][代码]"../../images/audio.png"[代码][代码]></[代码][代码]cover-image[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]cover-image[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{index_image==1}}"[代码] [代码]class[代码][代码]=[代码][代码]"audioImg"[代码] [代码]style[代码][代码]=[代码][代码]""[代码] [代码]src[代码][代码]=[代码][代码]"{{'../../images/audio1.png'}}"[代码] [代码]></[代码][代码]cover-image[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]cover-image[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{index_image==2}}"[代码] [代码]class[代码][代码]=[代码][代码]"audioImg"[代码] [代码]style[代码][代码]=[代码][代码]""[代码] [代码]src[代码][代码]=[代码][代码]"../../images/audio2.png"[代码][代码]></[代码][代码]cover-image[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]cover-image[代码] [代码]wx:if[代码][代码]=[代码][代码]"{{index_image==3}}"[代码] [代码]class[代码][代码]=[代码][代码]"audioImg"[代码] [代码]style[代码][代码]=[代码][代码]""[代码] [代码]src[代码][代码]=[代码][代码]"../../images/audio.png"[代码][代码]></[代码][代码]cover-image[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]cover-view[代码] [代码]class[代码][代码]=[代码][代码]"audioText"[代码][代码]>{{note.voiceTime!=null? note.voiceTime:'0'}}s </[代码][代码]cover-view[代码][代码]> [代码][代码]</[代码][代码]cover-view[代码][代码]>[代码][代码] [代码][代码]<!-- <cover-view class="audioText">{{isactive==item_id?audiotime:''}} </cover-view> -->[代码][代码] [代码][代码]<[代码][代码]cover-view[代码] [代码]class[代码][代码]=[代码][代码]"audioText"[代码][代码]>{{note.voiceTime!=null? note.voiceTime:'0'}}s </[代码][代码]cover-view[代码][代码]> [代码][代码] [代码][代码]</[代码][代码]cover-view[代码][代码]>[代码]在ios下无法播放,播放打印信息为undefine 在模拟器和安卓都可以播放出来声音
2019-11-18 - ios中gif不可以播放在coverimage标签中
<cover-image class="audioImg" style="" src="{{isactive==item_id?'http://mmbiz.qpic.cn/mmbiz_gif/35lklVG1ofM3btdJicuiaJNbkudksEamlsA7ib2ZW3ozWiasgXtzOEhDOhVnpXtB8OrVDPjfwcOiacKgf6ZqV7UwZdA/0?wx_fmt=gif':'../../images/audio.png'}}" transform="{{transform}}"></cover-image>
2019-11-14 - 提交审核,说我的不符合登录的,和无法完整体验?
我这是一个只用手机号和验证码登录的,我这不需要账号密码进行登录,而且有拒绝授权的选择按钮,但为何还是不可以通过呢,请给个解释行吗,我这边已经提供了我的测试的微信号和密码,请帮助一下,急急急!
2019-09-10