Showing
4 changed files
with
10 additions
and
3 deletions
| @@ -24,6 +24,10 @@ export struct ImageDownloadComponent { | @@ -24,6 +24,10 @@ export struct ImageDownloadComponent { | ||
| 24 | 24 | ||
| 25 | build() { | 25 | build() { |
| 26 | Column() { | 26 | Column() { |
| 27 | + // Image($r('app.media.save_detail_img')) | ||
| 28 | + // .width(24) | ||
| 29 | + // .height(24) | ||
| 30 | + // .margin({bottom:6}) | ||
| 27 | SaveButton({ icon: SaveIconStyle.LINES }) | 31 | SaveButton({ icon: SaveIconStyle.LINES }) |
| 28 | .iconSize(24) | 32 | .iconSize(24) |
| 29 | .iconColor(Color.White) | 33 | .iconColor(Color.White) |
| @@ -33,7 +37,8 @@ export struct ImageDownloadComponent { | @@ -33,7 +37,8 @@ export struct ImageDownloadComponent { | ||
| 33 | await this.saveImage(this.imageBuffer); | 37 | await this.saveImage(this.imageBuffer); |
| 34 | promptAction.showToast({ | 38 | promptAction.showToast({ |
| 35 | message: $r('app.string.image_request_success'), | 39 | message: $r('app.string.image_request_success'), |
| 36 | - duration: 2000 | 40 | + duration: 2000, |
| 41 | + alignment:Alignment.Center | ||
| 37 | }) | 42 | }) |
| 38 | } | 43 | } |
| 39 | }) | 44 | }) |
No preview for this file type
| @@ -25,7 +25,9 @@ import { EmptyComponent, | @@ -25,7 +25,9 @@ import { EmptyComponent, | ||
| 25 | viewBlogItemInsightIntentShare} from 'wdComponent/Index'; | 25 | viewBlogItemInsightIntentShare} from 'wdComponent/Index'; |
| 26 | 26 | ||
| 27 | const TAG = 'MultiPictureDetailPageComponent'; | 27 | const TAG = 'MultiPictureDetailPageComponent'; |
| 28 | - | 28 | +/** |
| 29 | + * 多图(图集详情页)UI | ||
| 30 | + */ | ||
| 29 | @Component | 31 | @Component |
| 30 | export struct MultiPictureDetailPageComponent { | 32 | export struct MultiPictureDetailPageComponent { |
| 31 | private relId: string = '' | 33 | private relId: string = '' |
-
Please register or login to post a comment