Commit Graph

148 Commits

Author SHA1 Message Date
0403a83751 feat: support页i18n适配
- SupportTabs中英文文本添加
- SupportCard描述中英文文本
2025-11-04 13:52:35 +08:00
531f316026 fix: 调整规格表label宽度
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m23s
- 将label宽度固定为30%
2025-11-03 16:29:03 +08:00
853046d633 feat: 服务支持页面竖屏适配
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m7s
-竖屏是修改支持卡片布局
2025-11-01 16:32:37 +08:00
0996e910d9 feat: 产品筛选器竖屏适配
- 切换到竖屏是产品筛选器改为两行
2025-11-01 16:26:37 +08:00
52048fc2a6 feat: 产品详情页竖屏适配 2025-11-01 16:26:16 +08:00
fc164beaf3 fix: 移除console输出 2025-11-01 16:08:25 +08:00
3b6857637b fix: 调整footer行为 2025-11-01 16:05:59 +08:00
d076088747 feat: 首页竖屏适配
- 首页Carousel高度根据屏幕宽度变化
- 首页推荐栏目卡片数量随屏幕宽度改变
2025-11-01 15:32:15 +08:00
06c30a7ea3 feat: 页面布局的移动端适配
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m50s
- 当竖屏时隐藏footer
2025-10-31 17:04:12 +08:00
37da48c07e feat: header竖屏适配
- 在竖屏情况下将网站导航与部分顶部按钮挪到drawer内
2025-10-31 17:03:43 +08:00
959bcaee7c fix: 暂时禁用footer中未实现的功能
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m54s
2025-10-31 15:16:29 +08:00
dd7ac909fb fix: 修正产品规格值product_spec的显示问题
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m8s
- subItem.value => subItem.key
- 调整后端CMS的结构,将规格值移入translations中
2025-10-31 15:06:08 +08:00
cea67404ed fix: 修正搜索页面相关问题路由跳转逻辑
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m56s
- 当用户点击问题条目时,生成一个带有query的url: faq?focus=[slug]自动展开faq页面中的对应词条
2025-10-30 14:06:43 +08:00
63491fd5f9 fix: 修正搜索页面文档路由跳转逻辑
- 点击文档条目时,跳转到对应的download路由
- 修改搜索条目转换逻辑,将product_documents类型条目的id有product_document的id改为文件uuid
2025-10-30 13:43:00 +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
75d4d40d39 fix: 修改文件拓展名获取逻辑
All checks were successful
deploy to server / build-and-deploy (push) Successful in 4m18s
- 若无扩展名则返回空字符串
2025-10-25 15:30:23 +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
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
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