hjyd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

126 lines
3.4 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <template>
  2. <div class="wrap">
  3. <div class="empty" v-if="showEmpty"></div>
  4. <div class="flex_center">
  5. <div class="mechanical_drive_container" id="mechanical_drive_container">
  6. <div class="contract_title" id="mechanical_drive_ani">
  7. <p class="line"></p>
  8. <p class="title"><span class="blue_font">机械传动</span>专家</p>
  9. <p class="detail">
  10. 我们精通气动液动电动等各种传动机构完成机械所需的各种动作
  11. </p>
  12. </div>
  13. <div class="content_main">
  14. <Card title="同步带传动" i="1" />
  15. <Card title="链条传动" i="2" />
  16. <Card title="丝杠传动" i="3" />
  17. <Card title="直线导轨" i="4" />
  18. <Card title="气缸传动" i="5" />
  19. <Card title="行星轮传动" i="6" />
  20. <Card title="蜗轮蜗杆传动" i="7" />
  21. <Card title="锥齿传动" i="8" />
  22. <Card title="齿轮传动" i="9" />
  23. <Card title="电动顶杆" i="10" />
  24. <Card title="同步带传动" i="11" />
  25. <Card title="行星减速机" i="12" />
  26. <Card title="谐波减速机" i="13" />
  27. <Card title="RV减速机" i="14" />
  28. <Card title="液压传动" i="15" />
  29. </div>
  30. </div>
  31. </div>
  32. </div>
  33. </template>
  34. <script setup>
  35. import { ref, onMounted } from 'vue'
  36. import { handleScreenAuto } from '@/common/utils'
  37. import Card from './Card'
  38. const showEmpty = ref(true)
  39. onMounted(() => {
  40. handleScreenAuto('#mechanical_drive_container')
  41. window.onresize = handleScreenAuto('#mechanical_drive_container')
  42. })
  43. </script>
  44. <style lang="scss" scoped>
  45. .wrap {
  46. width: 100vw;
  47. height: 100vh;
  48. background: $common_bg;
  49. position: relative;
  50. display: flex;
  51. align-items: center;
  52. justify-content: center;
  53. flex-direction: column;
  54. .empty {
  55. min-height: 90px;
  56. }
  57. .flex_center {
  58. flex: 1;
  59. display: flex;
  60. align-items: center;
  61. justify-content: center;
  62. .mechanical_drive_container {
  63. width: 100%;
  64. height: 100%;
  65. .contract_title {
  66. z-index: 99;
  67. display: flex;
  68. align-items: center;
  69. justify-content: center;
  70. flex-direction: column;
  71. font-family: 'SourceHanSans';
  72. background-size: 100% 100%;
  73. padding: 71px;
  74. box-sizing: border-box;
  75. position: relative;
  76. white-space: nowrap;
  77. .line {
  78. width: 39px;
  79. height: 5px;
  80. background: #283fe7;
  81. border-radius: 3px;
  82. margin-bottom: 12px;
  83. }
  84. .img {
  85. position: absolute;
  86. top: 47%;
  87. left: 50%;
  88. transform: translateX(-50%) translateY(-50%);
  89. width: 295px;
  90. height: 35px;
  91. z-index: 9;
  92. }
  93. .title {
  94. font-size: 30px;
  95. font-weight: bold;
  96. color: #000000;
  97. margin-bottom: 21px;
  98. z-index: 10;
  99. .blue_font {
  100. color: $theme_color;
  101. }
  102. }
  103. .detail {
  104. font-size: 18px;
  105. font-weight: 300;
  106. color: #646a73;
  107. font-family: 'SourceHanSansLight';
  108. letter-spacing: 2px;
  109. }
  110. }
  111. .content_main {
  112. padding: 0 99px 50px 99px;
  113. column-gap: 67px;
  114. display: grid;
  115. justify-content: space-evenly;
  116. grid-template-columns: repeat(5, 1fr);
  117. grid-template-rows: repeat(3, 1fr);
  118. row-gap: 37px;
  119. }
  120. }
  121. }
  122. }
  123. </style>