wangliang_wd

feat:调整tab间距

@@ -388,7 +388,10 @@ export struct TopNavigationComponentNew { @@ -388,7 +388,10 @@ export struct TopNavigationComponentNew {
388 .fontColor(this.tabSelectedColor(this.currentTopNavSelectedIndex === index)) 388 .fontColor(this.tabSelectedColor(this.currentTopNavSelectedIndex === index))
389 .padding({ 389 .padding({
390 top: $r('app.float.top_tab_item_padding_top'), 390 top: $r('app.float.top_tab_item_padding_top'),
391 - bottom: $r('app.float.top_tab_item_padding_bottom') 391 + bottom: $r('app.float.top_tab_item_padding_bottom'),
  392 + left:2,
  393 + right:2
  394 +
392 }) 395 })
393 .maxLines(this.MAX_LINE) 396 .maxLines(this.MAX_LINE)
394 .id(index.toString()) 397 .id(index.toString())