|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div class="d-flex">
|
|
<div class="d-flex">
|
|
<div class="position-box">
|
|
<div class="position-box">
|
|
- <div class="sub-li" v-for="(item, index) in list" :key="index">
|
|
|
|
|
|
+ <div class="sub-li" v-for="(item, index) in list" :key="index" :style="{'height': tab === 3 && item.hire ? '180px' : '140px'}">
|
|
<div class="job-info" @click="handlePosition(item)" @mouseenter="item.active = true" @mouseleave="item.active = false">
|
|
<div class="job-info" @click="handlePosition(item)" @mouseenter="item.active = true" @mouseleave="item.active = false">
|
|
<div class="sub-li-top">
|
|
<div class="sub-li-top">
|
|
<div class="sub-li-info">
|
|
<div class="sub-li-info">
|
|
@@ -10,16 +10,17 @@
|
|
</div>
|
|
</div>
|
|
<p class="salary">{{ item.payFrom }}-{{ item.payTo }}/{{ item.payName }}</p>
|
|
<p class="salary">{{ item.payFrom }}-{{ item.payTo }}/{{ item.payName }}</p>
|
|
</div>
|
|
</div>
|
|
- <div style="height: 24px;overflow: hidden;">
|
|
|
|
- <v-chip size="x-small" label v-for="(k, i) in item.tagList" :key="i" class="mr-1" color="var(--color-666)">{{ k }}</v-chip>
|
|
|
|
- </div>
|
|
|
|
<div class="d-flex justify-space-between align-center">
|
|
<div class="d-flex justify-space-between align-center">
|
|
<div>
|
|
<div>
|
|
- <span v-for="(j, i) in desc" :key="i">
|
|
|
|
- <v-chip v-if="item[j.value]" size="x-small" label class="mr-1" color="var(--color-666)" :prepend-icon="j.mdi">{{ item[j.value] }}</v-chip>
|
|
|
|
|
|
+ <span v-for="(j, i) in desc" :key="i" class="font-size-13" style="color: #808080;">
|
|
|
|
+ <span v-if="item[j.value]" class="mr-1 d-inline-block">{{ item[j.value] }}</span>
|
|
|
|
+ <span v-if="i !== desc.length - 1 && item[j.value]" class="septal-line ml-1"></span>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="ellipsis" style="height: 24px;overflow: hidden;">
|
|
|
|
+ <span v-for="(j, i) in item.tagList" :key="i" class="mr-3 tags" style="color: #345768;">{{ j }}</span>
|
|
|
|
+ </div>
|
|
<div v-if="tab === 3 && item.hire" class="text-end mt-3">
|
|
<div v-if="tab === 3 && item.hire" class="text-end mt-3">
|
|
<v-chip v-if="item.hirePrice" size="small" label color="primary">赏金:{{ commissionCalculation(item.hirePrice, 1) }}元</v-chip>
|
|
<v-chip v-if="item.hirePrice" size="small" label color="primary">赏金:{{ commissionCalculation(item.hirePrice, 1) }}元</v-chip>
|
|
<v-chip v-if="item.hirePoint" size="small" label class="ml-1" color="primary">积分:{{ commissionCalculation(item.hirePoint, 1) }}点</v-chip>
|
|
<v-chip v-if="item.hirePoint" size="small" label class="ml-1" color="primary">积分:{{ commissionCalculation(item.hirePoint, 1) }}点</v-chip>
|
|
@@ -28,10 +29,12 @@
|
|
<div class="sub-li-bottom" @click="handleEnterprise(item)">
|
|
<div class="sub-li-bottom" @click="handleEnterprise(item)">
|
|
<div class="user-info">
|
|
<div class="user-info">
|
|
<div class="d-flex align-center">
|
|
<div class="d-flex align-center">
|
|
- <v-img :src="item.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" width="40" style="height: 40px;" />
|
|
|
|
- <span class="names ml-2" style="font-size: 14px">{{ item.anotherName }}</span>
|
|
|
|
|
|
+ <v-avatar size="35">
|
|
|
|
+ <v-img :src="item.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" />
|
|
|
|
+ </v-avatar>
|
|
|
|
+ <span class="names ml-2 font-size-14">{{ item.anotherName }}</span>
|
|
</div>
|
|
</div>
|
|
- <p class="names float-right">
|
|
|
|
|
|
+ <p class="float-right color-999 font-size-13">
|
|
<span>{{ item.industryName }}</span>
|
|
<span>{{ item.industryName }}</span>
|
|
<span class="septal-line" v-if="item.industryName && item.scaleName"></span>
|
|
<span class="septal-line" v-if="item.industryName && item.scaleName"></span>
|
|
<span>{{ item.scaleName }}</span>
|
|
<span>{{ item.scaleName }}</span>
|
|
@@ -99,19 +102,17 @@ const height = ((210 * 2) + 12) + 'px'
|
|
}
|
|
}
|
|
.sub-li {
|
|
.sub-li {
|
|
position: relative;
|
|
position: relative;
|
|
- // width: calc((100% - 24px) / 3);
|
|
|
|
width: calc((100% - 24px) / 2);
|
|
width: calc((100% - 24px) / 2);
|
|
min-width: calc((100% - 24px) / 2);
|
|
min-width: calc((100% - 24px) / 2);
|
|
max-width: calc((100% - 24px) / 2);
|
|
max-width: calc((100% - 24px) / 2);
|
|
margin: 0 12px 12px 0;
|
|
margin: 0 12px 12px 0;
|
|
- height: 210px;
|
|
|
|
border-radius: 12px;
|
|
border-radius: 12px;
|
|
padding: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
transition: all .2s linear;
|
|
transition: all .2s linear;
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
- &:nth-child(2n) { // 3n
|
|
|
|
|
|
+ &:nth-child(2n) {
|
|
margin-right: 0;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
&:hover {
|
|
&:hover {
|
|
@@ -131,7 +132,6 @@ const height = ((210 * 2) + 12) + 'px'
|
|
display: flex;
|
|
display: flex;
|
|
width: 100%;
|
|
width: 100%;
|
|
align-items: center;
|
|
align-items: center;
|
|
- margin-bottom: 12px;
|
|
|
|
}
|
|
}
|
|
.sub-li-info {
|
|
.sub-li-info {
|
|
display: flex;
|
|
display: flex;
|
|
@@ -144,10 +144,15 @@ const height = ((210 * 2) + 12) + 'px'
|
|
.salary {
|
|
.salary {
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
- color: var(--v-error-base);
|
|
|
|
|
|
+ color: #CEC149;
|
|
line-height: 22px;
|
|
line-height: 22px;
|
|
flex: none;
|
|
flex: none;
|
|
}
|
|
}
|
|
|
|
+.tags {
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ color: #666;
|
|
|
|
+ display: inline-block;
|
|
|
|
+}
|
|
.job-text {
|
|
.job-text {
|
|
white-space: normal;
|
|
white-space: normal;
|
|
padding-right: 0;
|
|
padding-right: 0;
|
|
@@ -165,6 +170,7 @@ const height = ((210 * 2) + 12) + 'px'
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
|
+ color: #345768;
|
|
&:hover {
|
|
&:hover {
|
|
color: var(--v-primary-base);
|
|
color: var(--v-primary-base);
|
|
}
|
|
}
|
|
@@ -172,9 +178,9 @@ const height = ((210 * 2) + 12) + 'px'
|
|
.sub-li-bottom {
|
|
.sub-li-bottom {
|
|
position: absolute;
|
|
position: absolute;
|
|
width: 100%;
|
|
width: 100%;
|
|
- bottom: -6px;
|
|
|
|
|
|
+ height: 54px;
|
|
|
|
+ bottom: 1px;
|
|
left: 0;
|
|
left: 0;
|
|
- background: linear-gradient(90deg, #f5fcfc 0, #fcfbfa 100%);
|
|
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
padding-top: 0;
|
|
padding-top: 0;
|
|
display: block;
|
|
display: block;
|
|
@@ -187,8 +193,8 @@ const height = ((210 * 2) + 12) + 'px'
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
.names {
|
|
.names {
|
|
- color: var(--color-666);
|
|
|
|
- font-size: 13px;
|
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ color: #404040;
|
|
&:hover {
|
|
&:hover {
|
|
color: var(--v-primary-base);
|
|
color: var(--v-primary-base);
|
|
}
|
|
}
|