该用户从未签到
|
<%@page contentType="text/html" pageEncoding="UTF-8"%> ) ~" H/ y0 V( H5 i
<!DOCTYPE html> ; ]) T! e2 o' P3 w B1 t9 V v
<html> 7 ?- @1 O: P* J
<head> 4 H9 |! i% ^3 {4 ?
<meta charset="UTF-8">
9 K. v2 Z+ e8 q7 N3 u) E* ^<title> jquery.qrcode.js</title>
# @* ?. H( p) {/ H: E; ~2 A! V
2 z' H" F. L( T8 {+ ]6 ?<%-- <script type="text/javascript" src="<%=request.getContextPath()%>/src/jquery.qrcode.js"></script> 0 X B" S8 T6 ]; m, }- F6 g$ |
<script type="text/javascript" src="<%=request.getContextPath()%>/src/qrcode.js"></script>
% m) b5 f% e3 j2 K<script type="text/javascript" language="javascript" src="<%=request.getContextPath()%>/src/jquery-1.9.1.min.js"></script>
0 }2 |% w4 b2 `/ s --%>
& F5 h% M2 v1 |$ C
, o. w P& [( z6 f$ V* b<%-- <script type="text/javascript" src="<%=request.getContextPath()%>/src/jquery-1.9.1.min.js"></script>. h* c) @! }/ a: u7 G. l6 d3 j# Z
--%><script type="text/javascript" src="<%=request.getContextPath()%>/src/jquery.qrcode.js"></script>" R: P: U, y- \: g: p
<script type="text/javascript" src="<%=request.getContextPath()%>/src/qrcode.js"></script>
* H/ r* e% H; Z+ Y5 ?
( J" I* J: y5 o& \! [<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.qrcode.min.js"></script>& G0 c- B' A5 o: L+ B; k* P1 h
1 G$ r4 F0 J# G: k
</head>
" n& R; C5 K9 U# L1 r( ~: p<body> / ^6 N) Z$ a& O
<p>二维码实例:</p>
5 R0 f3 Z* |# M2 I( n<p>1:Render in table</p> - z- a; I0 ^7 f' L
<div id="qrcodeTable"></div> 4 V4 E; f* g* G, y& ^! k7 n
<p>2:Render in canvas</p> 1 y t, h* W5 d) o& z g4 N
<div id="qrcodeCanvas"></div> + C3 V: x; g- j. r t: C
<script>
! U- O( [ @8 W/ S$ _0 ?+ e9 w jQuery('#qrcodeTable').qrcode({ 8 n) v7 r* P" h
render : "table",
k* k4 \9 W7 g/ @0 S width :128,
9 I, U$ |9 `7 B+ p( |; T" [ height :128, 4 a8 q" E( {& T l+ L
text : "http://jetienne.com"
2 q, S( }) H1 @% R, g });
4 y9 n2 h! J1 [" O$ } jQuery('#qrcodeCanvas').qrcode({ ( s9 |! S4 x/ P+ ?0 v$ t
width :128,
0 r3 b0 L; c2 }) a- `8 i height :128, " Y, w* \2 g' r" q
text : "www.baidu.com" , [% l% u. m, |4 D! L: [/ u2 T/ u
}); - Q* V2 t4 L) D0 {, @
</script> + X- h4 _9 O1 D: t: D, R1 w H
</body> + U- R4 V v. Y; m( T) Z, s4 u2 ~
</html>
7 B9 |( d5 A t0 w' e {' X- y
, W9 P* P1 ^$ `# Y9 o |
|