uni-app 中隐藏 H5 页面头部导航栏 page-head 的两种方式
H5端去除小程序的顶部解决方案思路:
-
使用 uni-app
/* #ifdef H5 */
判断是否为 H5 -
定位生成的顶部导航栏元素(page-head)。
-
在
App.vue
设置 H5 时生效display: none
小程序显示顶部,h5页面隐藏顶部
pages.json中
1{ ...... "globalStyle": { ...... "navigationStyle": "default" ...... } ...... }
App.vue中设置全局样式
使用uni-app /* #ifdef H5 */判断是否为h5
1/* #ifdef H5 */ uni-page-head { display: none; } /* #endif */
全部隐藏
pages.json中
1{ …… “globalStyle”: { …… “navigationStyle”: “custom” …… } …… }
- Configure Push Certificate
- Upload IPA :ERROR ITMS-90189
- Provisioning Profile and Certificate Mismatch
- Uploaded IPA Not Showing Build in iTunes Connect
- App Store Developer Name Change
- What to Do If Your Apple Account Is Disabled
- APP Filing Operation Tutorial
- Submitting a UniApp IPA to the App Store
- Apple Certificates Overview
- What is a Bundle ID
- File Viewing Feature
- How long to see app in build after uploading IPA
- Generate App-Specific Password
- Obtain Activation Code
- Batch Upload Screenshots
- Install and Test
- Submit and Upload
- Provisioning Profile Management
- Certificate Management
- Install and log in to AppUploader
- Start using AppUploader (Mac version)
- Upload Error No Suitable Application Records Found
- uniapp Hide H5 Page Header (page-head) Two Methods
- TestFlight Submission Error ITMS-90426
- Apple Developer Account Registration
- Can Multiple Apps Use the Same iOS Certificate
- iOS Upload Error ITMS-90161
- App Store Upload Error ITMS-90704 Icon Issue
- Upload Failed Bundle ID Mismatch
- How to Fill Apple App Privacy Policy Info
- iOS Image No Alpha Channel
- Start using AppUploader (Windows version)
- iOS Upload Error ITMS-90076
- App Store Upload Error ITMS-90809
- iOS Upload Error ITMS-90101
- IPA Upload Network Error
- IPA Upload Platform
- iOS Dev Guide Create Apple Dev ID and Build Steps
- iOS Upload Error SDK Version Issue
- App Integrity Verification Failed Error
- iOS Dev Account (Individual, Company, Enterprise)
- 上传IPA反馈ERROR ITMS-90189版本号重复问题
- 上传IPA后需要多久才能在构建版本中看到应用?
- iOS开发者账号(个人、公司、企业)的区别
- 苹果app无法验证其完整性错误
- iOS 打包上传Appstore报错ERROR SDK version issue
- iOS开发指南:创建苹果开发者账号、新建首个APP ID和构建应用的步骤
- ipa 上传平台
- IPA上传报错网络错误
- iOS 打包上传Appstore报错ERROR ITMS-90101
- 上传Appstore报错 ITMS-90809
- 上传报错 No suitable application records were found
- iOS 打包上传Appstore报错ERROR ITMS-90076
- TestFlight提交时出现的ITMS-90426错误
- 苹果开发者账号注册
- 多个app可以使用同一个ios证书吗?
- iOS 打包上传Appstore报错ERROR ITMS-90161
- 上传Appstore报错 ITMS-90704图标错误的问题
- 提交上传失败,提示如下bundle ID不匹配问题
- 如何填写苹果应用上架过程中的隐私政策信息
- ios上架提示 “图像不能包含 alpha 通道或透明度”
- 开始使用appuploder(Mac版本)
- 安装和登录appuploader
- 证书管理
- 描述文件管理
- 提交上传
- 安装测试
- 批量上传截图
- 获取激活码
- 生成专用密码
- 配置推送证书
- 文件查看功能
- 什么是Bundle ID
- 苹果的各种证书说明
- uniapp打包的ipa上架
- APP备案操作教程
- 苹果账号被禁用怎么办?
- appstore开发者名称修改
- 上传了ipa但iTunes Connect没有构建版本问题
- 编译提示描述文件和证书不匹配
- 开始使用appuploder(Win版本)