index.less 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. .main {
  2. width: 100%;
  3. height: 100vh;
  4. // background: url('@/assets/projects/bg.png') no-repeat center;
  5. // background-size: 100% 100%;
  6. // .titleCon {
  7. // margin: 0 1.8rem;
  8. // padding: 2.64rem 0 0.4rem;
  9. // display: flex;
  10. // justify-content: space-between;
  11. // border-bottom: 0.01rem solid #ffffff;
  12. // .icon {
  13. // width: 0.54rem;
  14. // height: 0.54rem;
  15. // margin-right: 0.1rem;
  16. // background: url('@/assets/greentech.png') no-repeat center;
  17. // background-size: 100% 100%;
  18. // }
  19. // .titleSelect {
  20. // font-size: 0.55rem;
  21. // font-family: Source Han Sans, Source Han Sans;
  22. // color: #3b3b3b;
  23. // font-weight: bold;
  24. // }
  25. // .titleRight {
  26. // display: flex;
  27. // }
  28. // .titleText {
  29. // font-size: 0.4rem;
  30. // font-family: Source Han Sans, Source Han Sans;
  31. // font-weight: 600;
  32. // color: #3b3b3b;
  33. // }
  34. // }
  35. }
  36. .swiper {
  37. position: relative;
  38. top: 30%;
  39. // margin-top: 2rem;
  40. .pic {
  41. width: 100%;
  42. height: 2.26rem;
  43. border-radius: 0.16rem;
  44. background-size: 100% 100%;
  45. }
  46. .name {
  47. margin-top: 0.14rem;
  48. margin-bottom: 0.2rem;
  49. overflow: hidden;
  50. text-overflow: ellipsis;
  51. display: -webkit-box;
  52. -webkit-line-clamp: 2;
  53. -webkit-box-orient: vertical;
  54. font-size: 0.35rem;
  55. line-height: 0.4rem;
  56. font-family: Source Han Sans, Source Han Sans;
  57. font-weight: 500;
  58. color: #0054a7;
  59. }
  60. .swiperItem {
  61. position: relative;
  62. padding: 0.18rem;
  63. width: 3.72rem;
  64. height: 4.96rem;
  65. background: url('@/assets/projects/item-bg.png') no-repeat center;
  66. background-size: 100% 100%;
  67. }
  68. .shadow {
  69. width: 3.72rem;
  70. height: 2.06rem;
  71. background: url('@/assets/projects/item-bg-down.png') no-repeat center;
  72. background-size: 100% 100%;
  73. }
  74. .line {
  75. margin-right: 0.14rem;
  76. height: 100%;
  77. width: 0.01rem;
  78. background-color: #0054a7;
  79. }
  80. .bottomCon {
  81. position: absolute;
  82. bottom: 0.3rem;
  83. display: flex;
  84. width: 100%;
  85. padding-right: 0.4rem;
  86. // justify-content: space-between;
  87. .itemCon {
  88. width: 50%;
  89. display: flex;
  90. // &:first-child {
  91. // margin-right: 0.2rem;
  92. // }
  93. }
  94. }
  95. .valueCon {
  96. font-size: 0.16rem;
  97. font-family: Source Han Sans, Source Han Sans;
  98. color: #615d5d;
  99. line-height: 0.24rem;
  100. letter-spacing: 0.01rem;
  101. .value {
  102. font-size: 0.3rem;
  103. font-family: PangMenZhengDao-3, PangMenZhengDao-3;
  104. color: #0054a7;
  105. line-height: 0.25rem;
  106. letter-spacing: 0.02rem;
  107. }
  108. }
  109. :global {
  110. .swiper-container {
  111. margin: auto;
  112. width: 18.6rem;
  113. }
  114. .swiper-slide {
  115. width: auto;
  116. }
  117. }
  118. }
  119. .arrowLeft {
  120. width: 1.86rem;
  121. height: 1.86rem;
  122. position: absolute;
  123. top: 0.93rem;
  124. left: 0.74rem;
  125. background: url('@/assets/projects/arrow-01.png') no-repeat center;
  126. background-size: 100% 100%;
  127. }
  128. .arrowRight {
  129. width: 1.86rem;
  130. height: 1.86rem;
  131. position: absolute;
  132. top: 0.93rem;
  133. right: 0.74rem;
  134. background: url('@/assets/projects/arrow-02.png') no-repeat center;
  135. background-size: 100% 100%;
  136. }
  137. .bg {
  138. position: absolute;
  139. top: 4.97rem;
  140. width: 100%;
  141. height: 3.14rem;
  142. background: url('@/assets/projects/bg-01.png') no-repeat center;
  143. background-size: 100% 100%;
  144. }