<template>
	<layout-page>
		<view @tap="handleTo">企业-简历</view>
	</layout-page>
</template>

<script setup>
	import layoutPage from '@/layout'
	import { onShow } from '@dcloudio/uni-app'
	
	// 设置自定义tabbar选中值
	onShow(() => {
	    const currentPage = getCurrentPages()[0];  // 获取当前页面实例
	    const currentTabBar = currentPage?.getTabBar?.();
	
	    // 设置当前tab页的下标index
	    currentTabBar?.setData({ selected: 0 });
	})

	const handleTo = () => {
		uni.navigateTo({
			url: '/pagesB/personnelDetails/index?id=1'
		})
	}
</script>

<style scoped lang="scss">

</style>
