nuiapp App篇积累性备忘

130 阅读1分钟
App配置一个页面类型小程序的开发模式
"condition": {
    //模式配置,仅开发期间生效
    "current": 0, //当前激活的模式(list 的索引项)
    "list": []
关闭启动页
plus.navigator.closeSplashscreen()
设置全屏
{
  "path": "fullScreen/fullScreen",
  "style": {
    "navigationStyle": "custom",
    "app-plus": {
      "fullScreen": false
    }
  }
},
使用样式隔离状态栏
padding-top: var(--status-bar-height); // 这个样式只是给顶部增加一个手机状态栏的高度,避免页面内容和手机状态栏重叠
IOS边框丢失
transform: scale(1);