|
@@ -0,0 +1,79 @@
|
|
|
+<template>
|
|
|
+ <div class="company-box">
|
|
|
+ <div class="sub-li" v-for="item in list" :key="item.id" @mouseenter="item.active = true" @mouseleave="item.active = false">
|
|
|
+ <div class="company-info-top" @click="handleClickEnterprise(item)">
|
|
|
+ <div class="float-left">
|
|
|
+ <v-img src="https://img.bosszhipin.com/beijin/mcs/banner/3e9d37e9effaa2b6daf43f3f03f7cb15cfcd208495d565ef66e7dff9f98764da.jpg" :alt="item.anotherName" :width="40" style="height: 40px;border-radius: 4px;"/>
|
|
|
+ </div>
|
|
|
+ <div class="company-info">
|
|
|
+ <h3 :class="{'default-active': item.active }">{{ item.anotherName }}</h3>
|
|
|
+ <p>{{ item.financingName }}<span class="mx-2">|</span>{{ item.industryName }}</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="company-info-bottom">
|
|
|
+ 热招 |
|
|
|
+ <span style="color: var(--v-primary-base)">产品经理</span>
|
|
|
+ <span style="color: #000;"> · 6-11k</span>
|
|
|
+ 等
|
|
|
+ <span style="color: var(--v-primary-base)"> 96 </span>
|
|
|
+ 个职位
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup>
|
|
|
+defineOptions({ name: 'company-item'})
|
|
|
+import { ref } from 'vue'
|
|
|
+
|
|
|
+const handleClickEnterprise = (item) => {
|
|
|
+ console.log(item)
|
|
|
+ // window.open(`/enterprise/details/${item.id}`)
|
|
|
+}
|
|
|
+const list = ref([
|
|
|
+ {
|
|
|
+ anotherName: 'xxx科技有限公司',
|
|
|
+ financingName: '未融资',
|
|
|
+ scaleName: '0-20人',
|
|
|
+ industryName: '互联网/AI',
|
|
|
+ id: 1,
|
|
|
+ active: false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ anotherName: 'xxx科技有限公司',
|
|
|
+ financingName: '未融资',
|
|
|
+ scaleName: '0-20人',
|
|
|
+ industryName: '互联网/AI',
|
|
|
+ id: 2,
|
|
|
+ active: false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ anotherName: 'xxx科技有限公司',
|
|
|
+ financingName: '未融资',
|
|
|
+ scaleName: '0-20人',
|
|
|
+ industryName: '互联网/AI',
|
|
|
+ id: 3,
|
|
|
+ active: false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ anotherName: 'xxx科技有限公司',
|
|
|
+ financingName: '未融资',
|
|
|
+ scaleName: '0-20人',
|
|
|
+ industryName: '互联网/AI',
|
|
|
+ id: 4,
|
|
|
+ active: false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ anotherName: 'xxx科技有限公司',
|
|
|
+ financingName: '未融资',
|
|
|
+ scaleName: '0-20人',
|
|
|
+ industryName: '互联网/AI',
|
|
|
+ id: 5,
|
|
|
+ active: false
|
|
|
+ }
|
|
|
+])
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped lang="scss">
|
|
|
+@import url('@/styles/recruit/company.scss');
|
|
|
+</style>
|