From 4c8051e45c3d8dd4aa0ad5240e0bf37840000bfd Mon Sep 17 00:00:00 2001 From: xiaoaojiao Date: Mon, 15 Sep 2025 16:22:43 +0800 Subject: [PATCH] =?UTF-8?q?todolist=20=E5=90=88=E6=88=90=E7=85=A7=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TodoList.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/TodoList.vue b/src/components/TodoList.vue index 02deef1..8ddea4b 100644 --- a/src/components/TodoList.vue +++ b/src/components/TodoList.vue @@ -49,6 +49,8 @@ const userhaibaoCover = computed(() => { return { backgroundImage: `url(${userHaibaoUrl.value})` } }) + + const handleHaibao = async () => { if (haibaoUrl.value) { return @@ -69,8 +71,8 @@ const handleHaibao = async () => { const haibaoSave = new Haibao(1080, 2160) const qrcode = await generateQR(`fromid=${infos.invite_code}&org_id=${infos.org_id}`, 200, 200) - haibaoSave.add(url, 62, 350) haibaoSave.add(bg, 0, 0) + 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' })