|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
- <div class="box text-center default-width">
|
|
|
|
|
|
+ <div class="default-width text-center mb-6">
|
|
<span class="mr-2">{{ $t('position.popularPosition') }}:</span>
|
|
<span class="mr-2">{{ $t('position.popularPosition') }}:</span>
|
|
- <v-btn v-for="(item, index) in jobs" :key="index" size="small" class="ml-2 mb-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>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -13,7 +13,7 @@ defineOptions({ name:'personal-hotJobs-list'})
|
|
const router = useRouter()
|
|
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)
|
|
let jobs = ref(null)
|
|
@@ -25,7 +25,4 @@ getTreeData()
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
-.box {
|
|
|
|
- margin-bottom: 24px;
|
|
|
|
-}
|
|
|
|
</style>
|
|
</style>
|