index.scss 4.2 KB

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