在页面中添加下图所示的html css
<view class="backgroung-color"></view>
.backgroung-color{
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgb(247, 247, 247); // 这个就是你想设置的背景颜色
z-index: -1;
}
在页面中添加下图所示的html css
<view class="backgroung-color"></view>
.backgroung-color{
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgb(247, 247, 247); // 这个就是你想设置的背景颜色
z-index: -1;
}