{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "启动页",
"app-plus":{
"scrollIndicator":"none"
}
}
},
{
"path": "pages/index/index2",
"style": {
"navigationBarTitleText": "非启动页",
"app-plus":{
"scrollIndicator":"none"
}
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
}
- 发布:2020-06-08 17:11
- 更新:2020-06-10 03:47
- 阅读:936
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: Windows10
HBuilderX类型: 正式
HBuilderX版本号: 2.7.9
手机系统: Android
手机系统版本号: Android 10
手机厂商: 小米
手机机型: Redmi K20 Pro
页面类型: vue
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
非启动页 滚动页隐藏
非启动页 滚动页隐藏
实际结果:
非启动页 滚动页未隐藏
非启动页 滚动页未隐藏
bug描述:
pages.json 的
scrollIndicator:none 只在启动页生效
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "启动页",
"app-plus":{
"scrollIndicator":"none"
}
}
},
{
"path": "pages/index/index2",
"style": {
"navigationBarTitleText": "非启动页",
"app-plus":{
"scrollIndicator":"none"
}
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
}