Showing
7 changed files
with
8 additions
and
58 deletions
| @@ -102,7 +102,8 @@ export struct FollowListDetailUI { | @@ -102,7 +102,8 @@ export struct FollowListDetailUI { | ||
| 102 | } | 102 | } |
| 103 | } | 103 | } |
| 104 | } | 104 | } |
| 105 | - .cachedCount(10) | 105 | + .edgeEffect(EdgeEffect.None) |
| 106 | + .cachedCount(5) | ||
| 106 | .padding({ left: '31lpx', right: '31lpx' }) | 107 | .padding({ left: '31lpx', right: '31lpx' }) |
| 107 | .layoutWeight(1) | 108 | .layoutWeight(1) |
| 108 | .scrollBar(BarState.Off) | 109 | .scrollBar(BarState.Off) |
| @@ -109,7 +109,7 @@ export struct HomePageBottomCommentComponent { | @@ -109,7 +109,7 @@ export struct HomePageBottomCommentComponent { | ||
| 109 | } | 109 | } |
| 110 | } | 110 | } |
| 111 | } | 111 | } |
| 112 | - .cachedCount(15) | 112 | + .cachedCount(5) |
| 113 | .layoutWeight(1) | 113 | .layoutWeight(1) |
| 114 | .scrollBar(BarState.Off) | 114 | .scrollBar(BarState.Off) |
| 115 | .edgeEffect(EdgeEffect.None) | 115 | .edgeEffect(EdgeEffect.None) |
| @@ -177,7 +177,7 @@ export struct HomePageBottomFollowComponent { | @@ -177,7 +177,7 @@ export struct HomePageBottomFollowComponent { | ||
| 177 | } | 177 | } |
| 178 | } | 178 | } |
| 179 | } | 179 | } |
| 180 | - .cachedCount(15) | 180 | + .cachedCount(5) |
| 181 | .padding({ left: '31lpx', right: '31lpx' }) | 181 | .padding({ left: '31lpx', right: '31lpx' }) |
| 182 | .layoutWeight(1) | 182 | .layoutWeight(1) |
| 183 | .scrollBar(BarState.Off) | 183 | .scrollBar(BarState.Off) |
| @@ -109,7 +109,7 @@ export struct OtherHomePageBottomCommentComponent { | @@ -109,7 +109,7 @@ export struct OtherHomePageBottomCommentComponent { | ||
| 109 | } | 109 | } |
| 110 | } | 110 | } |
| 111 | } | 111 | } |
| 112 | - .cachedCount(15) | 112 | + .cachedCount(5) |
| 113 | .layoutWeight(1) | 113 | .layoutWeight(1) |
| 114 | .scrollBar(BarState.Off) | 114 | .scrollBar(BarState.Off) |
| 115 | .edgeEffect(EdgeEffect.None) | 115 | .edgeEffect(EdgeEffect.None) |
| @@ -138,7 +138,7 @@ export struct OtherHomePageBottomFollowComponent{ | @@ -138,7 +138,7 @@ export struct OtherHomePageBottomFollowComponent{ | ||
| 138 | ListHasNoMoreDataUI() | 138 | ListHasNoMoreDataUI() |
| 139 | } | 139 | } |
| 140 | } | 140 | } |
| 141 | - }.cachedCount(15) | 141 | + }.cachedCount(5) |
| 142 | .padding({left:'31lpx',right:'31lpx'}) | 142 | .padding({left:'31lpx',right:'31lpx'}) |
| 143 | .layoutWeight(1) | 143 | .layoutWeight(1) |
| 144 | .scrollBar(BarState.Off) | 144 | .scrollBar(BarState.Off) |
| @@ -289,7 +289,7 @@ export struct SearchResultContentComponent { | @@ -289,7 +289,7 @@ export struct SearchResultContentComponent { | ||
| 289 | ListHasNoMoreDataUI() | 289 | ListHasNoMoreDataUI() |
| 290 | } | 290 | } |
| 291 | } | 291 | } |
| 292 | - }.cachedCount(10) | 292 | + }.cachedCount(5) |
| 293 | .edgeEffect(EdgeEffect.None) | 293 | .edgeEffect(EdgeEffect.None) |
| 294 | .scrollBar(BarState.Off) | 294 | .scrollBar(BarState.Off) |
| 295 | .onReachEnd(() => { | 295 | .onReachEnd(() => { |
| @@ -305,57 +305,6 @@ export struct SearchResultContentComponent { | @@ -305,57 +305,6 @@ export struct SearchResultContentComponent { | ||
| 305 | } | 305 | } |
| 306 | 306 | ||
| 307 | @Builder | 307 | @Builder |
| 308 | - multiCreatorUI() { | ||
| 309 | - Column() { | ||
| 310 | - List() { | ||
| 311 | - ForEach(this.data_rmh, (item: SearchRmhDescription, index: number) => { | ||
| 312 | - ListItem() { | ||
| 313 | - SearchCreatorComponent({ item: item }) | ||
| 314 | - } | ||
| 315 | - .width('150lpx') | ||
| 316 | - .height('100%') | ||
| 317 | - }) | ||
| 318 | - | ||
| 319 | - ListItem() { | ||
| 320 | - Column() { | ||
| 321 | - Text("查看更多") | ||
| 322 | - .width('19lpx') | ||
| 323 | - .fontSize('19lpx') | ||
| 324 | - .fontWeight('400lpx') | ||
| 325 | - .lineHeight('27lpx') | ||
| 326 | - .fontColor($r('app.color.color_9E9E9E')) | ||
| 327 | - } | ||
| 328 | - .borderRadius({ topLeft: '4lpx', bottomLeft: '4lpx' }) | ||
| 329 | - .height('180lpx') | ||
| 330 | - .width('77lpx') | ||
| 331 | - .backgroundColor($r('app.color.color_EDEDED')) | ||
| 332 | - .justifyContent(FlexAlign.Center) | ||
| 333 | - | ||
| 334 | - }.height('100%') | ||
| 335 | - .margin({ left: '23lpx' }) | ||
| 336 | - .onClick(() => { | ||
| 337 | - let params: Params = { | ||
| 338 | - pageID: this.keywords | ||
| 339 | - } | ||
| 340 | - WDRouterRule.jumpWithPage(WDRouterPage.searchCreatorPage, params) | ||
| 341 | - }) | ||
| 342 | - } | ||
| 343 | - .cachedCount(6) | ||
| 344 | - .edgeEffect(EdgeEffect.None) | ||
| 345 | - .scrollBar(BarState.Off) | ||
| 346 | - .listDirection(Axis.Horizontal) | ||
| 347 | - .width('100%') | ||
| 348 | - .height('219lpx') | ||
| 349 | - | ||
| 350 | - Divider() | ||
| 351 | - .width('100%') | ||
| 352 | - .height('12lpx') | ||
| 353 | - .color($r('app.color.color_F5F5F5')) | ||
| 354 | - .strokeWidth('12lpx') | ||
| 355 | - } | ||
| 356 | - } | ||
| 357 | - | ||
| 358 | - @Builder | ||
| 359 | SearchListUI() { | 308 | SearchListUI() { |
| 360 | List({space:'8lpx'}) { | 309 | List({space:'8lpx'}) { |
| 361 | ForEach(this.data_rmh, (item: SearchRmhDescription, index: number) => { | 310 | ForEach(this.data_rmh, (item: SearchRmhDescription, index: number) => { |
| @@ -182,7 +182,7 @@ struct SearchCreatorPage { | @@ -182,7 +182,7 @@ struct SearchCreatorPage { | ||
| 182 | ListHasNoMoreDataUI() | 182 | ListHasNoMoreDataUI() |
| 183 | } | 183 | } |
| 184 | } | 184 | } |
| 185 | - }.cachedCount(10) | 185 | + }.cachedCount(5) |
| 186 | .padding({left:'31lpx',right:'31lpx'}) | 186 | .padding({left:'31lpx',right:'31lpx'}) |
| 187 | .layoutWeight(1) | 187 | .layoutWeight(1) |
| 188 | .scrollBar(BarState.Off) | 188 | .scrollBar(BarState.Off) |
-
Please register or login to post a comment