Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

背景透明 #5

Open
lettgers opened this issue Jun 27, 2018 · 1 comment
Open

背景透明 #5

lettgers opened this issue Jun 27, 2018 · 1 comment

Comments

@lettgers
Copy link

生成的二维码背景是透明的,可以设置背景颜色吗?

@mablevi
Copy link

mablevi commented Nov 16, 2018

barcode.js 第269行
this.fg = "#000000"; // 条码色
this.bg = "rgba(0,0,0,0)"; // 背景色
修改这俩颜色就好啦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants