moreservice.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. //更多服务
  2. .moreServices {
  3. width: 100%;
  4. height: 646px;
  5. .inner {
  6. position: relative;
  7. // 标题
  8. .title {
  9. width: 300px;
  10. text-align: center;
  11. margin: 0 auto;
  12. font-family: PingFang SC, PingFang SC;
  13. >h1 {
  14. font-weight: 600;
  15. font-size: 36px;
  16. color: #000000;
  17. line-height: 42px;
  18. letter-spacing: 3px;
  19. font-style: normal;
  20. text-transform: none;
  21. }
  22. >p {
  23. height: 34px;
  24. font-weight: 600;
  25. font-size: 24px;
  26. color: #F4F4F4;
  27. line-height: 24px;
  28. letter-spacing: 2px;
  29. font-style: normal;
  30. text-transform: none;
  31. }
  32. }
  33. .title::before {
  34. content: " ";
  35. display: inline-block;
  36. position: absolute;
  37. top: 14px;
  38. left: 34px;
  39. width: 366px;
  40. height: 23px;
  41. background: url("http://img.bjzxtw.org.cn/master/bjzxtw/public/images/Frame 486.png") no-repeat;
  42. }
  43. .title::after {
  44. content: " ";
  45. display: inline-block;
  46. position: absolute;
  47. top: 14px;
  48. right: 34px;
  49. width: 366px;
  50. height: 23px;
  51. background: url("http://img.bjzxtw.org.cn/master/bjzxtw/public/images/Frame 485.png") no-repeat;
  52. }
  53. >.serviceList {
  54. >li {
  55. width: 380px;
  56. float: left;
  57. position: relative;
  58. margin: 17px 30px 40px 0;
  59. >img {
  60. width: 240px;
  61. height: 240px;
  62. }
  63. >.detail {
  64. width: 170px;
  65. height: 240px;
  66. position: absolute;
  67. background-color: #fff;
  68. top: -12px;
  69. right: 0;
  70. box-shadow: 0px 0px 16px 1px rgba(0, 0, 0, 0.1);
  71. border: 1px solid #F0F0F0;
  72. >img {
  73. width: 52px;
  74. height: 52px;
  75. margin: 54px 57px 14px 61px
  76. }
  77. >h3 {
  78. font-family: PingFang SC;
  79. font-weight: 600;
  80. font-size: 20px;
  81. color: #000000;
  82. line-height: 23px;
  83. letter-spacing: 2px;
  84. text-align: center;
  85. font-style: normal;
  86. text-transform: none;
  87. }
  88. >p {
  89. width: 116px;
  90. height: 32px;
  91. line-height: 30px;
  92. border: 1px solid #eee;
  93. margin: 26px 25px 34px 29px;
  94. border-radius: 18px;
  95. font-weight: 400;
  96. font-size: 12px;
  97. color: #139602;
  98. letter-spacing: 1px;
  99. text-align: center;
  100. font-style: normal;
  101. text-transform: none;
  102. a{
  103. color: #139602;
  104. }
  105. }
  106. >p:hover {
  107. background-color: #139602;
  108. }
  109. >p:hover a{
  110. color: #fff;
  111. }
  112. }
  113. >.detail::after {
  114. content: "";
  115. width: 0;
  116. height: 0;
  117. border-left: 31px solid transparent;
  118. border-top: 10px solid #e1e1e1;
  119. position: absolute;
  120. top: - 70px;
  121. left: - 40px;
  122. }
  123. }
  124. >li:nth-child(3),
  125. >li:nth-child(6) {
  126. margin-right: 0;
  127. }
  128. }
  129. }
  130. }
  131. .moreServiceBox {
  132. width: 1200px;
  133. margin: 0 auto;
  134. height: 208px;
  135. display: flex;
  136. justify-content: space-between;
  137. .listBox {
  138. border: 1px solid #E8E7E6;
  139. width: 210px;
  140. height: 191px;
  141. text-align: center;
  142. .line {
  143. width: 152px;
  144. background: #49A769;
  145. height: 1px;
  146. margin: 0 auto;
  147. margin-bottom: 20px;
  148. }
  149. img {
  150. margin-top: 30px;
  151. margin-bottom: 10px;
  152. }
  153. a {
  154. color: #333333;
  155. font-size: 16px;
  156. display: block;
  157. width: 210px;
  158. height: 191px;
  159. }
  160. }
  161. }