Commit Graph

312 Commits

Author SHA1 Message Date
6f08701847 fix: 修复无法搜索问题
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m51s
- 将搜索服务移至Server端
2025-11-14 14:59:03 +08:00
17bb8adee3 fix: 修复Server搜索问题
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m7s
- 将meilisearch搜索服务移至Server端
2025-11-14 14:57:55 +08:00
b2b631ed46 fix: 暂时将html渲染回滚到v-html
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m59s
- 暂时弃用html-renderer,改为v-html
- html-typography增添表格样式
2025-11-14 13:30:25 +08:00
ec9a097ef5 fix: 暂时弃用html-renderer将html渲染回滚到v-html
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m56s
- 增添table样式
2025-11-14 13:29:00 +08:00
3fb28c3f00 test: 优化测试代码
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m6s
- 显式导入相关依赖以避免Vitest的依赖问题

ISSUE: close: #46
2025-11-14 12:34:59 +08:00
d7bd034d7d test: 优化测试代码
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m5s
- 显式导入相关依赖以避免相关问题
2025-11-14 12:23:49 +08:00
341a9c4066 refactor: 将页面的Markdown渲染改为HTML渲染
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m57s
- 前后端通信:后端相关字段由Markdown改为WYSIWYG,前端做出响应更改
- 页面显示调整: 移除解决方案页创建日期显示
- 工具添加: 添加Asset处理方法,将CMS域名URL重写为Server API URL
- 代码整理:移除部分弃用代码

