做一个前端页面,电商平台的,要动效多一点,页面惊艳好看,超绝设计感,正常一点,当作真实商用项目来
- User
做一个前端页面,电商平台的,要动效多一点,页面惊艳好看,超绝设计感,正常一点,当作真实商用项目来
- Assistant
先搭一个偏真实商用的电商首页,并安装动效与图标依赖。
接下来我会搭数据层、全局样式,以及完整的电商首页组件结构。
Footer 已修好,接下来会补一个返回顶部按钮,并跑一次完整构建确认。
LUMINA 当代生活方式电商首页已经做好,并通过构建。
页面结构
- 顶部导航:滚动毛玻璃、搜索展开、移动端侧栏、购物车/心愿单数量
- 全屏 Hero 轮播:自动切换、进度条、左右切换、磁吸按钮
- 跑马灯:品牌服务信息横向滚动
- 服务卖点:配送 / 正品 / 退换 / 客服
- 分类入口:悬停放大 + 箭头旋转
- 精选商品:分类筛选、加入购物车、心愿单、评分与色点
- 系列大图:Quiet Luxury / Home Ritual
- 品牌故事:视差滚动与数据卡片
- 用户评价、订阅周刊、页脚
- 购物车抽屉:增删改数量、合计、清空
- Toast 提示 + 回到顶部
设计与动效
- 暖石色 + 深色对比,偏 Quiet Luxury 商业质感
- Framer Motion:入场模糊显现、卡片悬停、轮播过渡、抽屉弹簧动画
- 真实摄影图 + 完整可交互流程(加购、心愿单、筛选)
可直接预览使用;若要继续做商品详情页、结算流或后台管理,可以说一下优先项。
Files built:
src/data/products.ts,src/hooks/useCart.ts,src/components/ui/MagneticButton.tsx,src/components/ui/Reveal.tsx,src/components/Header.tsx,src/components/Hero.tsx,src/components/Marquee.tsx,src/components/Categories.tsx,src/components/ProductCard.tsx,src/components/FeaturedProducts.tsx,src/components/Collections.tsx,src/components/Story.tsx,src/components/Testimonials.tsx,src/components/Newsletter.tsx,src/components/Footer.tsx,src/components/CartDrawer.tsx,src/components/Toast.tsx,src/components/PromoBanner.tsx,src/App.tsx,src/index.css,index.html,src/components/BackToTop.tsx
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.