Showing
1 changed file
with
13 additions
and
7 deletions
| @@ -255,14 +255,20 @@ export struct TabLiveItemComponent { | @@ -255,14 +255,20 @@ export struct TabLiveItemComponent { | ||
| 255 | 255 | ||
| 256 | if (this.item.isWall == 1) { | 256 | if (this.item.isWall == 1) { |
| 257 | Blank().layoutWeight(1) | 257 | Blank().layoutWeight(1) |
| 258 | - | ||
| 259 | - Text() { | ||
| 260 | - Span(' 上墙 ') | ||
| 261 | - .foregroundColor("#CB0000") | 258 | + Text(' 上墙 ') |
| 259 | + .maxLines(1) | ||
| 260 | + .textOverflow({ overflow: TextOverflow.Ellipsis }) | ||
| 262 | .fontSize(11) | 261 | .fontSize(11) |
| 263 | - .lineHeight(20) | ||
| 264 | - .textBackgroundStyle({ color: "#70FFC63F", radius: 2 }) | ||
| 265 | - }.lineHeight(20).fontSize('14fp').fontWeight(400) | 262 | + .fontWeight(400) |
| 263 | + .fontColor("#CB0000") | ||
| 264 | + .backgroundColor('#F1EFEB') | ||
| 265 | + .padding({ | ||
| 266 | + left: 4, | ||
| 267 | + top: 1, | ||
| 268 | + right: 4, | ||
| 269 | + bottom: 1 | ||
| 270 | + }) | ||
| 271 | + .borderRadius(2) | ||
| 266 | } | 272 | } |
| 267 | } | 273 | } |
| 268 | .alignItems(VerticalAlign.Top) | 274 | .alignItems(VerticalAlign.Top) |
-
Please register or login to post a comment