diff --git a/sight_harmony/features/wdComponent/src/main/ets/components/comment/view/VoiceInputView.ets b/sight_harmony/features/wdComponent/src/main/ets/components/comment/view/VoiceInputView.ets index f19c2bd..fcd1dba 100644 --- a/sight_harmony/features/wdComponent/src/main/ets/components/comment/view/VoiceInputView.ets +++ b/sight_harmony/features/wdComponent/src/main/ets/components/comment/view/VoiceInputView.ets @@ -45,14 +45,12 @@ export struct VoiceInputView { }) } }.height(100) - Button() - .type(ButtonType.Circle) - .backgroundImage($r('app.media.WDInput_voice_longPress_icon')) - .backgroundColor(Color.White) + Image($r('app.media.WDInput_voice_longPress_icon')) .width(60) .height(60) + .gesture( - LongPressGesture() + LongPressGesture({duration:300}) .onAction((event: GestureEvent) => { // this this.playAnimationOne = true