Showing
1 changed file
with
13 additions
and
0 deletions
| 1 | import { CommonConstants } from 'wdConstant'; | 1 | import { CommonConstants } from 'wdConstant'; |
| 2 | import { Logger } from 'wdKit'; | 2 | import { Logger } from 'wdKit'; |
| 3 | +import { router } from '@kit.ArkUI'; | ||
| 3 | 4 | ||
| 4 | const TAG = 'EmptyComponent'; | 5 | const TAG = 'EmptyComponent'; |
| 5 | 6 | ||
| @@ -108,7 +109,19 @@ export struct EmptyComponent { | @@ -108,7 +109,19 @@ export struct EmptyComponent { | ||
| 108 | } | 109 | } |
| 109 | 110 | ||
| 110 | build() { | 111 | build() { |
| 112 | + Stack({alignContent:Alignment.Bottom}) { | ||
| 111 | this.noProgrammeData(); | 113 | this.noProgrammeData(); |
| 114 | + Image($r("app.media.icon_arrow_left_white")) | ||
| 115 | + .width(24) | ||
| 116 | + .height(24) | ||
| 117 | + .onClick(() => { | ||
| 118 | + router.back(); | ||
| 119 | + }) | ||
| 120 | + .position({ | ||
| 121 | + bottom: 15, | ||
| 122 | + left: 16 | ||
| 123 | + }) | ||
| 124 | + } | ||
| 112 | } | 125 | } |
| 113 | 126 | ||
| 114 | /** | 127 | /** |
-
Please register or login to post a comment