lifanagju_citu 4 ماه پیش
والد
کامیت
cb1423446c
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/components/Enterprise/hotPromoted.vue

+ 2 - 1
src/components/Enterprise/hotPromoted.vue

@@ -21,7 +21,7 @@
           </div>
         </div>
         <div v-ellipse-tooltip.top class="px-5 py-1 ellipsis-tag" :style="{'height': '33px', 'border-bottom': item.enterprise.welfareList && item.enterprise.welfareList.length ? '1px solid #EBEBEB' : 'none'}">
-          <span class="welfareTag mr-5" v-for="(k, i) in item.enterprise.welfareList" :key="i">{{ k }}</span>
+          <span class="welfareTag" v-for="(k, i) in item.enterprise.welfareList" :key="i">{{ spaces(i ? 4 : 0) + k }}</span>
         </div>
         <!-- 职位列表 -->
         <!-- :class="{'company-job-item-hover': k.active}" -->
@@ -62,6 +62,7 @@ import { timesTampChange } from '@/utils/date'
 import { formatName } from '@/utils/getText'
 import { jumpToEnterpriseDetail } from '@/utils/position'
 import { useRouter } from 'vue-router'
+  import { spaces } from '@/utils/index.js'
 
 const props = defineProps({
   items: {