diff --git a/entry/src/main/ets/view/GoodsTabComponent.ets b/entry/src/main/ets/view/GoodsTabComponent.ets index 71eae263c7568234166876c9a03f8edadf76a6ed..509501ad0d61e7df728f5fa3abe4a179385615e5 100644 --- a/entry/src/main/ets/view/GoodsTabComponent.ets +++ b/entry/src/main/ets/view/GoodsTabComponent.ets @@ -68,7 +68,8 @@ export struct GoodsTabComponent { .fontWeight(this.tabsIndex === index ? 500 : 400) .height(CommonConstants.FULL_HEIGHT) .padding({ left: $r('app.float.tab_text_padding_left'), right: $r('app.float.tab_text_padding_right') }) - .backgroundColor(this.tabsIndex === index ? $r('sys.color.comp_background_emphasize') : $r('sys.color.comp_background_tertiary')) + .backgroundColor(this.tabsIndex === index ? $r('sys.color.comp_background_emphasize') : + $r('sys.color.comp_background_tertiary')) .borderRadius(21) } .padding({ @@ -122,7 +123,7 @@ export struct GoodsTabComponent { TabContent() { WaterFlowComponent({ datasource: this.filterData(index) }) } - },(index: number) => JSON.stringify(index)) + }, (index: number) => JSON.stringify(index)) } .barMode(BarMode.Scrollable) .barWidth(CommonConstants.FULL_WIDTH) diff --git a/entry/src/main/ets/view/SectionsWaterFlowComponent.ets b/entry/src/main/ets/view/SectionsWaterFlowComponent.ets index e53b7fb9b3a4855b97d98937fbbbf9c56658b65e..69619f57e2138e77a890ad291995d38e0dc13c23 100644 --- a/entry/src/main/ets/view/SectionsWaterFlowComponent.ets +++ b/entry/src/main/ets/view/SectionsWaterFlowComponent.ets @@ -144,7 +144,7 @@ export struct SectionsPage { FlowItem() .width('100%') .height(150) - },(index: number) => JSON.stringify(index)) + }, (index: number) => JSON.stringify(index)) LazyForEach(this.dataSource, (item: number) => { FlowItem() {