From 68ee0923902d9b612d1cf739df902d64b1908550 Mon Sep 17 00:00:00 2001 From: E99p1ant Date: Sun, 25 Aug 2024 17:21:44 +0800 Subject: [PATCH] template(list): update qrcode text --- templates/question/list.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/question/list.html b/templates/question/list.html index 0fab761..38ca1e2 100644 --- a/templates/question/list.html +++ b/templates/question/list.html @@ -33,7 +33,7 @@

{{ .PageUser.Name }}

+ style="position: absolute;max-width: 400px;max-height: 400px;top: 0;left: 0;right: 0;bottom: 0;background-image: url('https://box-user-assets.n3ko.cc/public/qrcode_bg');background-size: 100% 100%;background-repeat: no-repeat;user-select: none;-webkit-user-select: none;">
avatar{{ .PageUser.Name }}
{{ .PageUser.Name }} 的提问箱 +

扫一扫二维码 向我提问

@@ -52,7 +53,7 @@

{{ .PageUser.Name }}

const dataURL = canvas.toDataURL('image/png'); const link = document.createElement('a'); link.href = dataURL; - link.download = 'div-as-png.png'; + link.download = '提问箱二维码.png'; link.click(); }).finally(() => { loading = false;