index.module.scss 9.9 KB

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