Grid组件实现底部导航栏避让,可以使用expandSafeArea属性,参考链接:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-universal-attributes-expand-safe-area-V5\#expandsafearea至于避让自定义的删除按钮,这个我们没有原生的属性进行避让,不过可以在grid组件里边设置一些空白的griditem进行占行,也是可以把删除组件避让出来,您可以参考一下
Grid组件实现底部导航栏避让,可以使用expandSafeArea属性,参考链接:
https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-universal-attributes-expand-safe-area-V5\#expandsafearea
至于避让自定义的删除按钮,这个我们没有原生的属性进行避让,不过可以在grid组件里边设置一些空白的griditem进行占行,也是可以把删除组件避让出来,您可以参考一下