<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/jquery.qrcode.min.js" ></script>
<script type="text/javascript">
$(function(){
//生成二维码
var result = "<?php echo $output['qr_url'];?>";
if (result) {
$('#qrcode').qrcode({
width:150,
height:150,
text:"<?php echo $output['qr_url'];?>"
});
}
//提交表单
$("#submitBtn").click(function(){
$("#store_form").submit();
});
});
</script>