diff --git a/src/back-top/back-top.less b/src/back-top/back-top.less index bdafba7c7..07440fbde 100644 --- a/src/back-top/back-top.less +++ b/src/back-top/back-top.less @@ -8,8 +8,9 @@ @back-top-half-round-width: 120rpx; @back-top-half-round-height: 80rpx; @back-top-fixed-right: @spacer; -@back-top-fixed-bottom: @spacer-2; - +@safe-area-inset-bottom: constant(safe-area-inset-bottom); +@safe-area-inset-bottom: env(safe-area-inset-bottom); +@back-top-fixed-bottom: calc(@spacer-2 + @safe-area-inset-bottom); @back-top-round-color: var(--td-back-top-round-color, @font-gray-1); @back-top-round-bg-color: var(--td-back-top-round-bg-color, @font-white-1); @back-top-round-border-color: var(--td-back-top-round-border-color, @component-border);