feat(Style): add van-safe-area-bottom util class (#9205)

* feat(Style): add van-safe-area-bottom class

* chore: update test cases
This commit is contained in:
neverland
2021-08-08 09:08:23 +08:00
committed by GitHub
parent 1376c56743
commit eaccf2db0f
38 changed files with 153 additions and 156 deletions
+6 -1
View File
@@ -487,7 +487,12 @@ export default defineComponent({
};
const renderFooter = () => (
<div class={bem('footer', { unfit: !props.safeAreaInsetBottom })}>
<div
class={[
bem('footer'),
{ 'van-safe-area-bottom': props.safeAreaInsetBottom },
]}
>
{renderFooterButton()}
</div>
);