浏览代码

职位类型

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
 }