Xiao_123 преди 8 месеца
родител
ревизия
387e487bd2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/recruit/personal/home/components/homeJobTypeCard/index.vue

+ 1 - 1
src/views/recruit/personal/home/components/homeJobTypeCard/index.vue

@@ -126,7 +126,7 @@ const handleMouseOver = (val, index) => {
   const div = document.getElementsByClassName('leftCardItem')[index]
   const rect = div.getBoundingClientRect()
   const containerRect = container[0].getBoundingClientRect()
-  itemLeft.value = rect.right - containerRect.x + 20
+  itemLeft.value = rect.right - containerRect.x
 
   rightObj.show = true
 }