diff --git a/features/hot/src/main/ets/view/FoundView.ets b/features/hot/src/main/ets/view/FoundView.ets index b4b218cb39b45d591e0ff822e8f7c41d022ba195..4ad606eeb7d577994c8974a44faa69e52cc0ac24 100644 --- a/features/hot/src/main/ets/view/FoundView.ets +++ b/features/hot/src/main/ets/view/FoundView.ets @@ -99,7 +99,9 @@ export struct FoundView { .height($r('app.float.blank_height')) .visibility(this.currentBreakpoint === Breakpoint.BREAKPOINT_LG ? Visibility.Hidden : Visibility.Visible) + // [Start pc] WaterFlow() { + // [StartExclude pc] ForEach(this.cardArrayViewModel.cardArray, (item: CardItem, index: number) => { FlowItem() { Column() { @@ -137,7 +139,11 @@ export struct FoundView { $r('app.float.water_flow_margin') : $r('app.float.zero')) } }, (item: CardItem, index: number) => index + JSON.stringify(item)) + // [EndExclude pc] } + .columnsTemplate(this.currentBreakpoint !== Breakpoint.BREAKPOINT_LG ? + Common.WATER_FLOW_COLUMNS_TEMPLATE_NORMAL : Common.WATER_FLOW_COLUMNS_TEMPLATE_LG) + // [End pc] .backgroundColor(this.currentBreakpoint === Breakpoint.BREAKPOINT_LG ? $r('app.color.water_flow_bgc_lg') : $r('app.color.water_flow_bgc')) .linearGradient({ @@ -153,8 +159,6 @@ export struct FoundView { scrollForward: NestedScrollMode.PARENT_FIRST, scrollBackward: NestedScrollMode.SELF_FIRST }) - .columnsTemplate(this.currentBreakpoint !== Breakpoint.BREAKPOINT_LG ? - Common.WATER_FLOW_COLUMNS_TEMPLATE_NORMAL : Common.WATER_FLOW_COLUMNS_TEMPLATE_LG) .padding({ left: this.currentBreakpoint === Breakpoint.BREAKPOINT_LG ? $r('app.float.water_flow_padding_lg') : $r('app.float.zero'),