wx.backgroundColor总是不生效

发布于 7 年前作者 guiying5213303 次浏览最后编辑 7 年前来自 ask

wx.setBackgroundColor({

    backgroundColor: ‘#deb6a3’,

    backgroundColorBottom: ‘#deb6a3’,

})

窗口底色并没有变化, 只能在page中设置

background-color#deb6a3

请问这个"窗口的背景色" 是什么窗口?是小程序当前页面的背景色吗?

2 回复
xiuying49
xiuying491 楼6 年前

无效

duping
duping2 楼5 年前

下拉后的窗口底色