|
@@ -2,12 +2,12 @@
|
|
|
<div class="position-box">
|
|
|
<h4 class="mb-3">{{ $t('position.similarPosition') }}</h4>
|
|
|
<div v-for="(item, index) in props.list" :key="index" class="mb-2 cursor-pointer" @click.stop="handlePosition(item)">
|
|
|
- <p class="recruit-name" :style="{'max-width': !item.payFrom && !item.payTo ? '230px' : '140px'}">{{ formatName(item.name) }}</p>
|
|
|
+ <p class="recruit-name" v-ellipse-tooltip :style="{'max-width': !item.payFrom && !item.payTo ? '230px' : '140px'}">{{ formatName(item.name) }}</p>
|
|
|
<span v-if="!item.payFrom && !item.payTo" class="recruit-salary">面议</span>
|
|
|
<span v-else class="recruit-salary">{{ item.payFrom ? item.payFrom + '-' : '' }}{{ item.payTo }}{{ item.payName ? '/' + item.payName :'' }}</span>
|
|
|
<div :class="['enterprise', {'border-bottom-dashed': index !== list.length - 1}]">
|
|
|
<v-img class="float-left" :src="item.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" :width="30" :height="30"></v-img>
|
|
|
- <span class="float-left enterprise-name">{{ formatName(item.anotherName) }}</span>
|
|
|
+ <span class="float-left enterprise-name" v-ellipse-tooltip>{{ formatName(item.anotherName) }}</span>
|
|
|
<span class="float-right enterprise-address">{{ !item.areaId ? '全国' : item.area?.str }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -42,9 +42,6 @@ const handlePosition = (item) => {
|
|
|
font-weight: 500;
|
|
|
display: inline-block;
|
|
|
vertical-align: middle;
|
|
|
- white-space: nowrap;
|
|
|
- text-overflow: ellipsis;
|
|
|
- overflow: hidden;
|
|
|
&:hover {
|
|
|
color: var(--v-primary-base);
|
|
|
}
|
|
@@ -66,9 +63,6 @@ const handlePosition = (item) => {
|
|
|
display: inline-block;
|
|
|
max-width: 150px;
|
|
|
vertical-align: middle;
|
|
|
- white-space: nowrap;
|
|
|
- text-overflow: ellipsis;
|
|
|
- overflow: hidden;
|
|
|
color: var(--color-666);
|
|
|
font-size: 13px;
|
|
|
margin-left: 5px;
|
|
@@ -80,9 +74,4 @@ const handlePosition = (item) => {
|
|
|
color: #555;
|
|
|
font-size: 13px;
|
|
|
}
|
|
|
-.more-btn {
|
|
|
- // position: absolute;
|
|
|
- // bottom: 18px;
|
|
|
- // margin-top: 20px;
|
|
|
-}
|
|
|
</style>
|