diff --git a/features/home/src/main/ets/view/BannerView.ets b/features/home/src/main/ets/view/BannerView.ets index be38b58b68478b91ae42a5cd7168a78299e108f6..2fce5e9259888b7bc6dcb5b9bf3800d822375b05 100644 --- a/features/home/src/main/ets/view/BannerView.ets +++ b/features/home/src/main/ets/view/BannerView.ets @@ -57,9 +57,9 @@ export struct BannerView { Column() { // Banner layout. Row() { - // [Start pc] + // [Start bannerView] Swiper() { - // [StartExclude pc] + // [StartExclude bannerView] LazyForEach(this.bannerDataSource, (item: Banner, index: number) => { Stack() { Image(this.currentWidthBreakpoint === BreakpointConstants.BREAKPOINT_SM ? item.getBannerImg().getImgSrcSm() : @@ -131,7 +131,7 @@ export struct BannerView { right: this.currentWidthBreakpoint === BreakpointConstants.BREAKPOINT_SM ? $r('app.float.banner_padding_sm') : 0 }) }, (item: Banner, index: number) => index + JSON.stringify(item)) - // [EndExclude pc] + // [EndExclude bannerView] } .displayCount(this.currentWidthBreakpoint === BreakpointConstants.BREAKPOINT_SM ? 1 : HomeConstants.TWO) // Interval between banner images @@ -142,7 +142,7 @@ export struct BannerView { .nextMargin(new BreakpointType($r('app.float.swiper_prev_next_margin_sm'), $r('app.float.swiper_prev_next_margin_md'), $r('app.float.swiper_prev_next_margin_lg')) .getValue(this.currentWidthBreakpoint)) - // [End pc] + // [End bannerView] // Setting the navigation point Style of the swiper. .indicator(this.currentWidthBreakpoint === BreakpointConstants.BREAKPOINT_SM ? Indicator.dot() .itemWidth($r('app.float.swiper_item_size')) diff --git a/features/search/src/main/ets/view/SearchForHua.ets b/features/search/src/main/ets/view/SearchForHua.ets index 91d42f3c3088c51e4b9452aabbd850d815829f24..42c20b9a230c29d09dda49f6f4b73d3578469d79 100644 --- a/features/search/src/main/ets/view/SearchForHua.ets +++ b/features/search/src/main/ets/view/SearchForHua.ets @@ -24,9 +24,9 @@ export struct SearchForHua { build() { Column() { - // [Start pc] + // [Start searchForHua] List() { - // [StartExclude pc] + // [StartExclude searchForHua] ForEach(SearchConstants.HUA_LIST, (item: string, index: number) => { ListItem() { Column() { @@ -54,11 +54,11 @@ export struct SearchForHua { }) } }) - // [EndExclude pc] + // [EndExclude searchForHua] } .lanes(this.currentWidthBreakpoint === BreakpointConstants.BREAKPOINT_LG ? SearchConstants.SEARCH_LIST_LANES[1] : SearchConstants.SEARCH_LIST_LANES[2]) - // [End pc] + // [End searchForHua] } .layoutWeight(1) .padding({ top: $r('app.float.search_hua_list_padding') })