Showing
1 changed file
with
6 additions
and
3 deletions
| @@ -132,15 +132,18 @@ export struct ZhSingleColumn09 { | @@ -132,15 +132,18 @@ export struct ZhSingleColumn09 { | ||
| 132 | .width('100%') | 132 | .width('100%') |
| 133 | .height('100%') | 133 | .height('100%') |
| 134 | .borderRadius(3) | 134 | .borderRadius(3) |
| 135 | + Row(){} | ||
| 136 | + .width('100%') | ||
| 137 | + .height('100%') | ||
| 138 | + .backgroundColor('rgba(0, 0, 0, 1)') | ||
| 139 | + .opacity(0.4) | ||
| 140 | + .borderRadius(3) | ||
| 135 | Text(item.newsTitle) | 141 | Text(item.newsTitle) |
| 136 | .width('100%') | 142 | .width('100%') |
| 137 | .height('100%') | 143 | .height('100%') |
| 138 | .fontSize(14) | 144 | .fontSize(14) |
| 139 | .textAlign(TextAlign.Center) | 145 | .textAlign(TextAlign.Center) |
| 140 | .fontColor(0xffffff) | 146 | .fontColor(0xffffff) |
| 141 | - .backgroundColor('rgba(0, 0, 0, 1)') | ||
| 142 | - .opacity(0.4) | ||
| 143 | - .borderRadius(3) | ||
| 144 | Image($r('app.media.icon_selected')) | 147 | Image($r('app.media.icon_selected')) |
| 145 | .width(14) | 148 | .width(14) |
| 146 | .height(14) | 149 | .height(14) |
-
Please register or login to post a comment