value设置啊
请问下城市选择器默认城市怎么设置呢?目前城市选择器里面默认显示北京,请问下有什么办法,初始化为其他城市吗。
01-03解决了吗
安卓 4G 网络请求变慢请求服务器接口ios(wifi, 4g) android(wifi) 响应时间都正常200ms 左右。 但是在android 4g 条件下 响应时间会变成 30多s. 这是为什么啊。
2021-12-14.tabs{ display:flex; align-items:center; justify-content:space-between; } .tabs:before,.tabs:after{ content:''; display:block; } 前后各插入一个空元素就行了
justify-content: space-evenly真机调试样式出不来使用justify-content: space-evenly样式 在工具中可以正常显示,但是在手机上无法显示 手机上的截图: [图片] 工具上的截图: [图片]
2021-11-29.tabs{ display:flex; align-items:center; justify-content:space-between; } .tabs:before,.tabs:after{ content:''; display:block; } 前后各插入一个空元素就行了
Win小程序对flex的space-evenly兼容性问题?描述:今天在做兼容性测试,同样的小程序,flex的属性在Win上打开跟在Mac上打开表现不同(在真机上都正常)。 定位问题:在模拟器上测试了一下,如果把 justify-content: space-evenly; 去掉,UI表现就跟Win打开的小程序一样。 总结:测试下来 justify-content: space-evenly; 只在Win的小程序上表现异常。 代码(代码用的Taro+React,写法不同,但是编译完都是一样的。): <View className='tabs'> <View className={classnames('tab', {'act': tabId === 1})} onClick={changeTab.bind(this, 1)} > <Text>今日接诊 ({list1Total})</Text> <View className='act-line' /> </View> <View className={classnames('tab', {'act': tabId === 2})} onClick={changeTab.bind(this, 2)} > <Text>累计接诊 ({list2Total})</Text> <View className='act-line' /> </View> </View> .tabs { display: flex; justify-content: space-evenly; align-items: flex-end; height: 88px; .tab { display: flex; flex-direction: column; align-items: center; font-size: 30px; color: #999; line-height: 46px; .act-line { width: 48px; height: 8px; background: transparent; border-radius: 4px; margin-top: 8px; margin-bottom: 4px; } &.act { color: #333; font-weight: bold; .act-line { background: #06b385; } } } } Win上打开小程序: [图片] [图片] Mac上打开小程序: [图片] [图片]
2021-11-29https://developers.weixin.qq.com/s/ubZsFHmh71uR
如何自定义顶部导航栏背景透明同时标题居中?本人也在社区,百度所搜了一下,也参考了一下,没看太懂,复制下来也是一直报错
2021-11-10解决了吗
录音问题,operateRecorder:fail is recording or pause?别让我提供片段了,我不想知道为什么,毕竟你们也答不出来 只求官方告诉我,这两个error如何解决?我要的是解决方法,如何重新可以录音 operateRecorder:fail:audio is recording, don't start record again operateRecorder:fail is recording or paused [图片] 用户点击录音无响应,报这个错,我怎么整?初始化一下?重新弄个wx.getRecorderManager()? 还是stop 再start? 2020-10-16 两年了,还没好,依然有用户录不了,录音消失,这样那样,大概这就是小程序8,要啥没啥,像这种,录音api之类的error文档都没有还得自己去一个个试,小公司测试机就两台我试jm呢? 无所谓了,无所谓,用户舒服了我又不会加钱,无所谓了
2021-11-04同问
wx.qy.sendChatMessage只能在企信小程序的正式版调试吗?在企信小程序需要实现直接发消息给外部联系人,但是在IDE中没有从聊天工具栏启动企信小程序的场景,故无法进行调试。求提供调试方法
2021-09-26先start再监听 onStart,onStop,onError
微信小程序 调用录音功能,录音执行了,onStart,onStop都不执行?微信小程序 调用 getRecorderManager录音时,点击录音,手机已经有录音显示了,但是onStart没有执行,结束后onStop也没有执行,权限都已经开了,不知道怎么回事,就是不监听 const recorderManager = wx.getRecorderManager(); recorderManager.onStart = function(res) { wx.showLoading({ title: '录音中', }) that.setData({ record_title:'录音中,按一下停止搜索' }) console.log("成功开始录音识别", res) } recorderManager.onStop = function(res) { wx.hideLoading(); console.log("点击结束result", res.result) } recorderManager.onError = function(res) { console.log('error msg,',res.msg) console.log('error retcode,',res.retcode) that.setData({ record_title:'' }) wx.hideLoading(); wx.showToast({ title: '录制失败', }) } recorderManager.start({ duration: 30000, //录音的时长,单位 ms format: 'mp3', //音频格式 })
2021-09-15楼主解决了吗
安卓无法正常播放背景音频? 提示errCode:55, err:unknow format安卓真机上背景音乐无法播放,提示音乐格式错误,错误代码errcode:10004 err:unknowformat getBackgroundAudioManager 基础库2.7.7 微信8.0.1 oppo 小米note3 k20pro 都有测试,均提示音乐文件格式错误,但是音乐文件能在微信中打开并播放(音乐链接在代码片段中了) 代码片段 https://developers.weixin.qq.com/s/i2l3N7mY7Fps
2021-08-19改成开发版也是跳正式版
微信扫描普通二维码,打开小程序始终是正式版本?[图片] [图片]
2021-01-30