index.module.scss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. .A1Home {
  2. background-size: 100% 100%;
  3. position: relative;
  4. :global {
  5. .A1locBox {
  6. position: absolute;
  7. z-index: 3;
  8. width: 158px;
  9. height: 129px;
  10. .A1locBoxName {
  11. text-align: center;
  12. background-image: url('../../assets/img/btn_normal.png');
  13. background-size: 100% 100%;
  14. width: 158px;
  15. height: 34px;
  16. display: flex;
  17. justify-content: center;
  18. align-items: center;
  19. letter-spacing: 2px;
  20. color: var(--themeColor2);
  21. font-weight: 700;
  22. transition: all .3s;
  23. }
  24. .A1locBoxLoc {
  25. margin: 15px auto 0;
  26. width: 60px;
  27. height: 60px;
  28. background-image: url('../../assets/img/homeB.png');
  29. background-size: 100% 100%;
  30. transition: all .3s;
  31. }
  32. .A1locGuang {
  33. position: relative;
  34. left: -3%;
  35. margin: -50px auto 0;
  36. width: 100px;
  37. height: 100px;
  38. background-image: url('../../assets/img/img_light.png');
  39. background-size: 100% 100%;
  40. }
  41. }
  42. .A1locBoxHide {
  43. .A1locBoxName,
  44. .A1locBoxLoc,
  45. .A1locGuang {
  46. opacity: 0;
  47. }
  48. }
  49. .A1locHover {
  50. position: absolute;
  51. z-index: 3;
  52. background-size: 100% 100%;
  53. opacity: 0;
  54. transition: all .3s;
  55. cursor: pointer;
  56. &>div {
  57. position: absolute;
  58. top: -50px;
  59. left: 50%;
  60. transform: translateX(-50%);
  61. width: 188px;
  62. height: 50px;
  63. padding-bottom: 16px;
  64. &>div {
  65. width: 100%;
  66. height: 100%;
  67. text-align: center;
  68. background-image: url('../../assets/img/btn_active.png');
  69. background-size: 100% 100%;
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. letter-spacing: 2px;
  74. color: var(--themeColor);
  75. font-weight: 700;
  76. }
  77. }
  78. &:hover {
  79. opacity: 1;
  80. }
  81. }
  82. // .A1locHoverAc {
  83. // opacity: 1;
  84. // }
  85. .A1leftBtn {
  86. position: absolute;
  87. left: 70px;
  88. bottom: 60px;
  89. z-index: 1;
  90. width: 138px;
  91. height: 40px;
  92. line-height: 38px;
  93. text-align: center;
  94. color: #fff;
  95. letter-spacing: 2px;
  96. font-size: 18px;
  97. background-image: url('../../assets/img/btn_s_normal.png');
  98. background-size: 100% 100%;
  99. cursor: pointer;
  100. }
  101. .A1mapBox {
  102. position: absolute;
  103. z-index: 20;
  104. top: 0;
  105. left: 0;
  106. width: 100%;
  107. height: 100%;
  108. opacity: 0;
  109. pointer-events: none;
  110. transition: all .3s;
  111. .A1back {
  112. position: absolute;
  113. bottom: 50px;
  114. left: 50px;
  115. cursor: pointer;
  116. width: 60px;
  117. height: 60px;
  118. background-image: url('../../assets/img/back.png');
  119. background-size: 100% 100%;
  120. }
  121. .A1mapRow {
  122. position: absolute;
  123. z-index: 3;
  124. cursor: pointer;
  125. width: 50px;
  126. height: 50px;
  127. .A1mapRowDian {
  128. width: 100%;
  129. height: 100%;
  130. background-image: url('../../assets/img/homeB.png');
  131. background-size: 100% 100%;
  132. margin: 0 auto 0px;
  133. transition: all .3s;
  134. }
  135. .A1mapRowDianGuang {
  136. opacity: 0;
  137. transition: all .3s;
  138. position: relative;
  139. left: -30px;
  140. margin: -80px auto 0;
  141. width: 100px;
  142. height: 100px;
  143. background-image: url('../../assets/img/img_light.png');
  144. background-size: 100% 100%;
  145. }
  146. &>p {
  147. padding-top: 8px;
  148. color: #fff;
  149. }
  150. &:hover {
  151. .A1mapRowDian {
  152. background-image: url('../../assets/img/homeBAc.png');
  153. }
  154. .A1mapRowDianGuang{
  155. opacity: 1;
  156. }
  157. &>P {
  158. color: var(--themeColor2);
  159. }
  160. }
  161. .A1mapTxt {
  162. transition: all .3s;
  163. opacity: 0;
  164. pointer-events: none;
  165. background-color: var(--themeColor);
  166. padding: 6px;
  167. border-radius: 4px;
  168. width: 300px;
  169. height: auto;
  170. position: absolute;
  171. &>div {
  172. width: 100%;
  173. height: 100%;
  174. border: 1px solid var(--themeColor2);
  175. border-radius: 4px;
  176. padding: 20px 20px;
  177. color: var(--themeColor2);
  178. &>h3 {
  179. font-size: 18px;
  180. text-align: center;
  181. }
  182. .A1mapXian {
  183. width: 100%;
  184. height: 16px;
  185. background-image: url('../../assets/img/line.png');
  186. background-size: 100% 100%;
  187. margin: 15px 0;
  188. }
  189. &>p {
  190. font-size: 14px;
  191. line-height: 22px;
  192. letter-spacing: 2px;
  193. }
  194. }
  195. }
  196. &:hover {
  197. .A1mapTxt {
  198. opacity: 1;
  199. }
  200. }
  201. }
  202. }
  203. .A1mapBoxShow {
  204. opacity: 1;
  205. pointer-events: auto;
  206. }
  207. }
  208. }