diff --git a/app/(tabs)/sync.tsx b/app/(tabs)/sync.tsx index 9e67eb3..96da4fa 100644 --- a/app/(tabs)/sync.tsx +++ b/app/(tabs)/sync.tsx @@ -853,31 +853,43 @@ const SelectionBar = memo( const FABButtons = memo(({ onGenAgain, handleSync }: { onGenAgain: () => void; handleSync: () => void }) => { const insets = useSafeAreaInsets() + const buttonHeight = 56 + const skewOffset = 8 // 统一所有平行四边形的倾斜角度 + const padding = 2 + + // 计算按钮宽度:父容器宽度(screenWidth - 32)减去间距(12px)后平分 + const buttonWidth = useMemo(() => (screenWidth - 16 * 2 - 12) / 2, []) return ( - - - - - 再次生成 - - + + + + + 再次生成 + + - - - - - 同步 - - + + + + + 同步 + +