header.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. #app {
  2. width: 100%;
  3. }
  4. .headerView {
  5. width: 101.25rem;
  6. height: 5rem;
  7. margin: auto;
  8. display: flex;
  9. align-items: center;
  10. justify-content: space-between;
  11. .headerView-left,
  12. .headerView-right {
  13. display: flex;
  14. flex-direction: row;
  15. align-items: center;
  16. height: 100%;
  17. .header-logo {
  18. width: 6.875rem;
  19. }
  20. .header-list {
  21. display: flex;
  22. align-items: center;
  23. height: 100%;
  24. margin-left: 2rem;
  25. .header-item {
  26. margin-right: 2rem;
  27. font-size: 1.125rem;
  28. height: 100%;
  29. display: flex;
  30. align-items: center;
  31. box-sizing: border-box;
  32. a {
  33. display: block;
  34. display: flex;
  35. align-items: center;
  36. height: 3.5rem;
  37. }
  38. &::last-child {
  39. margin-right: 0;
  40. }
  41. }
  42. .item-hover {
  43. border-bottom: 0.125rem solid #37b8ff;
  44. }
  45. a {
  46. display: block;
  47. height: 100%;
  48. color: inherit;
  49. text-decoration: none;
  50. }
  51. }
  52. }
  53. .img {
  54. width: 100%;
  55. height: 100%;
  56. }
  57. }
  58. .headerProduct {
  59. width: 100%;
  60. padding-bottom: 20px;
  61. border-top: 0.0625rem solid #dcdfe6;
  62. background: #fff;
  63. .content {
  64. width: 100rem;
  65. display: flex;
  66. margin: auto;
  67. .product {
  68. width: 48%;
  69. font-size: 1.125rem;
  70. .product-title {
  71. display: flex;
  72. padding: 1.25rem 0 0.9375rem 1rem;
  73. align-items: center;
  74. border-bottom: 0.0625rem solid #dcdfe6;
  75. }
  76. .hove {
  77. background: #f0f4ff;
  78. color: #3370ff;
  79. }
  80. .product-item {
  81. margin-top: 0.625rem;
  82. width: 7.5rem;
  83. padding: 0.625rem 1.25rem;
  84. border-radius: 0.25rem;
  85. a {
  86. display: block;
  87. height: 100%;
  88. color: inherit;
  89. text-decoration: none;
  90. }
  91. }
  92. }
  93. }
  94. }
  95. ::-webkit-scrollbar {
  96. width: 0px; /* 设置滚动条宽度 */
  97. }
  98. ::-webkit-scrollbar-button {
  99. height: 0;
  100. background-color: #ccc; /* 按钮背景颜色 */
  101. }
  102. ::-webkit-scrollbar-track {
  103. background-color: #f1f1f1;
  104. }
  105. ::-webkit-scrollbar-thumb {
  106. background-color: #888;
  107. border-radius: 5px;
  108. }
  109. ::-webkit-scrollbar-thumb:hover {
  110. background-color: #555;
  111. }
  112. ::-webkit-scrollbar-thumb:active {
  113. background-color: #333;
  114. }