锁客链
锁客链
  • 发布:2020-02-18 17:51
  • 更新:2020-02-18 17:51
  • 阅读:490

【报Bug】pages.json中,globalStyle节点下配置subNView, 只会弹出一块白色区域,什么都没有

分类:uni-app

详细问题描述

"globalStyle": {    
    "navigationBarTextStyle": "white",    
    "navigationBarBackgroundColor": "#4491fc",    
    "backgroundColor": "#efefef",    
    "app-plus": {    
        "subNVues": [{    
            "id": "customer_service",    
            "path": "/subNView/customer-service",    
            "style": {    
                "position": "static",    
                "height": "1000rpx",    
                "width": "600rpx",    
                "margin": "auto"    
            },    
            "type": "popup"    
        }]    
    }    
}

这样配置的subNVues,只会弹出一块白色区域,什么都没有,将subNVues放在对应页面的app-plus节点下,就正常,但是组件需要在多个页面中使用到,所以还是希望可以在globalStyle中配置。

2020-02-18 17:51 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复