uniapp 开发小程序自定义导航栏高度问题?

小程序 文章 2020-09-08 11:21 1448 0 全屏看文

AI助手支持GPT4.0

uniapp 开发小程序自定义导航栏高度问题?How to customize the height of the navigation bar for uniapp development applet?

uniapp 开发小程序自定义导航栏高度问题?

uniapp开发小程序自定义高度第一次进入没有问题,退出小程序再次进入高度不够,内容区域往上面顶了,删除小程序再次扫码进入正常(getSysteminfo() 在app onLaunch 生命周期获取,存入Vue.prototype 原型中

The user-defined height of uniapp development applet has no problem for the first time, the exit applet enters the height again is not enough, the content area is top up, delete the applet and scan the code again to enter normal (getsysteminfo() is obtained in app onlaunch life cycle and saved in Vue.prototype Prototype)

回答:

微喵网络:

请移步uni-app官方社区

搞文艺的猿:

建议隔壁uniapp社区提问

-EOF-

AI助手支持GPT4.0