index.module.scss 9.0 KB

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