HarmonyOS 使用bindSheet半模态弹窗,如何修改弹窗圆角

本地添加弹窗功能,使用的是bindSheet半模态弹窗;这个弹窗的圆角角度需要调整,如何设置?

bindSheet($$this.showLabelSheet, this.labelSheetBuilder(), {
  backgroundColor: Color.Transparent,
  showClose: false,
  height: 280,
  mode: SheetMode.EMBEDDED
})
HarmonyOS
2025-01-09 15:57:25
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
FengTianYa

目前bindsheet不支持修改圆角的弧度。替代方案可以参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-methods-custom-dialog-box-V5

分享
微博
QQ
微信
回复
2025-01-09 18:24:42
相关问题
HarmonyOS bindSheet模态弹窗
972浏览 • 1回复 待解决
基于bindSheet模态弹窗
1606浏览 • 1回复 待解决
模态弹窗如何禁止两边触摸
516浏览 • 0回复 待解决
HarmonyOS bindSheet如何修改圆角大小?
578浏览 • 1回复 待解决
HarmonyOS 模态相关使用
599浏览 • 1回复 待解决
HarmonyOS 屏时间弹窗
202浏览 • 1回复 待解决