<template>
	<div class="all">
		<!-- <img class="showBg" src="../../assets/vehicle/showBg.jpg" alt=""> -->
		<img class="imgBg" src="../../assets/vehicle/imgBg.jpg" alt="">
		<div class="content">
			<img class="imgWord1" src="../../assets/vehicle/imgWord1_2_2.png" alt="">
			<img class="imgWord2" src="../../assets/vehicle/imgWord2_2_1.png" alt="">
			<img class="imgWord3" src="../../assets/vehicle/imgWord2_2_2.png" alt="">
			<div class="contPic">
				<img class="bigImg" src="../../assets/vehicle/contImg2_2.png" alt="">
				<img @click="showMaskfn(1)" class="imgLeft" src="../../assets/vehicle/click2_2_1.png" alt="">
				<img @click="showMaskfn(2)" class="imgRight" src="../../assets/vehicle/click2_2_2.png" alt="">
				<img @click="showMaskfn(3)" class="imgRight2" src="../../assets/vehicle/click2_2_3.png" alt="">
				<img class="click1" src="../../assets/pageRedDot.png" alt="">
				<img class="click2" src="../../assets/pageRedDot.png" alt="">
				<img class="click3" src="../../assets/pageRedDot.png" alt="">
			</div>
			<img class="imgWord4" src="../../assets/vehicle/imgWord2_2_3.png" alt="">
		</div>
		<!-- 弹框 -->
		<div class="maskAll" v-if="showMask">
			<img v-if="showMaskNum==1" class="mask1_1" src="../../assets/vehicle/mask2_2.jpg" alt="">
			<img v-if="showMaskNum==2" class="mask1_1" src="../../assets/vehicle/mask2_3.jpg" alt="">
			<img v-if="showMaskNum==3" class="mask1_1" src="../../assets/vehicle/mask2_4.jpg" alt="">
			<img @click="showMask=false" class="dele" src="../../assets/vehicle/dele.png" alt="">
		</div>
		<Sidebar class="slide"></Sidebar>
	</div>
</template>

<script>
	import Sidebar from "../../components/sidebar";
	export default{
		name:"highshowarea",
		components:{Sidebar},
		data(){
			return{
				showMask:false,//弹框显示
				showMaskNum:null,
			}
		},
		methods:{
			showMaskfn(e){
				this.showMask = true;
				if(e==1){
					this.showMaskNum = 1;
				}else if(e==2){
					this.showMaskNum = 2;
				}else{
					this.showMaskNum = 3;
				}
			}
		}
	}
</script>

<style scoped="scoped">
	.slide{
		position: fixed;
		top: 0.3rem;
		left: 0.3rem;
	}
	*{
		padding: 0;
		margin: 0;
	}
	.all{
		width: 100%;
		height: 100%;
	}
	.showBg,.imgBg,.maskAll{
		width: 100%;
		height: 100%;
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		
	}
	.content{
		width: 100%;
		height: 12.06rem;
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		color: #c4c4c3;
		text-align: left;
	}
	.imgWord1{
		width: 1.46rem;
		height: 0.46rem;
		margin-left: 3.05rem;
		margin-top: 0.05rem;
	}
	.imgWord2{
		width: 4.46rem;
		height: 0.51rem;
		margin-left: 0.6rem;
		margin-top: 0.7rem;
	}
	
	.imgWord3{
		width: 6.07rem;
		height: 0.73rem;
		margin-left: 0.6rem;
		margin-top: 0.3rem;
	}
	.imgWord4{
		width: 5.81rem;
		height: 1.34rem;
		margin-left: 0.6rem;
		margin-top: 7.6rem;
	}
	.contPic{
		position: relative;
	}
	.bigImg{
		width: 6.93rem;
		height: 6.3rem;
		position: absolute;
		top: 0.48rem;
		left: 0.3rem;
	}
	.imgLeft{
		width: 1.64rem;
		height: 2.54rem;
		position: absolute;
		top: 1.1rem;
		left: 1.7rem;
	}
	.imgRight{
		width: 0.73rem;
		height: 1.6rem;
		position: absolute;
		top: 2.8rem;
		right: 1.2rem;
	}
	.imgRight2{
		width: 0.52rem;
		height: 1.35rem;
		position: absolute;
		top: 4.3rem;
		right: 1.9rem;
	}
	.click1{
		width: 0.29rem;
		height: 0.29rem;
		position: absolute;
		top: 1rem;
		left: 1.5rem;
		animation: dotTwinkle 3s linear infinite;
	}
	.click2{
		width: 0.29rem;
		height: 0.29rem;
		position: absolute;
		top: 2.8rem;
		right: 1.1rem;
		animation: dotTwinkle 3s linear infinite;
	}
	.click3{
		width: 0.29rem;
		height: 0.29rem;
		position: absolute;
		top: 5.6rem;
		right: 2.1rem;
		animation: dotTwinkle 3s linear infinite;
	}
	@keyframes dotTwinkle {
		0%{opacity: 0.2}
		50%{opacity:1}
		100%{opacity:0.2}
	}
	.mask1_1{
		width: 100%;
		height: 15.06rem;
		position: absolute;
		top: 50%;
		left:0rem;
		transform: translateY(-50%);
	}
	.dele{
		width: 0.8rem;
		height: 0.8rem;
		position: absolute;
		bottom: 1.5rem;
		left:50%;
		transform: translateX(-50%);
	}
</style>
