qr外掛怎麼做?抖音小王子2021-06-30 05:46:15

text : “https://github。com/jeromeetienne/jquery-qrcode” //設定二維碼內容 render : “canvas”,//設定渲染方式 width : 256, //設定寬度 height : 256, //設定高度 typeNumber : -1, //計算模式 correctLevel : QRErrorCorrectLevel。H,//糾錯等級 background : “#ffffff”,//背景顏色 foreground : “#000000” //前景顏色 使用方式非常簡單 jQuery(‘#output’)。qrcode({width:200,height:200,correctLevel:0,text:content});