【pages.json】给页面配置以下下拉刷新(非圆圈样式)
"style": {
"enablePullDownRefresh": true,
"navigationStyle": "custom",
"app-plus": {
"pullToRefresh": {
"support": true,
"style": "default",
"height": "0%",
"range": "100%"
}
}
}
【问题】
如何修改页面顶部区域的灰色背景?
1.已尝试
dom: +fixed-top0元素
css(非scoped): page{background-color}, page::before{}
pages.json: style->backgroundColor ; style->app-plus->background ; globalStyle
h5+: plus.navigator.setStatusBarBackground
uniapi: uni.setNavigationBarColor
2.未尝试
mainfest.json: ...
0 个回复