审计记录

WebContent/WEB-INF/jsp/weixin/redpackage.jsp 3.2 KB
zxt@theyeasy.com committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>领取红包</title>
<style>
body {
	margin: 0;
	background-color: #f1f1f1;
}

@media screen and (max-width: 321px) {
	html {
		font-size: 13px;
	}
}

@media ( min-width : 321px) and (max-width: 480px) {
	html {
		font-size: 15px;
	}
}

@media screen and (min-width: 481px) {
	html {
		font-size: 18px;
	}
}

.header {
	position: relative;
}

.h1 {
	background-color: rgb(216, 89, 64);
	color: rgb(255, 226, 177);
	width: 100%;
	height: 4.67rem;
	line-height: 4.67rem;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2
}

.yuan {
	width: 100%;
	height: 9.34rem;
	background-color: rgb(216, 89, 64);
	border-radius: 100%;
	position: absolute;
	top: 0px;
	left: 0;
	z-index: 1;
}

.logo {
	width: 4rem;
	height: 4rem;
	border: 1px solid rgb(255, 226, 177);
	position: absolute;
	top: 6.67rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	border-radius: 4px;
}

.logo img {
	width: 100%;
	height: 100%;
	border-radius: 4px;
}

.content {
	background-color: #f1f1f1;
	width: 100%;
	height: 23.67rem;
	padding-top: 12rem;
	box-sizing: border-box;
	text-align: center;
}

.title {
	font-size: 1.2rem;
	letter-spacing: 4px;
	font-weight: bold;
}

.subTitle {
	font-size: 0.8rem;
	margin-top: 0.8rem;
	letter-spacing: 3px;
}

.money {
	font-size: 2.6rem;
	font-weight: bold;
	font-family: '黑体'
}

.moneyBox {
	margin-top: 1rem;
}

.tip {
	margin: 1.4rem 0;
	font-size: 0.8rem;
	color: rgb(87, 118, 179);
	letter-spacing: 2px;
}

.closeBox {
	height: 4.67rem;
	line-height: 4.67rem;
	font-size: 1.1rem;
	font-weight: bold;
	color: #666;
	text-align: center;
	border-bottom: 1px solid #eee;
}

.closeBox button {
	border: none;
	background-color: #1AAD19;
	border: 1px solid #179B16;
	color: #fff;
	width: 80%;
	height: 40px;
	border-radius: 4px;
}
</style>
</head>

<body>
	<div class="header">
		<div class="h1">微信红包</div>
		<div class="yuan"></div>
		<div class="logo">
			<img src="../../res/images/vanke_logo.png" alt="">
		</div>
	</div>
	<div class="content">
		<div class="title">万小二的红包</div>
		<div class="subTitle">买房就找万小二</div>
		<div class="moneyBox">
			<span class="money">0</span> <span>元</span>
		</div>
			<div class="tip">
				红包已入帐,请到【微信支付】消息处查收。
			</div>
	</div>
	<div class="closeBox">
		<button onclick="fn()">我知道了</button>
	</div>
	<script src='/zzhnc/res/js/jquery.min.js'></script>
	<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js" type="text/javascript"></script>
	<script type="text/javascript">
		function getUrl_G(name) {  
		    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");  
		    var r = window.location.search.substr(1).match(reg);  
		    if (r != null) return unescape(r[2]); return null;  
		}
		
		var mny = getUrl_G("mny");
		$(".money").html(mny);
		
		function fn() {
			wx.closeWindow();
		}
		
		
	</script>
</body>

</html>