index.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. .home-suspension {
  2. left: 0;
  3. right: 0;
  4. top: 0;
  5. bottom: 0;
  6. position: absolute;
  7. z-index: 2;
  8. width: 0;
  9. height: 0;
  10. }
  11. .bottom-advertisement {
  12. position: fixed;
  13. bottom: 0;
  14. left: 0;
  15. width: 100%;
  16. height: 130px;
  17. background: #8a65d9;
  18. }
  19. .advertisement-content {
  20. width: 1180px;
  21. height: 130px;
  22. margin: auto auto;
  23. }
  24. .right-handler {
  25. position: fixed;
  26. bottom: 50px;
  27. right: 50px;
  28. width: 75px;
  29. background-color: white;
  30. display: flex;
  31. flex-direction: column;
  32. color: black;
  33. z-index: 1;
  34. border-radius: 8px;
  35. box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  36. }
  37. .handler-btn .tooltip {
  38. display: none;
  39. }
  40. .handler-btn .handler-btn:hover .tooltip {
  41. display: block;
  42. }
  43. .handler-item-top {
  44. border-radius: 8px 8px 0 0;
  45. }
  46. .handler-item-bottom {
  47. border-radius: 0 0 8px 8px;
  48. }
  49. .handler-item {
  50. transition: background-color 0.3s ease-in-out;
  51. }
  52. .item-icon-top {
  53. padding: 10px 0;
  54. color: #666666;
  55. transform: rotateZ(180deg);
  56. display: flex;
  57. justify-content: center;
  58. align-items: center;
  59. }
  60. .item-icon-top div {
  61. width: 25px;
  62. height: 25px;
  63. }
  64. .right-handler div:hover {
  65. background-color: #1475fa;
  66. }
  67. .item-icon-top:hover {
  68. }
  69. .item-icon-top:hover span {
  70. color: white;
  71. }
  72. .item-icon-top:hover .item-icon {
  73. color: white;
  74. }
  75. .item-icon-top:hover .item-icon-top {
  76. color: white;
  77. }
  78. .handler-item-content {
  79. margin: 0 auto;
  80. width: 52px;
  81. height: 74px;
  82. justify-content: center;
  83. align-items: center;
  84. border-bottom: #F1F1F1 1px solid;
  85. display: flex;
  86. flex-direction: column;
  87. font-size: 13px;
  88. }
  89. .item-icon {
  90. color: #666666;
  91. }
  92. span {
  93. color: #333333;
  94. }
  95. .handler-item-content:hover {
  96. cursor: pointer;
  97. user-select: none;
  98. color: white;
  99. background-color: #1475fa;
  100. }
  101. .handler-item-content:hover span {
  102. color: white;
  103. }
  104. .handler-item-content:hover .item-icon {
  105. color: white;
  106. }
  107. .handler-item-content:hover .item-icon-top {
  108. color: white;
  109. }
  110. .tooltip {
  111. display: block;
  112. position: absolute;
  113. padding: 10px;
  114. border-radius: 8px;
  115. box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  116. cursor: auto;
  117. color: #333333;
  118. }
  119. .tooltip-arrow {
  120. position: absolute;
  121. right: -9.5px;
  122. top: calc(50% - 10px);
  123. width: 10px;
  124. height: 20px;
  125. -webkit-clip-path: polygon(100% 50%, 0 0, 0 100%);
  126. clip-path: polygon(100% 50%, 0 0, 0 100%);
  127. }
  128. .slot-image {
  129. max-width: 80px;
  130. max-height: 80px;
  131. }
  132. .handler-to-top {
  133. cursor: pointer;
  134. }
  135. .gift-pack {
  136. width: 1170px;
  137. text-align: left;
  138. font-size: 12px;
  139. margin: 60px auto 50px auto;
  140. line-height: 18px;
  141. padding-bottom: 20px;
  142. border-bottom: 1px solid rgb(217, 217, 217);
  143. }
  144. .gift-pack-title {
  145. font-size: 24px;
  146. margin-bottom: 15px;
  147. }
  148. .gift-pack-content {
  149. display: grid;
  150. grid-template-columns: repeat(3, 1fr);
  151. grid-gap: 20px;
  152. }
  153. .content-item {
  154. cursor: pointer;
  155. }
  156. .content-item-img {
  157. max-width: 370px;
  158. max-height: 165px;
  159. overflow: hidden;
  160. }
  161. .content-item-img img {
  162. border-radius: 10px;
  163. width: 370px;
  164. height: 165px;
  165. }
  166. .content-item-title {
  167. font-weight: bold;
  168. font-size: 14px;
  169. }
  170. .content-item-remark {
  171. color: #999;
  172. }
  173. .content-item-price {
  174. display: flex;
  175. vertical-align: middle;
  176. margin: 10px 0;
  177. }
  178. .content-item-price div {
  179. margin-right: 10px;
  180. }
  181. .price-original {
  182. text-decoration: line-through;
  183. color: #888888;
  184. }
  185. .price-target {
  186. vertical-align: middle;
  187. padding: 0 3px;
  188. margin: 0 0 0 4px;
  189. background: rgb(223, 30, 28);
  190. color: white;
  191. font-weight: bolder;
  192. }
  193. .price-now {
  194. font-family: BlinkMacSystemFont;
  195. font-size: 16px;
  196. }