Commit Graph

349 Commits

Author SHA1 Message Date
95252cd70a refactor: 对项目进行组件化重构
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m8s
- 将各个路由中比较复杂的部分单独提取为组件以提高可维护性
2025-10-29 17:56:15 +08:00
84b99deef6 refactor: 重构搜索页
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m56s
- 提取页面部分为SearchHeader与SearchTabs组件
2025-10-29 17:49:20 +08:00
667413dd12 refactor: 重构下载页
- 将download页的文件卡片单独提取为FileCard
2025-10-29 17:33:20 +08:00
00c4c80e49 refactor: 重构产品页
- 将产品详情页的相关部分提取为ProductHeader与ProductDetail两个组件
2025-10-29 17:19:49 +08:00
9982481c83 refactor: 将解决方案页文章提取为单独的组件 2025-10-29 17:03:28 +08:00
5f78c888a2 refactor: 重构faq与document页
- 将筛选器提取为单独的组件ProductFilters
2025-10-29 16:42:48 +08:00
c4e797500f refactor: 将支持页的相关部分提取为可复用的组件
- support页的el-card,单独提取为SupportCard组件
2025-10-29 16:08:33 +08:00
5920925ded refactor: 将首页各个部分重构为单独的组件
- 组件重构:将首页重构为HomepageCarousel, HomepageProductSection,
HomepageSolutionSection三个部分
2025-10-29 14:05:42 +08:00
300266d32c refactor: 将各个界面的notfound提示提取为单独的组件NotFoundResult
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m56s
2025-10-28 16:32:00 +08:00
c6e0ea2a47 refactor: 将各个页面的面包屑导航提取为单独组件AppBreadcrumb 2025-10-28 16:16:57 +08:00
dc90e1045b refactor: 调整components目录
- 将components根据作用范围/可复用性进行分类
2025-10-28 16:01:34 +08:00
8883dc3fcc feat(document): 为文档添加下载与预览界面:
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m58s
- 添加路由: download路由用于下载文件, preview路由用于文件预览
- 添加组件: FilePreviewer封装了若干格式文件的预览功能(目前支持pdf,
  image, text, video等)
- 服务端API: 添加download和file分别用于处理文件下载请求与元数据获取请求
- 类型标注调整:
  将原先位于app/types内的类型标注文件移至shared/types内,让app与server共享类型标注
- 国际化文本添加: 为相关页面添加国际化文本
2025-10-28 14:41:54 +08:00
ff143f980a feat: 添加preview路由用于文件预览
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m59s
- preview路由预览文件
- FilePreviewer组件
- 删除Document卡片的下载按钮,使用单独的页面用于文件下载
- preview布局
2025-10-28 14:35:50 +08:00
4e7131b291 feat: 添加download路由用于展示文档信息
All checks were successful
deploy to server / build-and-deploy (push) Successful in 5m4s
- 添加/download/documentID路由用于文档下载
- server端添加文档元数据获取与下载API
- 将app中的types移至shared,与server共享
2025-10-27 17:16:51 +08:00
5ab72111ca build: 新增单元测试框架
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m55s
- 使用nuxt test与vitest建立单元测试框架
- 创建部分单元测试
2025-10-27 14:16:18 +08:00
73e920cd8d feat: 添加单元测试
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m47s
2025-10-27 14:12:43 +08:00
9294cd3199 fix: 调整nuxt测试路径
- 将nuxt测试路径调整到组件旁
2025-10-27 13:50:36 +08:00
5be3c45ac5 fix: 修正nuxt测试路径 2025-10-25 16:29:15 +08:00
35bcdc0164 fix: 修正搜索页部分错误
All checks were successful
deploy to server / build-and-deploy (push) Successful in 6m14s
- 对于搜索页中的‘相关问题’与‘文档资料’,修正条目标签显示
- 调整页面刷新逻辑: 将用户刷新有PerformSearch改为useAsyncData的Refresh机制
2025-10-25 15:31:29 +08:00
75d4d40d39 fix: 修改文件拓展名获取逻辑
All checks were successful
deploy to server / build-and-deploy (push) Successful in 4m18s
- 若无扩展名则返回空字符串
2025-10-25 15:30:23 +08:00
f2634ca0f4 test: 调整单元测试
- 为单元测试添加分组
2025-10-25 15:30:00 +08:00
d33e7e1dd9 build: 调整测试目录 2025-10-25 14:56:02 +08:00
57f29e4c06 test: 为utils/file添加测试用例
- 容量进制转换
- 文件拓展名获取与格式化
2025-10-25 14:55:50 +08:00
a2c6006e37 build: 添加nuxt测试框架 2025-10-25 14:05:47 +08:00
772c25a41b fix: 修正搜索页部分错误
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m59s
- 对于搜索页中的‘相关问题’与‘文档资料’,修正条目标签显示
- 调整页面刷新逻辑: 将用户刷新有PerformSearch改为useAsyncData的Refresh机制
2025-10-25 13:54:34 +08:00
088eee07bf feat(CMS)!: 将项目后端由Strapi迁移至Directus
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m49s
- 将项目后端由Strapi迁移至Directus
- 加强类型标注
- 调整部分路由名称
- 分离原始后端数据与视图对象数据

