溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Web生成二維碼的兩種方式

發(fā)布時間:2020-05-30 10:14:41 來源:網絡 閱讀:1846 作者:yuanhuan_2005 欄目:web開發(fā)

方式1:使用sinaapp提供的接口生成,HTML代碼如下:

<html>        
<body>          
<h4>qrcode based on sinaapp:</h4>          
<img src="http://qrcoder.sinaapp.com?t=http://www.163.com">          
</body>          
</html>

Web生成二維碼的兩種方式

方式1:使用sinaapp提供的接口生成,HTML代碼如下:

<html>        
<head>          
<script type='text/javascript' src='http://cdn.staticfile.org/jquery/2.1.1/jquery.min.js'></script>          
<script type="text/javascript" src="http://cdn.staticfile.org/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>          
<script>          
jQuery(function(){          
jQuery('#qrcode').qrcode("http://www.163.com");          
})          
</script>          
</head>          
<body>          
<h4>qrcode based on jquery.qrcode:</h4>          
<div id="qrcode"></div>          
</body>          
</html>

Web生成二維碼的兩種方式

向AI問一下細節(jié)

免責聲明:本站發(fā)布的內容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI