Browse Source

fix(component/Verify): resolve image positioning issue

main
刘凯 1 year ago
parent
commit
e1bf9cb2a5
  1. 2
      src/components/Verifition/src/Verify/VerifySlide.vue

2
src/components/Verifition/src/Verify/VerifySlide.vue

@ -351,7 +351,7 @@ async function getPictrue() {
:style="{ :style="{
'width': `${Math.floor((parseInt(setSize.imgWidth) * 47) / 310)}px`, 'width': `${Math.floor((parseInt(setSize.imgWidth) * 47) / 310)}px`,
'height': setSize.imgHeight, 'height': setSize.imgHeight,
'top': `-${parseInt(setSize.imgHeight) + vSpace}px`, 'top': `-${parseInt(setSize.imgHeight) + spaces}px`,
'background-size': `${setSize.imgWidth} ${setSize.imgHeight}`, 'background-size': `${setSize.imgWidth} ${setSize.imgHeight}`,
}" }"
> >