|
@@ -4,131 +4,56 @@
|
|
<!-- 公司信息 -->
|
|
<!-- 公司信息 -->
|
|
<div class="company-info-top">
|
|
<div class="company-info-top">
|
|
<div class="float-left">
|
|
<div class="float-left">
|
|
- <v-img :src="item.enterpriseImg" :alt="item.enterpriseName" :width="40" style="height: 40px;border-radius: 4px;"/>
|
|
|
|
|
|
+ <v-img src="../../assets/logo.png" :alt="item.anotherName" :width="40" style="height: 40px;border-radius: 4px;"/>
|
|
</div>
|
|
</div>
|
|
<div class="company-info">
|
|
<div class="company-info">
|
|
- <h3>{{ item.enterpriseName }}</h3>
|
|
|
|
- <p>{{ item.enterpriseNature }}<span class="vline"></span>{{ item.scale }}<span class="vline"></span>{{ item.industry }}</p>
|
|
|
|
|
|
+ <h3>{{ item.anotherName }}</h3>
|
|
|
|
+ <p>{{ item.financingName }}<span class="vline"></span>{{ item.scaleName }}<span class="vline"></span>{{ item.industryName }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 职位列表 -->
|
|
<!-- 职位列表 -->
|
|
<ul class="company-job-list">
|
|
<ul class="company-job-list">
|
|
- <li class="company-job-item" v-for="(k, i) in item.positions" :key="i">
|
|
|
|
- <div class="job-info">
|
|
|
|
|
|
+ <li class="company-job-item" v-for="(k, i) in item.jobList" :key="i">
|
|
|
|
+ <div class="job-info" @mouseenter="k.active = true" @mouseleave="k.active = false">
|
|
<div class="mb-2 d-flex">
|
|
<div class="mb-2 d-flex">
|
|
- <p class="name">{{ k.recruitName }}</p>
|
|
|
|
|
|
+ <p :class="['name', {'default-active': k.active }]">{{ k.name }}</p>
|
|
<v-icon size="20" class="message">mdi-message-processing</v-icon>
|
|
<v-icon size="20" class="message">mdi-message-processing</v-icon>
|
|
- <span class="salary">{{ k.salary }}</span>
|
|
|
|
|
|
+ <span class="salary">{{ k.payFrom }}-{{ k.payTo }}/{{ k.payName }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="height: 24px; overflow: hidden;">
|
|
|
|
+ <v-chip size="x-small" label class="mr-1" color="#666" v-for="j in desc" :key="j">{{ k[j.value] }}</v-chip>
|
|
</div>
|
|
</div>
|
|
- <v-chip size="x-small" label class="mr-1" color="#666" v-for="j in k.tags" :key="j">{{ j }}</v-chip>
|
|
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
- <div class="text-center">
|
|
|
|
- <v-btn class="buttons" color="primary" variant="outlined">查看更多职位</v-btn>
|
|
|
|
|
|
+ <div class="moreBtn">
|
|
|
|
+ <v-btn class="buttons" color="primary" variant="outlined">{{ $t('position.moreBtn') }}</v-btn>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup name="hotPromoted">
|
|
<script setup name="hotPromoted">
|
|
-const list = [
|
|
|
|
- {
|
|
|
|
- enterpriseImg: 'https://img.bosszhipin.com/beijin/upload/com/workfeel/20231212/7bf6f160950405e90671d208831c3be24a7230ff916830a84f48ca3d2af0604795d2582973667498.png',
|
|
|
|
- enterpriseName: '博彦科技',
|
|
|
|
- enterpriseNature: '私营企业',
|
|
|
|
- scale: '100000人以上',
|
|
|
|
- industry: '计算机软件',
|
|
|
|
- positions: [
|
|
|
|
- {
|
|
|
|
- recruitName: '跨境电商运营跨境电商运营跨境电商运营跨境电商运营',
|
|
|
|
- salary: '7-9K',
|
|
|
|
- tags: ['广州番禺南浦', '本科', '1-3年']
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- recruitName: '跨境电商运营',
|
|
|
|
- salary: '7-9K',
|
|
|
|
- tags: ['广州番禺南浦', '本科', '1-3年']
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- recruitName: '跨境电商运营',
|
|
|
|
- salary: '7-9K',
|
|
|
|
- tags: ['广州番禺南浦', '本科', '1-3年']
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- enterpriseImg: 'https://img.bosszhipin.com/beijin/upload/com/workfeel/20231212/7bf6f160950405e90671d208831c3be24a7230ff916830a84f48ca3d2af0604795d2582973667498.png',
|
|
|
|
- enterpriseName: '博彦科技',
|
|
|
|
- enterpriseNature: '私营企业',
|
|
|
|
- scale: '100000人以上',
|
|
|
|
- industry: '计算机软件',
|
|
|
|
- positions: [
|
|
|
|
- {
|
|
|
|
- recruitName: '跨境电商运营',
|
|
|
|
- salary: '7-9K',
|
|
|
|
- tags: ['广州番禺南浦', '本科', '1-3年']
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- recruitName: '跨境电商运营',
|
|
|
|
- salary: '7-9K',
|
|
|
|
- tags: ['广州番禺南浦', '本科', '1-3年']
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- recruitName: '跨境电商运营',
|
|
|
|
- salary: '7-9K',
|
|
|
|
- tags: ['广州番禺南浦', '本科', '1-3年']
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- enterpriseImg: 'https://img.bosszhipin.com/beijin/upload/com/workfeel/20231212/7bf6f160950405e90671d208831c3be24a7230ff916830a84f48ca3d2af0604795d2582973667498.png',
|
|
|
|
- enterpriseName: '博彦科技',
|
|
|
|
- enterpriseNature: '私营企业',
|
|
|
|
- scale: '100000人以上',
|
|
|
|
- industry: '计算机软件',
|
|
|
|
- positions: [
|
|
|
|
- {
|
|
|
|
- recruitName: '跨境电商运营',
|
|
|
|
- salary: '7-9K',
|
|
|
|
- tags: ['广州番禺南浦', '本科', '1-3年']
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- recruitName: '跨境电商运营',
|
|
|
|
- salary: '7-9K',
|
|
|
|
- tags: ['广州番禺南浦', '本科', '1-3年']
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- recruitName: '跨境电商运营',
|
|
|
|
- salary: '7-9K',
|
|
|
|
- tags: ['广州番禺南浦', '本科', '1-3年']
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- enterpriseImg: 'https://img.bosszhipin.com/beijin/upload/com/workfeel/20231212/7bf6f160950405e90671d208831c3be24a7230ff916830a84f48ca3d2af0604795d2582973667498.png',
|
|
|
|
- enterpriseName: '博彦科技',
|
|
|
|
- enterpriseNature: '私营企业',
|
|
|
|
- scale: '100000人以上',
|
|
|
|
- industry: '计算机软件',
|
|
|
|
- positions: [
|
|
|
|
- {
|
|
|
|
- recruitName: '跨境电商运营',
|
|
|
|
- salary: '7-9K',
|
|
|
|
- tags: ['广州番禺南浦', '本科', '1-3年']
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- recruitName: '跨境电商运营',
|
|
|
|
- salary: '7-9K',
|
|
|
|
- tags: ['广州番禺南浦', '本科', '1-3年']
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- recruitName: '跨境电商运营',
|
|
|
|
- salary: '7-9K',
|
|
|
|
- tags: ['广州番禺南浦', '本科', '1-3年']
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
|
|
+import { ref, watch } from 'vue'
|
|
|
|
+const props = defineProps({
|
|
|
|
+ items: {
|
|
|
|
+ type: Array,
|
|
|
|
+ default: () => []
|
|
}
|
|
}
|
|
|
|
+})
|
|
|
|
+const list = ref([])
|
|
|
|
+watch(
|
|
|
|
+ () => props.items,
|
|
|
|
+ (newVal) => {
|
|
|
|
+ list.value = newVal
|
|
|
|
+ },
|
|
|
|
+ { immediate: true },
|
|
|
|
+ { deep: true }
|
|
|
|
+)
|
|
|
|
+const desc = [
|
|
|
|
+ { value: 'areaName' },
|
|
|
|
+ { value: 'eduName' },
|
|
|
|
+ { value: 'expName' }
|
|
]
|
|
]
|
|
</script>
|
|
</script>
|
|
|
|
|
|
@@ -138,6 +63,7 @@ const list = [
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
.sub-li {
|
|
.sub-li {
|
|
|
|
+ position: relative;
|
|
width: calc((100% - 24px) / 3);
|
|
width: calc((100% - 24px) / 3);
|
|
min-width: calc((100% - 24px) / 3);
|
|
min-width: calc((100% - 24px) / 3);
|
|
max-width: calc((100% - 24px) / 3);
|
|
max-width: calc((100% - 24px) / 3);
|
|
@@ -152,6 +78,9 @@ const list = [
|
|
&:nth-child(3n) {
|
|
&:nth-child(3n) {
|
|
margin-right: 0;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
+ &:hover {
|
|
|
|
+ box-shadow: 0 16px 40px 0 rgba(153, 153, 153, .3);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.company-info {
|
|
.company-info {
|
|
float: left;
|
|
float: left;
|
|
@@ -230,9 +159,6 @@ ul li {
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
transition: all linear .2s;
|
|
transition: all linear .2s;
|
|
- &:hover {
|
|
|
|
- color: var(--v-primary-base);
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
.message {
|
|
.message {
|
|
color: #bfc1c9;
|
|
color: #bfc1c9;
|
|
@@ -240,4 +166,10 @@ ul li {
|
|
color: var(--v-primary-base);
|
|
color: var(--v-primary-base);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+.moreBtn {
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: 25px;
|
|
|
|
+ left: 50%;
|
|
|
|
+ translate: -50%;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|