Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
张善主
2024-05-24 11:27:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0e1be57b56b0846b0a5334758ae441db5f2c3a76
0e1be57b
1 parent
9c003f8b
fix(17226):人民号图集稿件下的图片进行下载时鸿蒙与安卓的提示信息和弹出位置不一致
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
sight_harmony/features/wdComponent/src/main/ets/components/ImageDownloadComponent.ets
sight_harmony/features/wdComponent/src/main/resources/base/element/string.json
sight_harmony/features/wdComponent/src/main/resources/base/media/save_detail_img.webp
sight_harmony/products/phone/src/main/ets/pages/view/MultiPictureDetailPageComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/ImageDownloadComponent.ets
View file @
0e1be57
...
...
@@ -24,6 +24,10 @@ export struct ImageDownloadComponent {
build() {
Column() {
// Image($r('app.media.save_detail_img'))
// .width(24)
// .height(24)
// .margin({bottom:6})
SaveButton({ icon: SaveIconStyle.LINES })
.iconSize(24)
.iconColor(Color.White)
...
...
@@ -33,7 +37,8 @@ export struct ImageDownloadComponent {
await this.saveImage(this.imageBuffer);
promptAction.showToast({
message: $r('app.string.image_request_success'),
duration: 2000
duration: 2000,
alignment:Alignment.Center
})
}
})
...
...
sight_harmony/features/wdComponent/src/main/resources/base/element/string.json
View file @
0e1be57
...
...
@@ -34,7 +34,7 @@
},
{
"name"
:
"image_request_success"
,
"value"
:
"
图片下载到图库成功
"
"value"
:
"
已保存到相册
"
},
{
"name"
:
"image_request_fail"
,
...
...
sight_harmony/features/wdComponent/src/main/resources/base/media/save_detail_img.webp
0 → 100644
View file @
0e1be57
No preview for this file type
sight_harmony/products/phone/src/main/ets/pages/view/MultiPictureDetailPageComponent.ets
View file @
0e1be57
...
...
@@ -25,7 +25,9 @@ import { EmptyComponent,
viewBlogItemInsightIntentShare} from 'wdComponent/Index';
const TAG = 'MultiPictureDetailPageComponent';
/**
* 多图(图集详情页)UI
*/
@Component
export struct MultiPictureDetailPageComponent {
private relId: string = ''
...
...
Please
register
or
login
to post a comment