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