feat: 修改详细页图片闪烁bug

This commit is contained in:
zerosaturation 2026-06-04 17:58:54 +08:00
parent 7c94e9209d
commit 0e0570fbc8
2 changed files with 3 additions and 3 deletions

View File

@ -1002,8 +1002,6 @@ onUnmounted(() => {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
perspective: 800rpx;
transform-style: preserve-3d;
overflow: visible; overflow: visible;
} }
@ -1014,6 +1012,8 @@ onUnmounted(() => {
margin-bottom: 32rpx; margin-bottom: 32rpx;
animation: card-3d-flip 15s ease-in-out infinite; animation: card-3d-flip 15s ease-in-out infinite;
transform-origin: center center; transform-origin: center center;
perspective: 800rpx;
transform-style: preserve-3d;
overflow: visible; overflow: visible;
} }

View File

@ -39,7 +39,7 @@ const handleTabChange = (newTab) => {
"/pages/starbook/index", "/pages/starbook/index",
"/pages/castlove/mall", "/pages/castlove/mall",
"/pages/starcity/index", "/pages/starcity/index",
"/pages/square/square", "/pages/profile/myWorks",
]; ];
if (newTab >= 0 && newTab < routes.length) { if (newTab >= 0 && newTab < routes.length) {