Xiao_123 пре 1 месец
родитељ
комит
b74d65f9f2
1 измењених фајлова са 3 додато и 6 уклоњено
  1. 3 6
      src/components/PositionLongStrip/item.vue

+ 3 - 6
src/components/PositionLongStrip/item.vue

@@ -1,11 +1,10 @@
 <!-- 搜索页面的职位详情-长条 -->
 <!-- 搜索页面的职位详情-长条 -->
 <template>
 <template>
-  <div class="positionItem px-3 pt-3" v-for="(item, index) in list" :key="index" @mouseenter="item.active = true" @mouseleave="item.active = false">
+  <div class="positionItem pt-3" v-for="(item, index) in list" :key="index" @mouseenter="item.active = true" @mouseleave="item.active = false">
     <div class="position-and-company">
     <div class="position-and-company">
       <!-- 职位 -->
       <!-- 职位 -->
-      
       <div
       <div
-        class="position cursor-pointer rounded-lg" :class="item.positionActive ? 'elevation-5' : ''"
+        class="position cursor-pointer rounded-lg ml-3" :class="item.positionActive ? 'elevation-5' : ''"
         @mouseenter="item.positionActive = true" @mouseleave="item.positionActive = false" @click.stop="handlePosition(item)"
         @mouseenter="item.positionActive = true" @mouseleave="item.positionActive = false" @click.stop="handlePosition(item)"
       >
       >
         <div class="d-flex">
         <div class="d-flex">
@@ -33,8 +32,6 @@
                   color="var(--color-666)"
                   color="var(--color-666)"
                   :prepend-icon="j.mdi"
                   :prepend-icon="j.mdi"
                 >
                 >
-                <!-- {{ item.job.areaId }} -->
-                  <!-- {{ (j.value === 'areaName' && !item.job.areaId) ? '全国' : item.job[j.value] }} -->
                   {{ j.value === 'areaName' ? !item.job.areaId ? '全国' : item.job.area?.str : item.job[j.value] }}
                   {{ j.value === 'areaName' ? !item.job.areaId ? '全国' : item.job.area?.str : item.job[j.value] }}
                 </v-chip>
                 </v-chip>
               </span>
               </span>
@@ -44,7 +41,7 @@
       </div>
       </div>
       <!-- 公司 -->
       <!-- 公司 -->
       <div
       <div
-        class="company rounded-lg pa-4 cursor-pointer" :class="item.companyActive ? 'elevation-5' : ''"
+        class="company rounded-lg pa-4 cursor-pointer mr-3" :class="item.companyActive ? 'elevation-5' : ''"
         @click.stop="jumpToEnterpriseDetail(item.enterprise.id, true)" @mouseenter="item.companyActive = true" @mouseleave="item.companyActive = false">
         @click.stop="jumpToEnterpriseDetail(item.enterprise.id, true)" @mouseenter="item.companyActive = true" @mouseleave="item.companyActive = false">
         <div class="float-left">
         <div class="float-left">
           <v-img :src="item?.enterprise.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" :alt="item.enterprise.anotherName" :width="40" style="height: 40px;border-radius: 4px;"/>
           <v-img :src="item?.enterprise.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" :alt="item.enterprise.anotherName" :width="40" style="height: 40px;border-radius: 4px;"/>