如图所示,相同页面在Oppo R9s上发生了换行(图1),但在华为Mate 30 Pro(图2)及模拟器(图3)上正常。
R9s下 屏幕宽度360,高度640,DPR3,相同参数在模拟器上模拟也无法复现(图3),以下为R9S调用wx.getSystemInfoSync()的回复
SDKVersion: "2.9.4"benchmarkLevel: 8bluetoothEnabled: falsebrand: "OPPO"cameraAuthorized: truedeviceOrientation: "portrait"devicePixelRatio: 3fontSizeSetting: 16language: "zh_CN"locationAuthorized: truelocationEnabled: falsemicrophoneAuthorized: truemodel: "OPPO R9s"notificationAuthorized: truepixelRatio: 3platform: "android"safeArea: {height: 640, width: 360, bottom: 640, top: 0, left: 0, …}screenHeight: 640screenTop: 66screenWidth: 360statusBarHeight: 18system: "Android 6.0.1"version: "7.0.8"wifiEnabled: truewindowHeight: 574windowWidth: 360 |
已上传相关有问题代码供复现

布局问题。