Showing
1 changed file
with
4 additions
and
2 deletions
| @@ -119,10 +119,12 @@ export struct EmptyComponent { | @@ -119,10 +119,12 @@ export struct EmptyComponent { | ||
| 119 | noProgrammeData() { | 119 | noProgrammeData() { |
| 120 | Column() { | 120 | Column() { |
| 121 | Image(this.buildNoDataTipImage()) | 121 | Image(this.buildNoDataTipImage()) |
| 122 | - .width('this.EMPTY_IMAGE_WIDTH') | ||
| 123 | - .height(this.EMPTY_IMAGE_HEIGHT) | 122 | + .width(160) |
| 123 | + .height(112) | ||
| 124 | .objectFit(ImageFit.Contain) | 124 | .objectFit(ImageFit.Contain) |
| 125 | // .border({ width: 1, color: Color.Red, radius: 6 }) | 125 | // .border({ width: 1, color: Color.Red, radius: 6 }) |
| 126 | + // .width('this.EMPTY_IMAGE_WIDTH') | ||
| 127 | + // .height(this.EMPTY_IMAGE_HEIGHT) | ||
| 126 | 128 | ||
| 127 | Text(this.emptyType !== 8 ? this.buildNoDataTip() : `${this.buildNoDataTip()}(${this.timeNum}s)`) | 129 | Text(this.emptyType !== 8 ? this.buildNoDataTip() : `${this.buildNoDataTip()}(${this.timeNum}s)`) |
| 128 | .fontSize($r('app.float.normal_text_size')) | 130 | .fontSize($r('app.float.normal_text_size')) |
-
Please register or login to post a comment