问题模块 框架类型 问题类型 终端类型 微信版本 基础库版本
框架 微信小程序 Bug 客户端 6.7.2 2.3.0
- 当前 Bug 的表现(可附上截图)
微信小程序的某个登陆页面上的input组件出现了向下位移的情况。
如图所示:
用户名框位置


密码框位置


- 预期表现
在开发工具的模拟器中选择机型为iPhone6可以看到正常的预期表现,如图所示:
账号框


密码框


- 复现路径
微信小程序码

微信小程序ID:wxd6c9d8f46644af74
页面路径:pages/my/register/register
打开方式:欢迎页->首页->更多->统一认证
已知出现问题的机型:iPhone6s(IOS 11.4、IOS 10.3.3)
- 提供一个最简复现 Demo
无
PS:这个页面的input之前是可以正确定位的(与开发工具的模拟器效果一致),近期出现了向下位移的情况。在安卓上真机测试是没有问题的,个人猜测是不是IOS平台的基础库在做刘海屏适配的时候出现了什么BUG?
微信小程序开发问题解答
微信小程序开发者回答:
你好,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
本文网址:http://www.91bianli.com/weixinxiaochengxu/46093.html