Skip to content

Commit

Permalink
fix: 修复迷你导航适配异形屏
Browse files Browse the repository at this point in the history
  • Loading branch information
jry committed Aug 9, 2024
1 parent 1d76fb4 commit 2d72e7c
Showing 1 changed file with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
<template>
<view class="u-navbar-mini" :class="[customClass]">
<view
class="u-navbar-mini__placeholder"
v-if="fixed"
:style="{
height: addUnit(getPx(height) + sys().statusBarHeight,'px'),
}"
></view>
<view class="u-navbar-mini__inner" :class="[fixed && 'u-navbar-mini--fixed']">
<u-status-bar
v-if="safeAreaInsetTop"
:bgColor="bgColor"
></u-status-bar>
<view
class="u-navbar-mini__content"
Expand Down Expand Up @@ -112,7 +104,6 @@
&__inner {
width: 180rpx;
border-radius: 20px;
overflow: hidden;
}
Expand All @@ -127,8 +118,9 @@
&__content {
@include flex(row);
padding: 0 15px;
border-radius: 20px;
align-items: center;
height: 44px;
height: 36px;
background-color: #9acafc;
position: relative;
justify-content: space-between;
Expand Down

0 comments on commit 2d72e7c

Please sign in to comment.