index.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <template>
  2. <div class="bg-white">
  3. <Header />
  4. <section class="max-w-[1200px] mx-auto mt-6 mb-2 px-4 text-center">
  5. <h2 class="text-[28px] font-bold text-[#1f2d3d]">
  6. 提供多维度、更可靠的数字化服务
  7. </h2>
  8. <p class="mt-2 text-[#606266]">
  9. 围绕企业设备、场景、工厂、园区与政企服务提供一体化解决方案
  10. </p>
  11. </section>
  12. <section class="max-w-[1200px] mx-auto px-4 mb-8 mt-5">
  13. <div class="grid gap-5 grid-cols-1 md:grid-cols-3 xl:grid-cols-3">
  14. <CardItem
  15. v-for="card in cards"
  16. :key="card.key"
  17. :title="card.title"
  18. :desc="card.desc"
  19. :items="card.items"
  20. :bg="card.bg"
  21. />
  22. </div>
  23. </section>
  24. </div>
  25. </template>
  26. <script setup lang="ts">
  27. import Header from "@components/home/header.vue";
  28. import CardItem from "@components/home/CardItem.vue";
  29. import img1 from "@/assets/images/1.jpg";
  30. import img2 from "@/assets/images/2.jpg";
  31. import img3 from "@/assets/images/3.jpg";
  32. type Card = {
  33. key: string;
  34. title: string;
  35. desc: string;
  36. bg: string;
  37. items: Array<{ label: string; tag?: "新" | "热" }>;
  38. };
  39. const cards: Card[] = [
  40. {
  41. key: "device",
  42. title: "经营管理平台",
  43. desc: "通过设备物联,实时掌握车间动态信息",
  44. bg: img1,
  45. items: [
  46. { label: "设备智能管理解决方案", tag: "新" },
  47. { label: "家电智能控制解决方案" },
  48. { label: "孪生制造一体化平台" },
  49. ],
  50. },
  51. {
  52. key: "scene",
  53. title: "生产指挥平台",
  54. desc: "深入工业场景,为中小企业数字化升级赋能",
  55. bg: img2,
  56. items: [
  57. { label: "机器视觉表面缺陷检测系统", tag: "热" },
  58. { label: "纺织服装大规模定制解决方案" },
  59. { label: "双碳场景" },
  60. ],
  61. },
  62. {
  63. key: "factory",
  64. title: "Chat BI平台",
  65. desc: "工厂上云,高效协同,生产效率和产品质量提升",
  66. bg: img3,
  67. items: [
  68. { label: "工业智慧仓储解决方案", tag: "热" },
  69. { label: "电子行业智能制造执行系统" },
  70. { label: "PCBA行业数字化工厂解决方案", tag: "新" },
  71. ],
  72. },
  73. ];
  74. </script>
  75. <style scoped></style>