|
@@ -69,6 +69,7 @@ import { dealDictArrayData } from '@/utils/position'
|
|
|
import { getJobFairEnterprisePage, getJobFair } from '@/api/jobFair'
|
|
|
import SwiperAd from '@/components/SwiperAd'
|
|
|
import { formatName } from '@/utils/getText'
|
|
|
+import { getShareQueryById } from '@/api/jobFair.js'
|
|
|
|
|
|
const more = ref('more')
|
|
|
const listData = ref([])
|
|
@@ -81,6 +82,16 @@ const query = reactive({
|
|
|
const showShareBtn = ref(false)
|
|
|
|
|
|
onLoad(async (options) => {
|
|
|
+ // 海报二维码分享
|
|
|
+ if (options.scene) {
|
|
|
+ const scene = decodeURIComponent(options.scene)
|
|
|
+ console.log(scene, 'scene')
|
|
|
+ const key = scene.split('=')[1]
|
|
|
+ if (!key) return
|
|
|
+ const res = await getShareQueryById({key})
|
|
|
+ console.log(res, 'result')
|
|
|
+ options.jobFairId = res?.data?.jobFairId
|
|
|
+ }
|
|
|
if (options?.jobFairId) {
|
|
|
query.jobFairId = options.jobFairId
|
|
|
getJobFairDetail()
|