harveyqing / BearDiary

微信小程序之小熊の日记
MIT License
576 stars 220 forks source link

一个潜在的兼容性Bug #4

Open tao2years opened 3 years ago

tao2years commented 3 years ago

在项目中,发现没有使用wx.getSystemInfo这个API去获取使用机型的系统信息。 然后通过windowWidth,windowHeight和safeArea来调整小程序的布局设置。

没有通过wx.getSystemInfo的适配,在部分机型上可能会出现一些样式问题。