android 103M PDF 报错
IOS wx.downloadFile 下载视频报错?在安卓机上下载30个视频毫无压力 ,但是同样的代码在IOS 手机一直报 errMsg: "downloadFile:fail'savefile: fail the maximum size of the file storage limit is exceeded" filePath也配了就是不好使, 代码如下: [图片] 报错如下: [图片]
2023-06-01目前看来是 env(safe-area-inset-bottom) 导致的,去掉就可以了。
微信小程序底部封装的切换栏,iOS中的底部固定(position:fixed)切换会往上飘?//组件代码 <template> <!-- <cover-view class="tabbar savepadding" :style="{'padding-bottom': paddingBottomHeight + 'rpx'}"> --> <cover-view class="tabbar"> <cover-view class="tabbar-item" v-for="(item, index) in list" :key="index" @click="tabbarChange(item)"> <cover-image class="item-img" :src="item.icon_a" v-if="current == index"></cover-image> <cover-image class="item-img" :src="item.icon" v-else></cover-image> <cover-view class="item-name" :class="{'tabbarActive': current == index}" v-if="item.text">{{item.text}}</cover-view> </cover-view> </cover-view> </template> <script> export default{ props:{ current: { type: Number, default:0 }, }, created() { let that = this; uni.getSystemInfo({ success: function (res) { let model = ['X', 'XR', 'XS', '11', '12', '13', '14', '15']; model.forEach(item => { //适配iphoneX以上的底部,给tabbar一定高度的padding-bottom if(res.model.indexOf(item) != -1 && res.model.indexOf('iPhone') != -1) { that.paddingBottomHeight = 40; } }) } }); }, data(){ return { paddingBottomHeight: 0, //苹果X以上手机底部适配高度 list: [ { path: "/my_package/mySearch/index", text: "查件", icon: "../../static/waybillDetail/searchNoSelect.png", icon_a: "../../static/waybillDetail/searchSelect.png", id:0 }, { path: "/my_package/mine/mine", text: "我的", icon: "../../static/waybillDetail/mineNoSelect.png", icon_a: "../../static/waybillDetail/mineSelect.png", id:1 }] } }, methods: { tabbarChange(e) { if (e.id===this.current) { return }else{ setTimeout(()=>{ uni.redirectTo({url:e.path}) },100) } } }, } </script> <style lang="scss" scoped> page{ position: fixed; height: 100%; overflow-y: hidden; overflow-x: hidden; top: 0; left: 0; right: 0; bottom: 0; } .tabbarActive{ color: #0a98ff !important; } .savepadding{ padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); box-sizing: content-box; } .tabbar{ // z-index: 10; // display: table; // position:-webkit-sticky; // position: sticky; position: fixed; bottom: 0; left: 0; transform: translate3d(0,0,0); display: flex; padding-bottom: env(safe-area-inset-bottom); justify-content: space-around; // table-layout: fixed; width: 100%; height: 100rpx; background-color: #ffffff; .tabbar-item{ box-sizing: border-box; flex: 1; flex-direction: column; align-items: center; justify-content: center; height: 100rpx; .item-img{ margin-bottom: 4rpx; width: 46rpx; height: 46rpx; } .item-name{ font-size: 26rpx; color: #A3A3A3; } } } </style> //页面直接使用 <my-tabar :current="0" /> [图片][图片]
2023-05-24这个问题 还没有修复
input调起键盘后placeholder错位了?fixed底部弹窗内的input调起键盘placeholder错位 [图片] [图片] 后来发现是弹窗底部样式设置了constant(safe-area-inset-bottom)和env(safe-area-inset-bottom),去掉这个就正常了。 有没有什么办法既可以设置底部兼容又不会错位?
2023-05-24官方的人呢
input ios 全面屏 placeholder位置不对?[图片] ios 截图 不正常显示 [图片] android 截图 正常显示 弹框设置了 env(safe-area-inset-bottom) 就会出现 上面的问题
2023-01-03后台报了几百个这个错误 加了 if (updateManager) 的判断不知道会不会好一点
onCheckForUpdate报错?undefined is not an object (evaluating 'e.onCheckForUpdate') 系统:IOS 客户端版本:8.0.20 基础库版本:2.24.2 设备类型:iPhone 12<iPhone13;2>
2022-07-13遇到了同样的问题
如何解决wx.getUpdateManager() 该api获取到的引用为null的问题?const updateManager = wx.getUpdateManager() updateManager.onCheckForUpdate(function(res) { // 请求完新版本信息的回调 console.log(res.hasUpdate ? '有新版本' : '无新版本') }) updateManager.onUpdateReady(function() { wx.showModal({ title: '更新提示', content: '新版本已经准备好,是否重启应用?', success: function(res) { if (res.confirm) { // 新的版本已经下载好,调用 applyUpdate 应用新版本并重启 updateManager.applyUpdate() } } }) }) 在app.js onLaunch中执行以上代码,上报了以下错误 小程序后台错误日志: Cannot read property \'onCheckForUpdate\' of undefined TypeError: Cannot read property \'onCheckForUpdate\' of undefined at je.onLaunch (https://app.js:18:19) at je.<anonymous> (https://lib/WASubContext.js:2:2201446) at new je (https://lib/WASubContext.js:2:2202688) at a.<anonymous> (https://lib/WASubContext.js:2:2202819) at https://lib/WASubContext.js:2:2180329 at https://app.js:4:1 at u (https://lib/WASubContext.js:2:2244637) at https://usr/app-service.js:6194:10
2022-07-13遇到同样的问题 用wx:if 控制web-view的显示 之前小程序在json配置的"navigationStyle": "custom"失效
关闭webview后页面不能全屏了?在打开webview之前页面时全屏的,打开webview页面不能全屏(微信不让webview全屏),但是我关闭webview后,页面也不能全屏了[图片][图片][图片]
2022-06-27遇到了 同样的问题 我这里是等待了近15秒后 跳出弹窗
wx-open-launch-app ios15 使用无效?系统版本: ios 15 微信版本: 8.0.6 描述:微信环境内打开 h5 ,点击按钮跳转至 app 功能,在系统 ios 15 && 微信版本 8.0.6 下看不到按钮,无法进行跳转点击操作。(React) <wx-open-launch-app id={id} appid={appid} extinfo={extinfo}> <script type="text/wxtag-template"> <button>我是按钮,我消失了</button> </script> </wx-open-launch-app>
2021-09-24首先文档说:进入后台默认不推流 其次俩端表现不一致:ios退后台正常推流 android退后台黑屏 期望效果:退后台推默认背景图 waiting-image 这个参数设置的值
Live-player与live-pusher共存时存在的问题?https://developers.weixin.qq.com/s/eESMmAm27rsK 同时存在live-player与live-pusher时,切换后台后能推流 能收听,但是在onHide时调用live-pusher的stop时报错[图片]
2021-09-23首先文档说:进入后台默认不推流 其次俩端表现不一致:ios退后台正常推流 android退后台黑屏 期望效果:退后台推默认背景图 waiting-image 这个参数设置的值
live-pusher在切后台的时候无法主动pause?需求背景: 在live-pusher在切后台的时候主动pause,从后台回来的时候页面上面会有一个“恢复直播”按钮,点击“恢复直播”按钮再去继续推流。 问题: 现在发现live-pusher在切后台的时候主动调实例上面的pause方法时会报错:“operateXWebLivePusher:fail:access denied”
2021-09-23