Commit Graph

313 Commits

Author SHA1 Message Date
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
51080849eb feat: 为网站添加图标
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m51s
- jinshen-logo.ico
- 修改nuxt.config应用网站图标
2025-10-31 15:25:42 +08:00
2b53d47c34 fix: 暂时移除footer中未实现的功能 2025-10-31 15:25:00 +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
149d05848e feat: 添加网站图标
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m52s
- 添加网站图标ico文件
- 修改nuxt配置,应用新的网站图标
2025-10-31 15:14:23 +08:00
e0df7ef063 fix(products): 修正产品规格值显示问题
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m56s
- 修复产品规格表中规格名显示不正确的问题
- 调整产品规格数据结构
2025-10-31 15:08:37 +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
dbc84d5a21 fix(search): 修正路由跳转逻辑
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m5s
- 文档页跳转:当用户点击文档条目是跳转到download路由下的对应页面
- 问题页跳转:当用户点击问题条目时跳转到faq路由并使用focus query控制问题的展开
2025-10-30 14:37:04 +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
03fff90091 docs: 更新README文档
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m3s
- 更新后端相关描述
2025-10-29 18:01:54 +08:00
e88d5f4534 docs: 更新README文档
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m45s
2025-10-29 18:00:37 +08:00
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