这个模拟器的微信version 可以自己修改 , 我需要根据微信version>=7.0 才显示自定义的标题栏,
const res = wx.getSystemInfoSync()
打印出来的信息
SDKVersion:"2.4.3"
batteryLevel:100
brand:"devtools"
fontSizeSetting:16
language:"zh"
model:"iPhone 6"
pixelRatio:2
platform:"devtools"
screenHeight:667
screenWidth:375
statusBarHeight:20
system:"iOS 10.0.1"
version:"6.6.3"
windowHeight:667
windowWidth:375