<template>
	<div class="join">
		<left-nav :navList="navList">
			<router-view></router-view>
		</left-nav>
	</div>
</template>

<script>
	import LeftNav from '../components/leftNav/LeftNav.vue'
	export default {
		components: {
			LeftNav
		},
		data() {
			return {
				navList: [
					{ index: 0, name: '爱心捐赠', path: '/donation/contribution' },
					{ index: 1, name: '遗体及器官捐献', path: '/donation/organDonation' },
					{ index: 2, name: '造血干细胞捐献', path: '/donation/Hpc' },
					// { index: 3, name: '加入就在身边志愿者', path: '/join/rescue' },
					{ index: 3, name: '会员入会登记', path: '/join/member' },
					{ index: 4, name: '志愿者报名', path: '/join/volunteer' },
					{ index: 5, name: '普及培训报名', path: '/join/train' },
					{ index: 6, name: '加入救在身边志愿者', path: '/join/rescue' },
				],
				rightTitle: '志愿者报名',
			}
		}
	}
</script>

<style lang="scss" scoped>
	.join {
		width: 1200px;
		margin: 0 auto;
		display: flex;
		justify-content: space-between;
		.right-wrapper {
			width: 915px;
			min-height: 776px;
			box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
		}
	}
</style>
