From f02323e350d9b167748924842c1085e9dc8a2dec Mon Sep 17 00:00:00 2001 From: zhaichao Date: Fri, 30 Oct 2026 11:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=86=E8=97=8F=E8=BD=AE=E6=92=AD=E5=9B=BE?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/Dashboard.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/Dashboard.vue b/frontend/src/views/Dashboard.vue index 87267d3..3c9c4c7 100644 --- a/frontend/src/views/Dashboard.vue +++ b/frontend/src/views/Dashboard.vue @@ -74,10 +74,10 @@ async function fetchSpecials() { } bookMeta.value = specials.value.map((_, i) => ({ color: bookColors[i % bookColors.length], - rz: (Math.random() * 8 - 4).toFixed(2) + 'deg', // -4deg ~ 4deg - ry: (Math.random() * 16 - 8).toFixed(2) + 'deg', // -8deg ~ 8deg - sc: (0.9 + Math.random() * 0.1).toFixed(3), // 0.9 ~ 1 - delay: (-Math.random() * 5).toFixed(2) + 's' // 0s ~ -5s + rz: '0deg', // 统一姿态,避免歪斜 + ry: '-5deg', // 统一轻微 3D 立体感 + sc: '1', // 统一大小,对齐基线 + delay: '0s' // 同步呼吸浮动,整体节奏一致 })) }