Issue: resolve #42
2025-10-24 17:21:16 +08:00
b1ff62a3bb fix: 修正Tab切换时的显示问题
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m46s
- 切换Tab时重置页码
2025-10-24 17:01:29 +08:00
e403252dba fix: 修正组件渲染bug
All checks were successful
deploy to server / build-and-deploy (push) Successful in 4m17s
2025-10-24 16:44:47 +08:00
393dc3885b fix: product命名修正
Some checks failed
deploy to server / build-and-deploy (push) Has been cancelled
2025-10-24 16:42:39 +08:00
963690bf53 fix: 相关命名修正
- production -> product
2025-10-24 16:41:48 +08:00
e780997a69 build: 移除nuxt的strapi模块 2025-10-24 16:20:55 +08:00
4e88fd9bfb chore: 删除Strapi类型标注 2025-10-24 16:18:40 +08:00
f62c4a3987 feat: 将搜索页面由Strapi迁移至Direcuts
- 路由页面相关源码修改
- 类型标注与组合式API
- 相关工具函数
2025-10-24 16:18:26 +08:00
05938550e6 feat: 将首页由Strapi迁移至Directus
- 相关路由界面修改
- 增添响应的视图模型与转换方法
2025-10-20 15:07:37 +08:00
c156d1414c feat: 将/about界面由Strapi迁移至Directus
- 修改相关路由界面
- 增添相应的视图模型与转换方法
2025-10-20 13:48:57 +08:00
faf2eb4b44 chore: 更新directus类型
- 将CompanyProfileTranslation中content字段类型由json改为markdown文本
2025-10-20 13:46:06 +08:00
8269155ae3 chore: 更新directus类型
- 将ContactInfoTranslation的content由json改为markdown文本
2025-10-20 13:13:55 +08:00
e48c7fe238 feat: 将/support/contact-us由Strapi迁移至Directus
- 修改相关Vue路由
- 添加相应的视图模型与转换方法
2025-10-20 13:13:19 +08:00
440a46850a feat: 将/support/documents路由的数据获取由Strapi转为Directus
- 修改/support/documents.vue,将相关数据获取迁移到Directus
- 增添相应的视图模型与映射方法
2025-10-20 12:30:24 +08:00
bc625239cd chore: 更新directus类型标注
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m6s
- 更新types/directus/my-schema.ts
2025-10-18 16:58:16 +08:00
94d3f31cbd feat: 组件参数类型名更改
- QuestionList.vue: Array as PropType<QuestionView[]> => Array as
PropType<ProductQuestionView[]>
2025-10-18 16:26:08 +08:00
46e79f0b5c feat: 将/support/faq界面迁移至Directus
- 路由界面脚本修改
- 视图模型相关定义
2025-10-18 16:24:45 +08:00
f53b86cbb6 fix: 修正拼写错误
- 修改nuxt.config.ts
2025-10-18 15:28:08 +08:00
0ccd855472 feat: solution页composable API
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m22s
2025-10-17 16:24:13 +08:00
568701a80e feat: 将解决方案页迁移至directus
- 将/solutions与/solutions/[slug]页现在由Directus作为CMS
- 添加solution页的composable API
2025-10-17 16:23:48 +08:00
9abe6431a6 fix: 更新directus类型标注 2025-10-17 16:22:39 +08:00
227b537a0f feat: 产品页的组合式API
All checks were successful
deploy to server / build-and-deploy (push) Successful in 5m11s
- 为product和product-list添加组合式API
2025-10-16 16:02:20 +08:00
6c76d81a40 feat: 为directus做I18n适配
- 添加getDirectusLocale方法用于获取Directus本地化字段
2025-10-16 15:14:46 +08:00
202657e634 chore: 调整目录结构
- 将Directus相关的组合式API移入composables/direcuts
2025-10-16 14:56:46 +08:00
cb861bc955 fix: 修改file工具函数
All checks were successful
deploy to server / build-and-deploy (push) Successful in 6m20s
- 新增基于filename获取拓展名的函数
- 将文件大小格式化由以KB为基准修改为以Byte为基准
2025-10-15 16:50:27 +08:00