前端: - 新增文章详情页 (ArticleDetail.jsx) - 文章内容展示 - 点赞、收藏、分享功能 - 评分系统 - 评论功能 - 相关文章推荐 - 新增服务详情页 (ServiceDetail.jsx) - 服务信息展示 - 图片画廊 - 营业时间、价格范围 - 用户评价和评分分布 - 相关服务推荐 - 地图位置 - 更新路由配置 - 扩展 API 接口(点赞、收藏) 样式: - ArticleDetail.css - 文章详情页样式 - ServiceDetail.css - 服务详情页样式
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.