Showing
2 changed files
with
24 additions
and
0 deletions
| @@ -64,6 +64,7 @@ export const enum CompStyle { | @@ -64,6 +64,7 @@ export const enum CompStyle { | ||
| 64 | Card_21 = '21', // 小视频卡人民号 | 64 | Card_21 = '21', // 小视频卡人民号 |
| 65 | Card_22 = '22', // 时间链 | 65 | Card_22 = '22', // 时间链 |
| 66 | Card_23 = '23', // 问政卡 | 66 | Card_23 = '23', // 问政卡 |
| 67 | + More_Comp= 'More_Comp', // 点击查看更多相似 | ||
| 67 | 68 | ||
| 68 | 69 | ||
| 69 | 70 |
| 1 | +/** | ||
| 2 | + * More_Comp | ||
| 3 | + */ | ||
| 4 | +const TAG: string = 'Card9Component'; | ||
| 5 | + | ||
| 6 | +@Entry | ||
| 7 | +@Component | ||
| 8 | +export struct MoreComponent { | ||
| 9 | + | ||
| 10 | + build() { | ||
| 11 | + Row() { | ||
| 12 | + Text('点击展开更多相似') | ||
| 13 | + .fontSize(16) | ||
| 14 | + Image($r('app.media.comment_unfold')) | ||
| 15 | + .width(16) | ||
| 16 | + .height(16) | ||
| 17 | + } | ||
| 18 | + .justifyContent(FlexAlign.Center) | ||
| 19 | + .width('100%') | ||
| 20 | + .height(48) | ||
| 21 | + .backgroundColor(0xffffff) | ||
| 22 | + } | ||
| 23 | +} |
-
Please register or login to post a comment