hws007
hws007
  • 发布:2021-02-24 23:58
  • 更新:2022-07-19 21:40
  • 阅读:1918

uniapp窗体背景无法透明,请问怎么弄

分类:uni-app

以下设置,背景无法透明,怎么弄

{
"path": "pages/event/event",
"style": {
"app-plus": {
"titleNView": false,
"animationType": "slide-in-right",
"background": "transparent",
"backgroundColorTop": "transparent" // 这是解决页面上半部分的背景色不透明的问题
}
}
}

2021-02-24 23:58 负责人:无 分享
已邀请:
p***@sina.com

p***@sina.com

我也遇到相同的问题了,解决了吗

  • hws007 (作者)

    这样,在app上有效,用的是nvue

    "path": "pages/common/showModal/showModal",

    "style": {

    "navigationStyle": "custom",

    "app-plus": {

    "bounce": "none",

    "animationType": "fade-in",

    "background": "transparent",

    "popGesture": "none"

    }

    }

    2022-07-21 06:02

  • p***@sina.com

    回复 hws007: 感谢

    2022-08-29 14:18

要回复问题请先登录注册