diff --git a/features/noticeitem/src/main/ets/com/ohos/noticeItem/view/item/SwipeLayout.ets b/features/noticeitem/src/main/ets/com/ohos/noticeItem/view/item/SwipeLayout.ets index 49d93350..d1214480 100644 --- a/features/noticeitem/src/main/ets/com/ohos/noticeItem/view/item/SwipeLayout.ets +++ b/features/noticeitem/src/main/ets/com/ohos/noticeItem/view/item/SwipeLayout.ets @@ -126,19 +126,36 @@ export default struct SwipeLayout { Row(){ Button({ type: ButtonType.Circle, stateEffect: true }) { - Image($r("app.media.ic_public_delete_filled")) - .objectFit(ImageFit.Contain) - .fillColor($r("sys.color.ohos_id_color_primary_contrary")) - .width(Layout.ICON_SIZE) - .height(Layout.ICON_SIZE) - .rotate({ - x: 0, - y: 0, - z: 1, - centerX: '50%', - centerY: '50%', - angle: this.rotateAngel - }) + Stack() { + Image($r("app.media.ic_public_delete_lids_filled")) + .objectFit(ImageFit.Contain) + .fillColor($r("sys.color.ohos_id_color_primary_contrary")) + .width(Layout.ICON_SIZE) + .height(Layout.ICON_SIZE) + .rotate({ + x: 0, + y: 0, + z: 1, + centerX: '89.45%', + centerY: '17.71%', + angle: this.rotateAngel + }) + Image($r("app.media.ic_public_delete_body_filled")) + .objectFit(ImageFit.Contain) + .fillColor($r("sys.color.ohos_id_color_primary_contrary")) + .width(Layout.ICON_SIZE) + .height(Layout.ICON_SIZE) + .rotate({ + x: 0, + y: 0, + z: 1, + centerX: '82.94%', + centerY: '29.17%', + angle: -this.rotateAngel + }) + } + .width(Layout.ICON_SIZE) + .height(Layout.ICON_SIZE) } .backgroundColor($r("app.color.button_background")) .zIndex(1) diff --git a/features/noticeitem/src/main/resources/base/media/ic_public_delete_body_filled.svg b/features/noticeitem/src/main/resources/base/media/ic_public_delete_body_filled.svg new file mode 100644 index 00000000..54e64211 --- /dev/null +++ b/features/noticeitem/src/main/resources/base/media/ic_public_delete_body_filled.svg @@ -0,0 +1,7 @@ + + + 垃圾桶桶身 + + + + \ No newline at end of file diff --git a/features/noticeitem/src/main/resources/base/media/ic_public_delete_lids_filled.svg b/features/noticeitem/src/main/resources/base/media/ic_public_delete_lids_filled.svg new file mode 100644 index 00000000..78741609 --- /dev/null +++ b/features/noticeitem/src/main/resources/base/media/ic_public_delete_lids_filled.svg @@ -0,0 +1,7 @@ + + + 垃圾桶盖子 + + + + \ No newline at end of file