index.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. page{background-color: #f2f2f2;}
  2. .index{
  3. .index-header{
  4. width: 100%;
  5. height: 585rpx;
  6. &-container{
  7. display: flex;
  8. flex-wrap: wrap;
  9. width: 100%;
  10. height: 400rpx;
  11. background-color: #2A322B;
  12. border-bottom-right-radius: 100rpx;
  13. border-bottom-left-radius: 100rpx;
  14. }
  15. &-left{
  16. width: 50%;
  17. height: 440rpx;
  18. background-image: url(../../static/svg/index-header-left-svg.svg);
  19. background-repeat: round;
  20. background-size: cover;
  21. }
  22. &-right{
  23. width: 50%;
  24. height: 440rpx;
  25. background-image: url(../../static/svg/index-header-right-svg.svg);
  26. background-repeat: round;
  27. background-size: cover;
  28. }
  29. &-top{
  30. position: absolute;
  31. padding-top: 30rpx;
  32. width: 100%;
  33. display: flex;
  34. flex-wrap: wrap;
  35. padding-bottom: 61rpx;
  36. line-height: 34px;
  37. .header-top-usearch{
  38. margin-left: 30rpx !important;
  39. }
  40. .header-top-notice{
  41. margin: 0 30rpx 0 46rpx;
  42. line-height: 34px;
  43. &-badge{
  44. position: relative !important;
  45. top: -10px !important;
  46. right: 5px !important;
  47. }
  48. }
  49. .header-top-scan{
  50. margin-right: 30rpx;
  51. line-height: 34px;
  52. }
  53. }
  54. &-banner{
  55. position: absolute;
  56. width: 100%;
  57. height: 440rpx;
  58. margin-top: 140rpx;
  59. padding: 0 20rpx;
  60. }
  61. }
  62. }
  63. .service{
  64. .service-item{
  65. width: 25%;
  66. margin: 24rpx 0;
  67. text-align: center;
  68. .service-item-img{width: 98rpx;height: 98rpx;}
  69. }
  70. }
  71. .news-list{
  72. .u-body-item{
  73. .u-body-item-title{
  74. margin-bottom: 15rpx;
  75. }
  76. .foot{
  77. font-size: 24rpx;
  78. color: #ddd;
  79. .time{
  80. margin-left: 24rpx;
  81. }
  82. }
  83. }
  84. }
  85. .u-card-wrap {
  86. background-color: $u-bg-color;
  87. padding: 1px;
  88. }
  89. .u-body-item {
  90. // font-size: 32rpx;
  91. color: #333;
  92. padding: 20rpx 10rpx;
  93. }
  94. .u-body-item image {
  95. width: 120rpx;
  96. flex: 0 0 120rpx;
  97. height: 120rpx;
  98. border-radius: 8rpx;
  99. margin-left: 12rpx;
  100. }