<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,height=device-height, user-scalable=no,initial-scale=1, minimum-scale=1, maximum-scale=1,target-densitydpi=device-dpi "> 
	<title>令令开门</title>
	<script type="text/javascript" src="${ctx }/scripts/common/jquery-1.11.1.js"></script>
	<script type="text/javascript" src="${ctx }/scripts/common/jquery.qrcode.js"></script>
	<script type="text/javascript" src="${ctx }/scripts/common/qrcode.js"></script>
	<script type="text/javascript" src="${ctx }/scripts/common/utf.js"></script>
</head>
	<style type="text/css">
   .code{text-align: center;margin: 50 50 0 0;margin-top: 10rem;}
	.contnet{text-align: center;margin-left:2rem;}
	</style>
	<body>
	<p class="content">令令二维码，扫描即可开门</p>
 	<div id="qrcodeCanvas" class="code"></div>
		 <script> 
		     jQuery('#qrcodeCanvas').qrcode({
		     	 render    : "canvas",
		         text    : "D532DB732A16814702976037C7B50A314B5F15FCC8C7CE1799086874722C44FB99086874C57FB96E123456AA",
		         width : "250",               //二维码的宽度
                 height : "250",              //二维码的高度
                 background : "#ffffff",       //二维码的后景色
                 foreground : "#000000",        //二维码的前景色
                 // src: 'img/1.jpg'             //二维码中间的图片
		     });    
		 </script>
	</body>
</html>