topus.html 4.3 KB
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/swiper-3.4.2.min.css" />
		<link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/init.css" />
		<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_647640_n3cow34ja3gzaor.css" />
		<link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/PersonCenter/topus.css" />
		<script src="/themes/simplebootx/Portal/Template/js/base.js" type="text/javascript" charset="utf-8"></script>
		<title>充值</title>
		<style>
			.wrapper{
				    width: 8rem;
				    height: 100%;
				    background-color: rgba(0,0,0,0.5);
				    position: fixed;
				    z-index: 2;
				    margin-left: -0.4rem;
				    
			}
			.illustrate{
				width: 6.48rem;
			    height: 7.2rem;
			    position: absolute;
			    z-index: 3;
			    background-color: #FFFFFF;
			    left: 1rem;
			    top: 2.63rem;
			    display: flex;
			    flex-direction: column;
			    align-items: center;
			    border-radius: 0.15rem;
			}
			.certain{
				width: 6.48rem;
				height:0.8rem;
				background:RGBA(0, 145, 229, 1);
				color:#FFFFFF;
				border:none;
				outline:none;
				position:absolute;;
				top:6.7rem;
			}
			/*标题*/
			.title{
				position:absolute;
				top:0.4rem;
			}
			.explain{
				font-size: 0.4rem;
				color:RGBA(51, 51, 51, 1);
			}
			.text{
				font-size: 0.3rem;
				position:absolute;
				top:1.2rem;
				width:5.4rem;
				color:RGBA(102, 102, 102, 1);
				height:5.2rem;
				overflow: auto;
			}
		</style>
	</head>
	<body>
		<div class="container" id="card">
			<!--弹出框-->
			<!--遮罩层-->
			<div class="wrapper">
				<!--弹出内容-->
				<div class="illustrate">
				<div class="title">
					<p class="explain">充值卡使用说明</p>
				</div>
				<div class="text">
					美食美食美食美食美食美食美食美食
					美食美食美食美食美食美食美食美食
					美食美食美食美食
					美食美食美食美食
					美食美食美食美食
					美食美食美食美食美食美食美食美食
					美食美食美食美食美食美食美食美食
					美食美食美食美食
					美食美食美食美食
					美食美食美食美食
					美食美食美食美食美食美食美食美食
					美食美食美食美食美食美食美食美食
					美食美食美食美食
					美食美食美食美食
					美食美食美食美食
					美食美食美食美食美食美食美食美食
					美食美食美食美食美食美食美食美食
					美食美食美食美食
					美食美食美食美食
					美食美食美食美食
				</div>
				<button class="certain">确定</button>
				</div>
			</div>
			
			<div class="header">
				<i class="iconfont icon-my_icon"></i><p>充值卡使用说明</p>
			</div>
			<div class="top_us_card" v-for="item in cardindex" :id="item.id">
				<p class="top_us_num">充值面额</p>
				<div class="top_us_num_wrap">
					<p class="forever">有效期:永久</p>
					<p class="give_num">赠送{{item.bonus}}元</p>
					<span class="btn" @click="recharge(item)">立即充值</span>
				</div>
				<div class="money">
					<p class="icon">¥</p><p class="money_num">{{item.denomination}}</p>
				</div>
			</div>
		</div>
		<script src="/themes/simplebootx/Portal/Template/js/vue.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="/themes/simplebootx/Portal/Template/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="/themes/simplebootx/Portal/Template/js/cookie.js" type="text/javascript" charset="utf-8"></script>
		<script src="/themes/simplebootx/Portal/Template/js/swiper-3.4.2.jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="/themes/simplebootx/Portal/Template/js/topus.js" type="text/javascript" charset="utf-8"></script>
		<script>
			$(".certain").click(function(){
				$('.wrapper').css("display","none")
			});
			$(".wrapper").click(function(){
				$(this).css("display","none")
			});
			//充值卡充值弹出弹出框
			$(".header").click(function(){
//				alert(111)
				$(".wrapper").css("display","block")
			});
			
			
		</script>
		
	</body>
</html>