<template>
	<div class="fast-menu">
		<div class="menu-list">
			<router-link v-for="(fastMenu,index) in fastMenu" :to="fastMenu.path" :key="index" class="header-right" exact><span><i class="iconfont" :class="fastMenu.icon"></i>{{fastMenu.name}}</span></router-link>
		</div>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				fastMenu:[
					{
						name:'数据中心',
						path:'/',
						icon:'sj-icon-shujzx'
					},
					{
						name:'事件中心',
						path:'/',
						icon:'sj-icon-sjzx'
					},
					{
						name:'监控中心',
						path:'/integrated/monitor',
						icon:'sj-icon-jkzx'
					},
					{
						name:'任务中心',
						path:'/',
						icon:'sj-icon-rwzx'
					},
					{
						name:'评测中心',
						path:'/',
						icon:'sj-icon-pczx'
					}
				]

			}
		}
	}
</script>

<style rel="stylesheet/scss" lang="scss">
	@import '@/assets/styles/base.scss';
.visual-con {
	.fast-menu {
		right: 0;
		position: absolute;
		display: flex;

		.menu-list {
			margin-left: 20px;
			display: flex;
			align-items: center;
			span {
				min-width: 5.625rem;
				font-size: 12px;
				display: flex;
				align-items: center;
				justify-content: center;
				padding: 10px;
				color: $fBlue;
				height: 100%;
				cursor: pointer;
				text-align: center;
				-webkit-transform: translateX(0px);
				transform: translateX(0px);
				transition: all 0.5s ease-in-out;


				i {
					padding-right: 3px;
				}
			}

			span:hover {
				filter: brightness(2.3);
				-webkit-transform: translateX(-5px);
				transform: translateX(-5px);
				transition: all 0.5s ease-in-out;
				color: $fBlueHover;
				background-color: #032530;
			}
		}

	}
	}
</style>
