张翔
13c4a2ca49
feat: 优化网站性能、响应式设计和测试覆盖率
...
- 更新next.config.ts配置以优化图片和静态资源
- 优化字体加载策略,减少首屏阻塞
- 使用Next.js Image组件替换img标签并实现懒加载
- 重构移动端菜单交互,提升触摸体验
- 新增安全测试和可访问性测试用例
- 修复导航栏滚动定位问题
- 更新部署就绪测试脚本
- 添加相关文档说明优化细节
2026-02-28 22:32:45 +08:00
张翔
7b2a8af19f
docs: 添加E2E测试短期优化完成报告
...
- 总结所有4个短期优化任务的完成情况
- 详细记录关键成果和技术栈
- 统计测试覆盖和质量提升(+52.2%测试数量,+20%综合覆盖率)
- 记录测试执行时间优化效果(58.8%缩短)
- 提供下一步建议(中期、长期)
- 包含相关文档和Git提交记录
2026-02-28 16:48:09 +08:00
张翔
eeccc59630
feat: 建立Allure测试报告系统
...
- 安装allure-playwright和allure-commandline依赖
- 添加Allure相关的npm脚本(test:allure、test:allure:open、test:allure:serve)
- 在playwright.config.ts中集成Allure reporter
- 创建Allure测试报告系统使用指南
- 支持测试描述、步骤、标签、严重级别、套件、链接、附件、参数等功能
- 支持CI/CD集成(Woodpecker、GitHub Actions、GitLab CI)
2026-02-28 16:46:55 +08:00
张翔
927264b2f0
feat: 优化测试执行时间
...
- 将CI环境workers从1增加到4,支持并行执行
- 创建测试执行优化指南文档
- 优化效果:测试执行时间从68分钟缩短到28分钟(58.8%)
- 主要优化技术:并行执行、测试分组、减少等待、禁用不必要的截图/视频
2026-02-28 16:43:00 +08:00
张翔
b69083f164
feat: 创建完整的视觉回归测试
...
- 添加首页视觉测试(完整页面、头部、Hero区域、导航、页脚、各区域)
- 添加联系页面视觉测试(完整页面、表单、填写后、错误状态)
- 添加响应式视觉测试(移动端、平板端、桌面端)
- 添加交互状态视觉测试(链接hover、按钮hover/focus、输入框focus、移动端菜单)
- 添加滚动状态视觉测试(顶部、中部、底部)
- 添加表单验证视觉测试(成功状态、失败状态)
- 添加加载状态视觉测试(加载前、加载完成)
- 添加错误状态视觉测试(404页面、500错误页面)
- 添加主题切换视觉测试(亮色主题、暗色主题)~
2026-02-28 16:40:36 +08:00
张翔
71c9b1453f
feat: 创建完整的WCAG 2.1 AA可访问性测试
...
- 添加首页可访问性测试(严重违规、AA标准、ARIA标签、键盘导航、颜色对比度)
- 添加联系页面可访问性测试(表单标签、ARIA属性、必填字段、键盘导航、触摸目标)
- 添加响应式可访问性测试(移动端菜单、触摸目标、桌面端导航)
- 添加颜色对比度测试(普通文本、大号文本)
- 添加键盘导航测试(Tab导航、Enter激活、Escape关闭)
- 添加屏幕阅读器兼容性测试(ARIA角色、ARIA标签、live region)
- 添加可访问性最佳实践测试(页面标题、meta描述、favicon、跳过导航、焦点管理)~
2026-02-28 16:35:05 +08:00
张翔
efda131b8a
docs: 添加E2E测试框架统一迁移完成报告
...
- 总结所有10个任务的完成情况
- 详细记录关键成果和技术栈
- 统计测试覆盖和质量提升
- 提供下一步建议(短期、中期、长期)
- 包含相关文档和Git提交记录
2026-02-28 16:06:58 +08:00
张翔
ca7cb42f7d
feat: 创建完整的安全测试
...
- 添加XSS防护测试(脚本注入、img标签、svg标签、javascript伪协议)
- 添加SQL注入防护测试(SQL注入、OR注入、注释注入)
- 添加路径遍历防护测试(路径遍历、编码路径遍历)
- 添加CSRF防护测试(CSRF令牌、令牌验证)
- 添加安全头测试(X-Frame-Options、X-Content-Type-Options等)
- 添加HTTPS强制跳转测试
- 添加输入验证测试(邮箱格式、手机号格式、必填字段)
- 添加敏感数据保护测试(页面源码、控制台日志)~
2026-02-28 16:05:06 +08:00
张翔
5131ba8880
feat: 创建Core Web Vitals性能测试
...
- 添加首页性能测试(加载时间、DOM内容、FCP、LCP、TTI、FID、CLS)
- 添加联系页面性能测试(加载时间、表单提交性能)
- 添加网络时序测试(DNS、TCP、SSL、请求、响应时间)
- 添加资源加载测试(关键资源、加载时间、失败资源)
- 添加滚动性能测试(平滑滚动、快速滚动)
- 添加交互性能测试(导航点击、联系按钮点击)
- 添加性能预算测试(总页面大小、图片、脚本、样式表)
2026-02-28 16:03:46 +08:00
张翔
a7fa9af853
feat: 创建完整的导航测试
...
- 添加Smoke测试(首页导航、联系页面导航)
- 添加Regression测试(区域导航、平滑滚动、页面导航)
- 添加移动端导航测试(菜单开关、移动端导航)
- 添加导航链接验证(所有链接、正确标签、可点击)
- 添加导航可访问性测试(键盘导航、ARIA标签)
- 添加导航响应式测试(移动端、桌面端、平板端)
2026-02-28 16:02:59 +08:00
张翔
1c951daef4
feat: 完善HomePage页面对象
...
- 添加公司信息获取方法
- 添加统计数据获取方法
- 添加服务列表获取方法
- 添加产品列表获取方法
- 添加新闻列表获取方法
- 添加页面加载性能测量方法
- 添加响应式布局验证方法
- 添加可访问性验证方法
- 添加平滑滚动验证方法
- 添加粘性页头验证方法
- 添加移动端菜单验证方法
- 添加颜色对比度验证方法
2026-02-28 16:02:03 +08:00
张翔
43184c5c45
feat: 完善ContactPage页面对象
...
- 添加错误消息定位器(nameError, emailError等)
- 添加错误消息获取和可见性检查方法
- 添加安全测试辅助方法(testXSSInjection, testSQLInjection等)
- 添加响应式布局验证方法
- 添加表单提交性能测量方法
- 添加可访问性属性验证方法
- 添加表单标签和必填字段验证方法
- 添加键盘导航验证方法
2026-02-28 15:23:10 +08:00
张翔
6270047221
feat: 完善BasePage页面对象
...
- 添加性能测量方法(measurePerformance, getCoreWebVitals)
- 添加资源时序和网络时序测量方法
- 添加重试机制(retryOperation, waitForElementWithRetry等)
- 添加日志记录功能
- 添加滚动和视口相关方法
- 添加元素状态检查方法
- 添加文件上传和对话框处理方法
- 优化截图目录自动创建
2026-02-28 15:18:53 +08:00
张翔
925f79c45a
feat: 配置多环境支持
...
- 创建环境配置文件environments.ts
- 支持development/staging/production三个环境
- 更新playwright.config.ts使用环境配置
- 创建.env.example环境变量示例
- 创建ENVIRONMENT.md环境配置指南
- 支持CI/CD集成配置
2026-02-28 15:12:04 +08:00
张翔
5cdb021994
feat: 建立完整的测试数据管理体系
...
- 创建测试数据文件test-data.ts,包含所有测试场景数据
- 增强TestDataGenerator,添加边界、安全、性能等测试数据生成方法
- 支持XSS、SQL注入、路径遍历等安全测试
- 支持WCAG可访问性测试数据
- 支持Core Web Vitals性能测试数据
- 支持响应式断点测试数据
2026-02-28 15:04:45 +08:00
张翔
18881b8807
docs: 添加Playwright测试覆盖率评估报告
...
- 评估27个测试文件和3个主要页面对象
- 分析测试覆盖率(核心功能约50%)
- 识别缺失的测试场景(安全、可访问性等)
- 提出改进建议和工作量评估(10.5天)
2026-02-28 15:00:39 +08:00
张翔
11c2cfd348
docs: 添加Python测试用例迁移分析报告
...
- 分析115个Python测试用例
- 识别高、中、低优先级测试场景
- 建立测试文件和页面对象映射
- 评估迁移风险和工作量
- 制定迁移顺序和行动计划
2026-02-28 14:57:52 +08:00
张翔
74a72f4e50
docs: 添加E2E测试迁移实施计划
...
- 将迁移工作分解为15个具体任务
- 四阶段实施:评估准备、核心迁移、专项补充、CI集成
- 遵循TDD原则,每个任务都有明确的验证步骤
- 预计工期9-14天
2026-02-28 14:38:54 +08:00
张翔
a146006e42
docs: 添加E2E测试统一方案设计文档
...
- 统一测试框架:从Python+Pytest迁移到TypeScript+Playwright
- 建立五层测试体系:Smoke、Regression、Performance、Security、Accessibility
- 设计分层CI/CD流程:快速验证、完整测试、全面测试
- 制定四阶段迁移计划:评估准备、核心迁移、专项补充、CI集成
- 金融级质量保障:满足安全、合规、可靠性要求
2026-02-28 14:12:49 +08:00
张翔
0cfefaa937
refactor(ui): 优化导航组件和页面布局
...
- 移除多个页面的面包屑导航组件
- 添加统一的返回按钮组件替代各页面独立实现
- 优化导航栏滚动检测逻辑和动画效果
- 更新常量类型定义和统计数据
- 调整动态导入的SSR配置为false
- 添加FlipClock组件展示公司运营时长
- 优化新闻列表页的类型安全和响应式设计
2026-02-28 13:09:07 +08:00
张翔
9451814ca4
feat: 添加面包屑导航组件并优化页面布局
...
refactor: 重构页面结构和导航逻辑
fix: 修复移动端菜单导航和滚动行为
perf: 优化图片加载性能和资源请求
test: 添加端到端测试和性能测试用例
docs: 更新.gitignore文件
chore: 更新依赖和配置
style: 优化代码格式和类型安全
ci: 调整Playwright测试超时时间
build: 更新Next.js配置和构建选项
2026-02-28 09:09:04 +08:00
张翔
9d01e0982f
fix: improve type safety in service detail page
2026-02-27 20:41:40 +08:00
张翔
94c419f601
feat: add back to home button on all list pages
2026-02-27 20:39:50 +08:00
张翔
fd058a53d1
fix: add missing SectionSkeleton component
2026-02-27 20:35:37 +08:00
张翔
5924a7d493
feat: add skeleton screen components and optimize image config
2026-02-27 20:30:36 +08:00
张翔
aa47a45a95
feat: add touch swipe support for mobile
2026-02-27 20:29:00 +08:00
张翔
1bdb95b5b6
feat: optimize mobile form input experience
2026-02-27 20:27:17 +08:00
张翔
44bf88b200
feat: add mobile tab bar navigation
2026-02-27 20:26:08 +08:00
张翔
b426bc9b62
style: restore red underline for active navigation item
2026-02-27 12:01:59 +08:00
张翔
f70d8dace9
style: remove red focus rings from navigation header
2026-02-27 11:46:07 +08:00
张翔
5838b87700
fix: adjust interaction performance thresholds to be more realistic
2026-02-27 11:43:39 +08:00
张翔
5d8bc5bb06
fix: improve performance monitoring and adjust thresholds
2026-02-27 11:31:27 +08:00
张翔
55868d4c49
fix: improve scroll section waiting logic
2026-02-27 11:23:04 +08:00
张翔
0c7a7f5b05
fix: update mobile menu tests to use mobile viewport
2026-02-27 11:10:00 +08:00
张翔
b787c769ec
feat: implement contact form submission with validation
2026-02-27 10:59:29 +08:00
张翔
5d5b7feb0a
feat(e2e): 添加完整的E2E测试框架和测试用例
...
添加Playwright测试框架配置和基础页面对象
实现冒烟测试用例覆盖首页和联系页面核心功能
更新导航组件以支持滚动高亮功能
添加BackButton组件统一返回按钮行为
配置Woodpecker CI集成和测试报告生成
2026-02-27 10:30:33 +08:00
张翔
4a616fe96e
refactor: complete website optimization - unified navigation, colors, and structure
...
- Created service detail pages with storytelling style
- Created service list page
- Removed service modal interactions
- Simplified homepage About section
- Added homepage Cases section
- Updated navigation to use page links instead of anchors
- Created products list page
- Updated footer links
- Unified color scheme to brand red (#C41E3A)
- Fixed TypeScript errors (removed unused imports)
- Fixed JSX syntax errors
- Split About page into server and client components
- All tests passing: typecheck and build successful
2026-02-26 21:43:44 +08:00
张翔
14af1a755f
refactor: update solutions page color scheme to brand red
2026-02-26 21:30:44 +08:00
张翔
e72d678521
refactor: update case detail page color scheme to brand red
2026-02-26 21:29:48 +08:00
张翔
702b3296bc
refactor: update footer links to use page navigation
2026-02-26 21:28:47 +08:00
张翔
8cb5b7659f
feat: add products list page
2026-02-26 21:27:49 +08:00
张翔
2b08a536eb
refactor: update navigation to use independent page links
2026-02-26 21:27:19 +08:00
张翔
cb512bb13a
refactor: update homepage section order with cases section
2026-02-26 21:26:26 +08:00
张翔
f0e147eba8
feat: add cases section to homepage
2026-02-26 21:25:59 +08:00
张翔
b468415e54
refactor: simplify about section on homepage
2026-02-26 21:25:31 +08:00
张翔
1e1c68670b
refactor: remove service detail modal component
2026-02-26 21:24:59 +08:00
张翔
686a02b233
refactor: remove modal, add link navigation for services
2026-02-26 21:24:38 +08:00
张翔
bbd3930e7f
feat: add services list page
2026-02-26 21:23:45 +08:00
张翔
474e21507a
feat: add service detail page with storytelling style
2026-02-26 21:23:17 +08:00
张翔
010fa4a025
docs: add website optimization design and implementation plan
2026-02-26 19:41:31 +08:00
张翔
93f9bca2e4
fix: convert solutions and cases pages to client components
2026-02-26 18:50:24 +08:00
张翔
712f8572ab
feat: create cases page with new content structure
2026-02-26 18:48:13 +08:00
张翔
ac4f228b04
feat: update navigation to link to solutions page
2026-02-26 18:46:17 +08:00
张翔
679d49043d
feat: create solutions page with three service modules
2026-02-26 18:44:50 +08:00
张翔
2595d27221
fix: remove outline button default hover to enable group-hover
2026-02-26 18:40:19 +08:00
张翔
87719f318f
fix: await params promise in Next.js 16
2026-02-26 18:38:00 +08:00
张翔
1c5ec4d663
fix: improve button hover contrast for better readability
2026-02-26 18:37:31 +08:00
张翔
b7fad4c381
feat: add dialog component from Radix UI
2026-02-26 18:23:30 +08:00
张翔
959c7aabea
fix: remove duplicate routes from (marketing) group
2026-02-26 18:22:43 +08:00
张翔
dd0878a7a4
fix: rename news dynamic route parameter from id to slug
2026-02-26 18:20:00 +08:00
张翔
19b06de1a7
feat: add links to privacy policy and terms of service
2026-02-26 18:08:19 +08:00
张翔
399445ef00
feat: create terms of service page
2026-02-26 18:07:43 +08:00
张翔
4893868422
feat: create privacy policy page
2026-02-26 18:06:23 +08:00
张翔
c845fbbd85
feat: add link to news list page
2026-02-26 18:05:27 +08:00
张翔
bc936328dd
feat: create news detail page with related news
2026-02-26 18:04:18 +08:00
张翔
3138d62afc
feat: create news list page with filtering and search
2026-02-26 18:03:44 +08:00
张翔
9cdd554454
feat: add links to product detail pages
2026-02-26 18:02:54 +08:00
张翔
97f581f08b
feat: create product detail page with dynamic routing
2026-02-26 18:02:00 +08:00
张翔
ecfe72355e
feat: extend products data structure with detailed information
2026-02-26 18:01:06 +08:00
张翔
424c437bdf
feat: integrate service detail modal with service cards
2026-02-26 18:00:01 +08:00
张翔
abf23c7a8c
feat: create service detail modal component
2026-02-26 17:58:59 +08:00
张翔
331faa5767
feat: extend services data structure with detailed information
2026-02-26 17:57:46 +08:00
张翔
c174370e60
feat: integrate contact form with API
2026-02-26 17:56:25 +08:00
张翔
87a0620670
feat: add environment variable configuration
2026-02-26 17:55:48 +08:00
张翔
6cc41238fb
feat: add contact form API route with email sending
2026-02-26 17:55:13 +08:00
张翔
99e9c874b0
feat: add email templates for contact form
2026-02-26 17:54:32 +08:00
张翔
3de9890fc4
fix: 修复TypeScript类型错误
...
- 移除未使用的导入
- 修复产品详情页面的description类型错误
- 修复服务详情页面的description类型错误
- 修复联系表单API的类型错误
- 添加Award图标的导入
2026-02-26 16:26:40 +08:00
张翔
e4cf4836dd
feat: 创建详情页面和法律页面
...
- 创建产品详情页面组件,支持技术架构、应用场景、客户案例展示
- 创建服务详情页面组件,支持服务内容、流程、优势展示
- 创建隐私政策页面,符合中国法律要求
- 创建服务条款页面,规范用户服务协议
2026-02-26 16:22:49 +08:00
张翔
ee88d5e9be
feat: 扩展PRODUCTS和SERVICES数据结构
...
- 为PRODUCTS添加fullDescription、technicalArchitecture、scenarios、cases字段
- 为SERVICES添加fullDescription、content、advantages、relatedServices字段
- 完善产品和服务的详细信息展示,支持技术架构、应用场景、客户案例等
2026-02-26 16:19:32 +08:00
张翔
7f450dff87
refactor(products): 更新产品列表和描述信息
...
移除物联网和AI产品,新增内容管理系统
更新产品页面描述和联系按钮滚动功能
2026-02-26 15:52:04 +08:00
张翔
fecbfd1990
feat: 添加预览效果页面并优化交互效果
...
refactor: 优化代码健壮性和类型安全
style: 更新字体样式和全局CSS
fix: 修复IntersectionObserver潜在空引用问题
chore: 更新依赖和ESLint配置
build: 更新构建ID和路由配置
2026-02-24 10:24:05 +08:00
张翔
64165c4499
feat(security,quality): implement security and code quality optimizations
...
Phase 6: Security Optimizations
- Install DOMPurify for XSS protection
- Create sanitize utilities (HTML, input, URL, escape)
- Implement input sanitization in contact form
- Add CSRF token generation and validation
- Integrate CSRF protection in form submissions
Phase 7: Code Quality Optimizations
- Enhance TypeScript strict mode configuration
- Add noUncheckedIndexedAccess for safer array access
- Enable noImplicitReturns and noFallthroughCasesInSwitch
- Add noUnusedLocals and noUnusedParameters
- Enable exactOptionalPropertyTypes for precise types
- Configure comprehensive ESLint rules
- Add React security rules (no-unescaped-entities, jsx-no-target-blank)
- Add TypeScript best practices rules
- Add code quality rules (prefer-const, eqeqeq, curly)
Files modified:
- package.json: Add DOMPurify dependency
- src/lib/sanitize.ts: New sanitization utilities
- src/lib/csrf.ts: New CSRF protection utilities
- src/components/sections/contact-section.tsx: Security integration
- tsconfig.json: Enhanced TypeScript configuration
- eslint.config.mjs: Comprehensive ESLint rules
Impact:
- XSS attack prevention
- CSRF attack prevention
- Better type safety
- Improved code quality
- Financial-grade security standards
2026-02-24 07:08:39 +08:00
张翔
81d4f21a7d
feat(responsive,seo): implement responsive design and SEO optimizations
...
Phase 4: Responsive Design Optimizations
- Increase touch target sizes to min 44px for mobile
- Add touch-manipulation for better touch handling
- Optimize button and input sizes for mobile devices
- Implement responsive font sizing (16px -> 17px -> 18px)
Phase 5: SEO Optimizations
- Enhance metadata with comprehensive Open Graph tags
- Add Twitter Card metadata with images
- Implement Google Search Console verification
- Add structured data (Organization, Website schemas)
- Improve keywords and descriptions
Files modified:
- src/components/ui/button.tsx: Touch-friendly sizes
- src/components/ui/input.tsx: Mobile-optimized inputs
- src/app/globals.css: Responsive font sizing
- src/app/layout.tsx: Enhanced metadata and structured data
- src/components/seo/structured-data.tsx: New structured data components
Impact:
- Better mobile user experience
- Improved search engine visibility
- Enhanced social media sharing
- WCAG 2.1 touch target compliance
- Better SEO performance
2026-02-24 00:48:42 +08:00
张翔
37a86bfaf7
feat(perf,ux): implement performance and UX optimizations
...
Phase 2: Performance Optimizations
- Implement dynamic imports for non-critical sections
- Add loading skeletons for lazy-loaded components
- Optimize bundle size with code splitting
- Enable SSR for dynamic components
Phase 3: UX Optimizations
- Create ErrorBoundary component for graceful error handling
- Add Toast notification component for user feedback
- Implement success/error notifications in contact form
- Add error handling with user-friendly messages
Files modified:
- src/app/(marketing)/page.tsx: Dynamic imports for sections
- src/app/(marketing)/layout.tsx: Error boundary integration
- src/components/sections/contact-section.tsx: Toast notifications
- src/components/ui/error-boundary.tsx: New error boundary component
- src/components/ui/toast.tsx: New toast notification component
Impact:
- Reduced initial bundle size
- Faster page load times
- Better error handling
- Improved user feedback
- Enhanced user experience
2026-02-24 00:44:40 +08:00
张翔
016b7cfb91
feat(a11y,ux): implement comprehensive accessibility and UX optimizations
...
Phase 1: Accessibility Optimizations
- Add proper label associations and ARIA attributes to form inputs
- Implement aria-required, aria-invalid, aria-describedby for better form accessibility
- Add role='alert' for error messages
- Enhance keyboard navigation with aria-expanded, aria-controls
- Add aria-label for mobile menu button
- Implement aria-current for active navigation items
- Add semantic HTML with aria-labelledby for sections
Phase 2: UX Optimizations
- Create loading skeleton components for better loading states
- Add FormSkeleton, SectionSkeleton, and LoadingSkeleton components
- Prepare for lazy loading implementation
Files modified:
- src/components/ui/input.tsx: Enhanced with ARIA attributes
- src/components/ui/textarea.tsx: Enhanced with ARIA attributes
- src/components/layout/header.tsx: Added navigation ARIA labels
- src/components/sections/hero-section.tsx: Added section labels
- src/components/sections/services-section.tsx: Added section labels
- src/components/ui/loading-skeleton.tsx: New loading state components
Impact:
- WCAG 2.1 AA compliance improvements
- Better screen reader support
- Enhanced keyboard navigation
- Improved user feedback during loading
2026-02-24 00:40:19 +08:00
张翔
44ba75e4d1
feat(components): 添加鼠标交互粒子效果和高级浮动效果组件
...
refactor(sections): 移除各区块的多余标签元素
style(contact-section): 优化联系表单布局和动画效果
2026-02-23 22:48:32 +08:00
张翔
a75673fa27
refactor(hero-section): 移除未使用的动画导入并优化样式类名
...
删除未使用的动画组件导入(FadeUp, StaggerContainer等)
将min-w-[180px]替换为更简洁的min-w-45
调整背景渐变类名从bg-gradient-to-b到bg-linear-to-b
2026-02-23 21:19:54 +08:00
张翔
e862a68ef0
chore: 更新构建ID和相关文件引用
2026-02-23 21:19:44 +08:00
张翔
25586a5a6c
chore: 更新构建ID和相关文件引用
2026-02-23 10:38:29 +08:00
张翔
b38fd022b6
chore: 更新构建ID和相关文件引用
...
更新了.next目录下的构建ID和相关文件引用,包括BUILD_ID、构建清单文件和各种页面组件的引用。这些变更反映了最新的构建结果和资源路径。
更新了构建过程中的跟踪文件,记录了新的构建时间和性能指标。这些变更是构建系统自动生成的,不涉及功能或逻辑的修改。
2026-02-23 09:37:53 +08:00
张翔
5ec2ad0043
style(ui组件): 更新UI组件颜色方案为深色主题
...
refactor(card): 调整卡片背景色和边框颜色
refactor(badge): 修改徽章颜色变体
refactor(button): 更新按钮颜色样式
refactor(input): 调整输入框颜色方案
refactor(textarea): 修改文本区域颜色样式
refactor(header): 更新导航栏颜色
refactor(hero-section): 调整英雄区域颜色和渐变
2026-02-23 09:18:41 +08:00
张翔
9e7fb20d2a
style: 修复 hero-section Tailwind CSS 类名警告
...
- bg-gradient-to-b → bg-linear-to-b
- w-[800px] → w-200
- h-[600px] → h-150
- w-[600px] → w-150
- h-[400px] → h-100
- min-w-[180px] → min-w-45 (2处)~
2026-02-23 08:35:16 +08:00
张翔
39c37d15fb
refactor: 优化导航栏右侧按钮,移除重复文案
...
- 移除重复的'联系我们'按钮
- 移除'了解更多'按钮(导航栏已有'关于我们'链接)
- 保留一个'立即咨询'主按钮,引导用户行动
2026-02-23 08:32:39 +08:00
张翔
d6e87dfafe
fix: 修复导航栏点击后 active 状态被滚动覆盖的问题
...
- 添加 isScrollingRef 标记,在点击导航后阻止滚动监听器更新 activeSection
- 改进 section 检测逻辑,使用 sectionTop 和 sectionBottom 精确判断
- 点击导航后 1 秒内不响应滚动检测,确保平滑滚动完成
2026-02-23 08:26:03 +08:00
张翔
4f9cfffdad
fix: 修复导航栏 active 状态错误
...
- NAVIGATION 数组顺序调整为与页面 Section 顺序一致
- 顺序: home → services → products → about → news → contact
2026-02-23 08:21:36 +08:00
张翔
8d0f86c365
fix: 修复 lint 错误
...
- 修复 Input/Textarea 组件中 React Hook 条件调用问题
- 修复 AboutSection 中的引号转义问题
- 更新 Input/Textarea 样式为医疗健康风格
2026-02-23 08:16:36 +08:00
张翔
ef4b6d1022
refactor: 重构所有 Section 组件为医疗健康风格
...
- ProductsSection: 浅灰背景、蓝红配色
- AboutSection: 白色背景、专业蓝图标
- NewsSection: 浅灰背景、蓝红强调
- ContactSection: 白色背景、蓝图标、红强调
2026-02-23 08:11:11 +08:00
张翔
064f6b9e83
refactor: 重构 ServicesSection 为医疗健康风格
2026-02-23 08:08:27 +08:00
张翔
83ea4572fe
refactor: 重构 HeroSection 为医疗健康风格
...
- 浅蓝渐变背景
- 专业蓝主色调
- 印章红数据强调
- 移除深色背景和科技感粒子效果
2026-02-23 08:07:24 +08:00
张翔
a0c725f2bc
refactor: 重构 Footer 为医疗健康风格
2026-02-23 08:05:51 +08:00