<template>
  <div id="app">
    <keep-alive>
      <router-view></router-view>
    </keep-alive>
		<div class="contant">
			<div type="button" class="slidebtn" @click='kefushow=!kefushow'><img src="../static/img/kefuicon.png"><span><br>联<br>系<br>客<br>服</span></div>
			<div class="contant-box" v-show='kefushow==true'>
				<div class="wechart">
					<img src="../static/img/fx66kefufu.jpg">
					<p>微信 fx66客服</p>
				</div>
				<div class="phone">
					<div>
						<p>电话咨询</p>
					</div>
					<img src="../static/img/phoneicon.png">
					<p>+8617354718363</p>
				</div>
			</div>
		</div>
  </div>
</template>

<script>
export default {
  name: 'App',
  data(){
  	return{
  		kefushow:false
  	}
  }
  
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
.contant{
	position: fixed;
  top: 28%;
  right: 0;
  z-index: 100;
	.slidebtn{
		width: 36px;
    height: 120px;
    background: #20a0ff;
    position: absolute;
    margin-left: -36px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
    margin-top: 108px;
    text-align: center;
    img{
    	width: 28px;
    	height: 28px;
    	margin-top: 10px;
    }
    span{
    	color: #fffc00;
    	font-size: 14px;
    	line-height: 14px;
    }
	}
	.contant-box{
		box-shadow: 0 3px 5px 2px rgba(26,0,0,.4);
    width: 150px;
    background: #20a0ff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    .wechart{
    	background: #fff;
    	width: 130px;
    	margin: 0 auto;
    	border-radius: 10px;
    	img{
				width: 120px;
				height: 120px;
    	}
    	p{
				font-size: 13px;
				font-weight: bold;
				color: #20a0ff;
				margin-top: -10px;
				padding-bottom: 10px;
    	}
    }
    .phone{
    	height: 130px;
    	padding: 10px 5px;
    	background: #fff;
    	width: 130px;
    	margin: 10px auto 0;
    	border-radius: 10px;
    	div{
    		border-bottom: 1px solid #e5e5e5;
    		p{
    			text-align: left;
    			margin-left: 10px;
    		}
    	}
    	img{
				width: 37px;
				height: 31px;
				margin-top: 10px;
    	}
    	p{
				font-size: 14px;
    		color: #333;
    		font-weight: 700;
    		line-height: 30px;
    	}
    }
	}
}

</style>
