This commit is contained in:
yixu
2025-09-16 16:21:41 +08:00
parent c68b99abd5
commit 9ac7d56e88
14 changed files with 178 additions and 44 deletions

View File

@@ -197,7 +197,7 @@ const handleHaibao = async () => {
haibaoSave.add(url, 64, 250)
haibaoSave.add(qrcode, 115, 1875)
haibaoSave.draw().then(() => {
haibaoSave.text(infos.nickname, haibaoSave.canvas.width / 2, 200, { font: 'bold 50px Arial', color: '#ffee6f' })
haibaoSave.text(infos.nickname + '的全家福', haibaoSave.canvas.width / 2, 200, { font: 'bold 50px Arial', color: '#fcf2b3' })
haibaoSave.generate({ mimeType: 'image/png' }).then(url => {
haibaoUrl.value = url
loading.hide()