index.scss 4.0 KB

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