工业设计
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.

158 lines
3.6 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
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="link_card_container">
  3. <div class="card mr" @click="toPage('/')">
  4. <div class="modal">
  5. <h1 class="title">整机开发</h1>
  6. <div class="btn">
  7. <p class="text">立即前往</p>
  8. <img :src="Arrow" class="icon" alt="" />
  9. </div>
  10. <p class="en">Complete machine</p>
  11. </div>
  12. <img class="bg_img" :src="B1" alt="" />
  13. </div>
  14. <div class="card mr" @click="toPage('/pc/hardware')">
  15. <div class="modal blbg">
  16. <h1 class="title">软硬件定制</h1>
  17. <div class="btn">
  18. <p class="text">立即前往</p>
  19. <img :src="Arrow" class="icon" alt="" />
  20. </div>
  21. <p class="en">Hardware</p>
  22. </div>
  23. <img class="bg_img" :src="B4" alt="" />
  24. </div>
  25. <div class="card" @click="toPage('/pc/metal')">
  26. <div class="modal">
  27. <h1 class="title">CNC机加工</h1>
  28. <div class="btn">
  29. <p class="text">立即前往</p>
  30. <img :src="Arrow" class="icon" alt="" />
  31. </div>
  32. <p class="en">Machining</p>
  33. </div>
  34. <img class="bg_img" :src="B3" alt="" />
  35. </div>
  36. </div>
  37. </template>
  38. <script setup>
  39. import B1 from '@/assets/design/link/1.png'
  40. import B2 from '@/assets/design/link/2.png'
  41. import B3 from '@/assets/design/link/3.png'
  42. import B4 from '@/assets/design/link/4.png'
  43. import Arrow from '@/assets/design/link/arrow.png'
  44. import { useRouter, useRoute } from 'vue-router'
  45. const router = useRouter()
  46. const route = useRoute()
  47. const toPage = (path, p) => {
  48. window.location.href = `http://iflytop.com${path}`
  49. }
  50. </script>
  51. <style lang="scss" scoped>
  52. @keyframes btnAnimation {
  53. 0% {
  54. transform: translateX(0);
  55. }
  56. 25% {
  57. transform: translateX(25px);
  58. }
  59. 75% {
  60. transform: translateX(-25px);
  61. }
  62. 100% {
  63. transform: translateX(0);
  64. }
  65. }
  66. .link_card_container {
  67. padding: 0 48px;
  68. padding-bottom: 120px;
  69. display: flex;
  70. align-items: center;
  71. justify-content: center;
  72. .card {
  73. flex: 1;
  74. height: 287px;
  75. position: relative;
  76. cursor: pointer;
  77. display: flex;
  78. align-items: center;
  79. .bg_img {
  80. width: 290.42px;
  81. height: 287px;
  82. object-fit: cover;
  83. }
  84. .modal {
  85. height: 100%;
  86. padding-left: 36px;
  87. box-sizing: border-box;
  88. display: flex;
  89. flex-direction: column;
  90. justify-content: center;
  91. align-items: flex-start;
  92. background: #000;
  93. flex: 1;
  94. .title {
  95. font-family: AlibabaPuHuiTi;
  96. font-size: 40px;
  97. font-weight: bold;
  98. line-height: normal;
  99. letter-spacing: 0.06em;
  100. color: #f6f6f6;
  101. }
  102. .btn {
  103. margin-top: 15px;
  104. margin-bottom: 9px;
  105. border-radius: 324px;
  106. padding: 4px 24px;
  107. background: #2a4ee1;
  108. display: flex;
  109. align-items: center;
  110. justify-content: center;
  111. .text {
  112. font-family: Source Han Sans CN;
  113. font-size: 16px;
  114. font-weight: normal;
  115. line-height: normal;
  116. letter-spacing: 0.1em;
  117. color: #ffffff;
  118. margin-right: 4px;
  119. }
  120. .icon {
  121. width: 12px;
  122. height: 2px;
  123. }
  124. }
  125. .en {
  126. font-family: Poppins;
  127. font-size: 16px;
  128. font-weight: 500;
  129. line-height: normal;
  130. letter-spacing: 0em;
  131. color: #ffffff;
  132. }
  133. }
  134. .blbg {
  135. background: #2a4ee1;
  136. .btn {
  137. background: #000;
  138. }
  139. }
  140. &:hover {
  141. .modal {
  142. .btn {
  143. animation-name: btnAnimation;
  144. animation-duration: 1s;
  145. }
  146. }
  147. }
  148. }
  149. .mr {
  150. margin-right: 20px;
  151. }
  152. }
  153. </style>