From a8ab093eae4b2b3023ef8c71e37d67182e5d8342 Mon Sep 17 00:00:00 2001
From: ZF sun <34314687@qq.com>
Date: Fri, 7 Aug 2026 17:28:15 +0800
Subject: [PATCH] =?UTF-8?q?fix(diy-recommend-code):=20Minimal=20=E9=A3=8E?=
=?UTF-8?q?=E6=A0=BC=E7=AB=8B=E5=8D=B3=E5=88=86=E4=BA=AB=E6=8C=89=E9=92=AE?=
=?UTF-8?q?=E6=94=B9=E7=BA=A2=E6=A9=99=E6=B8=90=E5=8F=98=E8=83=B6=E5=9B=8A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
之前后端 diyData.buttonBgColor 默认 #E4393C 覆盖了 Minimal 风格的
linear-gradient(90deg,#FF6B6B 0%,#FF4444 100%) 默认值,导致「立即分享」
按钮显示为红色实心,与设计参考图不一致。
调整内容:
- 立即分享按钮固定走红橙渐变 linear-gradient(90deg,#FF6B6B 0%,#FF4444 100%)
不再读 diyData.buttonBgColor(与 Card/Gradient/Horizontal 风格保持统一)
- H5 端 view fallback 同步(与已有 H5 风格统一处理)
影响范围:仅 Minimal 极简风格(stylePreset === 'minimal')。
---
components-diy/diy-recommend-code.vue | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/components-diy/diy-recommend-code.vue b/components-diy/diy-recommend-code.vue
index 4a985a8..749b89b 100644
--- a/components-diy/diy-recommend-code.vue
+++ b/components-diy/diy-recommend-code.vue
@@ -174,10 +174,15 @@
复制推荐码
-
-