1新建页面pages.json设置成透明
{
"path": "pages/ber-img/ber-img",
"style": {
"navigationBarTitleText": "标题显示",
"navigationStyle": "custom",
"app-plus": {
"animationType": "fade-in",
"background": "transparent",
"backgroundColor": "transparent",
"popGesture": "none"
}
}
2.新建的页面设置page背景透明
<style lang="scss" >
page {
background: transparent;
}
</style>