feat(report): 添加报告相关组件和 API

- 新增报告 API 文件,定义了多个后端请求方法
- 实现了多个报告相关组件,包括体型选择、基因风格、面部色彩维度等
- 添加了自定义 Swiper 组件和标签页组件
- 新增了一些工具函数,如数字转中文、获取最大元素等
This commit is contained in:
liguigong
2025-09-15 10:57:17 +08:00
parent 677123e6fd
commit 918d89eeae
23 changed files with 6199 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import request from '@/sheep/request';
const ReportApi = {
// 查询分类列表
getCategoryList: () => {
return request({
url: '/product/category/list',
method: 'GET',
});
},
// 查询分类列表,指定编号
getCategoryListByIds: (ids) => {
return request({
url: '/product/category/list-by-ids',
method: 'GET',
params: { ids },
});
},
};
export default ReportApi;