M522828
M522828
  • 发布:2015-03-30 17:27
  • 更新:2016-05-21 08:43
  • 阅读:1794

二维码控件如何自定义?

分类:HTML5+

调用 new plus.barcode.Barcode('barcode') 出来的二维码控件如下图:

而我想实现如下效果:

如何实现?

2015-03-30 17:27 负责人:无 分享
已邀请:
Wells

Wells

var filter = [plus.barcode.QR];
var styles = {frameColor: "#17E7A4",scanbarColor: "#17E7A4",background: "#17E7A4"};
scan = new plus.barcode.Barcode('bcid', filter, styles);
修改styles里面的三个参数的值

该问题目前已经被锁定, 无法添加新回复