zhangbo1_wd

底导tab宽度修改,扩大点击响应热区

@@ -140,6 +140,7 @@ export struct BottomNavigationComponent { @@ -140,6 +140,7 @@ export struct BottomNavigationComponent {
140 .opacity(this.currentNavIndex === index ? this.FULL_OPACITY : this.SIXTY_OPACITY) 140 .opacity(this.currentNavIndex === index ? this.FULL_OPACITY : this.SIXTY_OPACITY)
141 } 141 }
142 .zIndex(10) 142 .zIndex(10)
  143 + .width('100%')
143 .height($r('app.float.bottom_navigation_barHeight')) 144 .height($r('app.float.bottom_navigation_barHeight'))
144 .hoverEffect(HoverEffect.Highlight) 145 .hoverEffect(HoverEffect.Highlight)
145 .visibility(this.displayDirection === DisplayDirection.VERTICAL ? Visibility.Visible : Visibility.None) 146 .visibility(this.displayDirection === DisplayDirection.VERTICAL ? Visibility.Visible : Visibility.None)