|
@@ -1,28 +1,51 @@
|
|
|
<template>
|
|
|
- <div class="default-width">
|
|
|
- <div style="background-color: #fff; position: sticky;" class="pb-4">
|
|
|
- <buttons :current="3"></buttons>
|
|
|
- <v-breadcrumbs v-if="breadcrumbs?.length" :items="breadcrumbs">
|
|
|
+ <div>
|
|
|
+ <!-- <div style="background-color: #fff; position: sticky;"> -->
|
|
|
+ <!-- <buttons :current="3" class="mb-3"></buttons> -->
|
|
|
+ <!-- <v-breadcrumbs v-if="breadcrumbs?.length" :items="breadcrumbs">
|
|
|
<template v-slot:item="{ item }">
|
|
|
<span class="breadcrumbsText" :class="{ active: !item.disabled }" @click="handleClick(item)">{{ item.text }}</span>
|
|
|
</template>
|
|
|
- </v-breadcrumbs>
|
|
|
- <headSearch v-model="query.keyword" :class="{'mt-3': !breadcrumbs?.length}" placeholder="搜索公司关键字" @handleSearch="handleSearch"></headSearch>
|
|
|
- </div>
|
|
|
- <Empty v-if="!items.length" :message="loadingType === 1 ? loadingText[loadingType] : '该招聘会暂无企业参与,前往其他招聘会看看吧~'" class="mt-3 py-15"></Empty>
|
|
|
- <template v-else>
|
|
|
- <div class="d-flex">
|
|
|
- <div class="mt-3">
|
|
|
- <EntCard :list="items" @selectChange="selectChange" />
|
|
|
- <div :class="['loading', {'defaultLink-i': !loadingType}]" @click="handleChangePage">{{ loadingText[loadingType] }}</div>
|
|
|
- </div>
|
|
|
- <div class="position-details ml-3" style="flex: 1; overflow: hidden;">
|
|
|
- <div class="position-content pa-3">
|
|
|
- <JobCard :enterpriseId="enterpriseId" :enterpriseName="enterpriseName" :jobFairId="route.params.id" />
|
|
|
+ </v-breadcrumbs> -->
|
|
|
+
|
|
|
+ <!-- <headSearch v-model="query.keyword" :class="{'mt-3': !breadcrumbs?.length}" placeholder="搜索公司关键字" @handleSearch="handleSearch"></headSearch> -->
|
|
|
+ <!-- </div> -->
|
|
|
+
|
|
|
+ <!-- <v-carousel :show-arrows="cursor.length > 1 ? 'hover' : false" :hide-delimiters="true" cycle style="height: 300px;">
|
|
|
+ <v-carousel-item v-for="(k, i) in cursor" :key="i">
|
|
|
+ <v-img :src="k" :lazy-src="k" width="1184" height="300" cover>
|
|
|
+ <template v-slot:placeholder>
|
|
|
+ <v-row align="center" class="fill-height ma-0" justify="center">
|
|
|
+ <v-progress-circular color="grey-lighten-5" indeterminate></v-progress-circular>
|
|
|
+ </v-row>
|
|
|
+ </template>
|
|
|
+ </v-img>
|
|
|
+ </v-carousel-item>
|
|
|
+ </v-carousel> -->
|
|
|
+ <v-carousel :show-arrows="cursor.length > 1 ? 'hover' : false" cycle :hide-delimiters="true" style="height: 500px;">
|
|
|
+ <v-carousel-item v-for="(k, i) in cursor" :key="i">
|
|
|
+ <img :src="k" :lazy-src="k" style="width: 100%; height:100%;">
|
|
|
+ </v-carousel-item>
|
|
|
+ </v-carousel>
|
|
|
+ <div style="background-color: #7ec04c">
|
|
|
+ <div class="default-width">
|
|
|
+ <Empty v-if="!items.length && !query.keyword" :message="loadingType === 1 ? loadingText[loadingType] : '该招聘会暂无企业参与,前往其他招聘会看看吧~'" class="mt-3 py-15"></Empty>
|
|
|
+ <template v-else>
|
|
|
+ <div class="d-flex">
|
|
|
+ <div class="mt-3">
|
|
|
+ <EntCard :list="items" @selectChange="selectChange" />
|
|
|
+ <div :class="['loading', {'defaultLink-i': !loadingType}]" @click="handleChangePage">{{ loadingText[loadingType] }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="position-details ml-3" style="flex: 1; overflow: hidden;">
|
|
|
+ <div class="position-content px-3">
|
|
|
+ <JobCard :enterpriseId="enterpriseId" :enterpriseName="enterpriseName" :jobFairId="route.params.id" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
- </template>
|
|
|
+ </div>
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
@@ -38,6 +61,10 @@ import { useRoute, useRouter } from 'vue-router'; const route = useRoute(); cons
|
|
|
import { formatName } from '@/utils/getText'
|
|
|
import { dealDictArrayData } from '@/utils/position'
|
|
|
|
|
|
+const cursor = ref([
|
|
|
+ // "https://menduner.citupro.com:3443/dev/9de969f4723dd8819794fcd2d91b47a2f2b6f16993908712a53ee6a21f6735f1.jpg",
|
|
|
+ "https://menduner.citupro.com:3443/dev/b263663417d6f0d8a5822ca4c1f607503d661c7e17269e7f60cf32f9eed91d77.jpg"
|
|
|
+])
|
|
|
const breadcrumbs = ref([
|
|
|
{ text: '招聘会', path: '/recruit/personal/jobFair' },
|
|
|
{ text: '', path: '', disabled: true }
|
|
@@ -50,7 +77,8 @@ const handleClick = (item) => {
|
|
|
const getJobFairDetail = async () => {
|
|
|
const data = await getJobFair(route?.params?.id)
|
|
|
if (!data) return
|
|
|
- breadcrumbs.value[breadcrumbs.value.length - 1].text = data.title.replace(/<\/?p[^>]*>/gi, '')
|
|
|
+ // breadcrumbs.value[breadcrumbs.value.length - 1].text = data.title.replace(/<\/?p[^>]*>/gi, '')
|
|
|
+ document.title = data.title.replace(/<\/?p[^>]*>/gi, '')
|
|
|
}
|
|
|
getJobFairDetail()
|
|
|
|
|
@@ -111,7 +139,7 @@ const handleChangePage = () => {
|
|
|
position: sticky;
|
|
|
top: 62px;
|
|
|
border-radius: 12px;
|
|
|
- background-color: #fff;
|
|
|
+ // background-color: #fff;
|
|
|
margin-top: 12px;
|
|
|
height: calc(100vh - 127px);
|
|
|
widows: 100%;
|
|
@@ -138,8 +166,8 @@ const handleChangePage = () => {
|
|
|
}
|
|
|
}
|
|
|
::-webkit-scrollbar {
|
|
|
- width: 4px;
|
|
|
- height: 10px;
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
}
|
|
|
::-webkit-scrollbar-thumb, .temporaryAdd ::-webkit-scrollbar-thumb, .details_edit ::-webkit-scrollbar-thumb {
|
|
|
// 滚动条-颜色
|