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.

204 lines
5.5 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
  1. <template>
  2. <div class="wrap">
  3. <div class="software_container" id="software_container">
  4. <div class="empty" v-if="showEmpty"></div>
  5. <div class="contract_title">
  6. <p class="line"></p>
  7. <p class="title">硬件<span class="blue_font">研发经验</span></p>
  8. <img class="img" :src="Back" alt="back" />
  9. </div>
  10. <div class="card_list">
  11. <div class="card_wrap bg1">
  12. <img class="img" :src="Danpianji" alt="" />
  13. <p class="font">单片机</p>
  14. </div>
  15. <div class="card_wrap bg2">
  16. <img class="img" :src="Cpu" alt="" />
  17. <p class="font">处理器</p>
  18. </div>
  19. <div class="card_wrap bg3">
  20. <img class="img" :src="Fpga" alt="" />
  21. <p class="font">FPGA</p>
  22. </div>
  23. <div class="card_wrap bg4">
  24. <img class="img" :src="Dps" alt="" />
  25. <p class="font">DPS</p>
  26. </div>
  27. <div class="card_wrap bg5">
  28. <img class="img" :src="Dianlu" alt="" />
  29. <p class="font">模拟电路</p>
  30. </div>
  31. <div class="card_wrap bg6">
  32. <img class="img" :src="Shuzi" alt="" />
  33. <p class="font">数字电路</p>
  34. </div>
  35. <div class="card_wrap bg7">
  36. <img class="img" :src="Chuanganji" alt="" />
  37. <p class="font">各种传感器</p>
  38. </div>
  39. </div>
  40. <p class="big_title">合作过的<span class="blue_font">芯片原厂</span></p>
  41. <div class="img_wrap">
  42. <img :src="ContractImg" class="contracted" />
  43. </div>
  44. </div>
  45. </div>
  46. </template>
  47. <script setup>
  48. import Back from '@/assets/img/hardware/hardware.png'
  49. import Dps from '@/assets/img/hardware/dps.png'
  50. import Shuzi from '@/assets/img/hardware/shuzidianlu.png'
  51. import Dianlu from '@/assets/img/hardware/dianlu.png'
  52. import Danpianji from '@/assets/img/hardware/danpianji.png'
  53. import Fpga from '@/assets/img/hardware/fpga.png'
  54. import Cpu from '@/assets/img/hardware/CPU.png'
  55. import Chuanganji from '@/assets/img/hardware/chuanganqi.png'
  56. import ContractImg from '@/assets/img/hardware/logotubiao.png'
  57. import { ref, onMounted } from 'vue'
  58. import { handleScreenAuto } from '@/common/utils'
  59. onMounted(() => {
  60. handleScreenAuto(showEmpty, '#software_container')
  61. window.onresize = handleScreenAuto(showEmpty, '#software_container')
  62. })
  63. const showEmpty = ref(false)
  64. </script>
  65. <style lang="scss" scoped>
  66. .wrap {
  67. width: 100vw;
  68. height: 100vh;
  69. background: $common_bg;
  70. position: relative;
  71. .software_container {
  72. width: 100%;
  73. height: 100%;
  74. // background: $common_bg;
  75. .empty {
  76. min-height: 90px;
  77. }
  78. .contract_title {
  79. display: flex;
  80. align-items: center;
  81. justify-content: center;
  82. flex-direction: column;
  83. font-family: 'SourceHanSans';
  84. background-size: 100% 100%;
  85. padding: 81px 0 41px 0;
  86. box-sizing: border-box;
  87. position: relative;
  88. white-space: nowrap;
  89. transform-style: preserve-3d;
  90. .line {
  91. width: 39px;
  92. height: 5px;
  93. background: #283fe7;
  94. border-radius: 3px;
  95. margin-bottom: 12px;
  96. }
  97. .img {
  98. position: absolute;
  99. top: 55%;
  100. left: 50%;
  101. transform: translateX(-50%) translateY(-50%) translateZ(-1px);
  102. width: 422px;
  103. height: 45px;
  104. }
  105. .title {
  106. font-size: 30px;
  107. font-weight: bold;
  108. color: #000000;
  109. margin-bottom: 21px;
  110. .blue_font {
  111. color: $theme_color;
  112. }
  113. }
  114. .detail {
  115. font-size: 18px;
  116. font-weight: 300;
  117. color: #646a73;
  118. }
  119. }
  120. .card_list {
  121. display: flex;
  122. align-items: center;
  123. justify-content: space-evenly;
  124. padding: 0 230px;
  125. .card_wrap {
  126. border-radius: 6px;
  127. display: flex;
  128. align-items: center;
  129. justify-content: space-evenly;
  130. flex-direction: column;
  131. width: 186px;
  132. height: 222px;
  133. .img {
  134. width: 51px;
  135. height: 51px;
  136. }
  137. .font {
  138. font-size: 18px;
  139. font-family: 'SourceHanSans';
  140. font-weight: 400;
  141. color: #ffffff;
  142. }
  143. }
  144. .card_wrap:hover {
  145. .img {
  146. transform: scale(1.3);
  147. }
  148. }
  149. .bg1 {
  150. background: url(../../../../assets/img/hardware/1back.png);
  151. background-size: 100% 100%;
  152. }
  153. .bg2 {
  154. background: url(../../../../assets/img/hardware/2back.png);
  155. background-size: 100% 100%;
  156. }
  157. .bg3 {
  158. background: url(../../../../assets/img/hardware/3back.png);
  159. background-size: 100% 100%;
  160. }
  161. .bg4 {
  162. background: url(../../../../assets/img/hardware/4back.png);
  163. background-size: 100% 100%;
  164. }
  165. .bg5 {
  166. background: url(../../../../assets/img/hardware/5back.png);
  167. background-size: 100% 100%;
  168. }
  169. .bg6 {
  170. background: url(../../../../assets/img/hardware/6back.png);
  171. background-size: 100% 100%;
  172. }
  173. .bg7 {
  174. background: url(../../../../assets/img/hardware/7back.png);
  175. background-size: 100% 100%;
  176. }
  177. }
  178. .big_title {
  179. padding: 102px 0 30px 0;
  180. font-size: 30px;
  181. font-family: 'SourceHanSans';
  182. font-weight: bold;
  183. color: #000000;
  184. display: flex;
  185. align-items: center;
  186. justify-content: center;
  187. .blue_font {
  188. color: $theme_color;
  189. }
  190. }
  191. .img_wrap {
  192. display: flex;
  193. align-items: center;
  194. justify-content: center;
  195. .contracted {
  196. width: 1480px;
  197. height: auto;
  198. }
  199. }
  200. }
  201. }
  202. </style>