index.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. // page{background-color: #f2f2f2;}
  2. .index{
  3. width: 100%;
  4. background-color: #f2f2f2;
  5. .index-head{
  6. width: 100%;
  7. height: 369rpx;
  8. background-image: url(../../static/svg/index-head-bg.svg);
  9. background-repeat: round;
  10. background-size: cover;
  11. &-banner{
  12. position: absolute;
  13. width: 100%;
  14. height: 440rpx;
  15. margin-top: 140rpx;
  16. padding: 0 20rpx;
  17. }
  18. }
  19. .index-header{
  20. width: 100%;
  21. height: 585rpx;
  22. &-container{
  23. display: flex;
  24. flex-wrap: wrap;
  25. width: 100%;
  26. height: 400rpx;
  27. background-color: #2A322B;
  28. border-bottom-right-radius: 5%;
  29. border-bottom-left-radius: 5%;
  30. }
  31. &-left{
  32. width: 50%;
  33. height: 440rpx;
  34. background-image: url(../../static/svg/index-header-left-svg.svg);
  35. background-repeat: round;
  36. background-size: cover;
  37. }
  38. &-right{
  39. width: 50%;
  40. height: 440rpx;
  41. background-image: url(../../static/svg/index-header-right-svg.svg);
  42. background-repeat: round;
  43. background-size: cover;
  44. }
  45. &-top{
  46. position: absolute;
  47. padding-top: 20rpx;
  48. width: 100%;
  49. display: flex;
  50. flex-wrap: wrap;
  51. padding-bottom: 61rpx;
  52. line-height: 34px;
  53. .header-top-usearch{
  54. margin-left: 30rpx !important;
  55. }
  56. .header-top-notice{
  57. margin: 16rpx 30rpx 0 46rpx;
  58. line-height: 34px;
  59. &-badge{
  60. position: relative !important;
  61. top: -10px !important;
  62. right: 5px !important;
  63. }
  64. }
  65. .header-top-scan{
  66. margin: 16rpx 30rpx 0 0;
  67. line-height: 34px;
  68. .header-scan-icon{
  69. line-height: 34px;
  70. }
  71. }
  72. }
  73. &-banner{
  74. position: absolute;
  75. width: 100%;
  76. height: 440rpx;
  77. margin-top: 140rpx;
  78. padding: 0 30rpx;
  79. }
  80. }
  81. }
  82. .service{
  83. padding: 20rpx 30rpx;
  84. .service-body{
  85. background-color: #FFFFFF;
  86. border-radius: 10rpx;
  87. .service-item{
  88. width: 25%;
  89. margin: 22rpx 0;
  90. text-align: center;
  91. .service-item-img{width: 98rpx;height: 98rpx;}
  92. }
  93. }
  94. }
  95. .news{
  96. padding: 0 30rpx;
  97. .news-list{
  98. ::v-deep {
  99. .u-card__head{
  100. padding-bottom: 0 !important;
  101. }
  102. }
  103. &-head{
  104. border-bottom: 1px solid #9F9F9F;
  105. &-item{
  106. margin-bottom: 17rpx;
  107. .card-head-title{
  108. font-size: 36rpx;
  109. font-family: PingFangSC-Regular, PingFang SC;
  110. font-weight: 600;
  111. color: #000000;
  112. line-height: 50rpx;
  113. letter-spacing: 1px;
  114. }
  115. }
  116. }
  117. &-body{
  118. &-item{
  119. border-bottom: 1px solid #E1E1E1;
  120. .news-text{
  121. &-title{
  122. margin-bottom: 12rpx;
  123. font-size: 30rpx;
  124. font-family: PingFangSC-Regular, PingFang SC;
  125. font-weight: 400;
  126. color: #000000;
  127. line-height: 41rpx;
  128. }
  129. &-foot{
  130. justify-content: space-between;
  131. view:first-child{
  132. font-size: 20rpx;
  133. font-family: PingFangSC-Regular, PingFang SC;
  134. font-weight: 400;
  135. color: #8C8C8C;
  136. line-height: 28rpx;
  137. letter-spacing: 1px;
  138. }
  139. view:last-child{
  140. font-size: 20rpx;
  141. font-family: PingFangSC-Regular, PingFang SC;
  142. font-weight: 400;
  143. color: #8C8C8C;
  144. line-height: 28rpx;
  145. letter-spacing: 1px;
  146. }
  147. }
  148. }
  149. }
  150. }
  151. }
  152. }
  153. // .news-list{
  154. // .u-body-item{
  155. // .u-body-item-title{
  156. // margin-bottom: 15rpx;
  157. // }
  158. // .foot{
  159. // font-size: 24rpx;
  160. // color: #ddd;
  161. // .time{
  162. // margin-left: 24rpx;
  163. // }
  164. // }
  165. // }
  166. // }
  167. .u-card-wrap {
  168. background-color: $u-bg-color;
  169. padding: 1px;
  170. }
  171. .u-body-item {
  172. // font-size: 32rpx;
  173. color: #333;
  174. padding: 30rpx 0;
  175. }
  176. .u-body-item image {
  177. width: 120rpx;
  178. flex: 0 0 120rpx;
  179. height: 120rpx;
  180. border-radius: 8rpx;
  181. margin-left: 12rpx;
  182. }
  183. .news-list-head-item {
  184. display: flex;
  185. justify-content: space-between;
  186. color: #A3A3A3;
  187. }