index.module.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  1. .A2main {
  2. :global {
  3. // 隐藏原始热点列表
  4. #hotList {
  5. display: none !important;
  6. }
  7. // 鼠标移入按钮
  8. .hoveImg {
  9. pointer-events: none;
  10. transition: all 0.5s;
  11. position: absolute;
  12. left: 50%;
  13. transform: translateX(-50%);
  14. top: 38px;
  15. width: 80px;
  16. height: 37px;
  17. line-height: 30px;
  18. text-align: center;
  19. font-size: 14px;
  20. color: #242764;
  21. }
  22. // 样式重置
  23. .pinBottom.left {
  24. width: 960px;
  25. margin-right: 350px;
  26. height: 95px;
  27. left: 50%;
  28. transform: translateX(-50%);
  29. background-size: contain;
  30. background: url('../../assets/img/toolBar_bg.png');
  31. background-size: 100% 100%;
  32. display: flex;
  33. align-items: center;
  34. padding-bottom: 20px;
  35. justify-content: center;
  36. .logo {
  37. position: relative;
  38. bottom: -10px;
  39. left: 20px;
  40. height: 60px;
  41. & img {
  42. height: 100%;
  43. object-fit: contain;
  44. }
  45. }
  46. .splitImg {
  47. height: 100%;
  48. object-fit: contain;
  49. margin: 20px 0px 0px 36px;
  50. }
  51. }
  52. #gui-modes-map {
  53. margin-left: 30px;
  54. background: #d5cfca;
  55. #play,
  56. #pause,
  57. #next,
  58. #pullTab,
  59. .A2hotIcon,
  60. #gui-modes-inside,
  61. #gui-modes-dollhouse,
  62. #gui-modes-floorplan {
  63. width: 45px;
  64. height: 45px;
  65. margin-left: 30px;
  66. background-color: transparent !important;
  67. position: relative;
  68. img {
  69. width: 45px;
  70. height: 45px;
  71. }
  72. }
  73. //针对第一个按钮
  74. #play,
  75. #pause {
  76. margin-left: 18px;
  77. }
  78. }
  79. .rightViewContainer {
  80. display: flex;
  81. justify-content: flex-end;
  82. align-items: center;
  83. background: #d5cfca;
  84. gap: 30px;
  85. .likeBox,
  86. .A2_map_box,
  87. #volume,
  88. #gui-fullscreen,
  89. #gui-fullscreen-exit,
  90. .A2_share_box,
  91. .A2_view_box {
  92. width: 45px;
  93. height: 45px;
  94. margin: 0;
  95. background-color: transparent !important;
  96. position: relative;
  97. img {
  98. width: 100%;
  99. height: 100%;
  100. }
  101. .hasHover {
  102. width: 45px;
  103. height: 45px;
  104. }
  105. }
  106. }
  107. // 底部的位置
  108. .pinBottom {
  109. bottom: 26px;
  110. }
  111. .pinBottom.playing {
  112. bottom: 50px !important;
  113. }
  114. .pinBottom.open {
  115. bottom: 164px !important;
  116. }
  117. .pinBottom.open.playing {
  118. bottom: 184px !important;
  119. }
  120. // 只有在全景漫游下其他按钮才能点
  121. .pinBottom-containerNo {
  122. #play,
  123. #pause,
  124. .A2hotIcon {
  125. opacity: 0.5 !important;
  126. pointer-events: none !important;
  127. }
  128. }
  129. // 点赞
  130. .likeBox,
  131. .A2_map_box,
  132. .A2_share_box,
  133. .A2_view_box {
  134. float: left;
  135. cursor: pointer;
  136. img {
  137. width: 100%;
  138. height: 100%;
  139. }
  140. .likeMove {
  141. position: absolute;
  142. z-index: 100;
  143. left: -18px;
  144. bottom: 0;
  145. // text-shadow: 1px 1px 1px #fcda99;
  146. opacity: 0;
  147. pointer-events: none;
  148. }
  149. .likeMoveAc {
  150. opacity: 1;
  151. }
  152. }
  153. .pinBottom-container.drawerOpen {
  154. bottom: 0;
  155. }
  156. // 展开的导览样式
  157. .darkGlass {
  158. background-color: rgba(0, 0, 0, 0.5);
  159. }
  160. #drawer.open {
  161. height: 140px !important;
  162. #scrollFrame {
  163. height: 130px;
  164. }
  165. }
  166. #thumb-container {
  167. width: 100% !important;
  168. display: flex;
  169. justify-content: flex-start;
  170. align-items: center;
  171. gap: 10px;
  172. .thumbImg {
  173. width: 140px;
  174. height: 130px;
  175. margin: 0;
  176. & > img {
  177. height: 100%;
  178. &:hover {
  179. border-color: rgba(142, 103, 68, 1);
  180. }
  181. }
  182. .overlay {
  183. left: 50%;
  184. top: 50%;
  185. transform: translate(-50%, 220%);
  186. width: 100%;
  187. background-color: rgba(0, 0, 0, 0.5);
  188. font-weight: 700;
  189. color: #fff;
  190. }
  191. }
  192. .active > img {
  193. border-color: #fff !important;
  194. }
  195. }
  196. // 滚动条
  197. .scrollbar {
  198. background-color: transparent;
  199. .handle {
  200. background-color: rgb(253, 251, 178);
  201. height: 6px;
  202. }
  203. }
  204. // 进度条
  205. #playHead {
  206. background-color: rgba(0, 0, 0, 0.5);
  207. #progressBar {
  208. .step {
  209. &::before {
  210. background-color: rgb(195, 164, 125);
  211. }
  212. }
  213. .active {
  214. &::before {
  215. background-color: rgb(253, 251, 178);
  216. }
  217. }
  218. }
  219. }
  220. .sectionIndex {
  221. position: fixed;
  222. bottom: 40px;
  223. right: 30px;
  224. .sectionIndexImg {
  225. width: 90px;
  226. height: 100%;
  227. object-fit: cover;
  228. cursor: pointer;
  229. }
  230. }
  231. .section {
  232. position: fixed;
  233. top: 50%;
  234. left: 50%;
  235. transform: translate(-50%, -50%);
  236. width: 100%;
  237. height: 100%;
  238. background-color: rgba(0, 0, 0, 0.5);
  239. display: flex;
  240. align-items: center;
  241. justify-content: center;
  242. z-index: 30000;
  243. .arrL {
  244. position: absolute;
  245. left: 2%;
  246. cursor: pointer;
  247. }
  248. .arrR {
  249. position: absolute;
  250. right: 2%;
  251. cursor: pointer;
  252. }
  253. .sectionBox {
  254. padding: 0 20px;
  255. width: fit-content;
  256. overflow: auto;
  257. height: 85%;
  258. width: 100%;
  259. display: flex;
  260. flex-wrap: nowrap;
  261. scroll-behavior: smooth;
  262. justify-content: flex-start;
  263. align-items: center;
  264. gap: 20px;
  265. ::-webkit-scrollbar {
  266. display: none; /* Chrome, Safari, Edge */
  267. }
  268. -ms-overflow-style: none; /* IE and Edge */
  269. scrollbar-width: none; /* Firefox */
  270. & > div {
  271. flex: 0 0 auto;
  272. width: 16%;
  273. height: 75%;
  274. align-self: end;
  275. background-size: contain;
  276. cursor: pointer;
  277. p {
  278. margin-top: 325px;
  279. padding: 38px;
  280. font-size: 13px;
  281. line-height: 21px;
  282. text-indent: 2em;
  283. color: #d5cdc8;
  284. letter-spacing: 1px;
  285. }
  286. }
  287. .section1 {
  288. width: 17%;
  289. height: 95%;
  290. background: url(../../assets/img/section1.png) no-repeat;
  291. background-size: 100% 100%;
  292. & > p {
  293. margin-top: 435px;
  294. }
  295. }
  296. .section2 {
  297. background: url(../../assets/img/section1.1.png) no-repeat;
  298. background-size: 100% 100%;
  299. }
  300. .section3 {
  301. background: url(../../assets/img/section1.2.png) no-repeat;
  302. background-size: 100% 100%;
  303. }
  304. .section4 {
  305. background: url(../../assets/img/section1.3.png) no-repeat;
  306. background-size: 100% 100%;
  307. }
  308. .section5 {
  309. width: 17%;
  310. height: 95%;
  311. background: url(../../assets/img/section2.png) no-repeat;
  312. background-size: 100% 100%;
  313. & > p {
  314. margin-top: 445px;
  315. }
  316. }
  317. .section6 {
  318. background: url(../../assets/img/section2.1.png) no-repeat;
  319. background-size: 100% 100%;
  320. }
  321. .section7 {
  322. background: url(../../assets/img/section2.2.png) no-repeat;
  323. background-size: 100% 100%;
  324. }
  325. .section8 {
  326. background: url(../../assets/img/section2.3.png) no-repeat;
  327. background-size: 100% 100%;
  328. }
  329. .section9 {
  330. background: url(../../assets/img/section2.4.png) no-repeat;
  331. background-size: 100% 100%;
  332. }
  333. }
  334. .sectionClose {
  335. position: fixed;
  336. top: 20px;
  337. right: 20px;
  338. cursor: pointer;
  339. }
  340. }
  341. // 移动端
  342. @media screen and (max-width: 1000px) {
  343. .hoveImg {
  344. height: 20px;
  345. top: 24px;
  346. font-size: 10px;
  347. color: #242764;
  348. // text-shadow: 0 0 5px rgba(253, 251, 178, 0.8), 0 0 10px rgba(253, 251, 178, 0.6);
  349. }
  350. #gui-modes-map {
  351. border-radius: 25px;
  352. display: flex;
  353. justify-content: flex-end;
  354. align-items: center;
  355. flex-direction: column;
  356. gap: 30px;
  357. margin-left: 10px;
  358. padding: 30px 0px;
  359. width: 45px;
  360. #play,
  361. #pause,
  362. #next,
  363. #pullTab,
  364. .A2hotIcon,
  365. #gui-modes-inside,
  366. #gui-modes-dollhouse,
  367. #gui-modes-floorplan {
  368. margin: 0;
  369. width: 30px;
  370. height: 30px;
  371. background-color: transparent !important;
  372. position: relative;
  373. img {
  374. width: 35px;
  375. height: 35px;
  376. }
  377. }
  378. }
  379. .pinBottom {
  380. width: 100% !important;
  381. align-items: flex-end !important;
  382. justify-content: space-between !important;
  383. background: transparent !important;
  384. right: 20px;
  385. padding: 0 !important;
  386. .logo {
  387. display: none;
  388. }
  389. .splitImg {
  390. display: none;
  391. }
  392. }
  393. .rightViewContainer {
  394. border-radius: 25px;
  395. margin-right: 10px;
  396. width: 45px;
  397. display: flex;
  398. justify-content: flex-end;
  399. flex-direction: column;
  400. align-items: center;
  401. gap: 30px;
  402. .likeBox,
  403. .A2_map_box,
  404. #volume,
  405. #gui-fullscreen,
  406. #gui-fullscreen-exit,
  407. .A2_share_box,
  408. .A2_view_box {
  409. width: 30px;
  410. height: 30px;
  411. margin: 0;
  412. background-color: transparent !important;
  413. position: relative;
  414. .hasHover {
  415. width: 30px;
  416. height: 30px;
  417. img {
  418. width: 30px;
  419. height: 30px;
  420. }
  421. }
  422. }
  423. }
  424. .sectionIndex {
  425. display: none;
  426. }
  427. .darkGlass {
  428. background-color: rgba(0, 0, 0, 0.5);
  429. }
  430. #drawer.open {
  431. height: 100px !important;
  432. #scrollFrame {
  433. height: 90px;
  434. }
  435. }
  436. #thumb-container {
  437. width: fit-content !important;
  438. display: flex;
  439. justify-content: flex-start;
  440. align-items: center;
  441. gap: 10px;
  442. .thumbImg {
  443. width: 100px;
  444. height: 80px;
  445. margin: 0;
  446. & > img {
  447. height: 100%;
  448. &:hover {
  449. border-color: rgba(142, 103, 68, 1);
  450. }
  451. }
  452. .overlay {
  453. left: 50%;
  454. top: 50%;
  455. transform: translate(-50%, 120%);
  456. width: 100%;
  457. background-color: rgba(0, 0, 0, 0.5);
  458. font-weight: 700;
  459. color: #fff;
  460. }
  461. }
  462. .active > img {
  463. border-color: #fff !important;
  464. }
  465. }
  466. }
  467. }
  468. }