就是主配置中的app.json中的window:
微信小程序--每个独立的page的page.json只能修改window属性
原文:http://www.cnblogs.com/mrszhou/p/7827759.html