Showing
2 changed files
with
6 additions
and
5 deletions
| @@ -33,11 +33,6 @@ export struct MoreComponent { | @@ -33,11 +33,6 @@ export struct MoreComponent { | ||
| 33 | } else { | 33 | } else { |
| 34 | Column() { | 34 | Column() { |
| 35 | 35 | ||
| 36 | - Divider() | ||
| 37 | - .width('100%') | ||
| 38 | - .color($r('app.color.color_F5F5F5')) | ||
| 39 | - .strokeWidth(5) | ||
| 40 | - | ||
| 41 | Row() { | 36 | Row() { |
| 42 | Text('点击展开更多相似') | 37 | Text('点击展开更多相似') |
| 43 | .fontSize(16) | 38 | .fontSize(16) |
| @@ -291,6 +291,12 @@ export struct SearchResultContentComponent { | @@ -291,6 +291,12 @@ export struct SearchResultContentComponent { | ||
| 291 | Divider().strokeWidth(5).color('#f5f5f5').padding({ left: 0, right: 0 }) | 291 | Divider().strokeWidth(5).color('#f5f5f5').padding({ left: 0, right: 0 }) |
| 292 | } | 292 | } |
| 293 | } else { | 293 | } else { |
| 294 | + if(this.data.get(index + 1).sameContentListSize > 0) { | ||
| 295 | + Divider() | ||
| 296 | + .width('100%') | ||
| 297 | + .color($r('app.color.color_F5F5F5')) | ||
| 298 | + .strokeWidth(4) | ||
| 299 | + } | ||
| 294 | CardParser({compDTO:new CompDTO, contentDTO: item }) | 300 | CardParser({compDTO:new CompDTO, contentDTO: item }) |
| 295 | } | 301 | } |
| 296 | if (index != this.data.totalCount() - 1) { | 302 | if (index != this.data.totalCount() - 1) { |
-
Please register or login to post a comment