index.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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: 380rpx;
  14. margin-top: 140rpx;
  15. // padding: 0 20rpx;
  16. }
  17. }
  18. .index-header{
  19. width: 100%;
  20. height: 385rpx;
  21. &-container{
  22. display: flex;
  23. flex-wrap: wrap;
  24. width: 100%;
  25. height: 380rpx;
  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: 380rpx;
  76. // margin-top: 140rpx;
  77. // padding: 0 30rpx;
  78. }
  79. }
  80. }
  81. .notice {
  82. padding: 16rpx 30rpx 0;
  83. }
  84. .service{
  85. padding: 30rpx;
  86. .service-body{
  87. background-color: #FFFFFF;
  88. border-radius: 10rpx;
  89. width: 100%;
  90. padding: 30rpx 0 0;
  91. .service-item {
  92. width: 25%;
  93. justify-content: space-between;
  94. text-align: center;
  95. padding: 0 0 30rpx;
  96. .service-item-img{
  97. width: 98rpx;
  98. height: 98rpx;
  99. }
  100. }
  101. }
  102. }
  103. .news{
  104. padding: 0 30rpx;
  105. .news-list{
  106. ::v-deep {
  107. .u-card__head{
  108. padding-bottom: 0 !important;
  109. }
  110. }
  111. &-head {
  112. border-bottom: 1px solid rgba($color: #9F9F9F, $alpha: 0.2);
  113. &-item {
  114. margin-bottom: 17rpx;
  115. font-size: 28rpx;
  116. align-items: end;
  117. .card-head-title {
  118. font-size: 38rpx;
  119. font-family: PingFangSC-Regular, PingFang SC;
  120. font-weight: 400;
  121. color: #000000;
  122. line-height: 50rpx;
  123. letter-spacing: 1px;
  124. }
  125. }
  126. }
  127. &-body{
  128. &-item{
  129. border-bottom: 1px solid #E1E1E1;
  130. &:last-child {
  131. border-bottom: none;
  132. }
  133. .news-text{
  134. margin-right: 26rpx;
  135. &-title {
  136. margin-bottom: 20rpx;
  137. font-size: 30rpx;
  138. font-family: PingFangSC-Regular, PingFang SC;
  139. font-weight: 400;
  140. color: #000000;
  141. line-height: 44rpx;
  142. }
  143. &-foot{
  144. justify-content: space-between;
  145. view:first-child{
  146. font-size: 26rpx;
  147. font-family: PingFangSC-Regular, PingFang SC;
  148. font-weight: 400;
  149. color: #8C8C8C;
  150. line-height: 28rpx;
  151. letter-spacing: 1px;
  152. }
  153. view:last-child{
  154. font-size: 26rpx;
  155. font-family: PingFangSC-Regular, PingFang SC;
  156. font-weight: 400;
  157. color: #8C8C8C;
  158. line-height: 28rpx;
  159. letter-spacing: 1px;
  160. }
  161. }
  162. }
  163. }
  164. }
  165. }
  166. }
  167. .u-card-wrap {
  168. background-color: $u-bg-color;
  169. padding: 1px;
  170. }
  171. .u-body-item {
  172. color: #333;
  173. padding: 34rpx 0;
  174. }
  175. .u-body-item image {
  176. width: 120rpx;
  177. flex: 0 0 120rpx;
  178. height: 120rpx;
  179. border-radius: 8rpx;
  180. margin-left: 12rpx;
  181. }
  182. .news-list-head-item {
  183. display: flex;
  184. justify-content: space-between;
  185. color: #A3A3A3;
  186. }
  187. .image-border {
  188. border: solid 1px #E0E0E0;
  189. border-radius: 10rpx;
  190. }