ISSUES: Close: #40 Resolve: #24
2025-11-14 11:48:17 +08:00
ee1597d2c3 fix: 调整URL转换的baseURL
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m54s
- 将baseURL由directus_url转为directus_public_url
2025-11-14 11:42:29 +08:00
17d10a7d80 chore: 移除部分无用代码
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m37s
2025-11-14 11:06:09 +08:00
54d0e297ea feat: 将Markdown渲染改为HTML渲染
- CMS相关字段由Markdown改为WYSIWYG,前端做出对应更改
- AssetUrl重写:将CMS地址重写为本地API
2025-11-14 11:06:00 +08:00
644dfa329c fix: 删除解决方案页的创建日期显示 2025-11-14 09:55:35 +08:00
100b79f99b feat: 将Solution的内容渲染有Markdown改为Html 2025-11-14 09:54:41 +08:00
f4f7e490b4 fix: 修正服务支持页面文本错误
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m56s
2025-11-14 08:06:00 +08:00
6418587738 fix: 修正服务支持页面描述文本错误
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m0s
2025-11-14 08:04:34 +08:00
6983f6568d feat!: 将QuestionList的内容渲染由Markdown改为HTML
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m10s
- 后端CMS字段由Markdown改为WYSIWYG因此前端做出对应修改
2025-11-14 00:07:31 +08:00
c860621e7a feat!: 将QuestionList的内容渲染由Markdown改为HTML
All checks were successful
deploy to server / build-and-deploy (push) Successful in 6m51s
- 后端CMS字段由Markdown改为WYSIWYG因此前端做出对应修改
2025-11-14 00:00:05 +08:00
154943815d refactor: 将Data到ViewModel的转换由App转移至Server端
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m42s
- 将逻辑转移到Server端后,简化前端逻辑
2025-11-13 20:51:09 +08:00
23f2700c0f refactor: 将Data到ViewModel的转换由App转移至Server端
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m15s
- 将逻辑转移到Server端后,简化前端逻辑
2025-11-13 20:45:43 +08:00
e215a4d498 fix: 修正GraphQL无法正常读取的问题
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m8s
- 将graphql查询文件移至server/assets,他们在构建后会以二进制形式写入server的存储中
- 在server端通过storage读取数据
2025-11-12 19:51:14 +08:00
50f0779a8e fix: 修正无法正常读取GraphQL的问题
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m22s
- 将GraphQL移至server/assets,在构建后会被写入server中
- 在server端通过storage读取数据
2025-11-12 19:49:17 +08:00
5ee6005ad1 refactor: 将前后端通信由app端移至server端
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m9s
- graphql请求的server端实现
- 文件请求的server端实现
2025-11-12 18:25:21 +08:00
a520775a8d refactor: 将文件请求由app端转到server端
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m2s
2025-11-12 18:19:21 +08:00
a5f3895794 refactor: 将数据获取从app端移至server端
- 调整数据获取位置以提升安全性
- 对于后端状态为Archived的数据,通过server控制不进行获取
2025-11-12 17:54:43 +08:00
58223734a2 feat: 前端请求添加Status控制
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m12s
- 产品页/解决方案页仅获取已发布条目
2025-11-12 14:50:55 +08:00
9163c7fe9a feat: 为前端请求添加Status控制
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m6s
- 在产品页/解决方案页等路由仅获取已发布条目
2025-11-12 14:48:51 +08:00
726c38a75d refactor: 重构项目的数据获取方法
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m1s
- 将相关数据获取由REST转为GraphQL
- 声明GraphQL模块
- 修改相关的Mapper与测试方法
2025-11-11 17:05:44 +08:00
81caa02d11 chore: 删除无用代码
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m30s
2025-11-11 17:02:02 +08:00
8213eec217 refactor: 关于我们页的API重构
Some checks failed
deploy to server / build-and-deploy (push) Has been cancelled
2025-11-11 17:01:18 +08:00
ac9e7b4436 refactor: 联系信息页的API重构 2025-11-11 16:58:40 +08:00
5ad6133252 refactor: 文档资料页的API重构 2025-11-11 16:55:41 +08:00
a07d77dde7 refactor: 问题列表的API重构 2025-11-11 16:49:58 +08:00
3e7b195002 refactor: 解决方案页的API重构 2025-11-11 16:43:08 +08:00
706b754905 refactor: 解决方案列表的API重构 2025-11-11 16:35:20 +08:00
0d77e97ad5 test: 完善测试 2025-11-11 16:15:05 +08:00
ac658e01ae refactor: 调整首页数据获取API
- 将首页的数据获取由REST重构为GraphQL
2025-11-11 16:14:58 +08:00
a93f508e85 refactor: 调整GraphQL导入形式
- 以纯文本形式导入
2025-11-11 16:08:24 +08:00
1290189d84 style: 格式化graphql文件 2025-11-11 16:01:20 +08:00
691dd34127 refactor: 产品页与产品列表的API重构
- 将产品页与产品列表的API由REST重构为GraphQL
- 修改Mapper与单元测试
2025-11-11 15:58:15 +08:00
7e7775ccc6 feat: 为Directus插件提供GraphQL支持
- 在Nuxt中引入GraphQL加载模块
- 为Directus引入GraphQl, Query
2025-11-11 15:52:27 +08:00
b234018f72 fix: 调整筛选条目排序权重
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m46s
- 以搜索条目匹配程度为标准排序
- 移除拼音支持
2025-11-10 17:28:24 +08:00
7b19f59409 fix: 调整筛选条目排序权重
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m49s
- 以搜索条目匹配程度为标准排序
- 移除拼音支持
2025-11-10 17:26:23 +08:00
9de6ab8799 fix: 调整模糊匹配阈值
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m6s
- 将阈值由0.3调整为0.6
2025-11-10 16:42:56 +08:00
86b0c29dcf fix: 调整模糊匹配阈值
Some checks failed
deploy to server / build-and-deploy (push) Has been cancelled
- 将阈值有0.3调整至0.6
2025-11-10 16:42:30 +08:00
352be1686a feat: 产品筛选器的模糊搜索
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m7s
- 引入前端依赖Fuse.js, pinyin-pro分别用于模糊匹配与拼音转换
- 新增Utils-fuzzyFilter,封装了Fuse的初始化/模糊匹配与相关工具函数
- 将前端由字符串匹配改为模糊匹配
2025-11-10 16:05:44 +08:00
710a0cdc5b feat: 支持拼音搜索
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m38s
- 使用pinyin-pro进行汉语拼音转换
- 调整搜索权重
2025-11-10 15:39:47 +08:00
4c8dfb5b56 feat: 产品筛选器的模糊搜索功能
- 引入纯前端依赖Fuse.js用于模糊匹配
- 新增Utils-fuzzyFilter封装Fuse的初始化与匹配
- 在前端将字符串匹配改为模糊匹配
2025-11-10 15:08:32 +08:00
007c8f9ce9 feat: 产品列表与解决方案列表的排序
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m4s
- 为产品/解决方案类型添加sort字段用于排序
- 各个栏目的类型按照sort升序排序
- 更新directus类型
2025-11-08 15:51:33 +08:00
0363a88785 feat: 解决方案列表页标签排序
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m1s
- 为SolutionType添加Sort字段用于排序
- 解决方案列表按照sort升序排序
2025-11-08 15:46:37 +08:00
308a080ea4 docs: 为ProductTypeView添加注释 2025-11-08 15:42:40 +08:00
a34cfaff6f fix: 修正product-list的遍历问题 2025-11-08 15:42:03 +08:00