index.module.scss 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. .A0Map {
  2. width: 100%;
  3. height: 100%;
  4. position: relative;
  5. transform-style: preserve-3d;
  6. perspective: 1000px;
  7. background-color: #837b68;
  8. :global {
  9. .mapMain {
  10. position: absolute;
  11. width: 100%;
  12. height: 100%;
  13. top: 0;
  14. left: 0;
  15. z-index: 1;
  16. .mapBac {
  17. z-index: 10;
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. width: 100%;
  22. height: 100%;
  23. // transform:translate();
  24. &>img {
  25. pointer-events: none;
  26. width: 100%;
  27. height: 100%;
  28. }
  29. }
  30. // -----------大图标
  31. .A0iconBox {
  32. cursor: pointer;
  33. position: absolute;
  34. width: 40px;
  35. height: 48px;
  36. .iconNum {
  37. position: absolute;
  38. z-index: 10;
  39. top: 0;
  40. left: 0;
  41. width: 40px;
  42. height: 60px;
  43. text-align: center;
  44. line-height: 40px;
  45. font-weight: 700;
  46. font-size: 18px;
  47. }
  48. &>img {
  49. width: 100%;
  50. }
  51. .iconImg2 {
  52. display: none;
  53. }
  54. .txtBox {
  55. position: absolute;
  56. top: 40px;
  57. padding-top: 20px;
  58. left: 3px;
  59. z-index: 10;
  60. // color: #f0d99c;
  61. display: none;
  62. // writing-mode:vertical-rl;
  63. &>div {
  64. width: 100%;
  65. height: 100%;
  66. width: 34px;
  67. padding: 6px 5px;
  68. line-height: 22px;
  69. height: auto;
  70. color: #47392C;
  71. background-color: rgba(255, 233, 175, 0.6);
  72. backdrop-filter: blur(4px);
  73. font-weight: 700;
  74. font-size: 16px;
  75. text-align: center;
  76. border-radius: 0 6px 0 6px;
  77. }
  78. }
  79. .hoverShowBox {
  80. position: absolute;
  81. top: 60px;
  82. left: 50%;
  83. transform: translateX(-50%);
  84. z-index: 11;
  85. width: 180px;
  86. height: 180px;
  87. display: none;
  88. .hoverShowBoxM {
  89. padding: 5px;
  90. background-color: rgba(255, 233, 175, 0.6);
  91. backdrop-filter: blur(4px);
  92. border-radius: 0 6px 0 6px;
  93. .hoverShowBox1 {
  94. width: 30px;
  95. display: flex;
  96. flex-wrap: wrap;
  97. align-items: center;
  98. justify-content: center;
  99. color: #47392C;
  100. font-weight: 700;
  101. font-size: 14px;
  102. padding: 0px 5px;
  103. line-height: 16px;
  104. }
  105. .hoverShowBox2 {
  106. width: calc(100% - 34px);
  107. height: 100%;
  108. &>img {
  109. width: 100%;
  110. height: 100%;
  111. }
  112. }
  113. }
  114. }
  115. &:hover {
  116. .iconImg1 {
  117. display: none;
  118. }
  119. .iconImg2 {
  120. display: block;
  121. }
  122. .iconNum {
  123. color: #fff;
  124. }
  125. .txtBox {
  126. display: none !important;
  127. }
  128. .hoverShowBox {
  129. display: block;
  130. .hoverShowBoxM {
  131. display: flex;
  132. }
  133. }
  134. }
  135. }
  136. // 小图标
  137. .A0iconSmBox {
  138. cursor: pointer;
  139. position: absolute;
  140. width: 27px;
  141. height: 52px;
  142. .ic2Img2 {
  143. display: none;
  144. }
  145. .ic2txtBox {
  146. position: absolute;
  147. top: 40px;
  148. left: -5px;
  149. z-index: 10;
  150. width: 34px;
  151. padding: 6px 5px;
  152. line-height: 22px;
  153. height: auto;
  154. color: #47392C;
  155. background-color: rgba(255, 233, 175, 0.6);
  156. backdrop-filter: blur(4px);
  157. font-weight: 700;
  158. font-size: 16px;
  159. text-align: center;
  160. border-radius: 0 6px 0 6px;
  161. display: none;
  162. }
  163. .ic2txtBox5{
  164. top: auto;
  165. left: -5px;
  166. bottom: -150px;
  167. }
  168. .ic2txtBox6 {
  169. top: auto;
  170. left: -4px;
  171. bottom: 40px;
  172. }
  173. .ic2txtBox8 {
  174. left: -15px;
  175. }
  176. .ic2txtBox9{
  177. top: auto;
  178. left: -30px;
  179. bottom: -120px;
  180. }
  181. .ic2txtBox10{
  182. top: auto;
  183. bottom: 60px;
  184. left: 0px;
  185. }
  186. .ic2txtBox11{
  187. top: auto;
  188. bottom: 40px;
  189. }
  190. // 鼠标悬停
  191. .ic2HoverBox {
  192. pointer-events: none;
  193. position: fixed;
  194. bottom: 320px;
  195. left: 330px;
  196. z-index: 30;
  197. width: 180px;
  198. height: 140px;
  199. padding: 5px;
  200. background-color: rgba(255, 233, 175, 0.6);
  201. backdrop-filter: blur(4px);
  202. border-radius: 0 6px 0 6px;
  203. display: none;
  204. .ic2HoverBoxll {
  205. width: 30px;
  206. display: flex;
  207. flex-wrap: wrap;
  208. align-items: center;
  209. justify-content: center;
  210. color: #47392C;
  211. font-weight: 700;
  212. font-size: 14px;
  213. padding: 0px 5px;
  214. line-height: 16px;
  215. }
  216. .ic2HoverBoxrr {
  217. width: calc(100% - 34px);
  218. height: 100%;
  219. &>img {
  220. width: 100%;
  221. height: 100%;
  222. }
  223. }
  224. }
  225. .ic2HoverBox2 {
  226. left: auto;
  227. right: 600px;
  228. bottom: 60px;
  229. }
  230. .ic2HoverBox3 {
  231. left: auto;
  232. left: 750px;
  233. top: 400px;
  234. }
  235. &:hover {
  236. .ic2Img1 {
  237. display: none;
  238. }
  239. .ic2Img2 {
  240. display: block;
  241. }
  242. .ic2HoverBox {
  243. display: flex;
  244. }
  245. }
  246. }
  247. .A0iconSmBoxR {
  248. padding-top: 20px;
  249. }
  250. }
  251. .mapMain2 {
  252. // -----------大图标
  253. .A0iconBox {
  254. .iconImg1 {
  255. display: none;
  256. }
  257. .iconImg2 {
  258. display: block;
  259. }
  260. .iconNum {
  261. color: #fff;
  262. }
  263. .txtBox {
  264. display: block;
  265. }
  266. }
  267. }
  268. .mapMain3 {
  269. // 小图标
  270. .A0iconSmBox {
  271. .ic2Img1 {
  272. display: none;
  273. }
  274. .ic2Img2 {
  275. display: block;
  276. }
  277. .ic2txtBox {
  278. display: block;
  279. }
  280. }
  281. }
  282. // 云层 动画帧
  283. // .yunBox {
  284. // pointer-events: none;
  285. // position: absolute;
  286. // z-index: 9;
  287. // top: 0;
  288. // left: 0;
  289. // width: 300%;
  290. // height: 100%;
  291. // display: flex;
  292. // .yunSon1 {
  293. // position: absolute;
  294. // top: 0;
  295. // left: 0;
  296. // width: 33.33%;
  297. // height: 100%;
  298. // background-image: url('../../assets/img/map/yun2.png');
  299. // background-size: 100% 100%;
  300. // }
  301. // .yunSon2 {
  302. // position: absolute;
  303. // top: 0;
  304. // left: 33.33%;
  305. // width: 33.33%;
  306. // height: 100%;
  307. // background-image: url('../../assets/img/map/yun1.png');
  308. // background-size: 100% 100%;
  309. // }
  310. // .yunSon3 {
  311. // position: absolute;
  312. // top: 0;
  313. // left: 66.66%;
  314. // width: 33.33%;
  315. // height: 100%;
  316. // background-image: url('../../assets/img/map/yun1.png');
  317. // background-size: 100% 100%;
  318. // }
  319. // }
  320. // 左下角的返回
  321. .sonToBack {
  322. position: absolute;
  323. z-index: 10;
  324. bottom: 30px;
  325. left: 30px;
  326. cursor: pointer;
  327. transition: all .3s;
  328. &:hover {
  329. transform: scale(1.1);
  330. }
  331. }
  332. }
  333. }