|
@@ -3,7 +3,7 @@
|
|
<div class="sub-li" v-for="(item, index) in list" :key="index">
|
|
<div class="sub-li" v-for="(item, index) in list" :key="index">
|
|
<div v-if="item">
|
|
<div v-if="item">
|
|
<!-- 公司信息 -->
|
|
<!-- 公司信息 -->
|
|
- <div class="company-info-top align-center" @click="jumpToEnterpriseDetail(item.enterprise.id, true)">
|
|
|
|
|
|
+ <div class="company-info-top align-center" @click.stop="jumpToEnterpriseDetail(item.enterprise.id, true)">
|
|
<div class="float-left">
|
|
<div class="float-left">
|
|
<v-img :src="item?.enterprise.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" alt="" width="77" height="77" style="border-radius: 4px;"/>
|
|
<v-img :src="item?.enterprise.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" alt="" width="77" height="77" style="border-radius: 4px;"/>
|
|
</div>
|
|
</div>
|
|
@@ -16,13 +16,13 @@
|
|
</p>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="px-5 py-1 ellipsis" :style="{'height': '33px', 'border-bottom': item.enterprise.welfareList && item.enterprise.welfareList.length ? '1px solid #EBEBEB' : 'none'}">
|
|
|
|
|
|
+ <div 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 mr-5" v-for="(k, i) in item.enterprise.welfareList" :key="i">{{ k }}</span>
|
|
</div>
|
|
</div>
|
|
<!-- 职位列表 -->
|
|
<!-- 职位列表 -->
|
|
<ul class="company-job-list">
|
|
<ul class="company-job-list">
|
|
<li class="company-job-item" v-for="(k, i) in item.jobList" :key="i" :class="{'company-job-item-hover': k.active}" @mouseenter="k.active = true" @mouseleave="k.active = false" @click="handleClickPosition(k)">
|
|
<li class="company-job-item" v-for="(k, i) in item.jobList" :key="i" :class="{'company-job-item-hover': k.active}" @mouseenter="k.active = true" @mouseleave="k.active = false" @click="handleClickPosition(k)">
|
|
- <div class="job-info" @mouseenter="k.active = true" @mouseleave="k.active = false" @click="handleClickPosition(k)">
|
|
|
|
|
|
+ <div class="job-info" @mouseenter="k.active = true" @mouseleave="k.active = false" @click.stop="handleClickPosition(k)">
|
|
<div class="mb-2 d-flex">
|
|
<div class="mb-2 d-flex">
|
|
<p :class="['name', 'cursor-pointer', {'default-active': k.active }]" :style="{'max-width': !k.payFrom && !k.payTo ? '290px' : '200px'}">{{ formatName(k.name) }}</p>
|
|
<p :class="['name', 'cursor-pointer', {'default-active': k.active }]" :style="{'max-width': !k.payFrom && !k.payTo ? '290px' : '200px'}">{{ formatName(k.name) }}</p>
|
|
<span v-if="!k.payFrom && !k.payTo" class="salary">面议</span>
|
|
<span v-if="!k.payFrom && !k.payTo" class="salary">面议</span>
|
|
@@ -38,7 +38,7 @@
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
- <div class="moreBtn d-flex align-center justify-center" @click="handleMoreEnterprise(item)" @mouseenter="item.active = true" @mouseleave="item.active = false">
|
|
|
|
|
|
+ <div class="moreBtn d-flex align-center justify-center" @click.stop="handleMoreEnterprise(item)" @mouseenter="item.active = true" @mouseleave="item.active = false">
|
|
<span :style="{'text-decoration': item.active ? 'underline' : 'none'}">{{ $t('position.moreBtn') }}</span>
|
|
<span :style="{'text-decoration': item.active ? 'underline' : 'none'}">{{ $t('position.moreBtn') }}</span>
|
|
<v-icon>mdi-menu-right</v-icon>
|
|
<v-icon>mdi-menu-right</v-icon>
|
|
</div>
|
|
</div>
|
|
@@ -112,6 +112,12 @@ const handleMoreEnterprise = (item) => {
|
|
margin-right: 0;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+.ellipsis-tag {
|
|
|
|
+ white-space: nowrap;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ color: #cec149 !important;
|
|
|
|
+}
|
|
.company-info {
|
|
.company-info {
|
|
float: left;
|
|
float: left;
|
|
margin-left: 16px;
|
|
margin-left: 16px;
|