@@ -16,19 +16,19 @@ const emit = defineEmits(['moveLeft', 'moveTop', 'moveRight', 'moveBottom', 'res
1616<template >
1717 <div :style =" `position: ${isFullscreen ? 'fixed' : 'absolute'};bottom:0;right:${isFullscreen ? '12px' : '0'};width:80px;height:80px`" data-html2canvas-ignore >
1818 <div style =" position : relative ;height :100% ;width :100% " >
19- <button @click =" emit('moveLeft')" style =" position : absolute ;left :0 ;top :50% ;transform :translateY (-50% );height :24px ;width :24px ;padding :0 ;background :transparent ;border :none ;display :flex ;align-items :center ;justify-content :center ;" >
19+ <button @click.stop =" emit('moveLeft')" style =" position : absolute ;left :0 ;top :50% ;transform :translateY (-50% );height :24px ;width :24px ;padding :0 ;background :transparent ;border :none ;display :flex ;align-items :center ;justify-content :center ;" >
2020 <BaseIcon :stroke =" color" name =" arrowLeft" style =" cursor : pointer " />
2121 </button >
22- <button @click =" emit('moveTop')" style =" position : absolute ;top :0 ;left :50% ;transform :translateX (-50% );height :24px ;width :24px ;padding :0 ;background :transparent ;border :none ;display :flex ;align-items :center ;justify-content :center ;" >
22+ <button @click.stop =" emit('moveTop')" style =" position : absolute ;top :0 ;left :50% ;transform :translateX (-50% );height :24px ;width :24px ;padding :0 ;background :transparent ;border :none ;display :flex ;align-items :center ;justify-content :center ;" >
2323 <BaseIcon :stroke =" color" name =" arrowTop" style =" cursor : pointer " />
2424 </button >
25- <button @click =" emit('moveRight')" style =" position : absolute ;right :0 ;top :50% ;transform :translateY (-50% );height :24px ;width :24px ;padding :0 ;background :transparent ;border :none ;display :flex ;align-items :center ;justify-content :center ;" >
25+ <button @click.stop =" emit('moveRight')" style =" position : absolute ;right :0 ;top :50% ;transform :translateY (-50% );height :24px ;width :24px ;padding :0 ;background :transparent ;border :none ;display :flex ;align-items :center ;justify-content :center ;" >
2626 <BaseIcon :stroke =" color" name =" arrowRight" style =" cursor : pointer " />
2727 </button >
28- <button @click =" emit('moveBottom')" style =" position : absolute ;bottom :0 ;left :50% ;transform :translateX (-50% );height :24px ;width :24px ;padding :0 ;background :transparent ;border :none ;display :flex ;align-items :center ;justify-content :center ;" >
28+ <button @click.stop =" emit('moveBottom')" style =" position : absolute ;bottom :0 ;left :50% ;transform :translateX (-50% );height :24px ;width :24px ;padding :0 ;background :transparent ;border :none ;display :flex ;align-items :center ;justify-content :center ;" >
2929 <BaseIcon :stroke =" color" name =" arrowBottom" style =" cursor : pointer " />
3030 </button >
31- <button @click =" emit('reset')" style =" position :absolute ;top :50% ;left :50% ;transform :translate (-50% ,-50% );height :24px ;width :24px ;padding :0 ;background :transparent ;border :none ;display :flex ;align-items :center ;justify-content :center ;" >
31+ <button @click.stop =" emit('reset')" style =" position :absolute ;top :50% ;left :50% ;transform :translate (-50% ,-50% );height :24px ;width :24px ;padding :0 ;background :transparent ;border :none ;display :flex ;align-items :center ;justify-content :center ;" >
3232 <BaseIcon :stroke =" color" name =" close" style =" cursor : pointer " :strokeWidth =" 2" />
3333 </button >
3434 </div >
0 commit comments