header.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. #app {
  2. width: 100%;
  3. }
  4. .headerView {
  5. padding: 0 6.25rem;
  6. height: 4.5rem;
  7. margin: auto;
  8. display: flex;
  9. align-items: center;
  10. justify-content: space-between;
  11. }
  12. .headerView .headerView-left,
  13. .headerView .headerView-right {
  14. display: flex;
  15. flex-direction: row;
  16. align-items: center;
  17. height: 100%;
  18. }
  19. .headerView .headerView-left .header-logo,
  20. .headerView .headerView-right .header-logo {
  21. width: 6.875rem;
  22. padding-right: 5.625rem;
  23. }
  24. .headerView .headerView-left .header-list,
  25. .headerView .headerView-right .header-list {
  26. display: flex;
  27. align-items: center;
  28. height: 100%;
  29. margin-left: 2rem;
  30. }
  31. .headerView .headerView-left .header-list .header-item,
  32. .headerView .headerView-right .header-list .header-item {
  33. margin-right: 3.75rem;
  34. font-size: 1rem;
  35. height: 100%;
  36. display: flex;
  37. align-items: center;
  38. box-sizing: border-box;
  39. }
  40. .headerView .headerView-left .header-list .header-item a,
  41. .headerView .headerView-right .header-list .header-item a {
  42. display: block;
  43. display: flex;
  44. align-items: center;
  45. height: 3.5rem;
  46. border-bottom: 0.0125rem solid rgba(0, 0, 0, 0);
  47. }
  48. .headerView .headerView-left .header-list .header-item::last-child,
  49. .headerView .headerView-right .header-list .header-item::last-child {
  50. margin-right: 0;
  51. }
  52. .headerView .headerView-left .header-list .productRectangle span,
  53. .headerView .headerView-right .header-list .productRectangle span {
  54. display: block;
  55. display: flex;
  56. align-items: center;
  57. height: 3.5rem;
  58. border-bottom: 0.0125rem solid rgba(0, 0, 0, 0);
  59. }
  60. .headerView .headerView-left .header-list .item-hover,
  61. .headerView .headerView-right .header-list .item-hover {
  62. color: #3396FB;
  63. border-bottom: 0.125rem solid #3396FB !important;
  64. }
  65. .headerView .headerView-left .header-list a,
  66. .headerView .headerView-right .header-list a {
  67. display: block;
  68. height: 100%;
  69. color: inherit;
  70. text-decoration: none;
  71. }
  72. .headerView .img {
  73. width: 100%;
  74. height: 100%;
  75. }
  76. .headerProduct {
  77. width: 16.5rem;
  78. padding-bottom: 20px;
  79. background: #fff;
  80. border: 1px solid #FFFFFF;
  81. box-shadow: 0px 0px 20px 0px #00000019;
  82. position: relative;
  83. left: 320px;
  84. }
  85. .headerProduct .content {
  86. width: 100%;
  87. }
  88. .headerProduct .content .product {
  89. width: 100%;
  90. font-size: 1.125rem;
  91. }
  92. .headerProduct .content .product .product-title {
  93. color: #3396FB;
  94. font-family: Microsoft YaHei UI;
  95. font-weight: bold;
  96. font-size: 1rem;
  97. line-height: normal;
  98. letter-spacing: 0px;
  99. padding: 1rem 0 1.125rem 1.125rem;
  100. }
  101. .headerProduct .content .product .hove {
  102. background: #3396FB;
  103. color: #fff;
  104. }
  105. .headerProduct .content .product .product-item {
  106. width: 100%;
  107. height: 2.625rem;
  108. display: flex;
  109. align-items: center;
  110. font-size: 1rem;
  111. padding-left: 1.375rem;
  112. box-sizing: border-box;
  113. }
  114. .headerProduct .content .product .product-item img {
  115. width: 1.25rem;
  116. height: 1.25rem;
  117. padding-right: 0.625rem;
  118. }
  119. .headerProduct .content .product .product-item a {
  120. display: block;
  121. width: 100%;
  122. height: 100%;
  123. display: flex;
  124. align-items: center;
  125. color: inherit;
  126. text-decoration: none;
  127. }
  128. ::-webkit-scrollbar {
  129. width: 0px;
  130. /* 设置滚动条宽度 */
  131. }
  132. ::-webkit-scrollbar-button {
  133. height: 0;
  134. background-color: #ccc;
  135. /* 按钮背景颜色 */
  136. }
  137. ::-webkit-scrollbar-track {
  138. background-color: #f1f1f1;
  139. }
  140. ::-webkit-scrollbar-thumb {
  141. background-color: #888;
  142. border-radius: 5px;
  143. }
  144. ::-webkit-scrollbar-thumb:hover {
  145. background-color: #555;
  146. }
  147. ::-webkit-scrollbar-thumb:active {
  148. background-color: #333;
  149. }