fix: use 3Dmodule zip

This commit is contained in:
xiaoma
2026-02-02 21:03:41 +08:00
parent 69c8a88571
commit b83d9377c0
4 changed files with 145 additions and 12 deletions

View File

@@ -131,14 +131,23 @@ const Home = () => {
justifyContent: 'center',
alignItems: 'center',
color: '#444',
borderBottom: '1px solid rgba(255,255,255,0.05)'
borderBottom: '1px solid rgba(255,255,255,0.05)',
overflow: 'hidden'
}}>
<motion.div
animate={{ y: [0, -10, 0] }}
transition={{ repeat: Infinity, duration: 3, ease: "easeInOut" }}
>
<RocketOutlined style={{ fontSize: 60, color: '#00b96b' }} />
</motion.div>
{product.static_image_url ? (
<img
src={product.static_image_url}
alt={product.name}
style={{ width: '100%', height: '100%', objectFit: 'cover' }}
/>
) : (
<motion.div
animate={{ y: [0, -10, 0] }}
transition={{ repeat: Infinity, duration: 3, ease: "easeInOut" }}
>
<RocketOutlined style={{ fontSize: 60, color: '#00b96b' }} />
</motion.div>
)}
</div>
}
onClick={() => navigate(`/product/${product.id}`)}