index.module.scss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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: #fff;
  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. #volume,
  60. #back,
  61. #gui-fullscreen,
  62. #gui-fullscreen-exit,
  63. .A2_share_box,
  64. .A2_view_box {
  65. width: 48px;
  66. height: 48px;
  67. margin: 0;
  68. background-color: transparent !important;
  69. position: relative;
  70. img {
  71. width: 100%;
  72. height: 100%;
  73. }
  74. }
  75. }
  76. // 底部的位置
  77. .pinBottom {
  78. bottom: 34px;
  79. }
  80. .pinBottom.playing {
  81. bottom: 50px !important;
  82. }
  83. .pinBottom.open {
  84. bottom: 164px !important;
  85. }
  86. .pinBottom.open.playing {
  87. bottom: 184px !important;
  88. }
  89. // 只有在全景漫游下其他按钮才能点
  90. .pinBottom-containerNo {
  91. #play,
  92. #pause,
  93. .A2hotIcon {
  94. opacity: 0.5 !important;
  95. pointer-events: none !important;
  96. }
  97. }
  98. // 点赞
  99. .likeBox {
  100. float: left;
  101. cursor: pointer;
  102. img {
  103. width: 100%;
  104. height: 100%;
  105. }
  106. .likeMove {
  107. position: absolute;
  108. z-index: 100;
  109. left: -18px;
  110. bottom: 0;
  111. text-shadow: 1px 1px 1px #fcda99;
  112. opacity: 0;
  113. pointer-events: none;
  114. }
  115. .likeMoveAc {
  116. opacity: 1;
  117. }
  118. }
  119. .pinBottom-container.drawerOpen {
  120. bottom: 0;
  121. }
  122. // 展开的导览样式
  123. .darkGlass {
  124. background-color: rgba(0, 0, 0, 0.5);
  125. }
  126. #drawer.open {
  127. height: 140px !important;
  128. #scrollFrame {
  129. height: 130px;
  130. }
  131. }
  132. #thumb-container {
  133. width: 100% !important;
  134. display: flex;
  135. justify-content: flex-start;
  136. align-items: center;
  137. .thumbImg {
  138. width: 140px;
  139. height: 130px;
  140. margin: 0;
  141. & > img {
  142. height: 100%;
  143. &:hover {
  144. border-color: rgba(142, 103, 68, 1);
  145. }
  146. }
  147. .overlay {
  148. left: 50%;
  149. top: 50%;
  150. transform: translate(-50%, 220%);
  151. width: 100%;
  152. background-color: rgba(0, 0, 0, 0.5);
  153. font-weight: 700;
  154. color: #fff;
  155. }
  156. }
  157. .active > img {
  158. border-color: #fff !important;
  159. }
  160. }
  161. // 滚动条
  162. .scrollbar {
  163. background-color: transparent;
  164. .handle {
  165. background-color: rgb(253, 251, 178);
  166. height: 6px;
  167. }
  168. }
  169. // 进度条
  170. #playHead {
  171. background-color: rgba(0, 0, 0, 0.5);
  172. #progressBar {
  173. .step {
  174. &::before {
  175. background-color: rgb(195, 164, 125);
  176. }
  177. }
  178. .active {
  179. &::before {
  180. background-color: rgb(253, 251, 178);
  181. }
  182. }
  183. }
  184. }
  185. // 移动端
  186. @media screen and (max-width: 1000px) {
  187. .hoveImg {
  188. height: 20px;
  189. top: 30px;
  190. font-size: 10px;
  191. }
  192. #gui-modes-map {
  193. display: flex;
  194. justify-content: flex-end;
  195. align-items: center;
  196. flex-direction: column;
  197. gap: 30px;
  198. #play,
  199. #pause,
  200. #next,
  201. #pullTab,
  202. .A2hotIcon,
  203. #gui-modes-inside,
  204. #gui-modes-dollhouse,
  205. #gui-modes-floorplan {
  206. margin: 0;
  207. width: 35px;
  208. height: 35px;
  209. background-color: transparent !important;
  210. position: relative;
  211. img {
  212. width: 35px;
  213. height: 35px;
  214. }
  215. }
  216. }
  217. .pinBottom {
  218. right: 20px;
  219. }
  220. .rightViewContainer {
  221. display: flex;
  222. justify-content: flex-end;
  223. flex-direction: column;
  224. align-items: center;
  225. gap: 30px;
  226. margin-bottom: -30px;
  227. .likeBox,
  228. #volume,
  229. #back,
  230. #gui-fullscreen,
  231. #gui-fullscreen-exit,
  232. .A2_share_box,
  233. .A2_view_box {
  234. width: 35px;
  235. height: 35px;
  236. margin: 0;
  237. background-color: transparent !important;
  238. position: relative;
  239. a {
  240. width: 35px;
  241. height: 35px;
  242. img {
  243. width: 35px;
  244. height: 35px;
  245. }
  246. }
  247. }
  248. }
  249. .darkGlass {
  250. background-color: rgba(0, 0, 0, 0.5);
  251. }
  252. #drawer.open {
  253. height: 100px !important;
  254. #scrollFrame {
  255. height: 90px;
  256. }
  257. }
  258. #thumb-container {
  259. width: fit-content !important;
  260. display: flex;
  261. justify-content: flex-start;
  262. align-items: center;
  263. .thumbImg {
  264. width: 100px;
  265. height: 80px;
  266. margin: 0;
  267. & > img {
  268. height: 100%;
  269. &:hover {
  270. border-color: rgba(142, 103, 68, 1);
  271. }
  272. }
  273. .overlay {
  274. left: 50%;
  275. top: 50%;
  276. transform: translate(-50%, 120%);
  277. width: 100%;
  278. background-color: rgba(0, 0, 0, 0.5);
  279. font-weight: 700;
  280. color: #fff;
  281. }
  282. }
  283. .active > img {
  284. border-color: #fff !important;
  285. }
  286. }
  287. }
  288. }
  289. }