"pages": [ //pages数组中第一项表示应用启动页, { "path": "pages/main/main", "style": { "navigationBarTitleText": "沉浸式透明导航栏", "navigationStyle": "custom", // 取消本页面的导航栏 "app-plus": { "animationType": "fade-in", // 设置fade-in淡入动画,为最合理的动画类型 "background": "transparent", // 背景透明 "backgroundColor": "rgba(0,0,0,0)", // 背景透明 "webviewBGTransparent": true, "mask": "none", "opacity": 0.9, "popGesture": "none" // 关闭IOS屏幕左边滑动关闭当前页面的功能 } } }
uniapp pages.json 设置 沉浸式透明导航栏
免责声明:文章转载自《uniapp pages.json 设置 沉浸式透明导航栏》仅用于学习参考。如对内容有疑问,请及时联系本站处理。
上篇缺少 Google API 秘钥,因此 Chromium 的部分功能将无法使用面向对象开发方法概述下篇
宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=