通过jQuery的qrcode插件来实现二维码的展示
首先加载jq,然后加载qrcode
git地址:https://github.com/jeromeetienne/jquery-qrcode
代码如下:
$("#id").qrcode({
200, //宽度
height:200, //高度
text: "http://v.cnhzh.com/products/product-12990.html" //页面链接
});
通过jQuery的qrcode插件来实现二维码的展示
首先加载jq,然后加载qrcode
git地址:https://github.com/jeromeetienne/jquery-qrcode
代码如下:
$("#id").qrcode({
200, //宽度
height:200, //高度
text: "http://v.cnhzh.com/products/product-12990.html" //页面链接
});