index.module.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. .A1Home {
  2. position: relative;
  3. :global {
  4. .homeTop {
  5. width: 100%;
  6. height: 180px;
  7. background-image: url("../../assets/img/home/top.jpg");
  8. background-size: 100% 100%;
  9. color: #fff;
  10. padding: 46px 0 0 160px;
  11. h3 {
  12. font-size: 36px;
  13. font-weight: 400;
  14. }
  15. p {
  16. font-size: 20px;
  17. margin-top: 5px;
  18. }
  19. }
  20. .homeMain {
  21. width: 100%;
  22. height: calc(100% - 180px);
  23. padding: 0px 0 80px;
  24. background-image: url('../../assets/img/home/bg.jpg');
  25. background-size: 100% 100%;
  26. .homeSearch {
  27. padding: 0 140px;
  28. height: 120px;
  29. display: flex;
  30. justify-content: space-between;
  31. align-items: center;
  32. .homeSearchll {
  33. .ant-select {
  34. margin-right: 20px;
  35. .ant-select-selector {
  36. height: 40px;
  37. border-radius: 20px;
  38. .ant-select-selection-item {
  39. line-height: 38px;
  40. }
  41. }
  42. }
  43. }
  44. .homeSearchrr {
  45. display: flex;
  46. align-items: center;
  47. .ant-btn {
  48. border: 1px solid rgba(159, 25, 39, .6);
  49. color: rgba(159, 25, 39, .6);
  50. height: 40px;
  51. border-radius: 20px;
  52. padding-left: 20px;
  53. padding-right: 20px;
  54. &:hover {
  55. border: 1px solid rgba(159, 25, 39, 1);
  56. color: rgba(159, 25, 39, 1);
  57. }
  58. }
  59. .ant-input-affix-wrapper {
  60. height: 40px;
  61. border-radius: 20px;
  62. }
  63. input::-webkit-input-placeholder {
  64. /* WebKit browsers */
  65. color: #666666;
  66. }
  67. input:-moz-placeholder {
  68. /* Mozilla Firefox 4 to 18 */
  69. color: #666666;
  70. }
  71. input::-moz-placeholder {
  72. /* Mozilla Firefox 19+ */
  73. color: #666666;
  74. }
  75. input:-ms-input-placeholder {
  76. /* Internet Explorer 10+ */
  77. color: #666666;
  78. }
  79. }
  80. }
  81. .noInfo {
  82. width: 100%;
  83. height: calc(100% - 120px);
  84. display: flex;
  85. justify-content: center;
  86. align-items: center;
  87. color: var(--themeColor);
  88. font-size: 24px;
  89. }
  90. .homeMainCon {
  91. width: 100%;
  92. height: calc(100% - 120px);
  93. .homeRowBox {
  94. width: 100%;
  95. height: 100%;
  96. padding: 0 140px;
  97. display: flex;
  98. flex-wrap: wrap;
  99. .homeRow {
  100. cursor: pointer;
  101. width: calc(20% - 16px);
  102. height: 50%;
  103. border-radius: 6px;
  104. overflow: hidden;
  105. padding-bottom: 20px;
  106. margin-right: 20px;
  107. .homeRowT {
  108. width: 100%;
  109. height: calc(100% - 46px);
  110. background-image: linear-gradient(#75736E, #BCBBB8);
  111. }
  112. .homeRowB {
  113. height: 46px;
  114. line-height: 46px;
  115. font-size: 16px;
  116. color: #666666;
  117. padding: 0px 8px;
  118. background-color: #fff;
  119. overflow: hidden;
  120. text-overflow: ellipsis;
  121. white-space: nowrap;
  122. }
  123. &:nth-of-type(5n) {
  124. margin-right: 0;
  125. }
  126. }
  127. }
  128. }
  129. .page {
  130. display: flex;
  131. justify-content: flex-end;
  132. height: 40px;
  133. padding: 0 140px;
  134. }
  135. }
  136. }
  137. }