小程序插件页面的json设置不生效,该如何设置?
发布于 6 年前 作者 jie96 9176 次浏览 来自 问答

开发小程序插件,使用navigator跳入一个小程序插件页面plugin://xxx/xxxx,在这个插件页面的json里设置了的window的属性字段都不生效,包括:

“window”: {

“enablePullDownRefresh”: true,

“backgroundTextStyle”: “dark”,

“navigationBarBackgroundColor”: “#fff”,

“backgroundColor”: “#fff”,

“navigationBarTitleText”: “测试title”,

“navigationBarTextStyle”: “black”

}

开发插件页面,该如何设置插件页面json呢 ?

1 回复

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部