|
@@ -9,7 +9,7 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div no-gutters class="mt-5 d-flex flex-wrap" style="width: 100%;">
|
|
<div no-gutters class="mt-5 d-flex flex-wrap" style="width: 100%;">
|
|
- <v-card v-for="(k, i) in list" :key="i" class="col-item" @click="handleOpen(k)">
|
|
|
|
|
|
+ <v-card v-for="(k, i) in list" :key="i" class="col-item" @click="jumpToEnterpriseDetail(k.link, true)">
|
|
<v-img :src="k.img"/>
|
|
<v-img :src="k.img"/>
|
|
</v-card>
|
|
</v-card>
|
|
</div>
|
|
</div>
|
|
@@ -18,16 +18,17 @@
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
defineOptions({ name: 'advertisementPage'})
|
|
defineOptions({ name: 'advertisementPage'})
|
|
|
|
+import { jumpToEnterpriseDetail } from '@/utils/position'
|
|
|
|
|
|
-const props = defineProps({ list: Array, content: Object })
|
|
|
|
|
|
+defineProps({ list: Array, content: Object })
|
|
|
|
|
|
-const handleOpen = (k) => {
|
|
|
|
- if (!k.link) return
|
|
|
|
- if (props.content && Object.keys(props.content).length > 0 && props.content[k.link]) {
|
|
|
|
- // 集团页面
|
|
|
|
- window.open(`/recruit/personal/advertisement/${k.link}`)
|
|
|
|
- } else window.open(`/recruit/personal/company/details/${k.link}?key=briefIntroduction`)
|
|
|
|
-}
|
|
|
|
|
|
+// const handleOpen = (k) => {
|
|
|
|
+// if (!k.link) return
|
|
|
|
+// if (props.content && Object.keys(props.content).length > 0 && props.content[k.link]) {
|
|
|
|
+// // 集团页面
|
|
|
|
+// window.open(`/recruit/personal/advertisement/${k.link}`)
|
|
|
|
+// } else window.open(`/recruit/personal/company/details/${k.link}?key=briefIntroduction`)
|
|
|
|
+// }
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|