ApplicationScenarios.tsx 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. import { BookOpen, Headphones, FileText, BarChart3, ClipboardCheck, FileSearch, Sparkles } from 'lucide-react';
  2. import { applicationScenarios } from '@/data/mockData';
  3. const iconMap: Record<string, React.ReactNode> = {
  4. BookOpen: <BookOpen className="w-6 h-6" />,
  5. Headphones: <Headphones className="w-6 h-6" />,
  6. FileText: <FileText className="w-6 h-6" />,
  7. BarChart3: <BarChart3 className="w-6 h-6" />,
  8. ClipboardCheck: <ClipboardCheck className="w-6 h-6" />,
  9. FileSearch: <FileSearch className="w-6 h-6" />,
  10. };
  11. export function ApplicationScenarios() {
  12. return (
  13. <section className="py-20 bg-deep-space-50 relative overflow-hidden">
  14. <div className="absolute top-0 left-1/4 w-96 h-96 bg-glow-green/5 rounded-full blur-3xl" />
  15. <div className="absolute bottom-0 right-1/4 w-96 h-96 bg-tech-cyan-500/5 rounded-full blur-3xl" />
  16. <div className="container mx-auto px-4 md:px-6 relative z-10">
  17. <div className="text-center mb-16">
  18. <span className="inline-block text-glow-green text-sm font-medium mb-3 tracking-wider uppercase">
  19. 全行业场景落地
  20. </span>
  21. <h2 className="text-3xl md:text-4xl font-bold text-deep-space-900 mb-4">
  22. 赋能千行百业数字化转型
  23. </h2>
  24. <p className="text-deep-space-500 text-lg max-w-3xl mx-auto">
  25. 平台通用性强、适配场景广,可快速搭建各类企业AI应用,助力企业实现智能化升级。
  26. </p>
  27. </div>
  28. <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
  29. {applicationScenarios.map((scenario) => (
  30. <div
  31. key={scenario.id}
  32. className="group bg-white rounded-xl p-6 hover:shadow-xl hover:-translate-y-1 transition-all duration-300 border border-deep-space-100 relative overflow-hidden"
  33. >
  34. <div className="absolute top-0 right-0 w-24 h-24 bg-gradient-to-br from-glow-green/5 to-transparent rounded-bl-full" />
  35. <div className="flex items-start gap-4">
  36. <div className="w-12 h-12 bg-gradient-to-br from-glow-green/10 to-tech-cyan-500/10 rounded-lg flex items-center justify-center text-glow-green flex-shrink-0 group-hover:scale-110 transition-transform shadow-sm">
  37. {iconMap[scenario.icon]}
  38. </div>
  39. <div className="flex-1">
  40. <div className="flex items-center gap-2 mb-2">
  41. <h3 className="text-lg font-semibold text-deep-space-900">
  42. {scenario.name}
  43. </h3>
  44. <Sparkles className="w-4 h-4 text-glow-green" />
  45. </div>
  46. <p className="text-deep-space-500 text-sm mb-4 leading-relaxed">
  47. {scenario.description}
  48. </p>
  49. <div className="flex flex-wrap gap-2">
  50. {scenario.industries.map((industry) => (
  51. <span
  52. key={industry}
  53. className="px-3 py-1 text-xs font-medium text-glow-green bg-glow-green/10 rounded-full border border-glow-green/20"
  54. >
  55. {industry}
  56. </span>
  57. ))}
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. ))}
  63. </div>
  64. <div className="mt-16 text-center">
  65. <div className="inline-flex items-center gap-4 bg-white rounded-full px-8 py-4 shadow-lg">
  66. <div className="flex -space-x-3">
  67. {['电', '政', '制', '金', '办'].map((char, i) => (
  68. <div
  69. key={i}
  70. className="w-10 h-10 rounded-full bg-gradient-to-br from-glow-green to-tech-cyan-500 flex items-center justify-center text-white text-sm font-bold border-2 border-white"
  71. >
  72. {char}
  73. </div>
  74. ))}
  75. </div>
  76. <span className="text-deep-space-600">覆盖电力、政务、制造、金融、办公等全行业</span>
  77. </div>
  78. </div>
  79. </div>
  80. </section>
  81. );
  82. }