spg.less 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. .floor-switch {
  7. top: 45% !important;
  8. }
  9. .carList {
  10. position: fixed;
  11. bottom: 100px;
  12. left: 20px;
  13. z-index: 100;
  14. transition: all .3s;
  15. display: none;
  16. .carList1 {
  17. display: flex;
  18. align-items: center;
  19. position: relative;
  20. .carList1_1 {
  21. width: 160px;
  22. }
  23. .carList1_2 {
  24. cursor: pointer;
  25. width: 240px;
  26. }
  27. }
  28. .carList2 {
  29. display: none;
  30. position: relative;
  31. .carList2_1 {
  32. width: 160px;
  33. }
  34. .carList2_2Back {
  35. position: absolute;
  36. z-index: 10;
  37. bottom: 98px;
  38. left: 137px;
  39. width: 50px;
  40. height: 66px;
  41. cursor: pointer;
  42. }
  43. .carList2_2Bac {
  44. position: absolute;
  45. left: 180px;
  46. bottom: 0;
  47. width: 23px;
  48. height: 585px;
  49. z-index: 8;
  50. background-image: url('../myJs/img/txtBac.png');
  51. background-size: 100% 100%;
  52. }
  53. .carList2_2 {
  54. position: absolute;
  55. left: 203px;
  56. bottom: 0;
  57. width: 370px;
  58. height: 585px;
  59. padding-right: 30px;
  60. overflow-y: auto;
  61. background-color: rgba(255, 255, 255, .5);
  62. -webkit-backdrop-filter: blur(4px);
  63. backdrop-filter: blur(4px);
  64. border-radius: 0 8px 8px 0;
  65. &::-webkit-scrollbar {
  66. /*滚动条整体样式*/
  67. width: 3px;
  68. /*高宽分别对应横竖滚动条的尺寸*/
  69. height: 1px;
  70. }
  71. &::-webkit-scrollbar-thumb {
  72. /*滚动条里面小方块*/
  73. border-radius: 10px;
  74. -webkit-box-shadow: inset 0 0 5px transparent;
  75. background: #1864ff;
  76. }
  77. &::-webkit-scrollbar-track {
  78. /*滚动条里面轨道*/
  79. -webkit-box-shadow: inset 0 0 5px transparent;
  80. border-radius: 10px;
  81. background: transparent;
  82. }
  83. .carList2_2Main {
  84. width: 100%;
  85. height: 100%;
  86. padding: 10px 0 10px 16px;
  87. .c_box {
  88. width: 100%;
  89. margin-bottom: 20px;
  90. background-color: rgba(217, 217, 217, .6);
  91. border-radius: 6px 6px 6px 6px;
  92. padding: 15px 10px 20px 15px;
  93. -webkit-backdrop-filter: blur(10px);
  94. backdrop-filter: blur(10px);
  95. .c_boxTit {
  96. color: #fff;
  97. font-weight: 700;
  98. font-size: 20px;
  99. padding-bottom: 10px;
  100. position: relative;
  101. text-shadow: 1px 1px 1px black;
  102. margin-bottom: 14px;
  103. &::before {
  104. content: '';
  105. width: 100%;
  106. height: 1px;
  107. position: absolute;
  108. bottom: 0;
  109. left: 0;
  110. background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, .2));
  111. }
  112. &::after {
  113. content: '';
  114. position: absolute;
  115. top: -15px;
  116. left: -26px;
  117. width: 106px;
  118. height: 46px;
  119. z-index: 10;
  120. background-image: url('../myJs/img/txtTit.png');
  121. background-size: 100% 100%;
  122. }
  123. }
  124. .c_boxTxt {
  125. cursor: pointer;
  126. position: relative;
  127. &>p {
  128. overflow: hidden;
  129. text-overflow: ellipsis;
  130. white-space: nowrap;
  131. height: 32px;
  132. line-height: 32px;
  133. font-size: 16px;
  134. padding: 0 5px 0 20px;
  135. position: relative;
  136. z-index: 11;
  137. }
  138. &::before {
  139. content: '';
  140. opacity: 0;
  141. z-index: 10;
  142. width: calc(100% + 30px);
  143. height: 100%;
  144. position: absolute;
  145. left: 0px;
  146. top: 0;
  147. background-image: url('../myJs/img/txtAc.png');
  148. background-size: 100% 100%;
  149. }
  150. &:hover {
  151. &>p {
  152. color: #fff;
  153. }
  154. &::before {
  155. opacity: 1;
  156. }
  157. }
  158. }
  159. .c_boxTxtAc{
  160. pointer-events: none;
  161. &>p {
  162. color: #fff;
  163. }
  164. &::before {
  165. opacity: 1;
  166. }
  167. }
  168. }
  169. }
  170. }
  171. }
  172. }