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

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

bindSheet($$this.showLabelSheet, this.labelSheetBuilder(), {
  backgroundColor: Color.Transparent,
  showClose: false,
  height: 280,
  mode: SheetMode.EMBEDDED
})
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
HarmonyOS
2025-01-09 15:57:25
1.2w浏览
收藏 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模态弹窗
1111浏览 • 1回复 待解决
基于bindSheet模态弹窗
1685浏览 • 1回复 待解决
模态弹窗如何禁止两边触摸
623浏览 • 0回复 待解决
HarmonyOS bindSheet如何修改圆角大小?
682浏览 • 1回复 待解决
HarmonyOS 屏时间弹窗
302浏览 • 1回复 待解决
HarmonyOS 模态相关使用
668浏览 • 1回复 待解决