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.

95 lines
2.3 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
  1. <template>
  2. <div class="case_show_container">
  3. <SubNavigation title="案例展示" />
  4. <CaseCard />
  5. <HeadLine
  6. title="医疗健康"
  7. line1="我们精通气动、液动、电动等各种传动机构"
  8. line2="完成机械所需的各种动作"
  9. />
  10. <div class="line_cards">
  11. <div class="card">
  12. <p class="title">国网照明巡检摄像头</p>
  13. <div class="img_box">
  14. <div class="img"></div>
  15. <div class="bottom_text">
  16. <p>工业设计</p>
  17. <p>软硬件研发</p>
  18. <p>样机制作</p>
  19. <p>量产</p>
  20. </div>
  21. </div>
  22. </div>
  23. <div class="card"></div>
  24. <div class="card"></div>
  25. <div class="card"></div>
  26. </div>
  27. </div>
  28. </template>
  29. <script setup>
  30. import CaseCard from 'cpns/CaseCard'
  31. import SubNavigation from 'cpns/SubNavigation'
  32. import HeadLine from 'cpns/HeadLine'
  33. </script>
  34. <style lang="scss" scoped>
  35. .case_show_container {
  36. padding-top: $sub-header-height;
  37. background: #f5f5f5;
  38. padding-bottom: 7px;
  39. .line_cards {
  40. display: grid;
  41. grid-template-columns: repeat(2, 1fr);
  42. grid-template-rows: repeat(2, 1fr);
  43. column-gap: 7px;
  44. padding: 0 7px;
  45. box-sizing: border-box;
  46. row-gap: 7px;
  47. .card {
  48. height: 132px;
  49. background: #ffffff;
  50. border-radius: 3px;
  51. flex: 1;
  52. box-sizing: border-box;
  53. display: flex;
  54. flex-direction: column;
  55. padding: 11px 7px 7px 7px;
  56. .title {
  57. font-size: 8px;
  58. font-family: Source Han Sans CN;
  59. font-weight: 400;
  60. color: #2f2f2f;
  61. padding-left: 2px;
  62. margin-bottom: 11px;
  63. }
  64. .img_box {
  65. width: 100%;
  66. flex: 1;
  67. position: relative;
  68. .img {
  69. width: 100%;
  70. height: 100%;
  71. background: red;
  72. }
  73. .bottom_text {
  74. position: absolute;
  75. left: -50%;
  76. bottom: -10%;
  77. height: 34px;
  78. background: rgba(0, 0, 0, 0.2);
  79. display: flex;
  80. align-items: center;
  81. justify-content: space-evenly;
  82. font-size: 16px;
  83. font-family: Source Han Sans CN;
  84. font-weight: 400;
  85. color: #ffffff;
  86. width: 200%;
  87. transform: scale(0.5);
  88. }
  89. }
  90. }
  91. }
  92. }
  93. </style>