feat: 样式调整

This commit is contained in:
2026-04-28 14:10:02 +08:00
parent 4d975417da
commit 604236a7b2
2 changed files with 3 additions and 3 deletions

View File

@@ -241,7 +241,7 @@ const getSlotState = (role) => {
const buildCardStyle = (role) => {
const state = getSlotState(role);
return {
transform: `translate3d(-50%, -50%, 0) translateX(${state.x}px) scale(${state.scale})`,
transform: `translate3d(-50%, 0, 0) translateX(${state.x}px) scale(${state.scale})`,
opacity: state.opacity,
zIndex: getCardZIndex(role),
transition: isDragging.value