<template>
	<div v-if="visible" class="popup-model station-model comp-container">
		<div class="station-title" style="font-size: 16px;">领导信息</div>
		<i class="icon el-icon-close" @click="close"></i>
		<div class="content">
			<div class="content-header" style="font-size: 14px;">
				<img :src="parmas.img" alt="" style="width: 100px;">
				<p style="font-size: 14px;">{{parmas.name}}</p>
				<p style="font-size: 14px;">{{parmas.position}}</p>
			</div>
			<div class="content-footer" >
				<div class="title"  style="font-size: 14px;">领导分工</div>
				<p style="font-size: 13px;">
					 &emsp; &emsp;{{parmas.task}}
				</p>
				<div class="title" style="font-size: 14px;">个人简历</div>
				<p style="font-size: 13px;">
					 &emsp; &emsp;{{parmas.resume}}
				</p>
			</div>
		</div>
		<div class="station-content" v-html="parmas.content">
			
		</div>
	</div>
</template>

<script>
	import digitalReservoir from '@/api/frontScreen/digitalReservoir.js'
	export default {
		name: 'historyModel',
		data() {
			return {
				visible: false,
				parmas:{}
				
			}
		},
		methods: {
			open(val) {
				this.parmas = val
				this.visible = true
				
		
			},
			close() {
				this.visible = false
				this.$emit('close')
			},
		},
	}
</script>

<style lang="scss" scoped>
	@import './../css/gisComp.scss';

	.popup-model {
		width: 700PX;
		height: 80%;
		position: absolute;
		top: 50%;
		left: 50%;
		line-height: 30px;
		transform: translate(-50%, -50%);
		background-color: rgba(0, 0, 0, 0.8);
		z-index: 99;
		border: 1px solid #d2d6dc;
		border-radius: 6px;
		color: #d3d4d7;
		font-weight: bold;
		padding: 20px;
		box-sizing: border-box;
		// overflow-y: auto;
		.el-icon-close {
			position: absolute;
			right: 6px;
			top: 6px;
			font-size: 20px;
			color: #f56c6c;
			cursor: pointer;
		}

		.station-title {
			text-align: center;
			font-size: 16px;
			height: 20px;
			line-height: 20px;
			font-weight: 700;
			margin-bottom: 16px;
		}

		.station-content {
			height: calc(100% - 36px);
			width: 100%;
			overflow-y:auto;
		}
	}
	.content{
		
		.content-header{
			text-align: center;
			font-weight: bold;
		}
		.content-footer{
			.title{
				font-size: 14px;
				border-left: 4px solid 	#1DB6FC;
				padding-left: 10px;
				color: 	#1DB6FC;
				font-weight: bold;
			}
		}
	}
</style>
