|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
- <div class="default-width text-center mb-8">
|
|
|
+ <div class="default-width text-center mb-6">
|
|
|
<span class="mr-2">{{ $t('position.popularPosition') }}:</span>
|
|
|
- <v-btn v-for="(item, index) in jobs" :key="index" size="small" class="ml-2" color="primary" variant="tonal" @click="handleClick(item)">{{ item.nameCn }}</v-btn>
|
|
|
+ <v-btn v-for="(item, index) in jobs" :key="index" size="small" class="ml-2 my-1" color="primary" variant="tonal" @click="handleClick(item)">{{ item.nameCn }}</v-btn>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -13,7 +13,7 @@ defineOptions({ name:'personal-hotJobs-list'})
|
|
|
const router = useRouter()
|
|
|
|
|
|
|
|
|
-const handleClick = (item) => { router.push(`/recruit/position?positionId=${item.id}`) }
|
|
|
+const handleClick = (item) => { router.push({ path: '/recruit/position',query: item }) }
|
|
|
|
|
|
// 获取行业树形
|
|
|
let jobs = ref(null)
|