index.module.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. .A2visit2 {
  2. position: relative;
  3. :global {
  4. .A22bacImgOk {
  5. position: relative;
  6. z-index: 9;
  7. width: 100%;
  8. height: 100%;
  9. img {
  10. width: 100%;
  11. height: 100%;
  12. object-fit: fill;
  13. }
  14. }
  15. video {
  16. width: 100%;
  17. height: 100%;
  18. object-fit: fill;
  19. }
  20. .A22imgBox {
  21. width: 100%;
  22. height: 100%;
  23. transition: all 0.5s;
  24. position: relative;
  25. z-index: 2;
  26. // 3个视频
  27. .A22videoBox {
  28. position: absolute;
  29. top: 0;
  30. left: 0;
  31. width: 100%;
  32. height: 100%;
  33. .A22video {
  34. position: absolute;
  35. top: 0;
  36. left: 0;
  37. width: 100%;
  38. height: 100%;
  39. // transition: all 0.3s;
  40. }
  41. }
  42. // 底部
  43. .A22btn {
  44. position: absolute;
  45. z-index: 1;
  46. left: 50%;
  47. bottom: 15px;
  48. transform: translateX(-50%);
  49. display: flex;
  50. .A22btnRow {
  51. cursor: pointer;
  52. width: 100px;
  53. height: 32px;
  54. display: flex;
  55. justify-content: center;
  56. align-items: center;
  57. color: #fffddc;
  58. background-size: 100% 100%;
  59. transition: transform 0.3s;
  60. &:hover {
  61. transform: scale(1.1);
  62. }
  63. }
  64. }
  65. // 加载进度条
  66. .A22xian {
  67. position: absolute;
  68. bottom: 10%;
  69. left: 50%;
  70. transform: translateX(-50%);
  71. width: 100px;
  72. padding: 0 10px;
  73. height: 2px;
  74. & > div {
  75. width: 100%;
  76. height: 100%;
  77. background-color: rgba(231, 214, 142, 0.6);
  78. & > div {
  79. width: 0%;
  80. height: 100%;
  81. background-color: #fffddc;
  82. }
  83. }
  84. }
  85. }
  86. // 全景图
  87. .A22Pano {
  88. position: absolute;
  89. top: 0;
  90. left: 0;
  91. width: 100%;
  92. height: 100%;
  93. z-index: 1;
  94. // 左下角按钮
  95. .A22Pbtn {
  96. cursor: pointer;
  97. position: absolute;
  98. z-index: 10;
  99. bottom: 12px;
  100. left: 50%;
  101. transform: translateX(-50%);
  102. width: 100px;
  103. height: 32px;
  104. display: flex;
  105. justify-content: center;
  106. align-items: center;
  107. color: #fffddc;
  108. background-size: 100% 100%;
  109. transition: transform 0.3s;
  110. &:hover {
  111. transform: translateX(-50%) scale(1.1);
  112. }
  113. }
  114. }
  115. // 百戏
  116. .A22baiXi {
  117. position: absolute;
  118. top: 0;
  119. left: 0;
  120. width: 100%;
  121. height: 100%;
  122. z-index: 20;
  123. background-size: 100% 100%;
  124. #BtnRight {
  125. bottom: 60px;
  126. }
  127. // 底部
  128. .pvfloor {
  129. position: absolute;
  130. bottom: 0;
  131. left: 50%;
  132. transform: translateX(-50%);
  133. display: flex;
  134. z-index: 31;
  135. .pvflRow {
  136. width: 60px;
  137. height: 70px;
  138. position: relative;
  139. cursor: pointer;
  140. .pvflR1 {
  141. position: absolute;
  142. width: 100%;
  143. height: 100%;
  144. z-index: 3;
  145. top: 0;
  146. left: 0;
  147. background-size: 100% 100%;
  148. transition: all 0.3s;
  149. background-image: url('../../assets/img/Vector1.png');
  150. }
  151. .pvflR2 {
  152. position: absolute;
  153. width: 100%;
  154. height: 100%;
  155. z-index: 2;
  156. top: 0;
  157. left: 0;
  158. text-align: center;
  159. & > img {
  160. width: 50px;
  161. height: auto;
  162. }
  163. }
  164. .pvflR3 {
  165. opacity: 0.3;
  166. position: absolute;
  167. bottom: 3px;
  168. left: 50%;
  169. transform: translateX(-50%);
  170. width: 56px;
  171. z-index: 4;
  172. color: #fffddc;
  173. font-size: 14px;
  174. transition: all 0.3s;
  175. text-align: center;
  176. }
  177. &:hover {
  178. .pvflR1 {
  179. z-index: 1;
  180. background-image: url('../../assets/img/Vector2.png');
  181. }
  182. .pvflR3 {
  183. opacity: 1;
  184. background-image: url('../../assets/img/danceAc.png');
  185. background-size: 100% auto;
  186. background-repeat: no-repeat;
  187. background-position: center;
  188. }
  189. }
  190. }
  191. .pvflRowAc {
  192. .pvflR1 {
  193. z-index: 1;
  194. background-image: url('../../assets/img/Vector2.png');
  195. }
  196. .pvflR3 {
  197. opacity: 1;
  198. background-image: url('../../assets/img/danceAc.png');
  199. background-size: 100% auto;
  200. background-repeat: no-repeat;
  201. background-position: center;
  202. }
  203. }
  204. }
  205. // 视频
  206. .A22BvideoBox {
  207. transition: all 0.3s;
  208. position: absolute;
  209. width: 100%;
  210. height: 100%;
  211. }
  212. }
  213. }
  214. }