|
@@ -3,7 +3,7 @@
|
|
|
<div class="sub-li" v-for="(item, index) in list" :key="index">
|
|
|
<div v-if="item">
|
|
|
<!-- 公司信息 -->
|
|
|
- <div class="company-info-top align-center" @click.stop="jumpToEnterpriseDetail(item.enterprise.id, false)">
|
|
|
+ <div class="company-info-top align-center" :class="{'elevation-5': item.active}" @click.stop="jumpToEnterpriseDetail(item.enterprise.id, false)" @mouseenter="item.active = true" @mouseleave="item.active = false">
|
|
|
<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;"/>
|
|
|
</div>
|
|
@@ -25,7 +25,7 @@
|
|
|
</div>
|
|
|
<!-- 职位列表 -->
|
|
|
<!-- :class="{'company-job-item-hover': k.active}" -->
|
|
|
- <ul class="company-job-list">
|
|
|
+ <ul class="company-job-list pt-3">
|
|
|
<li v-for="(k, i) in item.jobList" :key="i" @mouseenter="k.active = true" @mouseleave="k.active = false" @click="handleClickPosition(k)">
|
|
|
<v-card :elevation="k.active ? 5 : 0" class="company-job-item cursor-pointer mb-3">
|
|
|
<div class="mb-2 d-flex">
|
|
@@ -47,8 +47,8 @@
|
|
|
</v-card>
|
|
|
</li>
|
|
|
</ul>
|
|
|
- <div class="moreBtn d-flex align-center justify-center" @click.stop="handleMoreEnterprise(item)" @mouseenter="item.active = true" @mouseleave="item.active = false">
|
|
|
- <span :style="{'border-bottom': item.active ? '1px solid #fff' : 'none'}">{{ $t('position.moreBtn') }}</span>
|
|
|
+ <div class="moreBtn d-flex align-center justify-center" @click.stop="handleMoreEnterprise(item)">
|
|
|
+ <span>{{ $t('position.moreBtn') }}</span>
|
|
|
<v-icon>mdi-menu-right</v-icon>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -121,7 +121,7 @@ const handleMoreEnterprise = (item) => {
|
|
|
min-width: calc((100% - 24px) / 3);
|
|
|
max-width: calc((100% - 24px) / 3);
|
|
|
margin: 0 12px 12px 0;
|
|
|
- height: 360px + 12px;
|
|
|
+ height: 370px;
|
|
|
border-radius: 12px;
|
|
|
padding: 0;
|
|
|
overflow: hidden;
|
|
@@ -145,13 +145,14 @@ const handleMoreEnterprise = (item) => {
|
|
|
}
|
|
|
.company-info-top {
|
|
|
display: flex;
|
|
|
- height: 110px;
|
|
|
- padding: 16px 20px;
|
|
|
+ height: 90px;
|
|
|
+ margin: 12px 12px 0 12px;
|
|
|
+ padding: 0 12px;
|
|
|
overflow: hidden;
|
|
|
border-bottom: 1px solid #EBEBEB;
|
|
|
- &:hover {
|
|
|
- background-color: #f2f4f7;
|
|
|
- }
|
|
|
+ // &:hover {
|
|
|
+ // background-color: #f2f4f7;
|
|
|
+ // }
|
|
|
}
|
|
|
.welfareTag {
|
|
|
color: #CEC149;
|
|
@@ -226,5 +227,13 @@ ul li {
|
|
|
cursor: pointer;
|
|
|
font-size: 14px;
|
|
|
background: linear-gradient(to right, #12ebb0, #427daa);
|
|
|
+ &:hover {
|
|
|
+ // color: #cec149;
|
|
|
+ font-size: 16px;
|
|
|
+ span {
|
|
|
+ font-weight: 700;
|
|
|
+ text-decoration: underline;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|