index.module.scss 4.4 KB

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