<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<jsp:include page="../../common.jsp" />
<script type="text/javascript" src="https://www.shouyinbei.net/resources/wap/js/jquery.qrcode.js"></script>
<script type="text/javascript" src="https://www.shouyinbei.net/resources/wap/js/qrcode.js"></script>
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport"
    content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>支付宝授权码</title>
</head>
<body class="bluebg">
        <div class="positionf wp100 left0 top0 zindex100 h40 tcenter">
            <div>
                <span class="white">支付宝授权码</span>
            </div>
        </div>
        <!-- 容器 -->
        <div class="weui-tab">
            <div class="mt50">
                <div class="ml20 mr20 pt20 fc cardbg">
                    <div class="lgraybg radius5" id="qrcodeTable" style="width: 210px;margin:15px auto"></div>
                    <div class="pt10 pb50 tcenter f14"><span class="f-red">*注:</span><span class="">请使用支付宝进件支付宝扫码</span></div>
                </div>
            </div>
        </div>
        <input type="hidden" id="website" value="${returnUrl}">
         <script type="text/javascript">
             $(function(){
               var website=$("#website").val();
                $(".lgraybg").height($(".lgraybg").width());
                jQuery('#qrcodeTable').qrcode({
                    //这种方式兼容IE8
                    text: website,
                     width:210,        // 宽度
                     height:210,
        });
            });
        </script>
    </body>
</html>