new CustomDialogController({
builder: VipBackDialog(),//CustomDialog
alignment: DialogAlignment.Center,
autoCancel: false,
height:467,
width:283,
backgroundColor: Color.Transparent,
})
这里设置背景透明无效,是就是不允许设置还是有其他方法?
new CustomDialogController({
builder: VipBackDialog(),//CustomDialog
alignment: DialogAlignment.Center,
autoCancel: false,
height:467,
width:283,
backgroundColor: Color.Transparent,
})
这里设置背景透明无效,是就是不允许设置还是有其他方法?
1 回答1.1k 阅读✓ 已解决
1 回答1.3k 阅读
1 回答1.2k 阅读
1 回答1.1k 阅读
1 回答1.1k 阅读
1 回答970 阅读
1 回答943 阅读
设置 customStyle: true
参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-methods-custom-dialog-box-V5\#customdialogcontrolleroptions%E5%AF%B9%E8%B1%A1%E8%AF%B4%E6%98%8E