From d2d1305d26cf311961240d64101943adef94e311 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com>
Date: Wed, 21 Oct 2026 16:22:27 +0800
Subject: [PATCH] =?UTF-8?q?fix(=E7=A4=BC=E7=89=A9=E6=B5=B7=E6=8A=A5):=20?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BF=9D=E5=AD=98=E6=B5=B7=E6=8A=A5=E7=A9=BA?=
=?UTF-8?q?=E7=99=BD=E5=B9=B6=E5=90=8C=E6=BA=90=E5=8C=96=E7=BB=98=E5=88=B6?=
=?UTF-8?q?=E5=9B=BE=E7=89=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 组件内置离屏画布并按组件实例创建上下文,补齐缺失的海报画布
- 头像/二维码缺失时跳过绘制,二维码异步生成等待后再绘制
- 失败时提示海报生成失败,关闭弹窗重置海报状态
- 开发环境代理 /uploads、/statics,规避 canvas 跨域污染
---
.../order_pay_status/components/giftModal.vue | 441 +++++++++++-------
frontend/uni-app/vite.config.js | 11 +
2 files changed, 283 insertions(+), 169 deletions(-)
diff --git a/frontend/uni-app/src/pages/goods/order_pay_status/components/giftModal.vue b/frontend/uni-app/src/pages/goods/order_pay_status/components/giftModal.vue
index bc4ae37d7..333362ca8 100644
--- a/frontend/uni-app/src/pages/goods/order_pay_status/components/giftModal.vue
+++ b/frontend/uni-app/src/pages/goods/order_pay_status/components/giftModal.vue
@@ -4,16 +4,39 @@
v-if="aleartStatus"
:style="'background-image: url(' + giftbag + ');'"
>
+
+
{{ $t(`赠送给好友一份礼物`) }}
{{ giftData.message }}
-
+
{{ $t(giftData.title) }}
+
+
+
+
+
+
{{ $t("复制礼物链接") }}
@@ -35,29 +58,11 @@
{{ $t(`长按图片可以保存到手机`) }}
-
-
-