微信小程序条码、二维码生成模块
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
lettgers opened this issue 6 years ago · comments
生成的二维码背景是透明的,可以设置背景颜色吗?
barcode.js 第269行 this.fg = "#000000"; // 条码色 this.bg = "rgba(0,0,0,0)"; // 背景色 修改这俩颜色就好啦